Function at 0x43c990
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 0x43c9fa
mov eax, dword [esp + 0x40]
test eax, eax
jbe 0x43c9fa
mov ecx, dword [ebx + 0x10]
dec ecx
cmp eax, ecx
jae 0x43c9fa
mov eax, dword [esp + 0x44]
test eax, eax
jbe 0x43c9fa
mov edx, dword [ebx + 0x14]
dec edx
cmp eax, edx
jae 0x43c9fa
mov ebp, dword [esp + 0x48]
push ebp
call dword [0x4e2a10]
mov esi, eax
add esp, 4
test esi, esi
je 0x43c9f2
push ebp
call fcn.0043d2a0
add esp, 4
mov dword [edi + 0xf4], esi
jmp 0x43c9fe
mov ebp, dword [esp + 0x48]
push ebp
call dword [0x4e29c0]
lea eax, [ebp + 0x80]
push eax
call dword [0x4e29c0]
lea eax, [ebp + 0x100]
push eax
call dword [0x4e29c0]
lea eax, [ebp + 0x180]
push eax
call dword [0x4e29c0]
lea eax, [ebp + 0x200]
push eax
call dword [0x4e29c0]
lea eax, [ebp + 0x280]
push eax
call dword [0x4e29c0]
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 0x43ca6f
lea edx, [eax + eax*2]
mov dword [esp + 0x34], edx
mov eax, dword [0x4e29d0]
mov ecx, dword [0x4e29e4]
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 0x43cab5
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 0x43cb23
mov edx, dword [esp + 0x3c]
cmp dword [edx + 0xf0], 2
jle 0x43cb23
mov eax, dword [esp + 0x38]
test byte [eax + 0xc], 8
je 0x43cb23
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43cafe
mov ecx, dword [ebx + 0x78]
push ecx
call fcn.0044d0c0
add esp, 4
jmp 0x43cb03
mov eax, 0x46bc98
mov edx, dword [esp + 0x3c]
push edi
push 0x3f
push eax
mov eax, dword [edx + 0xf0]
push 0x46bb18
push eax
push ebp
push esi
call fcn.0043d670
add esp, 0x1c
mov edi, eax
mov ecx, dword [esp + 0x34]
xor eax, eax
cmp edi, ecx
jge 0x43cb3e
cmp word [esi + 2], ax
jne 0x43cb3e
cmp word [esi + 0x10], ax
jne 0x43cb3e
cmp word [esi], ax
je 0x43cb43
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 0x43caad
mov eax, dword [0x4e29dc]
mov esi, dword [ebx + 0x6c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [0x4e29d8]
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 0x43cbae
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 0x43cbd8
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 0x43cc01
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 0x43cc2b
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 0x43cc55
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 0x43cc7e
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 0x43cc90
push ebp
call dword [0x4e29c4]
add esp, 4
mov al, byte [esp + 0x48]
test al, al
je 0x43cca8
lea eax, [ebp + 0x80]
push eax
call dword [0x4e29c4]
add esp, 4
mov al, byte [esp + 0x10]
test al, al
je 0x43ccc0
lea eax, [ebp + 0x100]
push eax
call dword [0x4e29c4]
add esp, 4
mov al, byte [esp + 0x11]
test al, al
je 0x43ccd8
lea eax, [ebp + 0x180]
push eax
call dword [0x4e29c4]
add esp, 4
mov al, byte [esp + 0x12]
test al, al
je 0x43ccf0
lea eax, [ebp + 0x200]
push eax
call dword [0x4e29c4]
add esp, 4
mov al, byte [esp + 0x13]
test al, al
je 0x43cd08
lea eax, [ebp + 0x280]
push eax
call dword [0x4e29c4]
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.0043c840
mov al, byte [esp + 0x34]
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret