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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5b1ad0
mov eax, dword fs:[0]
push eax
sub esp, 0x58
push ebx
push esi
push edi
mov eax, dword [0x69e298]
xor eax, esp
push eax
lea eax, [esp + 0x68]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
lea ecx, [edi + 0xdc]
call fcn.004bee10
test al, al
jne 0x458896
lea ecx, [edi + 0x11c]
call fcn.004bbac0
test al, al
jne 0x458896
lea ecx, [edi + 0x144]
call fcn.004bce50
test al, al
jne 0x458896
fld dword [edi + 0xac]
lea esi, [edi + 0xb0]
fmul dword [ebp + 8]
mov ecx, esi
fmul qword [0x5d2c40]
fstp dword [esp + 0x10]
call fcn.00404fb0
fcomp dword [0x6465c4]
fnstsw ax
test ah, 0x44
jp 0x45821c
fldz
jmp 0x458229
mov ecx, esi
call fcn.00404fb0
fdivr qword [0x5d4550]
mov eax, dword [edi + 0x98]
fstp dword [esp + 0x20]
mov ecx, dword [edi + 0x9c]
mov dword [esp + 0x1c], eax
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
fstp dword [esp + 0x18]
fild dword [esp + 0x1c]
fstp dword [esp + 0x1c]
fld dword [esp + 0x18]
fld qword [0x5d1cf0]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x3c]
fld dword [esp + 0x1c]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x40]
fld dword [ebp + 0x10]
fadd st(0), st(0)
fsubr st(1)
fdivp st(1)
fstp dword [esp + 0x1c]
fld dword [esp + 0x10]
call fcn.0058a3d0
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fmul dword [ebp + 0x10]
fstp dword [esp + 0x24]
fld dword [edi + 0xa0]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
call fcn.0058a3d0
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
fstp dword [esp + 0x28]
fld dword [edi + 0xa0]
fstp dword [esp + 0x18]
fld dword [esp + 0x18]
call fcn.0058a2a0
fstp dword [esp + 0x18]
mov ecx, dword [edi + 0x2c]
fld dword [esp + 0x18]
sub ecx, dword [edi + 0x28]
fld dword [esp + 0x24]
lea esi, [edi + 0x1c]
fld st(0)
mov eax, 0x38e38e39
fmulp st(2)
imul ecx
fxch st(1)
fstp dword [esp + 0x44]
fmul dword [esp + 0x28]
fstp dword [esp + 0x48]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x45830f
call fcn.00589a8c
mov ecx, dword [edi + 0x14]
sub ecx, dword [edi + 0x10]
mov ebx, dword [esi + 0xc]
sar ecx, 3
test ecx, ecx
ja 0x458324
call fcn.00589a8c
fld dword [esp + 0x1c]
mov eax, dword [edi + 0x10]
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x40]
push ecx
push ecx
fstp dword [esp]
lea edx, [esp + 0x50]
push edx
push eax
lea eax, [esp + 0x60]
push eax
call fcn.004557b0
fld dword [esp + 0x38]
mov ecx, dword [eax]
fadd dword [esp + 0x28]
mov dword [ebx], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
fstp dword [esp + 0x28]
mov eax, dword [eax + 8]
mov dword [ebx + 8], eax
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
mov ebx, 1
lea edx, [edx + ecx - 1]
add esp, 0x18
cmp edx, ebx
jle 0x45855d
mov dword [esp + 0x18], 0x24
fld dword [esp + 0x10]
call fcn.0058a3d0
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fmul dword [ebp + 0x10]
fstp dword [esp + 0x24]
fld dword [edi + 0xa0]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
call fcn.0058a3d0
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fstp dword [esp + 0x2c]
fld dword [edi + 0xa0]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
call fcn.0058a2a0
fstp dword [esp + 0x28]
mov ecx, dword [esi + 0x10]
fld dword [esp + 0x28]
sub ecx, dword [esi + 0xc]
fld dword [esp + 0x24]
mov eax, 0x38e38e39
fld st(0)
imul ecx
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x44]
fmul dword [esp + 0x2c]
sar edx, 3
fstp dword [esp + 0x48]
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp ebx, eax
jb 0x45841e
call fcn.00589a8c
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
mov edi, dword [esi + 0xc]
add edi, dword [esp + 0x18]
mov eax, 0x38e38e39
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
lea ecx, [ebx + 1]
add eax, edx
cmp ecx, eax
jb 0x458448
call fcn.00589a8c
mov ecx, dword [esi + 0xc]
mov edx, dword [esp + 0x18]
lea eax, [ecx + edx + 0x24]
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x14]
sub ecx, dword [eax + 0x10]
add eax, 4
sar ecx, 3
cmp ebx, ecx
jb 0x458470
call fcn.00589a8c
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x10]
add ecx, 4
lea edx, [ebx*8]
add eax, edx
mov edx, dword [ecx + 0x10]
sub edx, dword [ecx + 0xc]
lea ecx, [ebx + 1]
sar edx, 3
mov dword [esp + 0x2c], eax
cmp ecx, edx
jb 0x4584a0
call fcn.00589a8c
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x14]
fld dword [esp + 0x1c]
add ecx, 4
mov ecx, dword [ecx + 0xc]
lea edx, [ecx + ebx*8 + 8]
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x30], edx
lea edx, [esp + 0x40]
push edx
push ecx
fstp dword [esp]
lea ecx, [esp + 0x50]
push ecx
push eax
lea edx, [esp + 0x60]
push edx
call fcn.004557b0
fld dword [esp + 0x34]
mov ecx, dword [eax]
mov dword [edi], ecx
mov edx, dword [eax + 4]
add esp, 0x18
mov dword [edi + 4], edx
mov eax, dword [eax + 8]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x40]
push edx
push ecx
mov ecx, dword [esp + 0x38]
fstp dword [esp]
mov dword [edi + 8], eax
lea eax, [esp + 0x50]
push eax
push ecx
lea edx, [esp + 0x6c]
push edx
call fcn.004557b0
fld dword [esp + 0x38]
mov edx, dword [eax]
fadd dword [esp + 0x28]
mov ecx, dword [esp + 0x40]
mov dword [ecx], edx
mov edx, dword [eax + 4]
fstp dword [esp + 0x28]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
add dword [esp + 0x30], 0x48
mov edi, dword [esp + 0x2c]
mov dword [ecx + 8], eax
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ebx, 2
lea edx, [edx + ecx - 1]
add esp, 0x18
cmp ebx, edx
jl 0x458396
fld dword [esp + 0x10]
call fcn.0058a3d0
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fmul dword [ebp + 0x10]
fstp dword [esp + 0x28]
fld dword [edi + 0xa0]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
call fcn.0058a3d0
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fstp dword [esp + 0x24]
fld dword [edi + 0xa0]
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
call fcn.0058a2a0
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
mov ecx, esi
fld dword [esp + 0x28]
fld st(0)
fmulp st(2)
fxch st(1)
fstp dword [esp + 0x44]
fmul dword [esp + 0x24]
fstp dword [esp + 0x48]
call fcn.00455b50
lea ecx, [edi + 4]
mov ebx, eax
call fcn.00455ae0
fld dword [esp + 0x1c]
lea ecx, [esp + 0x30]
push ecx
lea edx, [esp + 0x40]
push edx
push ecx
fstp dword [esp]
lea ecx, [esp + 0x50]
push ecx
push eax
lea edx, [esp + 0x6c]
push edx
call fcn.004557b0
mov ecx, dword [eax]
mov dword [ebx], ecx
mov edx, dword [eax + 4]
mov dword [ebx + 4], edx
mov eax, dword [eax + 8]
add esp, 0x18
mov dword [ebx + 8], eax
call fcn.00403570
lea ecx, [eax + 0x28]
call fcn.0048e990
mov edi, eax
mov edx, dword [edi]
mov eax, dword [edx + 0x28]
push 4
mov ecx, edi
call eax
mov ebx, dword [esp + 0x14]
lea ecx, [ebx + 0xd0]
test ecx, ecx
je 0x458641
lea eax, [ebx + 0xd4]
mov dword [esp + 0x1c], eax
xor ecx, ecx
jmp 0x458649
xor ecx, ecx
mov dword [esp + 0x1c], ecx
mov eax, ecx
lea edx, [ebx + 0x34]
test edx, edx
je 0x458659
lea edx, [ebx + 0x40]
mov dword [esp + 0x20], edx
jmp 0x45865d
mov dword [esp + 0x20], ecx
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], eax
cmp eax, ecx
je 0x458686
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [edi]
lea edx, [esp + 0x30]
push edx
mov edx, dword [eax + 0x14]
push ecx
push 3
push ecx
mov dword [esp + 0x80], ecx
lea ecx, [esp + 0x54]
push ecx
mov ecx, edi
call edx
mov eax, dword [esp + 0x48]
mov dword [esp + 0x70], 0xffffffff
test eax, eax
je 0x4586e4
mov ecx, eax
mov dword [esp + 0x2c], ecx
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4586e4
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x2c]
lea eax, [ecx + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4586e4
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [esi + 0x10]
sub edx, dword [esi + 0xc]
mov eax, 0x38e38e39
imul edx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x2c], ecx
jne 0x458721
call fcn.00589a8c
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0xc]
mov eax, dword [esp + 0x30]
lea ecx, [ecx + ecx*8]
add ecx, ecx
add ecx, ecx
push ecx
push edx
push eax
call fcn.0058a7d0
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
add esp, 0xc
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], eax
test eax, eax
je 0x45875b
add eax, 4
mov edx, 1
lock xadd dword [eax], edx
mov eax, dword [edi]
mov edx, dword [eax + 0x18]
push 0
lea ecx, [esp + 0x40]
push ecx
mov ecx, edi
mov dword [esp + 0x78], 1
call edx
mov eax, dword [esp + 0x40]
mov dword [esp + 0x70], 0xffffffff
test eax, eax
je 0x4587b3
mov ecx, eax
mov dword [esp + 0x2c], ecx
add eax, 4
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4587b3
mov eax, dword [ecx]
mov edx, dword [eax + 4]
call edx
mov ecx, dword [esp + 0x2c]
lea eax, [ecx + 8]
or edx, 0xffffffff
lock xadd dword [eax], edx
jne 0x4587b3
mov eax, dword [ecx]
mov edx, dword [eax + 8]
call edx
mov ecx, dword [esp + 0x1c]
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
push 0x24
push 0
push ecx
push 0
mov ecx, edi
call edx
mov edx, dword [edi]
lea eax, [ebx + 0xdc]
push eax
mov eax, dword [edx + 0x24]
mov ecx, edi
call eax
mov eax, dword [esp + 0x20]
mov edx, dword [edi]
mov edx, dword [edx + 0x40]
push eax
push 0
mov ecx, edi
call edx
mov edx, dword [edi]
lea eax, [ebx + 0x11c]
push eax
mov eax, dword [edx + 0x38]
mov ecx, edi
call eax
mov edx, dword [edi]
lea eax, [ebx + 0x144]
push eax
mov eax, dword [edx + 0x48]
mov ecx, edi
call eax
lea ecx, [ebx + 0x178]
test ecx, ecx
je 0x458819
lea eax, [ebx + 0x17c]
jmp 0x45881b
xor eax, eax
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x44]
push 0
mov ecx, edi
call eax
lea ecx, [ebx + 0x18c]
test ecx, ecx
je 0x458839
lea eax, [ebx + 0x190]
jmp 0x45883b
xor eax, eax
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x54]
mov ecx, edi
call eax
mov edx, dword [edi]
mov edx, dword [edx + 0x50]
lea eax, [ebx + 0x184]
push eax
mov ecx, edi
call edx
lea eax, [ebx + 0x16c]
test eax, eax
je 0x458867
add ebx, 0x170
jmp 0x458869
xor ebx, ebx
mov edx, dword [edi]
mov eax, dword [edx + 0x4c]
push ebx
mov ecx, edi
call eax
mov ecx, dword [esi + 0x10]
sub ecx, dword [esi + 0xc]
mov ebx, dword [edi]
mov eax, 0x38e38e39
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov edx, dword [ebx + 0x68]
push 0
push ecx
mov ecx, edi
call edx
mov ecx, dword [esp + 0x68]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc