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

Disassembly:
sub esp, 0x40
push ebx
push ebp
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x40]
push eax
lea ecx, [edi + 0x3c]
call fcn.0047d670
mov eax, dword [esp + 0x48]
sub eax, dword [esp + 0x40]
mov esi, dword [esp + 0x54]
mov edx, dword [esi]
sub eax, 1
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x68]
lea ebp, [edi + 0xc]
push ebp
mov ecx, esi
call eax
mov edx, dword [esi]
mov ebx, eax
mov eax, dword [edx + 0x60]
push ebp
mov ecx, esi
call eax
mov edx, dword [esi]
sub eax, ebx
mov dword [esp + 0x28], eax
lea ebx, [eax + 2]
mov eax, dword [edx + 0x64]
push ebp
mov ecx, esi
call eax
mov ebp, dword [edi + 8]
lea ecx, [eax + ebx + 1]
mov dword [esp + 0x3c], ecx
mov byte [esp + 0x13], 1
mov dword [esp + 0x1c], 0
lea ecx, [ecx]
push 0xa
push ebp
call fcn.004a0695
add esp, 8
test eax, eax
mov dword [esp + 0x18], eax
jne 0x43086d
mov eax, ebp
lea edx, [eax + 1]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x430858
sub eax, edx
add eax, ebp
mov dword [esp + 0x18], eax
mov byte [esp + 0x13], cl
mov edx, dword [edi]
mov esi, ebp
sub esi, dword [edi + 8]
sub eax, ebp
mov dword [esp + 0x2c], eax
add eax, esi
push esi
push edx
mov dword [esp + 0x1c], eax
call fcn.0047e7f0
mov ecx, dword [esp + 0x1c]
push ecx
push eax
call fcn.0047e7e0
mov edx, dword [edi + 4]
sub eax, esi
push esi
push edx
mov dword [esp + 0x38], eax
call fcn.0047e7f0
mov ecx, dword [esp + 0x2c]
push ecx
push eax
call fcn.0047e7e0
mov edx, dword [esp + 0x78]
add esp, 0x20
push edx
mov edx, dword [esp + 0x40]
push 0
sub eax, esi
sub esp, 0x10
mov dword [esp + 0x3c], eax
mov eax, esp
mov esi, ebx
sub esi, dword [esp + 0x40]
mov ecx, 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
sub esi, 1
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
push ebx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x70]
push eax
push 0
push ebp
lea ecx, [esp + 0x3c]
push ecx
push edx
mov ecx, edi
mov dword [esp + 0x44], 5
call fcn.00430530
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x3c]
push eax
push 1
sub esp, 0x10
mov eax, esp
mov ecx, 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x50]
mov dword [eax + 4], esi
mov dword [eax + 8], ecx
mov ecx, dword [esp + 0x38]
push ebx
mov dword [eax + 0xc], edx
mov eax, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x74]
push ecx
push ebp
lea edx, [esp + 0x3c]
push edx
push eax
mov ecx, edi
call fcn.00430530
mov ecx, dword [esp + 0x58]
push ecx
push 0
mov edx, dword [esp + 0x40]
sub esp, 0x10
mov eax, esp
mov ecx, 1
mov dword [eax], ecx
mov ecx, dword [esp + 0x3c]
mov dword [eax + 4], esi
mov esi, dword [esp + 0x54]
mov dword [eax + 8], edx
push ebx
mov dword [eax + 0xc], esi
mov eax, dword [esp + 0x48]
push eax
mov eax, dword [esp + 0x74]
push ecx
push ebp
lea edx, [esp + 0x3c]
push edx
push eax
mov ecx, edi
call fcn.00430530
mov eax, dword [edi + 0x34]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add esi, eax
add ebx, eax
mov eax, dword [esp + 0x1c]
push edx
push eax
lea ebp, [ecx + 1]
mov dword [esp + 0x44], esi
call fcn.0047e7f0
add esp, 8
cmp byte [esp + 0x13], 0
mov dword [esp + 0x1c], eax
jne 0x430840
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x40
ret 8