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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x64921b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x114
push ebx
push esi
push edi
mov edi, dword [ebp + 0x18]
push 0
push edi
mov ecx, 0x732bc0
call fcn.00495c80
mov esi, dword [ebp + 0x20]
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x3c], eax
mov eax, dword [ebp + 0x24]
lea ebx, [esi + 0x13]
sub eax, edx
push 0xa
push ebx
push eax
push esi
push 1
push edi
mov ecx, 0x732bc0
mov dword [esp + 0x50], eax
call fcn.004961f0
mov eax, dword [esp + 0x38]
push ebx
push eax
push ebx
push 0
push edi
mov ecx, 0x732bc0
call fcn.00495d40
mov eax, dword [0x69f4a4]
push ebx
push eax
push esi
push eax
push edi
mov ecx, 0x732bc0
call fcn.00495d40
mov ecx, dword [0x69f4a4]
push ebx
lea eax, [ecx + ecx]
mov ecx, 0x732bc0
push eax
push esi
push eax
push edi
call fcn.00495d40
mov eax, dword [0x69f4a4]
push ebx
mov ecx, 0x732bc0
lea eax, [eax + eax*2]
push eax
push esi
push eax
push edi
call fcn.00495d40
mov edx, dword [0x69f4a4]
push ebx
mov ecx, 0x732bc0
lea eax, [edx*4]
push eax
push esi
push eax
push edi
call fcn.00495d40
mov eax, dword [ebp + 8]
test eax, eax
jne 0x4580cd
mov eax, dword [0x69f4a4]
push ebx
mov ecx, 0x732bc0
lea eax, [eax + eax*4]
push eax
push esi
push eax
push edi
call fcn.00495d40
push 1
push edi
mov ecx, 0x732bc0
call fcn.00495d00
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x14]
test eax, eax
mov eax, dword [0x73a960]
je 0x4580ef
mov eax, dword [0x73a974]
push 0x69f60c
lea ebx, [esi + 1]
push 0
push eax
push ebx
push 2
lea eax, [esp + 0x38]
push edi
push eax
push 0x732bc0
call fcn.00496440
mov eax, dword [ebp + 0x14]
add esp, 0x20
cmp eax, 1
mov eax, dword [0x73a960]
je 0x458122
mov eax, dword [0x73a974]
mov ecx, dword [0x69f4a4]
push 0x69f608
push 0
push eax
add ecx, 2
push ebx
push ecx
lea edx, [esp + 0x38]
push edi
push edx
push 0x732bc0
call fcn.00496440
mov eax, dword [ebp + 0x14]
add esp, 0x20
cmp eax, 2
mov eax, dword [0x73a960]
je 0x45815a
mov eax, dword [0x73a974]
push 0x69f600
push 0
push eax
mov eax, dword [0x69f4a4]
push ebx
lea edx, [esp + 0x34]
lea ecx, [eax + eax + 2]
push ecx
push edi
push edx
push 0x732bc0
call fcn.00496440
mov eax, dword [ebp + 0x14]
add esp, 0x20
cmp eax, 3
mov eax, dword [0x73a960]
je 0x458192
mov eax, dword [0x73a974]
push 0x69f5f8
push 0
push eax
mov eax, dword [0x69f4a4]
push ebx
lea ecx, [esp + 0x34]
lea eax, [eax + eax*2 + 2]
push eax
push edi
push ecx
push 0x732bc0
call fcn.00496440
mov eax, dword [ebp + 8]
add esp, 0x20
test eax, eax
jne 0x45822c
mov eax, dword [0x69f4a4]
mov edx, dword [0x73a974]
push 0x69f5f0
push 0
push edx
lea ecx, [eax*4 + 2]
push ebx
push ecx
lea edx, [esp + 0x38]
push edi
push edx
push 0x732bc0
call fcn.00496440
mov eax, dword [0x69f4a4]
mov edx, dword [ebp + 0x1c]
add esp, 0x20
lea ecx, [eax*4]
mov eax, dword [ebp + 0x24]
sub eax, ecx
push 0x69f5e4
sub eax, edx
mov edx, dword [0x73a96c]
sub eax, 2
add ecx, 2
push eax
push edx
push ebx
push ecx
lea eax, [esp + 0x38]
push edi
push eax
push 0x732bc0
call fcn.00496440
add esp, 0x20
mov ecx, dword [esp + 0x20]
push ecx
push edi
mov ecx, 0x732bc0
call fcn.00495d20
mov eax, dword [0x6e776e]
test eax, eax
jne 0x4589eb
mov ebx, dword [ebp + 0xc]
cmp ebx, 1
jl 0x4589eb
push 6
push edi
mov ecx, 0x732bc0
call fcn.00495d00
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 0x28]
sub eax, esi
mov ecx, dword [ebp + 0x30]
sub eax, 0x16
cdq
idiv dword [0x69f4a0]
mov edx, dword [ebp + 0x3c]
mov dword [edx], eax
mov eax, dword [ecx]
test eax, eax
jge 0x458286
dec ebx
mov dword [ecx], ebx
mov eax, dword [ecx]
mov ebx, dword [edx]
sub eax, ebx
xor ebx, ebx
inc eax
test eax, eax
setl bl
dec ebx
and eax, ebx
mov ebx, dword [ebp + 0x34]
mov dword [ebx], eax
mov ecx, dword [ecx]
mov edx, dword [edx]
lea eax, [ecx + 1]
cmp eax, edx
jl 0x4582a9
mov eax, edx
mov ecx, dword [ebp + 0x38]
lea ebx, [esi + 0x16]
mov dword [ecx], eax
mov eax, dword [ebp + 0x1c]
lea edx, [eax + 1]
lea ecx, [eax + 0x24]
mov dword [esp + 0x2c], edx
lea edx, [eax + 0x5a]
mov dword [esp + 0x24], ecx
add eax, 0x91
lea ecx, [esp + 0x18]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], eax
call fcn.00643d62
mov eax, dword [ebp + 0x34]
mov edx, dword [ebp + 0x38]
mov dword [esp + 0x128], 0
mov esi, dword [eax]
mov eax, dword [edx]
mov ecx, esi
mov dword [esp + 0x30], esi
add ecx, eax
cmp esi, ecx
jge 0x4589b7
mov ecx, dword [ebp + 0x10]
mov eax, esi
shl eax, 5
lea edx, [eax + ecx + 9]
mov dword [esp + 0xc], edx
mov eax, dword [ebp + 0x2c]
cmp dword [eax], esi
jne 0x45833a
mov ecx, dword [0x69f4a0]
mov eax, dword [esp + 0x38]
push 5
lea edx, [ecx + ebx - 1]
mov ecx, dword [esp + 0x30]
push edx
push eax
push ebx
push ecx
push edi
mov ecx, 0x732bc0
call fcn.004961f0
mov eax, dword [esp + 0xc]
mov ecx, dword [0x826818]
mov dx, word [eax - 9]
add eax, 0xfffffff9
push edx
push eax
call fcn.004467b0
test eax, eax
mov dword [esp + 0x1c], eax
je 0x458993
mov esi, dword [0x73a974]
push eax
call fcn.00472c00
mov ecx, dword [esp + 0x10]
add esp, 4
movsx eax, ax
mov dword [esp + 0x34], eax
movsx eax, word [ecx]
dec eax
cmp eax, 0xa
ja case.default.0x458385
jmp dword [eax*4 + 0x458a00]
mov esi, dword [0x73a998]
mov ecx, dword [esp + 0x10]
push 0x69f5d8
push 0x69f5d0
push esi
push ebx
push ecx
lea edx, [esp + 0x94]
push edi
push edx
push 0x732bc0
call fcn.00496340
mov ecx, dword [esp + 0x2c]
xor eax, eax
add esp, 0x20
mov al, byte [ecx + 6]
test eax, eax
je 0x4583cf
cmp eax, 1
jne case.default.0x458385
mov esi, dword [0x73a95c]
cmp eax, 1
jne 0x4583e0
mov esi, dword [0x73a968]
push 0x69f5bc
lea ecx, [esp + 0x1c]
call fcn.006440b6
cmp dword [esp + 0x34], 3
jne 0x458403
push 0x69f5a8
lea ecx, [esp + 0x1c]
call fcn.006440b6
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov cl, byte [eax + 0xb]
mov edx, dword [eax + 0xc]
push ecx
dec ecx
imul ecx, dword [eax + 0x10]
fld dword [eax + 7]
add ecx, edx
mov eax, dword [esp + 0x18]
push ecx
push edx
mov edx, dword [esp + 0x24]
sub esp, 8
lea ecx, [esp + 0x64]
fstp qword [esp]
push edx
push esi
push ebx
push eax
push edi
push ecx
push 0x732bc0
call fcn.00496340
add esp, 0x30
jmp case.default.0x458385
xor eax, eax
mov al, byte [ecx + 6]
test eax, eax
jl case.default.0x458385
cmp eax, 4
jge case.default.0x458385
cmp eax, 1
je 0x45848a
cmp eax, 2
je 0x45848a
mov esi, dword [0x73a95c]
lea edx, [eax + eax*8 + 0x69f420]
mov eax, dword [esp + 0x10]
push edx
push 0x69f5d0
push esi
push ebx
push eax
push edi
lea ecx, [esp + 0x118]
jmp 0x4584a9
mov esi, dword [0x73a968]
lea edx, [eax + eax*8 + 0x69f420]
mov eax, dword [esp + 0x10]
push edx
push 0x69f5d0
push esi
push ebx
push eax
push edi
lea ecx, [esp + 0x78]
push ecx
push 0x732bc0
call fcn.00496340
add esp, 0x20
lea ecx, [esp + 0x18]
push 0x69f59c
call fcn.006440b6
mov eax, dword [esp + 0xc]
mov edx, dword [esp + 0x1c]
sub esp, 8
mov ecx, dword [esp + 0x1c]
fld dword [eax + 0xb]
fdiv dword [edx + 0xc]
sub esp, 8
lea edx, [esp + 0xd0]
fstp qword [esp + 8]
fld dword [eax + 7]
fdiv dword [eax + 0xb]
mov eax, dword [esp + 0x28]
fstp qword [esp]
push eax
push esi
push ebx
push ecx
push edi
push edx
push 0x732bc0
call fcn.00496340
add esp, 0x2c
jmp case.default.0x458385
xor eax, eax
mov al, byte [ecx + 6]
test eax, eax
je 0x45854b
cmp eax, 1
je 0x458529
cmp eax, 2
jne case.default.0x458385
cmp eax, 1
jne 0x45856d
mov esi, dword [0x73a968]
mov edx, dword [esp + 0x10]
push 0x69f590
push 0x69f5d0
push esi
push ebx
push edx
lea eax, [esp + 0x104]
push edi
push eax
jmp 0x45858a
mov esi, dword [0x73a95c]
mov eax, dword [esp + 0x10]
push 0x69f584
push 0x69f5d0
push esi
push ebx
push eax
lea ecx, [esp + 0x84]
push edi
push ecx
jmp 0x45858a
mov esi, dword [0x73a964]
mov ecx, dword [esp + 0x10]
push 0x69f578
push 0x69f5d0
push esi
push ebx
push ecx
lea edx, [esp + 0x54]
push edi
push edx
push 0x732bc0
call fcn.00496340
add esp, 0x20
lea ecx, [esp + 0x18]
push 0x69f56c
call fcn.006440b6
cmp dword [esp + 0x34], 3
jne 0x4585ba
push 0x69f59c
lea ecx, [esp + 0x1c]
call fcn.006440b6
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
sub esp, 8
fld dword [eax + 0xb]
fdiv dword [ecx + 0xc]
sub esp, 8
lea ecx, [esp + 0xe0]
fstp qword [esp + 8]
fld dword [eax + 7]
mov eax, dword [esp + 0x24]
fstp qword [esp]
push edx
push esi
push ebx
push eax
push edi
push ecx
push 0x732bc0
call fcn.00496340
add esp, 0x2c
jmp case.default.0x458385
mov esi, dword [0x73a95c]
mov edx, dword [esp + 0x10]
push 0x69f4fc
push 0x69f5d0
push esi
push ebx
push edx
lea eax, [esp + 0xa4]
push edi
push eax
push 0x732bc0
call fcn.00496340
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
add esp, 0x18
lea eax, [esp + 0x118]
fld dword [ecx + 7]
fmul dword [0x65f9a8]
fstp qword [esp]
push 0x69f564
push esi
push ebx
push edx
push edi
push eax
jmp 0x4588d3
mov esi, dword [0x73a968]
mov ecx, dword [esp + 0x10]
push 0x69f4f0
push 0x69f5d0
push esi
push ebx
push ecx
lea edx, [esp + 0xb4]
push edi
push edx
push 0x732bc0
call fcn.00496340
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
add esp, 0x18
lea edx, [esp + 0xe8]
fld dword [eax + 7]
fmul dword [0x65f9a8]
fstp qword [esp]
push 0x69f564
push esi
push ebx
push ecx
push edi
push edx
jmp 0x4588d3
mov esi, dword [0x73a95c]
mov eax, dword [esp + 0x10]
push 0x69f4e4
push 0x69f5d0
push esi
push ebx
push eax
lea ecx, [esp + 0xc4]
push edi
push ecx
push 0x732bc0
call fcn.00496340
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
add esp, 0x18
lea ecx, [esp + 0x50]
fld dword [edx + 7]
fmul dword [0x65f9a8]
fstp qword [esp]
push 0x69f564
push esi
push ebx
push eax
push edi
jmp 0x4588d2
mov esi, dword [0x73a968]
mov edx, dword [esp + 0x10]
push 0x69f4d8
push 0x69f5d0
push esi
push ebx
push edx
lea eax, [esp + 0x6c]
push edi
push eax
push 0x732bc0
call fcn.00496340
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x34]
add esp, 0x18
lea eax, [esp + 0x70]
fld dword [ecx + 7]
fmul dword [0x65f9a8]
fstp qword [esp]
push 0x69f564
push esi
push ebx
push edx
push edi
push eax
jmp 0x4588d3
mov esi, dword [0x73a95c]
mov ecx, dword [esp + 0x10]
push 0x69f4cc
push 0x69f5d0
push esi
push ebx
push ecx
lea edx, [esp + 0x8c]
push edi
push edx
push 0x732bc0
call fcn.00496340
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
add esp, 0x18
lea edx, [esp + 0x90]
fld dword [eax + 7]
fmul dword [0x65f9a8]
fstp qword [esp]
push 0x69f564
push esi
push ebx
push ecx
push edi
push edx
jmp 0x4588d3
mov esi, dword [0x73a968]
mov eax, dword [esp + 0x10]
push 0x69f4c0
push 0x69f5d0
push esi
push ebx
push eax
lea ecx, [esp + 0xac]
push edi
push ecx
push 0x732bc0
call fcn.00496340
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
add esp, 0x18
lea ecx, [esp + 0xb0]
fld dword [edx + 7]
fmul dword [0x65f9a8]
fstp qword [esp]
push 0x69f564
push esi
push ebx
push eax
push edi
jmp 0x4588d2
fld dword [ecx + 7]
fcomp dword [0x663774]
fnstsw ax
test ah, 0x41
jne 0x458830
mov esi, dword [0x73a95c]
mov edx, dword [esp + 0x10]
push 0x69f4b4
push 0x69f5d0
push esi
push ebx
push edx
lea eax, [esp + 0xcc]
push edi
push eax
jmp 0x458850
mov esi, dword [0x73a968]
mov ecx, dword [esp + 0x10]
push 0x69f4b4
push 0x69f5d0
push esi
push ebx
push ecx
lea edx, [esp + 0xdc]
push edi
push edx
push 0x732bc0
call fcn.00496340
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x34]
add esp, 0x20
lea edx, [esp + 0xd8]
fld dword [eax + 7]
fmul dword [0x65f9a8]
sub esp, 8
fstp qword [esp]
push 0x69f564
push esi
push ebx
push ecx
push edi
push edx
jmp 0x4588d3
mov esi, dword [0x73a998]
mov eax, dword [esp + 0x10]
push 0x69f4a8
push 0x69f5d0
push esi
push ebx
push eax
lea ecx, [esp + 0xfc]
push edi
push ecx
push 0x732bc0
call fcn.00496340
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x34]
add esp, 0x18
lea ecx, [esp + 0x100]
fld dword [edx + 7]
fstp qword [esp]
push 0x69f55c
push esi
push ebx
push eax
push edi
push ecx
push 0x732bc0
call fcn.00496340
add esp, 0x24
mov edx, dword [ebp + 0x14]
mov eax, dword [esp + 0x1c]
sub edx, 2
neg edx
sbb edx, edx
and edx, 0xfffffff0
add edx, 0xf
push edx
push esi
push eax
call fcn.00482f30
mov ecx, dword [esp + 0x28]
push 3
push 0x69daac
push ecx
mov esi, eax
call dword [fcn.0065f208]
add esp, 0x18
test eax, eax
jne 0x45891d
mov esi, dword [0x73a964]
mov ecx, dword [esp + 0xc]
mov eax, 0x51eb851f
movsx edx, word [ecx + 0x15]
imul edx
movsx ecx, byte [ecx + 0x14]
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
lea eax, [esp + 0x108]
push edx
mov edx, dword [esp + 0x30]
push ecx
push 0x69f550
push esi
push ebx
push edx
push edi
push eax
push 0x732bc0
call fcn.00496340
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x48]
add esp, 0x24
add ecx, 0x18
lea eax, [esp + 0x118]
push ecx
push 0x69f548
push esi
push ebx
push edx
push edi
push eax
push 0x732bc0
call fcn.00496340
mov eax, dword [0x69f4a0]
mov esi, dword [esp + 0x50]
add esp, 0x20
add ebx, eax
mov edx, dword [esp + 0xc]
mov ecx, dword [ebp + 0x34]
mov eax, dword [ebp + 0x38]
add edx, 0x20
mov dword [esp + 0xc], edx
mov edx, dword [ecx]
mov ecx, dword [eax]
inc esi
add edx, ecx
mov dword [esp + 0x30], esi
cmp esi, edx
jl 0x458310
mov ecx, dword [esp + 0x20]
push ecx
push edi
mov ecx, 0x732bc0
call fcn.00495d20
mov edx, dword [esp + 0x3c]
mov ecx, 0x732bc0
push edx
push edi
call fcn.00495ca0
lea ecx, [esp + 0x18]
mov dword [esp + 0x128], 0xffffffff
call fcn.00643d26
mov ecx, dword [esp + 0x120]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret