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

Disassembly:
mov ecx, dword [0x57adc8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x457ac3
sub esp, 0x5c
mov eax, dword [esp + 0x68]
test eax, eax
je 0x4575b7
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x457604
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.00457540
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x70]
xor ebp, ebp
jmp 0x4575d0
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
inc ebp
mov ebx, dword [esp + 0x70]
cmp ebp, 8
jge 0x457604
lea esi, [eax + eax*2]
shl esi, 5
add esi, ebx
lea edi, [ebp + ebp*2]
lea ebx, [esi + edi*4 + 4]
cmp dword [ebx], edx
jne 0x4575cb
lea ebx, [esi + edi*4]
cmp dword [ebx], ecx
jne 0x4575cb
mov eax, dword [esi + edi*4 + 8]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
call fcn.004572c0
movzx eax, byte [esp + 8]
test al, al
je 0x45767e
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 0x30]
mov ebx, dword [esp + 0x68]
sub edx, ebx
mov dword [esp + 0x3c], edx
neg edx
sar edx, 0x1f
and edx, ebx
add edx, dword [eax + 0x28]
mov dword [esp + 0x50], edx
mov esi, dword [esp + 0x60]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00457340
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], 0xffffffff
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x68]
sub ecx, edx
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x50]
jmp 0x457720
movzx eax, byte [esp + 0x74]
test al, al
je 0x45769d
lea eax, [0x57ad54]
mov dword [esp], eax
call fcn.00403540
mov eax, dword [esp + 4]
test eax, eax
je 0x4576b1
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.00457340
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
call fcn.0043db00
lea eax, [0x4da5a4]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.0043e310
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0043e1d0
call fcn.0043dce0
call fcn.0043db60
lea eax, [0x4d5833]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.0043c250
mov ebp, ecx
mov ecx, edx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov esi, dword [esp + 0x64]
mov dword [esp + 4], esi
call fcn.00457340
mov eax, dword [esp + 8]
cmp dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
lea eax, [esp + 0x34]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], ecx
sete dl
mov byte [esp + 0x14], dl
call fcn.00458210
movzx eax, byte [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test al, al
je 0x457825
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x6c]
cmp ebp, eax
jae 0x45771c
mov eax, dword [esp + 0x70]
test eax, eax
je 0x457811
mov dword [esp], ebp
call fcn.00457540
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov dword [esp], 8
call fcn.00455ac0
mov eax, dword [esp + 0x28]
lea eax, [eax + eax*2]
shl eax, 5
mov ecx, dword [esp + 0x70]
lea edx, [eax + ecx]
mov ebx, dword [esp + 4]
lea ebx, [ebx + ebx*2]
mov ebp, dword [ecx + eax + 4]
mov esi, dword [ecx + eax + 8]
mov edi, dword [ecx + eax]
mov dword [edx + ebx*4], edi
mov dword [edx + ebx*4 + 4], ebp
mov dword [edx + ebx*4 + 8], esi
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x6c]
mov dword [ecx + eax], ebx
mov ebx, dword [esp + 0x68]
mov dword [ecx + eax + 4], ebx
mov dword [ecx + eax + 8], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x7c], eax
add esp, 0x5c
ret
mov dword [esp + 0x58], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ebx
lea eax, [0x57ad54]
mov dword [esp], eax
call fcn.00403540
mov eax, dword [esp + 4]
test eax, eax
jne 0x4579a0
movzx eax, byte [esp + 0x74]
test al, al
je 0x4579a0
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
call fcn.00457ad0
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x48], edx
call fcn.0043db00
lea eax, [0x4dc2d5]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.0043e310
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0043e310
lea eax, [0x4d3b02]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.0043e310
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0043e1d0
lea eax, [0x4d46f3]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043e310
mov dword [esp + 4], 0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.0043e1d0
lea eax, [0x4d3c56]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0043e310
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call fcn.0043e360
call fcn.0043dce0
call fcn.0043db60
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 0x30]
mov ebx, dword [esp + 0x68]
sub edx, ebx
mov dword [esp + 0x3c], edx
neg edx
sar edx, 0x1f
and edx, ebx
add edx, dword [eax + 0x28]
mov dword [esp + 0x50], edx
mov esi, dword [esp + 0x60]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00457340
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x68]
sub eax, ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x50]
jmp 0x457a44
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x50], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x38], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x3c], ebx
call fcn.0043db00
lea eax, [0x4d3f52]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043e310
mov eax, dword [esp + 0x2c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0043e160
lea eax, [0x4d46fd]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043e310
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0043e1d0
call fcn.0043dce0
call fcn.0043db60
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x38], eax
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebp, dword [esp + 0x64]
mov dword [esp + 4], ebp
call fcn.00457340
mov eax, dword [esp + 8]
cmp dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
lea eax, [esp + 0x34]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], ecx
sete dl
mov byte [esp + 0x14], dl
call fcn.00458210
movzx eax, byte [esp + 0x24]
test al, al
jne 0x4579b4
lea eax, [0x4da588]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.0043c250
nop
call fcn.004688b0
jmp fcn.00457570