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

Disassembly:
mov eax, dword [esp + 8]
sub esp, 0x20
push ebx
push ebp
push esi
mov esi, dword [esp + 0x38]
mov ebx, dword [esp + 0x30]
push edi
mov dword [esi + 0xf4], 0
mov cl, byte [eax + 8]
test cl, 0x20
je 0x43ca4a
mov eax, dword [esp + 0x40]
test eax, eax
jbe 0x43ca4a
mov ecx, dword [ebx + 0x10]
dec ecx
cmp eax, ecx
jae 0x43ca4a
mov eax, dword [esp + 0x44]
test eax, eax
jbe 0x43ca4a
mov edx, dword [ebx + 0x14]
dec edx
cmp eax, edx
jae 0x43ca4a
mov ebp, dword [esp + 0x48]
push ebp
call dword [0x4e2910]
mov edi, eax
add esp, 4
test edi, edi
je 0x43ca42
push ebp
call fcn.0043cf40
add esp, 4
mov dword [esi + 0xf4], edi
jmp 0x43ca4e
mov ebp, dword [esp + 0x48]
push ebp
call dword [0x4e28c0]
lea eax, [ebp + 0x80]
push eax
call dword [0x4e28c0]
lea eax, [ebp + 0x100]
push eax
call dword [0x4e28c0]
lea eax, [ebp + 0x180]
push eax
call dword [0x4e28c0]
lea eax, [ebp + 0x200]
push eax
call dword [0x4e28c0]
lea eax, [ebp + 0x280]
push eax
call dword [0x4e28c0]
mov eax, dword [esp + 0x50]
add esp, 0x18
mov dword [esp + 0x34], 3
test byte [eax + 0xc], 0x20
je 0x43cab3
mov dword [esp + 0x34], 6
mov eax, dword [ebx + 0x6c]
mov ecx, dword [0x4e28d0]
mov edx, dword [0x4e28e4]
mov edi, dword [esp + 0x4c]
and eax, 1
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
mov dword [esp + 0x28], eax
mov eax, dword [esp + eax*4 + 0x20]
sub ebp, edi
mov byte [esp + 0x14], 0
mov dword [esp + 0x20], eax
mov dword [esp + 0x18], 5
mov dword [esp + 0x1c], ebp
jmp 0x43cafa
mov esi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [ebx + 0x78]
mov edx, dword [esi + 0xf0]
add ebp, edi
push ecx
push edx
push ebp
push edi
call dword [esp + 0x30]
mov esi, eax
add esp, 0x10
test esi, esi
je 0x43cb68
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0xf0], 2
jle 0x43cb68
mov ecx, dword [esp + 0x38]
test byte [ecx + 0xc], 8
je 0x43cb68
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43cb43
mov edx, dword [ebx + 0x78]
push edx
call fcn.0044cd60
add esp, 4
jmp 0x43cb48
mov eax, 0x46bc48
push esi
push 0x3f
push eax
mov eax, dword [esp + 0x48]
push 0x46bac8
mov ecx, dword [eax + 0xf0]
push ecx
push ebp
push edi
call fcn.0043d310
add esp, 0x1c
mov esi, eax
mov ecx, dword [esp + 0x34]
xor eax, eax
cmp esi, ecx
jge 0x43cba7
cmp word [edi + 2], ax
jne 0x43cba7
cmp word [edi + 0x10], ax
jne 0x43cba7
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 0xec]
test ecx, ecx
je 0x43cb91
cmp ecx, 5
jne 0x43cba1
mov cx, word [edi]
cmp cx, 0xffff
jl 0x43cba7
test cx, cx
jle 0x43cbac
jmp 0x43cba7
cmp word [edi], 0
je 0x43cbac
mov eax, 1
mov esi, dword [esp + 0x18]
add edi, 0x80
mov ecx, esi
shl al, cl
mov cl, byte [esp + 0x14]
or cl, al
dec esi
cmp esi, 0xffffffff
mov byte [esp + 0x14], cl
mov dword [esp + 0x18], esi
jg 0x43caf2
test byte [ebx + 0x18], 1
je 0x43cda1
mov eax, dword [esp + 0x3c]
mov esi, dword [ebx + 0x6c]
mov ecx, dword [0x4e28d8]
mov edx, dword [0x4e28dc]
mov edi, dword [eax + 0xf0]
mov al, byte [esp + 0x14]
mov ebp, dword [esp + 0x48]
and esi, 1
and al, 0x20
mov dword [esp + 0x28], ecx
mov dword [esp + 0x2c], edx
mov byte [esp + 0x34], al
je 0x43cc22
mov eax, dword [ebx + 0x78]
mov ecx, dword [esp + 0x4c]
push eax
push edi
push ecx
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 0x43cc4b
mov edx, dword [ebx + 0x78]
mov eax, dword [esp + 0x4c]
push edx
add eax, 0x80
push edi
push eax
lea eax, [ebp + 0x80]
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 0x43cc75
mov ecx, dword [ebx + 0x78]
mov edx, dword [esp + 0x4c]
push ecx
add edx, 0x100
push edi
lea eax, [ebp + 0x100]
push edx
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 0x43cc9f
mov eax, dword [ebx + 0x78]
mov ecx, dword [esp + 0x4c]
push eax
add ecx, 0x180
push edi
lea eax, [ebp + 0x180]
push ecx
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 0x43ccc8
mov edx, dword [ebx + 0x78]
mov eax, dword [esp + 0x4c]
push edx
add eax, 0x200
push edi
push eax
lea eax, [ebp + 0x200]
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 0x43ccf2
mov ecx, dword [ebx + 0x78]
mov edx, dword [esp + 0x4c]
push ecx
add edx, 0x280
push edi
lea eax, [ebp + 0x280]
push edx
push eax
call dword [esp + esi*4 + 0x38]
add esp, 0x10
mov al, byte [esp + 0x34]
test al, al
je 0x43cd04
push ebp
call dword [0x4e28c4]
add esp, 4
mov al, byte [esp + 0x48]
test al, al
je 0x43cd1c
lea eax, [ebp + 0x80]
push eax
call dword [0x4e28c4]
add esp, 4
mov al, byte [esp + 0x10]
test al, al
je 0x43cd34
lea eax, [ebp + 0x100]
push eax
call dword [0x4e28c4]
add esp, 4
mov al, byte [esp + 0x11]
test al, al
je 0x43cd4c
lea eax, [ebp + 0x180]
push eax
call dword [0x4e28c4]
add esp, 4
mov al, byte [esp + 0x12]
test al, al
je 0x43cd64
lea eax, [ebp + 0x200]
push eax
call dword [0x4e28c4]
add esp, 4
mov al, byte [esp + 0x13]
test al, al
je 0x43cd7c
lea eax, [ebp + 0x280]
push eax
call dword [0x4e28c4]
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x40]
push 1
push ebp
push ecx
mov ecx, dword [esp + 0x48]
push edx
push eax
push ecx
push ebx
call fcn.0043c4e0
add esp, 0x20
mov al, byte [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret