Function at 0x43c060
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 0x43c0ca
mov eax, dword [esp + 0x40]
test eax, eax
jbe 0x43c0ca
mov ecx, dword [ebx + 0x10]
dec ecx
cmp eax, ecx
jae 0x43c0ca
mov eax, dword [esp + 0x44]
test eax, eax
jbe 0x43c0ca
mov edx, dword [ebx + 0x14]
dec edx
cmp eax, edx
jae 0x43c0ca
mov ebp, dword [esp + 0x48]
push ebp
call dword [0x4e2550]
mov esi, eax
add esp, 4
test esi, esi
je 0x43c0c2
push ebp
call fcn.0043c970
add esp, 4
mov dword [edi + 0xf4], esi
jmp 0x43c0ce
mov ebp, dword [esp + 0x48]
push ebp
call dword [0x4e2500]
lea eax, [ebp + 0x80]
push eax
call dword [0x4e2500]
lea eax, [ebp + 0x100]
push eax
call dword [0x4e2500]
lea eax, [ebp + 0x180]
push eax
call dword [0x4e2500]
lea eax, [ebp + 0x200]
push eax
call dword [0x4e2500]
lea eax, [ebp + 0x280]
push eax
call dword [0x4e2500]
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 0x43c13f
lea edx, [eax + eax*2]
mov dword [esp + 0x34], edx
mov eax, dword [0x4e2510]
mov ecx, dword [0x4e2524]
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 0x43c185
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 0x43c1f3
mov edx, dword [esp + 0x3c]
cmp dword [edx + 0xf0], 2
jle 0x43c1f3
mov eax, dword [esp + 0x38]
test byte [eax + 0xc], 8
je 0x43c1f3
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43c1ce
mov ecx, dword [ebx + 0x78]
push ecx
call fcn.0044c790
add esp, 4
jmp 0x43c1d3
mov eax, 0x46ad60
mov edx, dword [esp + 0x3c]
push edi
push 0x3f
push eax
mov eax, dword [edx + 0xf0]
push 0x46abe0
push eax
push ebp
push esi
call fcn.0043cd40
add esp, 0x1c
mov edi, eax
mov ecx, dword [esp + 0x34]
xor eax, eax
cmp edi, ecx
jge 0x43c20e
cmp word [esi + 2], ax
jne 0x43c20e
cmp word [esi + 0x10], ax
jne 0x43c20e
cmp word [esi], ax
je 0x43c213
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 0x43c17d
mov eax, dword [0x4e251c]
mov esi, dword [ebx + 0x6c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [0x4e2518]
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 0x43c27e
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 0x43c2a8
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 0x43c2d1
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 0x43c2fb
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 0x43c325
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 0x43c34e
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 0x43c360
push ebp
call dword [0x4e2504]
add esp, 4
mov al, byte [esp + 0x48]
test al, al
je 0x43c378
lea eax, [ebp + 0x80]
push eax
call dword [0x4e2504]
add esp, 4
mov al, byte [esp + 0x10]
test al, al
je 0x43c390
lea eax, [ebp + 0x100]
push eax
call dword [0x4e2504]
add esp, 4
mov al, byte [esp + 0x11]
test al, al
je 0x43c3a8
lea eax, [ebp + 0x180]
push eax
call dword [0x4e2504]
add esp, 4
mov al, byte [esp + 0x12]
test al, al
je 0x43c3c0
lea eax, [ebp + 0x200]
push eax
call dword [0x4e2504]
add esp, 4
mov al, byte [esp + 0x13]
test al, al
je 0x43c3d8
lea eax, [ebp + 0x280]
push eax
call dword [0x4e2504]
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.0043bf10
mov al, byte [esp + 0x34]
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret