Function at 0x43c630
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 0x43c69a
mov eax, dword [esp + 0x40]
test eax, eax
jbe 0x43c69a
mov ecx, dword [ebx + 0x10]
dec ecx
cmp eax, ecx
jae 0x43c69a
mov eax, dword [esp + 0x44]
test eax, eax
jbe 0x43c69a
mov edx, dword [ebx + 0x14]
dec edx
cmp eax, edx
jae 0x43c69a
mov ebp, dword [esp + 0x48]
push ebp
call dword [0x4e2910]
mov esi, eax
add esp, 4
test esi, esi
je 0x43c692
push ebp
call fcn.0043cf40
add esp, 4
mov dword [edi + 0xf4], esi
jmp 0x43c69e
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 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 0x43c70f
lea edx, [eax + eax*2]
mov dword [esp + 0x34], edx
mov eax, dword [0x4e28d0]
mov ecx, dword [0x4e28e4]
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 0x43c755
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 0x43c7c3
mov edx, dword [esp + 0x3c]
cmp dword [edx + 0xf0], 2
jle 0x43c7c3
mov eax, dword [esp + 0x38]
test byte [eax + 0xc], 8
je 0x43c7c3
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43c79e
mov ecx, dword [ebx + 0x78]
push ecx
call fcn.0044cd60
add esp, 4
jmp 0x43c7a3
mov eax, 0x46bc48
mov edx, dword [esp + 0x3c]
push edi
push 0x3f
push eax
mov eax, dword [edx + 0xf0]
push 0x46bac8
push eax
push ebp
push esi
call fcn.0043d310
add esp, 0x1c
mov edi, eax
mov ecx, dword [esp + 0x34]
xor eax, eax
cmp edi, ecx
jge 0x43c7de
cmp word [esi + 2], ax
jne 0x43c7de
cmp word [esi + 0x10], ax
jne 0x43c7de
cmp word [esi], ax
je 0x43c7e3
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 0x43c74d
mov eax, dword [0x4e28dc]
mov esi, dword [ebx + 0x6c]
mov ecx, dword [esp + 0x3c]
mov edx, dword [0x4e28d8]
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 0x43c84e
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 0x43c878
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 0x43c8a1
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 0x43c8cb
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 0x43c8f5
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 0x43c91e
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 0x43c930
push ebp
call dword [0x4e28c4]
add esp, 4
mov al, byte [esp + 0x48]
test al, al
je 0x43c948
lea eax, [ebp + 0x80]
push eax
call dword [0x4e28c4]
add esp, 4
mov al, byte [esp + 0x10]
test al, al
je 0x43c960
lea eax, [ebp + 0x100]
push eax
call dword [0x4e28c4]
add esp, 4
mov al, byte [esp + 0x11]
test al, al
je 0x43c978
lea eax, [ebp + 0x180]
push eax
call dword [0x4e28c4]
add esp, 4
mov al, byte [esp + 0x12]
test al, al
je 0x43c990
lea eax, [ebp + 0x200]
push eax
call dword [0x4e28c4]
add esp, 4
mov al, byte [esp + 0x13]
test al, al
je 0x43c9a8
lea eax, [ebp + 0x280]
push eax
call dword [0x4e28c4]
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.0043c4e0
mov al, byte [esp + 0x34]
add esp, 0x20
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret