Function at 0x43c8e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x28]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x3c]
mov ebx, dword [esp + 0x34]
mov dword [edi + 0xf4], 0
mov cl, byte [eax + 8]
test cl, 0x20
je 0x43c94a
mov eax, dword [esp + 0x40]
test eax, eax
jbe 0x43c94a
mov ecx, dword [ebx + 0x10]
dec ecx
cmp eax, ecx
jae 0x43c94a
mov eax, dword [esp + 0x44]
test eax, eax
jbe 0x43c94a
mov edx, dword [ebx + 0x14]
dec edx
cmp eax, edx
jae 0x43c94a
mov ebp, dword [esp + 0x48]
push ebp
call dword [0x4e29b0]
mov esi, eax
add esp, 4
test esi, esi
je 0x43c942
push ebp
call fcn.0043d1f0
add esp, 4
mov dword [edi + 0xf4], esi
jmp 0x43c94e
mov ebp, dword [esp + 0x48]
push ebp
call dword [0x4e2960]
lea eax, [ebp + 0x80]
push eax
call dword [0x4e2960]
lea eax, [ebp + 0x100]
push eax
call dword [0x4e2960]
lea eax, [ebp + 0x180]
push eax
call dword [0x4e2960]
lea eax, [ebp + 0x200]
push eax
call dword [0x4e2960]
lea eax, [ebp + 0x280]
push eax
call dword [0x4e2960]
mov ecx, dword [edi + 0xf0]
add esp, 0x18
xor eax, eax
cmp ecx, 1
mov ecx, dword [esp + 0x38]
sete al
mov dl, byte [ecx + 0xc]
inc eax
test dl, 0x20
mov dword [esp + 0x34], eax
je 0x43c9bf
lea edx, [eax + eax*2]
mov dword [esp + 0x34], edx
mov eax, dword [0x4e2970]
mov ecx, dword [0x4e2984]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x20], eax
mov eax, dword [ebx + 0x6c]
mov dword [esp + 0x24], ecx
and eax, 1
sub ebp, esi
mov byte [esp + 0x14], 0
mov dword [esp + 0x28], eax
mov edx, dword [esp + eax*4 + 0x20]
mov dword [esp + 0x18], 5
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ebp
jmp 0x43ca05
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x1c]
mov eax, dword [ebx + 0x78]
mov ecx, dword [edi + 0xf0]
add ebp, esi
push eax
push ecx
push ebp
push esi
call dword [esp + 0x30]
mov edi, eax
add esp, 0x10
test edi, edi
je 0x43ca73
mov edx, dword [esp + 0x3c]
cmp dword [edx + 0xf0], 2
jle 0x43ca73
mov eax, dword [esp + 0x38]
test byte [eax + 0xc], 8
je 0x43ca73
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43ca4e
mov ecx, dword [ebx + 0x78]
push ecx
call fcn.0044d010
add esp, 4
jmp 0x43ca53
mov eax, 0x46bca8
mov edx, dword [esp + 0x3c]
push edi
push 0x3f
push eax
mov eax, dword [edx + 0xf0]
push 0x46bb28
push eax
push ebp
push esi
call fcn.0043d5c0
add esp, 0x1c
mov edi, eax
mov ecx, dword [esp + 0x34]
xor eax, eax
cmp edi, ecx
jge 0x43ca8e
cmp word [esi + 2], ax
jne 0x43ca8e
cmp word [esi + 0x10], ax
jne 0x43ca8e
cmp word [esi], ax
je 0x43ca93
mov eax, 1
mov edi, dword [esp + 0x18]
add esi, 0x80
mov ecx, edi
shl al, cl
mov cl, byte [esp + 0x14]
or cl, al
dec edi
cmp edi, 0xffffffff
mov byte [esp + 0x14], cl
mov dword [esp + 0x18], edi
jg 0x43c9fd
mov eax, dword [0x4e297c]
mov esi, dword [ebx + 0x6c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [0x4e2978]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x2c], eax
mov al, byte [esp + 0x14]
mov edi, dword [ecx + 0xf0]
and esi, 1
and al, 0x20
mov dword [esp + 0x28], edx
mov byte [esp + 0x34], al
je 0x43cafe
mov ecx, dword [ebx + 0x78]
mov edx, dword [esp + 0x4c]
push ecx
push edi
push edx
push ebp
call dword [esp + esi*4 + 0x38]
add esp, 0x10
mov al, byte [esp + 0x14]
and al, 0x10
mov byte [esp + 0x48], al
je 0x43cb28
mov eax, dword [ebx + 0x78]
mov ecx, dword [esp + 0x4c]
push eax
add ecx, 0x80
push edi
lea eax, [ebp + 0x80]
push ecx
push eax
call dword [esp + esi*4 + 0x38]
add esp, 0x10
mov al, byte [esp + 0x14]
and al, 8
mov byte [esp + 0x10], al
je 0x43cb51
mov edx, dword [ebx + 0x78]
mov eax, dword [esp + 0x4c]
push edx
add eax, 0x100
push edi
push eax
lea eax, [ebp + 0x100]
push eax
call dword [esp + esi*4 + 0x38]
add esp, 0x10
mov al, byte [esp + 0x14]
and al, 4
mov byte [esp + 0x11], al
je 0x43cb7b
mov ecx, dword [ebx + 0x78]
mov edx, dword [esp + 0x4c]
push ecx
add edx, 0x180
push edi
lea eax, [ebp + 0x180]
push edx
push eax
call dword [esp + esi*4 + 0x38]
add esp, 0x10
mov al, byte [esp + 0x14]
and al, 2
mov byte [esp + 0x12], al
je 0x43cba5
mov eax, dword [ebx + 0x78]
mov ecx, dword [esp + 0x4c]
push eax
add ecx, 0x200
push edi
lea eax, [ebp + 0x200]
push ecx
push eax
call dword [esp + esi*4 + 0x38]
add esp, 0x10
mov al, byte [esp + 0x14]
and al, 1
mov byte [esp + 0x13], al
je 0x43cbce
mov edx, dword [ebx + 0x78]
mov eax, dword [esp + 0x4c]
push edx
add eax, 0x280
push edi
push eax
lea eax, [ebp + 0x280]
push eax
call dword [esp + esi*4 + 0x38]
add esp, 0x10
mov al, byte [esp + 0x34]
test al, al
je 0x43cbe0
push ebp
call dword [0x4e2964]
add esp, 4
mov al, byte [esp + 0x48]
test al, al
je 0x43cbf8
lea eax, [ebp + 0x80]
push eax
call dword [0x4e2964]
add esp, 4
mov al, byte [esp + 0x10]
test al, al
je 0x43cc10
lea eax, [ebp + 0x100]
push eax
call dword [0x4e2964]
add esp, 4
mov al, byte [esp + 0x11]
test al, al
je 0x43cc28
lea eax, [ebp + 0x180]
push eax
call dword [0x4e2964]
add esp, 4
mov al, byte [esp + 0x12]
test al, al
je 0x43cc40
lea eax, [ebp + 0x200]
push eax
call dword [0x4e2964]
add esp, 4
mov al, byte [esp + 0x13]
test al, al
je 0x43cc58
lea eax, [ebp + 0x280]
push eax
call dword [0x4e2964]
add esp, 4
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x40]
push 1
push ebp
push edx
mov edx, dword [esp + 0x48]
push eax
push ecx
push edx
push ebx
call fcn.0043c790
mov al, byte [esp + 0x34]
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret