Function at 0x43c410
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 0x43c47a
mov eax, dword [esp + 0x40]
test eax, eax
jbe 0x43c47a
mov ecx, dword [ebx + 0x10]
dec ecx
cmp eax, ecx
jae 0x43c47a
mov eax, dword [esp + 0x44]
test eax, eax
jbe 0x43c47a
mov edx, dword [ebx + 0x14]
dec edx
cmp eax, edx
jae 0x43c47a
mov ebp, dword [esp + 0x48]
push ebp
call dword [0x4e2550]
mov edi, eax
add esp, 4
test edi, edi
je 0x43c472
push ebp
call fcn.0043c970
add esp, 4
mov dword [esi + 0xf4], edi
jmp 0x43c47e
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 eax, dword [esp + 0x50]
add esp, 0x18
mov dword [esp + 0x34], 3
test byte [eax + 0xc], 0x20
je 0x43c4e3
mov dword [esp + 0x34], 6
mov eax, dword [ebx + 0x6c]
mov ecx, dword [0x4e2510]
mov edx, dword [0x4e2524]
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 0x43c52a
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 0x43c598
mov eax, dword [esp + 0x3c]
cmp dword [eax + 0xf0], 2
jle 0x43c598
mov ecx, dword [esp + 0x38]
test byte [ecx + 0xc], 8
je 0x43c598
mov eax, dword [esp + 0x28]
test eax, eax
je 0x43c573
mov edx, dword [ebx + 0x78]
push edx
call fcn.0044c790
add esp, 4
jmp 0x43c578
mov eax, 0x46ad60
push esi
push 0x3f
push eax
mov eax, dword [esp + 0x48]
push 0x46abe0
mov ecx, dword [eax + 0xf0]
push ecx
push ebp
push edi
call fcn.0043cd40
add esp, 0x1c
mov esi, eax
mov ecx, dword [esp + 0x34]
xor eax, eax
cmp esi, ecx
jge 0x43c5d7
cmp word [edi + 2], ax
jne 0x43c5d7
cmp word [edi + 0x10], ax
jne 0x43c5d7
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 0xec]
test ecx, ecx
je 0x43c5c1
cmp ecx, 5
jne 0x43c5d1
mov cx, word [edi]
cmp cx, 0xffff
jl 0x43c5d7
test cx, cx
jle 0x43c5dc
jmp 0x43c5d7
cmp word [edi], 0
je 0x43c5dc
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 0x43c522
test byte [ebx + 0x18], 1
je 0x43c7d1
mov eax, dword [esp + 0x3c]
mov esi, dword [ebx + 0x6c]
mov ecx, dword [0x4e2518]
mov edx, dword [0x4e251c]
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 0x43c652
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 0x43c67b
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 0x43c6a5
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 0x43c6cf
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 0x43c6f8
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 0x43c722
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 0x43c734
push ebp
call dword [0x4e2504]
add esp, 4
mov al, byte [esp + 0x48]
test al, al
je 0x43c74c
lea eax, [ebp + 0x80]
push eax
call dword [0x4e2504]
add esp, 4
mov al, byte [esp + 0x10]
test al, al
je 0x43c764
lea eax, [ebp + 0x100]
push eax
call dword [0x4e2504]
add esp, 4
mov al, byte [esp + 0x11]
test al, al
je 0x43c77c
lea eax, [ebp + 0x180]
push eax
call dword [0x4e2504]
add esp, 4
mov al, byte [esp + 0x12]
test al, al
je 0x43c794
lea eax, [ebp + 0x200]
push eax
call dword [0x4e2504]
add esp, 4
mov al, byte [esp + 0x13]
test al, al
je 0x43c7ac
lea eax, [ebp + 0x280]
push eax
call dword [0x4e2504]
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.0043bf10
add esp, 0x20
mov al, byte [esp + 0x14]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret