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

Disassembly:
mov ecx, dword [0x587cec]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4578ad
sub esp, 0x70
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x45727b
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.004571e0
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
call fcn.0044f160
mov eax, dword [esp]
mov ecx, dword [eax + 0x2f8]
lea edx, [ecx + 1]
mov dword [eax + 0x2f8], edx
test ecx, ecx
jne 0x457295
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x48]
xor esi, esi
jmp 0x457833
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x8c], 0
add esp, 0x70
ret
mov dword [eax + 0x2f8], ecx
mov dword [esp], eax
call fcn.0044f180
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
call fcn.004570e0
movzx eax, byte [esp + 8]
test al, al
je 0x457329
mov edx, dword [esp + 0x78]
mov ecx, dword [edx + 0x2c]
mov eax, dword [esp + 0x7c]
cmp eax, ecx
ja 0x45781f
mov dword [esp + 0x5c], ecx
mov eax, dword [edx + 0x28]
mov dword [esp + 0x6c], eax
mov ecx, dword [edx + 0x30]
mov dword [esp + 0x58], ecx
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.00471200
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x7c]
sub eax, ecx
mov edx, eax
neg eax
sar eax, 0x1f
and eax, ecx
mov ebx, dword [esp + 8]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], 0xffffffff
mov ebp, dword [esp + 0x5c]
sub ebp, ecx
mov esi, dword [esp + 0x6c]
add eax, esi
jmp 0x4573d6
movzx eax, byte [esp + 0x84]
test al, al
je 0x45734b
lea eax, [0x587c6c]
mov dword [esp], eax
call fcn.004795c0
mov eax, dword [esp + 4]
test eax, eax
je 0x457365
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x8c], 0
add esp, 0x70
ret
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 4], eax
call fcn.00471200
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
call fcn.0043d390
lea eax, [0x4dcc23]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.0043dbf0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043da80
call fcn.0043d590
call fcn.0043d3f0
lea eax, [0x4d8b82]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.0046f470
mov ebp, edx
mov edx, ebx
mov ebx, ecx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x60], eax
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov esi, dword [esp + 0x78]
mov dword [esp + 4], esi
call fcn.00471200
mov eax, dword [esp + 8]
cmp dword [esp + 0x34], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
lea eax, [esp + 0x34]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], ecx
sete dl
mov byte [esp + 0x14], dl
call fcn.00471580
mov eax, dword [esp + 0x18]
movzx ecx, byte [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test cl, cl
je 0x45754d
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x80]
cmp ebp, ecx
jae 0x4573d0
call fcn.0044f160
mov eax, dword [esp]
mov ecx, dword [eax + 0x2f8]
lea edx, [ecx + 1]
mov dword [eax + 0x2f8], edx
test ecx, ecx
jne 0x457523
mov edx, dword [esp + 0x48]
cmp edx, 2
jae 0x457813
mov dword [esp + 0x64], eax
mov dword [esp], 8
call fcn.0046fdc0
mov eax, dword [esp + 0x48]
shl eax, 7
mov dword [esp + 0x5c], eax
mov ecx, dword [esp + 4]
mov edx, dword [esp + 0x64]
lea ebx, [edx + eax + 0x1f8]
mov ebp, dword [edx + eax + 0x200]
mov esi, dword [edx + eax + 0x204]
mov edi, dword [edx + eax + 0x1f8]
mov eax, dword [edx + eax + 0x1fc]
cmp ecx, 8
jae 0x457807
shl ecx, 4
mov dword [ebx + ecx], edi
mov dword [ebx + ecx + 4], eax
mov dword [ebx + ecx + 8], ebp
mov dword [ebx + ecx + 0xc], esi
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x80]
mov dword [edx + ecx + 0x1f8], ebx
mov ebx, dword [esp + 0x7c]
mov dword [edx + ecx + 0x1fc], ebx
mov dword [edx + ecx + 0x200], eax
mov eax, dword [esp + 0x30]
mov dword [edx + ecx + 0x204], eax
jmp 0x457525
mov edx, eax
dec dword [edx + 0x2f8]
mov dword [esp], edx
call fcn.0044f180
mov eax, dword [esp + 0x28]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x8c], eax
add esp, 0x70
ret
mov dword [esp + 0x50], edx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x68], eax
lea eax, [0x587c6c]
mov dword [esp], eax
call fcn.004795c0
mov eax, dword [esp + 4]
test eax, eax
jne 0x4576da
movzx eax, byte [esp + 0x84]
test al, al
je 0x4576da
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
call fcn.004578c0
mov eax, dword [esp + 8]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x54], edx
call fcn.0043d390
lea eax, [0x4dec8d]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.0043dbf0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.0043dbf0
lea eax, [0x4d6f30]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.0043dbf0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043da80
lea eax, [0x4d7bbe]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043dbf0
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043da80
lea eax, [0x4d70ac]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0043dbf0
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov eax, dword [esp + 0x50]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 8], eax
call fcn.0043dc40
call fcn.0043d590
call fcn.0043d3f0
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0x7c]
cmp edx, ecx
ja 0x457800
mov dword [esp + 0x5c], ecx
mov ecx, dword [eax + 0x28]
mov dword [esp + 0x6c], ecx
mov edx, dword [eax + 0x30]
mov dword [esp + 0x58], edx
mov ebx, dword [esp + 0x74]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.00471200
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x7c]
sub eax, ecx
mov edx, eax
neg eax
sar eax, 0x1f
and eax, ecx
mov ebx, dword [esp + 8]
mov dword [esp + 0x34], ebx
mov dword [esp + 0x28], 0xffffffff
mov ebx, dword [esp + 0x5c]
sub ebx, ecx
mov ecx, dword [esp + 0x6c]
add eax, ecx
jmp 0x457782
mov dword [esp + 0x88], 0xffffffff
mov dword [esp + 0x8c], 0
add esp, 0x70
ret
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x60], ecx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x3c], edx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x40], ebx
call fcn.0043d390
lea eax, [0x4d73f8]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043dbf0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0043da10
lea eax, [0x4d7bc8]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043dbf0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043da80
call fcn.0043d590
call fcn.0043d3f0
mov ebx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x60]
mov dword [esp + 0x60], eax
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov ebp, dword [esp + 0x78]
mov dword [esp + 4], ebp
call fcn.00471200
mov eax, dword [esp + 8]
cmp dword [esp + 0x34], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
lea eax, [esp + 0x34]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], ecx
sete dl
mov byte [esp + 0x14], dl
call fcn.00471580
movzx eax, byte [esp + 0x24]
test al, al
jne 0x4576f4
lea eax, [0x4dcc07]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.0046f470
mov eax, edx
call fcn.00474b90
mov eax, ecx
mov ecx, 8
call fcn.00474b30
mov eax, edx
mov ecx, 2
call fcn.00474b30
call fcn.00474b90
mov edi, dword [esp + 0x44]
lea esi, [edi + 1]
mov ecx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x48]
cmp esi, 8
jge 0x457295
cmp ebp, 2
jae 0x4578a0
mov dword [esp + 0x44], esi
mov edi, ebp
shl ebp, 7
lea ebp, [eax + ebp + 0x1f8]
shl esi, 4
lea ecx, [ebp + esi + 4]
cmp dword [ecx], edx
jne 0x457824
lea ecx, [ebp + esi]
cmp dword [ecx], ebx
jne 0x457824
mov ecx, dword [ebp + esi + 8]
mov dword [esp + 0x2c], ecx
mov edx, dword [ebp + esi + 0xc]
mov dword [esp + 0x38], edx
mov dword [eax + 0x2f8], 0
mov dword [esp], eax
call fcn.0044f180
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x8c], eax
add esp, 0x70
ret
mov eax, ebp
mov ecx, 2
call fcn.00474b30
nop
call fcn.004736a0
jmp fcn.00457210