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

Disassembly:
mov ecx, dword [0x5efcb0]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4581dd
sub esp, 0x70
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x457bab
mov eax, dword [esp + 0x80]
mov dword [esp], eax
call fcn.00457b10
mov eax, dword [esp + 4]
mov dword [esp + 0x48], eax
call fcn.0044fa10
mov eax, dword [esp]
mov ecx, dword [eax + 0x2f8]
lea edx, [ecx + 1]
mov dword [eax + 0x2f8], edx
test ecx, ecx
jne 0x457bc5
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x80]
mov ebp, dword [esp + 0x48]
xor esi, esi
jmp 0x458163
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.0044fa30
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
call fcn.00457a10
movzx eax, byte [esp + 8]
test al, al
je 0x457c59
mov edx, dword [esp + 0x78]
mov ecx, dword [edx + 0x2c]
mov eax, dword [esp + 0x7c]
cmp eax, ecx
ja 0x45814f
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.00471fb0
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 0x457d06
movzx eax, byte [esp + 0x84]
test al, al
je 0x457c7b
lea eax, [0x5efc30]
mov dword [esp], eax
call fcn.0047a480
mov eax, dword [esp + 4]
test eax, eax
je 0x457c95
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.00471fb0
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
call fcn.0043d9f0
lea eax, [0x52cb93]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.0043e250
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043e0e0
call fcn.0043dbf0
call fcn.0043da50
lea eax, [0x528948]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.004700b0
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.00471fb0
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.00472330
mov eax, dword [esp + 0x18]
movzx ecx, byte [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test cl, cl
je 0x457e7d
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x80]
cmp ebp, ecx
jae 0x457d00
call fcn.0044fa10
mov eax, dword [esp]
mov ecx, dword [eax + 0x2f8]
lea edx, [ecx + 1]
mov dword [eax + 0x2f8], edx
test ecx, ecx
jne 0x457e53
mov edx, dword [esp + 0x48]
cmp edx, 2
jae 0x458143
mov dword [esp + 0x64], eax
mov dword [esp], 8
call fcn.00470a70
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 0x458137
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 0x457e55
mov edx, eax
dec dword [edx + 0x2f8]
mov dword [esp], edx
call fcn.0044fa30
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, [0x5efc30]
mov dword [esp], eax
call fcn.0047a480
mov eax, dword [esp + 4]
test eax, eax
jne 0x45800a
movzx eax, byte [esp + 0x84]
test al, al
je 0x45800a
mov eax, dword [esp + 0x74]
mov dword [esp], eax
mov ecx, dword [esp + 0x78]
mov dword [esp + 4], ecx
call fcn.004581f0
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.0043d9f0
lea eax, [0x52ed10]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.0043e250
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 4], eax
call fcn.0043e250
lea eax, [0x526d0e]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.0043e250
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043e0e0
lea eax, [0x52799e]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043e250
mov eax, dword [esp + 0x80]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043e0e0
lea eax, [0x526e98]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0043e250
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.0043e2a0
call fcn.0043dbf0
call fcn.0043da50
mov eax, dword [esp + 0x78]
mov ecx, dword [eax + 0x2c]
mov edx, dword [esp + 0x7c]
cmp edx, ecx
ja 0x458130
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.00471fb0
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 0x4580b2
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.0043d9f0
lea eax, [0x5271e7]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043e250
mov eax, dword [esp + 0x28]
mov dword [esp], eax
sar eax, 0x1f
mov dword [esp + 4], eax
call fcn.0043e070
lea eax, [0x5279a8]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043e250
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov dword [esp + 4], 0
call fcn.0043e0e0
call fcn.0043dbf0
call fcn.0043da50
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.00471fb0
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.00472330
movzx eax, byte [esp + 0x24]
test al, al
jne 0x458024
lea eax, [0x52cb77]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.004700b0
mov eax, edx
call fcn.004758a0
mov eax, ecx
mov ecx, 8
call fcn.00475840
mov eax, edx
mov ecx, 2
call fcn.00475840
call fcn.004758a0
mov edi, dword [esp + 0x44]
lea esi, [edi + 1]
mov ecx, dword [esp + 0x5c]
mov ebp, dword [esp + 0x48]
cmp esi, 8
jge 0x457bc5
cmp ebp, 2
jae 0x4581d0
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 0x458154
lea ecx, [ebp + esi]
cmp dword [ecx], ebx
jne 0x458154
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.0044fa30
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.00475840
nop
call fcn.004743b0
jmp fcn.00457b40