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

Disassembly:
push ebp
mov ebp, esp
lea esp, [esp - 0x8c]
push ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], edx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x54], 0
mov eax, 1
lea edx, [ebp - 0x4c]
lea ecx, [ebp - 0x34]
call fcn.0040e9e0
call fcn.00404380
push eax
test eax, eax
jne 0x57c36c
mov byte [ebp - 0xc], 0
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x40]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x40]
mov edx, dword [edx]
call dword [edx + 0xb8]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
mov edx, dword [edx]
call dword [edx + pe_nt_image_headers32]
sub eax, 1
test eax, eax
jl 0x57c32c
mov dword [ebp - 0x10], eax
add dword [ebp - 0x10], 1
lea esi, [esi]
sub dword [ebp - 0x10], 1
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x54]
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx]
call dword [ebx + 0x78]
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 8]
call fcn.0057b580
test al, al
je 0x57c320
mov eax, dword [ebp - 8]
cmp dword [eax + 0x1c], 0
je 0x57c15c
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0xc]
mov edx, dword [edx]
call dword [edx + pe_nt_image_headers32]
mov ecx, eax
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x20]
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
call dword [ebx + 0x1c]
mov edx, 1
mov eax, 0x6399f0
call fcn.00442f70
mov dword [ebp - 0x28], eax
mov eax, 1
lea edx, [ebp - 0x78]
lea ecx, [ebp - 0x60]
call fcn.0040e9e0
call fcn.00404380
push eax
test eax, eax
jne 0x57c309
mov eax, dword [ebp - 0x28]
mov byte [eax + 0x29], 1
mov eax, dword [ebp - 0x28]
mov dl, 0x20
call fcn.00441780
lea ebx, [ebp - 0x20]
mov eax, ebx
call fcn.00403ec0
push ebx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
lea ecx, [ebp - 0x54]
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx]
call dword [ebx + 0x78]
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 8]
call fcn.0057b310
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx]
call dword [edx + pe_nt_image_headers32]
sub eax, 1
test eax, eax
jl 0x57c27c
mov dword [ebp - 0x24], eax
add dword [ebp - 0x24], 1
lea esi, [esi]
sub dword [ebp - 0x24], 1
lea ecx, [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
mov ebx, dword [ebx]
call dword [ebx + 0x78]
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
call dword [ecx + 0xc8]
mov dword [ebp - 0x14], eax
cmp eax, 0xffffffff
jle 0x57c270
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
call dword [ecx + 0xbc]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx]
call dword [ecx + 0xcc]
mov dword [ebp - 0x18], eax
cmp eax, 0xffffffff
jle 0x57c270
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x10]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0x10]
mov ecx, dword [ecx]
call dword [ecx + 0xbc]
mov eax, dword [ebp - 8]
add dword [eax + 0x3c], 1
mov byte [ebp - 0xc], 1
cmp dword [ebp - 0x24], 0
jg 0x57c1f0
mov esi, esi
mov eax, dword [ebp - 0x28]
mov edx, dword [ebp - 0x28]
mov edx, dword [edx]
call dword [edx + pe_nt_image_headers32]
test eax, eax
jne 0x57c2a7
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx]
call dword [ecx + 0xbc]
jmp 0x57c309
lea eax, [ebp - 0x54]
call fcn.00403ec0
push 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x88], eax
mov eax, 0x68fa60
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x8c]
call fcn.00441910
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x80], eax
lea edx, [ebp - 0x88]
mov ecx, 2
lea eax, [ebp - 0x54]
call fcn.00409500
mov ecx, dword [ebp - 0x54]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 8]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx]
call dword [ebx + 0x8c]
call fcn.0040ec50
mov eax, dword [ebp - 0x28]
call fcn.0040dd50
pop eax
test eax, eax
je 0x57c320
call fcn.0040ed80
cmp dword [ebp - 0x10], 0
jg 0x57c100
mov esi, esi
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x14]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx]
call dword [ecx + 0xc8]
mov edx, dword [ebp - 8]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx + 0xc]
mov ecx, dword [ecx]
call dword [ecx + 0xc8]
mov edx, dword [ebp - 8]
mov dword [edx + 0x28], eax
call fcn.0040ec50
lea eax, [ebp - 0x8c]
call fcn.00403ec0
lea eax, [ebp - 0x54]
call fcn.00403ec0
lea eax, [ebp - 0x1c]
call fcn.00403ec0
lea eax, [ebp - 0x20]
call fcn.00403ec0
pop eax
test eax, eax
je 0x57c39e
call fcn.0040ed80
mov al, byte [ebp - 0xc]
pop ebx
mov esp, ebp
pop ebp
ret