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

Disassembly:
push 0xffffffffffffffff
push 0x5c18a1
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x6385e0]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x6385e0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x80]
push eax
lea eax, [esp + 0x3c]
xor esi, esi
push eax
mov dword [esp + 0x80], esi
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], esi
call fcn.005758a0
add esp, 8
mov ebx, 1
mov ecx, edi
mov dword [esp + 0x78], ebx
call fcn.00593560
mov edi, dword [esp + 0x44]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x48]
mov ecx, ebx
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
xor ebp, ebp
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x1c], ebp
je 0x57da71
cmp ebp, eax
jb 0x57d91b
call fcn.0054dbee
mov edi, dword [esp + 0x44]
lea ecx, [ebp*8]
sub ecx, ebp
lea eax, [edi + ecx*4]
push eax
lea edx, [esp + 0x54]
push edx
call fcn.00571ee0
mov ecx, eax
call fcn.005728a0
mov byte [esp + 0x78], 2
cmp ebp, esi
jne 0x57da1e
push 3
push esi
push 0x5da234
lea ecx, [esp + 0x5c]
call fcn.0057d1a0
cmp eax, 0xffffffff
je 0x57da1e
lea eax, [esp + 0x50]
push eax
lea ecx, [esp + 0x24]
push ecx
call fcn.0057d870
add esp, 8
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov ecx, ebx
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov byte [esp + 0x78], 3
je 0x57d9df
xor ebp, ebp
cmp esi, eax
jb 0x57d9a7
call fcn.0054dbee
mov edi, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
lea edx, [edi + ebp]
push edx
call fcn.005757f0
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x2c]
mov ecx, ebx
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc esi
add eax, edx
add ebp, 0x1c
cmp esi, eax
jne 0x57d99c
mov ebp, dword [esp + 0x1c]
xor esi, esi
cmp edi, esi
je 0x57da03
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
push ecx
push ebx
push edi
call fcn.005653e0
mov edx, dword [esp + 0x3c]
push edx
call fcn.0054d4ea
add esp, 0x14
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
call fcn.0054d4ea
add esp, 4
jmp 0x57da2c
lea ecx, [esp + 0x50]
push ecx
mov ecx, dword [esp + 0x1c]
call fcn.005757f0
cmp dword [esp + 0x68], 0x10
mov byte [esp + 0x78], 1
jb 0x57da45
mov edx, dword [esp + 0x54]
push edx
call fcn.0054d4ea
add esp, 4
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x44]
mov ecx, ebx
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
inc ebp
add eax, edx
mov dword [esp + 0x1c], ebp
cmp ebp, eax
jne 0x57d910
cmp edi, esi
je 0x57da93
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x44]
push ecx
push ebx
push edi
call fcn.005653e0
mov edx, dword [esp + 0x54]
push edx
call fcn.0054d4ea
add esp, 0x14
mov eax, dword [esp + 0x38]
push eax
mov dword [esp + 0x48], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
call fcn.0054d4ea
mov eax, dword [esp + 0x1c]
add esp, 4
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0054d4f5
add esp, 0x68
ret