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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x57db6a
sub esp, 0x5c
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x30]
mov dword [esp], ecx
call fcn.004eadd0
mov eax, dword [esp + 4]
mov dword [esp + 0x3c], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x58], ecx
mov edx, dword [esp + 0x64]
mov ebx, dword [esp + 0x60]
mov ebp, dword [esp + 0x68]
xor esi, esi
xor edi, edi
xor edx, edx
mov dword [esp + 0x48], edx
mov edx, dword [esp + 0x64]
jmp 0x57d91a
mov edi, edx
mov dword [esp + 0x48], esi
mov edx, ecx
mov esi, ebp
mov ecx, dword [esp + 0x58]
mov ebp, ebx
mov ebx, eax
mov eax, dword [esp + 0x3c]
test edx, edx
jle 0x57db60
mov dword [esp + 0x68], ebp
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x28], edi
mov dword [esp + 0x24], esi
mov edx, dword [eax + 0x14]
mov dword [esp], ecx
call edx
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0xc]
mov ebp, dword [edx + 0x10]
mov esi, dword [edx + 0x14]
mov edi, dword [esp + 0x58]
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
call ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x78]
mov ebx, dword [edx]
mov ebp, dword [edx + 4]
mov esi, dword [edx + 8]
mov edi, dword [esp + 0x58]
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
call ecx
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x57db37
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x58]
mov dword [esp], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 4], ebx
mov ebp, dword [esp + 0x70]
mov dword [esp + 8], ebp
mov esi, dword [esp + 0x74]
mov dword [esp + 0xc], esi
call ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x20]
mov edx, dword [esp + 0x78]
mov ebx, dword [edx + 0x34]
mov ebp, dword [edx + 0x38]
mov esi, dword [edx + 0x3c]
mov edi, dword [esp + 0x58]
mov dword [esp], edi
mov dword [esp + 4], ebx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], esi
call ecx
mov eax, dword [esp + 0x3c]
mov ecx, dword [eax + 0x1c]
mov edx, dword [esp + 0x58]
mov dword [esp], edx
mov dword [esp + 4], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], 0
call ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x64]
cmp edx, eax
jle 0x57db2e
mov ebx, eax
mov dword [esp + 0x38], ebx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x20], eax
mov ebp, dword [esp + 0x60]
cmp ebp, ecx
je 0x57da4e
mov dword [esp], ebp
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.0045eba0
mov ecx, dword [esp + 0x64]
mov eax, dword [esp + 0x20]
cmp ecx, eax
jb 0x57db64
sub ecx, eax
mov edx, dword [esp + 0x68]
sub edx, eax
mov ebx, edx
neg edx
sar edx, 0x1f
and eax, edx
mov edx, dword [esp + 0x60]
add eax, edx
test ecx, ecx
jg 0x57da8a
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov esi, dword [esp + 0x48]
jmp 0x57d904
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x24]
lea esi, [ebp + edx]
mov dword [esp + 0x2c], esi
mov edi, dword [esp + 0x28]
cmp esi, edi
ja 0x57daf6
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x4c], eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x4c]
lea ecx, [eax + ebp]
mov dword [esp], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0045eba0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov esi, dword [esp + 0x4c]
jmp 0x57d904
lea eax, [0x5a5da0]
mov dword [esp], eax
mov ecx, dword [esp + 0x48]
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
mov dword [esp + 0xc], edi
mov dword [esp + 0x10], esi
call fcn.00445360
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x24]
mov dword [esp + 0x4c], eax
jmp 0x57daba
mov ebx, eax
mov eax, edx
jmp 0x57da2a
mov ecx, dword [esp + 0x3c]
mov edx, dword [ecx + 0x20]
mov ebx, dword [esp + 0x58]
mov dword [esp], ebx
mov ebp, dword [esp + 0x48]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
mov esi, dword [esp + 0x28]
mov dword [esp + 0xc], esi
call edx
jmp 0x57d9ec
add esp, 0x5c
ret
call fcn.0045e300
nop
call fcn.0045ccc0
jmp fcn.0057d8b0