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

Disassembly:
sub esp, 8
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
xor ebx, ebx
test byte [esi + 8], 3
push edi
je 0x57d06c
test byte [esi + 8], 1
je 0x57d03e
mov eax, dword [esi + 0x78]
mov edi, dword [eax + 0x14]
cmp edi, 0x80
jae 0x57d031
lea eax, [ebx + 1]
jmp 0x57d03a
push edi
call fcn.005532e0
add esp, 4
lea ebx, [eax + edi + 1]
mov ecx, dword [esi + 8]
shr ecx, 1
test cl, 1
je 0x57d06c
mov edx, dword [esi + 0x7c]
mov edi, dword [edx + 0x14]
cmp edi, 0x80
jae 0x57d05d
mov eax, 1
jmp 0x57d066
push edi
call fcn.005532e0
add esp, 4
add eax, edi
lea ebx, [ebx + eax + 1]
mov eax, dword [esi + 8]
test eax, 0xe00
je 0x57d113
shr eax, 9
test al, 1
je 0x57d0ac
mov ecx, dword [esi + 0x84]
call fcn.00578680
mov edi, eax
cmp edi, 0x80
jae 0x57d09d
mov eax, 1
jmp 0x57d0a6
push edi
call fcn.005532e0
add esp, 4
add edi, eax
lea ebx, [ebx + edi + 1]
mov eax, dword [esi + 8]
shr eax, 0xa
test al, 1
je 0x57d0e1
mov ecx, dword [esi + 0x88]
call fcn.00578e00
mov edi, eax
cmp edi, 0x80
jae 0x57d0d2
mov eax, 1
jmp 0x57d0db
push edi
call fcn.005532e0
add esp, 4
add edi, eax
lea ebx, [ebx + edi + 1]
mov ecx, dword [esi + 8]
shr ecx, 0xb
test cl, 1
je 0x57d113
mov edx, dword [esi + 0x80]
mov edi, dword [edx + 0x14]
cmp edi, 0x80
jae 0x57d104
mov eax, 1
jmp 0x57d10d
push edi
call fcn.005532e0
add esp, 4
add eax, edi
lea ebx, [ebx + eax + 1]
mov eax, dword [esi + 0x14]
add ebx, eax
xor edi, edi
push ebp
test eax, eax
jle 0x57d14c
nop
mov eax, dword [esi + 0x1c]
mov ecx, dword [eax + edi*4 + 4]
mov ebp, dword [ecx + 0x14]
cmp ebp, 0x80
jae 0x57d139
mov eax, 1
jmp 0x57d142
push ebp
call fcn.005532e0
add esp, 4
add eax, ebp
inc edi
add ebx, eax
cmp edi, dword [esi + 0x14]
jl 0x57d120
mov ecx, dword [esi + 0x20]
xor ebp, ebp
xor edi, edi
mov dword [esp + 0x10], ecx
test ecx, ecx
jbe 0x57d194
jmp 0x57d160
mov edx, dword [esi + 0x28]
mov eax, dword [edx + edi*4 + 4]
test eax, eax
jge 0x57d172
mov eax, 0xa
jmp 0x57d18d
cmp eax, 0x80
jae 0x57d180
mov eax, 1
jmp 0x57d18d
push eax
call fcn.005532e0
mov ecx, dword [esp + 0x14]
add esp, 4
inc edi
add ebp, eax
cmp edi, ecx
jb 0x57d160
mov eax, dword [esi + 0x20]
add eax, ebp
mov ebp, dword [esi + 0x2c]
add ebx, eax
xor edi, edi
mov dword [esp + 0x10], 0
test ebp, ebp
jbe 0x57d1e2
lea esp, [esp]
mov ecx, dword [esi + 0x34]
mov eax, dword [ecx + edi*4 + 4]
test eax, eax
jge 0x57d1c2
mov eax, 0xa
jmp 0x57d1d9
cmp eax, 0x80
jae 0x57d1d0
mov eax, 1
jmp 0x57d1d9
push eax
call fcn.005532e0
add esp, 4
add dword [esp + 0x10], eax
inc edi
cmp edi, ebp
jb 0x57d1b0
mov eax, dword [esi + 0x3c]
mov edx, dword [esi + 0x2c]
add edx, eax
add edx, dword [esp + 0x10]
xor edi, edi
add ebx, edx
mov dword [esp + 0x14], eax
test eax, eax
jbe 0x57d231
lea ebx, [ebx]
mov eax, dword [esi + 0x44]
mov ecx, dword [eax + edi*4 + 4]
call fcn.0057b860
mov ebp, eax
cmp ebp, 0x80
jae 0x57d21d
mov eax, 1
jmp 0x57d226
push ebp
call fcn.005532e0
add esp, 4
add eax, ebp
inc edi
add ebx, eax
cmp edi, dword [esp + 0x14]
jb 0x57d200
mov eax, dword [esi + 0x4c]
add ebx, eax
xor edi, edi
mov dword [esp + 0x14], eax
test eax, eax
jbe 0x57d271
mov ecx, dword [esi + 0x54]
mov ecx, dword [ecx + edi*4 + 4]
call fcn.0057a660
mov ebp, eax
cmp ebp, 0x80
jae 0x57d25d
mov eax, 1
jmp 0x57d266
push ebp
call fcn.005532e0
add esp, 4
add eax, ebp
inc edi
add ebx, eax
cmp edi, dword [esp + 0x14]
jb 0x57d240
mov eax, dword [esi + 0x5c]
add ebx, eax
xor edi, edi
mov dword [esp + 0x14], eax
test eax, eax
jbe 0x57d2b1
mov edx, dword [esi + 0x64]
mov ecx, dword [edx + edi*4 + 4]
call fcn.0057a870
mov ebp, eax
cmp ebp, 0x80
jae 0x57d29d
mov eax, 1
jmp 0x57d2a6
push ebp
call fcn.005532e0
add esp, 4
add eax, ebp
inc edi
add ebx, eax
cmp edi, dword [esp + 0x14]
jb 0x57d280
mov eax, dword [esi + 0x6c]
add ebx, eax
xor edi, edi
mov dword [esp + 0x14], eax
test eax, eax
jbe 0x57d2f1
mov eax, dword [esi + 0x74]
mov ecx, dword [eax + edi*4 + 4]
call fcn.00579350
mov ebp, eax
cmp ebp, 0x80
jae 0x57d2dd
mov eax, 1
jmp 0x57d2e6
push ebp
call fcn.005532e0
add esp, 4
add eax, ebp
inc edi
add ebx, eax
cmp edi, dword [esp + 0x14]
jb 0x57d2c0
test byte [esi + 4], 1
pop ebp
je 0x57d314
mov eax, dword [esi + 4]
test al, 1
je 0x57d304
and eax, 0xfffffffe
jmp 0x57d309
call fcn.0054ff90
push eax
call fcn.00595410
add esp, 4
add ebx, eax
pop edi
mov dword [esi + 0xc], ebx
pop esi
mov eax, ebx
pop ebx
add esp, 8
ret