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

Disassembly:
sub esp, 0x58
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
push ebx
push ebp
push esi
push edi
push eax
push ecx
call fcn.0044eeb0
mov edx, dword [0x4b603c]
mov ebp, eax
mov eax, dword [0x4b6038]
push edx
push eax
call fcn.0044eeb0
mov ebx, dword [esp + 0x84]
mov ecx, dword [ebp + 0x2c]
push ebx
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], ecx
call fcn.00418f00
mov edx, dword [esp + 0x8c]
mov dword [esp + 0x6c], eax
push edx
call fcn.00418f00
fld dword [esp + 0x98]
fmul dword [0x49f4e8]
add esp, 0x18
mov dword [esp + 0x44], eax
call fcn.004922ac
fld dword [esp + 0x7c]
mov edi, eax
test edi, edi
mov dword [esp + 0x54], edi
jge 0x4585b6
fadd dword [0x49f4c4]
neg edi
mov dword [esp + 0x54], edi
fld dword [esp + 0x84]
fmul dword [0x49f4e8]
call fcn.004922ac
test eax, eax
mov dword [esp + 0x34], eax
jge 0x4585dc
fadd dword [0x49f4c4]
neg eax
mov dword [esp + 0x34], eax
test edi, edi
je 0x458ec3
test eax, eax
je 0x458ec3
fcom dword [0x49f2e4]
fnstsw ax
test ah, 1
je 0x458624
fld st(0)
fmul dword [0x49f4e4]
call fcn.004922ac
mov ecx, eax
neg ecx
shl ecx, 2
sub ecx, eax
lea eax, [ecx + ecx*8]
mov ecx, 0x168
shl eax, 3
sub ecx, eax
mov dword [esp + 0x7c], ecx
fiadd dword [esp + 0x7c]
fmul dword [0x49f4e0]
call fcn.004922ac
cdq
mov ecx, 0xb40
idiv ecx
mov esi, edx
test esi, esi
jne 0x458683
fld dword [esp + 0x84]
fmul dword [esp + 0x8c]
push ecx
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x74]
fstp dword [esp]
fld dword [esp + 0x84]
fmul dword [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x74]
fchs
fstp dword [esp]
push edx
push ebx
push eax
push ecx
call fcn.00450450
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
cmp esi, 0x5a0
jne 0x4586d1
fld dword [esp + 0x84]
fmul dword [esp + 0x8c]
push ecx
mov edx, dword [esp + 0x7c]
mov eax, dword [esp + 0x74]
fchs
fstp dword [esp]
fld dword [esp + 0x84]
fmul dword [esp + 0x8c]
push ecx
mov ecx, dword [esp + 0x74]
fstp dword [esp]
push edx
push ebx
push eax
push ecx
call fcn.00450450
add esp, 0x18
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
mov eax, dword [ebp + 4]
mov edx, dword [ebp]
mov ecx, dword [ebp + 0xc]
mov dword [esp + 0x28], eax
lea eax, [esi + 0x2d0]
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], ecx
mov ecx, 0xb40
cdq
idiv ecx
mov eax, dword [0x4b5510]
mov ebx, dword [ebp + 8]
mov ecx, dword [eax + edx*4]
mov eax, esi
mov dword [esp + 0x74], ecx
mov ecx, 0xb40
cdq
fild dword [esp + 0x74]
idiv ecx
fst dword [esp + 0x4c]
fmul dword [0x49f4dc]
fstp dword [esp + 0x7c]
mov eax, dword [0x4b5510]
mov ecx, dword [eax + edx*4]
mov eax, dword [esp + 0x74]
shl eax, 0x10
cdq
idiv edi
mov dword [esp + 0x50], ecx
fild dword [esp + 0x50]
fst dword [esp + 0x48]
fmul dword [0x49f4dc]
fstp dword [esp + 0x78]
mov dword [esp + 0x74], eax
fild dword [esp + 0x74]
fdiv dword [esp + 0x88]
call fcn.004922ac
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x50]
shl eax, 0x10
cdq
idiv dword [esp + 0x34]
mov dword [esp + 0x74], eax
fild dword [esp + 0x74]
fdiv dword [esp + 0x88]
call fcn.004922ac
cmp esi, 0x2d0
mov dword [esp + 0x38], eax
jge 0x4587f2
mov eax, dword [esp + 0x30]
mov edx, ebx
neg edx
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x2c]
fild dword [esp + 0x74]
mov ecx, eax
sub edx, ebx
neg ecx
fst dword [esp + 0x18]
mov dword [esp + 0x74], ecx
dec edx
fild dword [esp + 0x74]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x28]
sub edx, eax
mov eax, dword [esp + 0x18]
fst dword [esp + 0x74]
fild dword [esp + 0x5c]
dec edx
mov dword [esp + 0x18], eax
mov dword [esp + 0x5c], edx
fst dword [esp + 0x1c]
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x1c]
fstp dword [esp + 0x20]
fild dword [esp + 0x5c]
mov dword [esp + 0x14], ecx
fst dword [esp + 0x10]
jmp 0x458933
cmp esi, 0x5a0
jge 0x45885d
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
sub ecx, ebx
mov edx, eax
dec ecx
mov dword [esp + 0x74], ecx
fild dword [esp + 0x74]
neg edx
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x28]
fst dword [esp + 0x1c]
fild dword [esp + 0x74]
sub edx, eax
mov eax, ebx
dec edx
mov ecx, dword [esp + 0x1c]
fst dword [esp + 0x74]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x24], ecx
fild dword [esp + 0x5c]
neg eax
mov dword [esp + 0x5c], eax
fst dword [esp + 0x20]
fild dword [esp + 0x5c]
fst dword [esp + 0x18]
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
fstp dword [esp + 0x10]
jmp 0x45892f
cmp esi, 0x870
jge 0x4588c7
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x30]
sub edx, ebx
dec edx
sub ecx, eax
mov dword [esp + 0x74], edx
dec ecx
fild dword [esp + 0x74]
mov dword [esp + 0x74], ecx
mov edx, ebx
neg edx
fst dword [esp + 0x1c]
fild dword [esp + 0x74]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x1c]
neg eax
fst dword [esp + 0x74]
fild dword [esp + 0x5c]
mov dword [esp + 0x5c], eax
fst dword [esp + 0x18]
fstp dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], edx
fstp dword [esp + 0x20]
fild dword [esp + 0x5c]
mov dword [esp + 0x14], ecx
fst dword [esp + 0x10]
jmp 0x458933
cmp esi, 0xb40
jge 0x458ec5
mov ecx, dword [esp + 0x28]
mov eax, ebx
neg eax
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x30]
fild dword [esp + 0x74]
sub ecx, eax
dec ecx
fst dword [esp + 0x18]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x18]
fild dword [esp + 0x74]
neg eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x2c]
fst dword [esp + 0x74]
fild dword [esp + 0x5c]
sub eax, ebx
mov dword [esp + 0x24], edx
dec eax
fst dword [esp + 0x20]
mov dword [esp + 0x5c], eax
fild dword [esp + 0x5c]
fst dword [esp + 0x1c]
fstp dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
fstp dword [esp + 0x10]
mov dword [esp + 0x18], ecx
fstp dword [esp + 0x1c]
push ecx
fmul dword [esp + 0x84]
fstp dword [esp + 0x44]
fld dword [esp + 0x78]
fmul dword [esp + 0x88]
fstp dword [esp + 0x78]
fld dword [esp + 0x28]
fmul dword [esp + 0x84]
fstp dword [esp + 0x28]
fld dword [esp + 0x24]
fmul dword [esp + 0x88]
fstp dword [esp + 0x24]
fld dword [esp + 0x18]
fmul dword [esp + 0x84]
fstp dword [esp + 0x18]
fld dword [esp + 0x14]
fmul dword [esp + 0x88]
fstp dword [esp + 0x14]
fld dword [esp + 0x78]
fmul dword [esp + 0x80]
fld dword [esp + 0x44]
fmul dword [esp + 0x7c]
fsubp st(1)
fmul dword [esp + 0x90]
fstp dword [esp]
call fcn.00418f00
fld dword [esp + 0x14]
fmul dword [esp + 0x80]
fld dword [esp + 0x18]
fmul dword [esp + 0x7c]
mov edi, eax
mov dword [esp + 0x60], edi
fsubp st(1)
fmul dword [esp + 0x90]
fstp dword [esp]
call fcn.00418f00
fld dword [esp + 0x24]
fmul dword [esp + 0x80]
fld dword [esp + 0x28]
fmul dword [esp + 0x7c]
mov dword [esp + 0x54], eax
fsubp st(1)
fmul dword [esp + 0x90]
fstp dword [esp]
call fcn.00418f00
fld dword [esp + 0x20]
fmul dword [esp + 0x88]
mov esi, eax
fmul dword [esp + 0x80]
fld dword [esp + 0x1c]
fmul dword [esp + 0x84]
fmul dword [esp + 0x7c]
fsubp st(1)
fmul dword [esp + 0x90]
fstp dword [esp]
call fcn.00418f00
mov dword [esp + 0x20], eax
mov eax, esi
add esp, 4
sub eax, edi
mov dword [esp + 0x84], eax
je 0x458b11
mov ecx, dword [esp + 0x50]
mov eax, esi
sub eax, ecx
mov dword [esp + 0x80], eax
je 0x458b11
fld dword [esp + 0x20]
fmul dword [esp + 0x78]
fld dword [esp + 0x24]
fmul dword [esp + 0x7c]
faddp st(1)
fld dword [esp + 0x74]
fmul dword [esp + 0x78]
fld dword [esp + 0x40]
fmul dword [esp + 0x7c]
faddp st(1)
fsubr st(1)
fmul dword [esp + 0x88]
fmul dword [0x49f4c8]
fidiv dword [esp + 0x84]
call fcn.004922ac
test eax, eax
mov dword [esp + 0x24], eax
jge 0x458ab2
neg eax
mov dword [esp + 0x24], eax
fld dword [esp + 0x10]
fmul dword [esp + 0x78]
fld dword [esp + 0x14]
fmul dword [esp + 0x7c]
faddp st(1)
fsub st(1)
fmul dword [esp + 0x88]
fmul dword [0x49f4c8]
fidiv dword [esp + 0x80]
call fcn.004922ac
mov edi, eax
test edi, edi
mov dword [esp + 0x20], edi
jge 0x458aef
neg edi
mov dword [esp + 0x20], edi
fmul dword [esp + 0x88]
fmul dword [0x49f4c8]
call fcn.004922ac
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
jmp 0x458b71
fld dword [esp + 0x74]
fmul dword [esp + 0x78]
fld dword [esp + 0x40]
fmul dword [esp + 0x7c]
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], edi
faddp st(1)
fmul dword [esp + 0x88]
fmul dword [0x49f4c8]
call fcn.004922ac
fld dword [esp + 0x10]
fmul dword [esp + 0x78]
fld dword [esp + 0x14]
fmul dword [esp + 0x7c]
mov dword [esp + 0x84], eax
faddp st(1)
fmul dword [esp + 0x88]
fmul dword [0x49f4c8]
call fcn.004922ac
mov dword [esp + 0x80], eax
mov ecx, dword [0x4b6c44]
mov edx, dword [esp + 0x44]
sub ecx, edx
cmp esi, ecx
jge 0x458bb7
mov edx, dword [esp + 0x84]
cmp esi, dword [esp + 0x5c]
jge 0x458b94
sub edx, dword [esp + 0x24]
jmp 0x458b96
add edx, edi
cmp esi, dword [esp + 0x50]
jge 0x458ba0
add eax, edi
jmp 0x458ba4
sub eax, dword [esp + 0x24]
inc esi
cmp esi, ecx
jl 0x458b88
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], edx
mov eax, dword [0x4b6c48]
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x1c]
sub eax, edx
cmp ecx, eax
jle 0x458bce
mov dword [esp + 0x1c], eax
mov edx, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
push edx
push edi
call fcn.0044f420
add esp, 8
mov dword [esp + 0x40], eax
test eax, eax
je 0x458ec5
mov eax, dword [0x4b603c]
mov ecx, dword [0x4b6038]
push eax
push ecx
call fcn.0044f370
mov dword [esp + 0x20], eax
mov eax, dword [edi + 0x14]
add esp, 8
test eax, eax
jne 0x458c1f
mov edx, dword [ebp + 0x30]
push edx
push edi
call fcn.0044f010
add esp, 8
mov dword [esp + 0x7c], eax
jmp 0x458c2f
push eax
mov dword [esp + 0x80], eax
call fcn.004483c0
add esp, 4
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x78], esi
cmp esi, eax
jg 0x458eae
mov eax, dword [esp + 0x30]
fild dword [esp + 0x54]
fild dword [esp + 0x34]
shl eax, 0x10
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x44]
shl ebx, 0x10
lea ebp, [esi + eax]
mov dword [esp + 0x54], ebx
shl ebp, 2
mov dword [esp + 0x74], ebp
mov esi, dword [esp + 0x84]
mov eax, dword [esp + 0x58]
mov edi, dword [esp + 0x80]
mov ecx, dword [0x4b6c3c]
sar esi, 0x10
mov edx, eax
mov dword [esp + 0x70], esi
sub edx, esi
sar edi, 0x10
cmp edx, ecx
jle 0x458c99
mov esi, eax
sub esi, ecx
mov dword [esp + 0x70], esi
mov ecx, dword [0x4b6c38]
mov edx, eax
sub edx, edi
cmp edx, ecx
jge 0x458cab
mov edi, eax
sub edi, ecx
fild dword [esp + 0x70]
fdiv dword [esp + 0x88]
fild dword [esp + 0x78]
fdiv dword [esp + 0x8c]
fld st(1)
fmul dword [esp + 0x4c]
fld st(1)
fmul dword [esp + 0x48]
fsubp st(1)
fmul dword [0x49f4d8]
fdiv st(4)
call fcn.004922ac
fxch st(1)
fmul dword [esp + 0x48]
fxch st(1)
fmul dword [esp + 0x4c]
mov ebx, dword [esp + 0x54]
sub ebx, eax
faddp st(1)
fmul dword [0x49f4d8]
fdiv st(1)
call fcn.004922ac
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x34]
sub edx, eax
mov eax, dword [esp + 0x58]
mov ecx, dword [ecx + 0x2c]
sub eax, esi
mov ecx, dword [ecx + ebp]
mov ebp, dword [esp + 0x18]
lea eax, [ecx + eax*2]
add eax, ebp
mov ebp, dword [esp + 0x38]
mov dword [esp + 0x70], eax
mov eax, edi
sub eax, esi
lea ecx, [eax + 1]
mov eax, ecx
imul ecx, ebp
imul eax, dword [esp + 0x3c]
add eax, ebx
add ecx, edx
cmp edi, esi
mov dword [esp + 0x6c], ecx
jl 0x458dd3
mov ebp, dword [esp + 0x28]
sar ecx, 0x10
cmp ecx, ebp
jge 0x458d6e
mov ebp, dword [esp + 0x2c]
mov ecx, eax
sar ecx, 0x10
cmp ecx, ebp
jge 0x458d6e
test dword [esp + 0x6c], 0xffff0000
jl 0x458d6e
test eax, 0xffff0000
jge 0x458d89
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
sub eax, ecx
mov ecx, dword [esp + 0x6c]
sub ecx, ebp
dec edi
cmp edi, esi
mov dword [esp + 0x6c], ecx
jge 0x458d45
jmp 0x458dd3
mov ebp, dword [esp + 0x38]
cmp esi, edi
jg 0x458dd3
mov ecx, dword [esp + 0x28]
mov eax, edx
sar eax, 0x10
cmp eax, ecx
jge 0x458dbb
mov eax, dword [esp + 0x2c]
mov ecx, ebx
sar ecx, 0x10
cmp ecx, eax
jge 0x458dbb
test edx, 0xffff0000
jl 0x458dbb
test ebx, 0xffff0000
jge 0x458dd3
mov eax, dword [esp + 0x3c]
add edx, ebp
add ebx, eax
mov eax, dword [esp + 0x70]
sub eax, 2
inc esi
cmp esi, edi
mov dword [esp + 0x70], eax
jle 0x458d91
sub edi, esi
inc edi
test edi, edi
jle 0x458e28
mov esi, dword [esp + 0x64]
mov ecx, edi
mov eax, edx
mov edi, ebx
sar eax, 0x10
sar edi, 0x10
mov eax, dword [esi + eax*4]
add eax, edi
mov edi, dword [esp + 0x40]
movzx ax, byte [eax + edi]
test ax, ax
je 0x458e12
mov edi, dword [esp + 0x7c]
and eax, 0xffff
mov ax, word [edi + eax*2 + 0x5c]
mov edi, dword [esp + 0x70]
mov word [edi], ax
mov edi, dword [esp + 0x3c]
add edx, ebp
add ebx, edi
mov edi, dword [esp + 0x70]
sub edi, 2
dec ecx
mov dword [esp + 0x70], edi
jne 0x458de0
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x5c]
cmp eax, ecx
jge 0x458e4a
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x84]
sub edx, ecx
mov dword [esp + 0x84], edx
jmp 0x458e5e
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x84]
add ecx, edx
mov dword [esp + 0x84], ecx
cmp eax, dword [esp + 0x50]
jge 0x458e7a
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x80]
add edx, ecx
mov dword [esp + 0x80], edx
jmp 0x458e8e
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x80]
sub ecx, edx
mov dword [esp + 0x80], ecx
mov ebp, dword [esp + 0x74]
mov ecx, dword [esp + 0x1c]
inc eax
add ebp, 4
cmp eax, ecx
mov dword [esp + 0x78], eax
mov dword [esp + 0x74], ebp
jle 0x458c67
fstp st(0)
fstp st(0)
mov eax, dword [esp + 0x40]
push eax
call fcn.0044f4d0
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
fstp st(0)
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret