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

Disassembly:
mov eax, 0x1ee8
call fcn.004ee940
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x1f1c]
xor ebx, ebx
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x1f14]
mov eax, ecx
mov dword [esp + 0x3c], edx
lea esi, [edi + 4]
imul eax, esi
imul ebp, eax, 5
imul eax, esi, 0x14
imul esi, esi, 0x28
mov dword [esp + 0x18], eax
imul eax, ecx, 5
mov dword [esp + 0x38], eax
lea eax, [ecx + ecx]
mov dword [esp + 0x24], eax
imul eax, ecx, 0x12
mov dword [esp + 0x64], eax
dec eax
mov dword [esp + 0x50], eax
imul eax, edi, 0x254
push eax
lea eax, [esp + 0x4bc]
push ebx
push eax
call fcn.005055e0
mov eax, dword [esp + 0x1f20]
add esp, 0xc
push 0xc
pop ecx
push 0x10
pop edx
mov dword [esp + 0x68], edx
cmp eax, edx
mov edx, dword [esp + 0x28]
mov dword [esp + 0x54], ecx
jne 0x465e22
push ebp
lea ecx, [esp + 0xf5c]
call fcn.00455269
pop ecx
lea eax, [esp + 0xf58]
mov dword [esp + 0x6c], ebx
push ebp
push eax
lea edx, [esp + 0x240]
mov dword [esp + 0x78], ebx
lea ecx, [esp + 0x74]
call fcn.00469eb2
pop ecx
pop ecx
lea ecx, [esi - 1]
test ecx, ecx
js 0x465e86
movsx eax, word [esp + ecx*2 + 0x238]
cvtsi2ss xmm0, eax
movss dword [esp + ecx*4 + 0xf58], xmm0
sub ecx, 1
jns 0x465e06
jmp 0x465e86
cmp eax, ecx
jne 0x465ed0
push ebp
lea ecx, [esp + 0xf5c]
call fcn.00455269
pop ecx
push 6
pop ecx
xor eax, eax
lea edi, [esp + 0x6c]
rep stosd dword es:[edi], eax
lea eax, [esp + 0xf58]
push ebp
push eax
lea edx, [esp + 0x240]
lea ecx, [esp + 0x74]
call fcn.00469f8f
pop ecx
pop ecx
lea ecx, [esi - 1]
test ecx, ecx
js 0x465e7f
movsx eax, word [esp + ecx*2 + 0x238]
cvtsi2ss xmm0, eax
movss dword [esp + ecx*4 + 0xf58], xmm0
sub ecx, 1
jns 0x465e65
mov edi, dword [esp + 0x1f1c]
lea eax, [esp + 0x238]
mov dword [esp + 0x6c], ebx
push esi
push eax
lea edx, [esp + 0x100]
mov dword [esp + 0x78], ebx
lea ecx, [esp + 0x74]
call fcn.00469eb2
pop ecx
pop ecx
mov ecx, dword [esp + 0x18]
sub ecx, 1
mov edx, ecx
js 0x465efc
movsx eax, word [esp + edx*2 + 0xf8]
cvtsi2ss xmm0, eax
movss dword [esp + edx*4 + 0x238], xmm0
sub edx, 1
jns 0x465eb4
jmp 0x465efc
push esi
lea ecx, [esp + 0x23c]
call fcn.00455269
pop ecx
jmp 0x465e86
movss xmm0, dword [esp + ecx*4 + 0x234]
addss xmm0, dword [esp + ecx*4 + 0x238]
movss dword [esp + ecx*4 + 0x238], xmm0
dec ecx
test ecx, ecx
jg 0x465ee0
sar edi, 1
lea ebp, [esp + 0x378]
mov dword [esp + 0x1c], edi
push 0x48
pop esi
test edi, edi
jle 0x465fb0
lea ebx, [ebp - 0x20]
push 0x28
pop edx
mov ecx, ebx
call fcn.00459cfd
fadd qword [0x55d670]
push edx
mov edx, ebx
mov ecx, ebp
fstp qword [esp + 0x44]
call fcn.0045b423
fld qword [esp + 0x44]
fld st(0)
fsqrt
pop ecx
push 9
pop edi
fdivp st(2)
fxch st(1)
fadd dword [esp + 0x4d8]
fstp dword [esp + 0x4d8]
fld dword [ebx + 0x9c]
sub ebx, 4
push 0x28
mov edx, ebx
mov ecx, ebp
fld dword [ebx]
fmul st(0), st(0)
fxch st(1)
fmul st(0), st(0)
fsubp st(1)
faddp st(1)
fstp qword [esp + 0x44]
call fcn.0045b423
fld qword [esp + 0x44]
fld st(0)
fsqrt
pop ecx
fdivp st(2)
fxch st(1)
fadd dword [esp + edi*4 + 0x4b8]
fstp dword [esp + edi*4 + 0x4b8]
inc edi
cmp edi, esi
jle 0x465f57
add ebp, 0xa0
fstp st(0)
sub dword [esp + 0x1c], 1
jne 0x465f18
xor ebx, ebx
movss xmm1, dword [esp + esi*4 + 0x4b8]
cvtsi2ss xmm0, esi
mulss xmm0, xmm1
mulss xmm0, dword [0x55d450]
subss xmm1, xmm0
movss dword [esp + esi*4 + 0x4b8], xmm1
dec esi
cmp esi, 8
jge 0x465fb0
mov esi, dword [esp + 0x1f18]
lea edx, [esp + 0x98]
lea esi, [esi*2 + 4]
push esi
push ecx
lea ecx, [esp + 0x4e0]
call fcn.0046bbcb
mov ecx, dword [esp + 0x1f24]
lea edx, [esp + 0x240]
fld qword [0x55d640]
add esp, 8
movsx eax, cx
imul eax, eax, 0x50
add edx, eax
mov eax, ebx
fld dword [edx + eax*4]
inc eax
fmul st(0), st(0)
faddp st(1)
cmp eax, 0x50
jl 0x466020
fmul qword [0x55d578]
fld dword [esp + 0x4d8]
fmul st(0), st(0)
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x46607b
mov eax, ecx
shl eax, 2
push eax
push ebx
push dword [esp + 0x44]
call fcn.005055e0
mov eax, dword [esp + 0x1f10]
add esp, 0xc
and dword [eax], 0
xor ecx, ecx
mov eax, dword [esp + 0x1efc]
mov word [eax], cx
mov eax, dword [esp + 0x1f00]
mov byte [eax], bl
jmp 0x4667be
movss xmm1, dword [esp + 0x4d8]
mov edx, ebx
mulss xmm1, dword [esp + 0x1f0c]
test esi, esi
jle 0x4660c4
mov ecx, ebx
movss xmm0, dword [esp + ecx + 0x4d8]
comiss xmm0, xmm1
jbe 0x4660c2
mov eax, dword [esp + ecx + 0x98]
inc edx
lea eax, [eax*2 + 0x10]
mov dword [esp + ecx + 0x98], eax
add ecx, 4
cmp edx, esi
jl 0x466095
jmp 0x4660c4
mov esi, edx
push 0x44
xor eax, eax
lea edi, [esp + 0x112]
pop ecx
rep stosd dword es:[edi], eax
xor edx, edx
mov ecx, ebx
inc edx
stosw word es:[edi], ax
test esi, esi
jle 0x4660f1
mov eax, dword [esp + ecx*4 + 0x98]
inc ecx
mov word [esp + eax*2 + 0xf8], dx
cmp ecx, esi
jl 0x4660dd
push 0x10
mov ecx, 0x92
pop ebx
mov ax, word [esp + ecx*2 + 0xf6]
add ax, word [esp + ecx*2 + 0xf4]
add word [esp + ecx*2 + 0xf8], ax
dec ecx
cmp ecx, ebx
jge 0x4660f9
xor ebx, ebx
push 0x10
mov ecx, ebx
pop eax
cmp word [esp + eax*2 + 0xfa], bx
jle 0x46612f
mov dword [esp + ecx*4 + 0x98], eax
inc ecx
inc eax
cmp eax, 0x90
jl 0x46611d
movzx ebp, word [esp + 0x218]
lea esi, [esp + 0x218]
mov dword [esp + 0x2c], ecx
mov edi, 0x83
movzx edx, word [esi - 2]
lea esi, [esi - 2]
mov ax, word [esi + 4]
add ax, dx
add ax, bp
mov ebp, edx
add word [esi + 6], ax
sub edi, 1
jne 0x46614f
push 0x10
pop esi
mov ebp, ebx
mov ecx, esi
cmp word [esp + ecx*2 + 0xf8], bx
jle 0x466188
lea eax, [ecx - 2]
mov word [esp + ebp*2 + 0xf8], ax
inc ebp
inc ecx
cmp ecx, 0x93
jl 0x466172
push 0x950
lea eax, [esp + 0x4bc]
push ebx
push eax
call fcn.005055e0
mov edx, dword [esp + 0x1f20]
add esp, 0xc
cmp edx, 8
jne 0x4661bf
mov edi, dword [esp + 0x28]
add edi, 0x280
jmp 0x4661c6
lea edi, [esp + 0x11d8]
mov eax, dword [esp + 0x1f1c]
test eax, eax
jle 0x466285
mov esi, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], esi
push 0x28
pop edx
mov ecx, edi
call fcn.00459cfd
mov dword [esp + 0x18], ebx
fstp qword [esp + 0x40]
test ebp, ebp
jle 0x466260
movsx esi, word [esp + ebx*2 + 0xf8]
mov ecx, edi
mov eax, esi
mov edx, edi
shl eax, 2
sub ecx, eax
push 0x28
mov dword [esp + 0x1c], ecx
call fcn.0045b423
fldz
fxch st(1)
add esi, dword [esp + 0x18]
fcomi st(1)
pop ecx
fstp st(1)
jbe 0x46624b
mov ecx, dword [esp + 0x18]
fmul st(0), st(0)
push 0x28
pop edx
fstp qword [esp + 0x58]
call fcn.00459cfd
fmul qword [esp + 0x40]
fadd qword [0x55d4d8]
fdivr qword [esp + 0x58]
fstp dword [esp + esi*4 + 0x4b8]
jmp 0x466255
and dword [esp + esi*4 + 0x4b8], 0
fstp st(0)
inc ebx
cmp ebx, ebp
jl 0x4661f5
mov esi, dword [esp + 0x14]
xor ebx, ebx
add esi, 0x95
add edi, 0xa0
sub dword [esp + 0x1c], 1
mov dword [esp + 0x14], esi
jne 0x4661df
mov edx, dword [esp + 0x1f14]
push 0x10
pop esi
movss xmm2, dword [0x55d710]
or ecx, 0xffffffff
mov eax, dword [esp + 0x1f08]
xorps xmm3, xmm3
fld qword [0x55d5e8]
movaps xmm7, xmm2
mov dword [esp + 0x20], ebx
mov dword [esp + 0x58], ecx
push 3
pop edi
mov dword [esp + 0x4c], edi
test eax, eax
jle 0x4662f1
cmp edx, 0xc
jne 0x4662c9
add eax, eax
cdq
idiv edi
mov edx, dword [esp + 0x1f14]
jmp 0x4662cf
cmp edx, esi
jne 0x4662d6
sar eax, 1
mov dword [esp + 0x1f08], eax
fild dword [esp + 0x1f08]
fldlg2
fxch st(1)
fyl2x
fmul st(1)
fstp dword [esp + 0x18]
movss xmm6, dword [esp + 0x18]
jmp 0x4662f4
xorps xmm6, xmm6
mov ebp, dword [esp + 0x1f1c]
cmp ebp, 4
jne 0x466322
mov dword [esp + 0x30], 0x5512a0
push 0xb
pop esi
mov dword [esp + 0x1c], esi
cmp edx, 8
jne 0x466332
cmp dword [esp + 0x1f18], 0
jle 0x466332
mov edi, esi
jmp 0x46632e
mov dword [esp + 0x1c], edi
mov dword [esp + 0x30], 0x551218
mov dword [esp + 0x4c], edi
cmp dword [esp + 0x2c], 0
mov eax, ebx
mov dword [esp + 0x18], ebx
jle 0x466793
cvtsi2ss xmm4, ebp
movaps xmm5, xmm4
mulss xmm5, dword [0x55d4d0]
movss dword [esp + 0x34], xmm5
fld dword [esp + 0x34]
mov eax, dword [esp + eax*4 + 0x98]
lea edx, [esp + 0x6c]
mov ecx, dword [esp + 0x1c]
mov esi, ebx
mov dword [esp + 0x34], eax
and dword [edx], 0
xorps xmm1, xmm1
test ebp, ebp
jle 0x4663c1
mov eax, dword [esp + 0x30]
mov edi, ebx
add eax, esi
mov ebx, ebp
mov dword [esp + 0x14], eax
mov ebp, eax
movsx eax, byte [ebp]
add ebp, ecx
add eax, edi
add edi, 0x95
add eax, dword [esp + 0x34]
movss xmm0, dword [esp + eax*4 + 0x4b8]
addss xmm0, xmm1
movaps xmm1, xmm0
sub ebx, 1
jne 0x46638b
mov ebp, dword [esp + 0x1f1c]
mov edi, dword [esp + 0x4c]
movss dword [edx], xmm1
inc esi
add edx, 4
cmp esi, edi
jl 0x466371
mov ecx, dword [esp + 0x58]
mov edx, ebx
movss dword [esp + 0x14], xmm2
mov eax, ebx
movss xmm0, dword [esp + eax*4 + 0x6c]
comiss xmm0, xmm2
jbe 0x4663e7
movaps xmm2, xmm0
mov edx, eax
inc eax
cmp eax, edi
jl 0x4663d7
comiss xmm2, dword [0x55d3f8]
movss dword [esp + 0x14], xmm2
ja 0x466404
xorps xmm2, xmm2
movss dword [esp + 0x14], xmm2
cmp dword [esp + 0x1f08], 0
fild dword [esp + 0x34]
mov esi, dword [esp + 0x1f04]
fldlg2
fxch st(1)
fyl2x
fmul st(2)
fst dword [esp + 0x40]
fld st(1)
fmulp st(1)
fsubr dword [esp + 0x14]
fstp dword [esp + 0x14]
jle 0x466463
movss xmm1, dword [esp + 0x40]
movss xmm0, dword [esi]
subss xmm1, xmm6
mulss xmm0, xmm5
mulss xmm1, xmm1
mulss xmm0, xmm1
addss xmm1, dword [0x55d504]
divss xmm0, xmm1
movss xmm1, dword [esp + 0x14]
subss xmm1, xmm0
jmp 0x466469
movss xmm1, dword [esp + 0x14]
comiss xmm1, xmm7
jbe 0x4664a5
movaps xmm0, xmm4
mulss xmm0, dword [esp + 0x1f10]
mulss xmm0, dword [esp + 0x1f10]
comiss xmm2, xmm0
jbe 0x4664a5
cmp byte [edx + 0x5512a0], 0x10
jg 0x4664a5
mov ecx, dword [esp + 0x34]
movaps xmm7, xmm1
movaps xmm3, xmm2
mov dword [esp + 0x58], ecx
mov dword [esp + 0x20], edx
jmp 0x4664a9
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x18]
movss xmm2, dword [0x55d710]
inc eax
mov dword [esp + 0x18], eax
cmp eax, dword [esp + 0x2c]
jl 0x46635c
fstp st(0)
fstp st(0)
cmp ecx, 0xffffffff
je 0x466795
mov eax, dword [esp + 0x1f14]
cmp eax, 8
jle 0x46671c
cmp eax, 0xc
jne 0x4664f7
movsx eax, cx
imul eax, eax, 3
mov ecx, eax
and eax, 1
sar ecx, 1
add ecx, eax
jmp 0x4664f9
add ecx, ecx
divss xmm3, xmm4
mov edi, dword [esp + 0x50]
mov eax, ecx
mov edx, dword [esp + 0x24]
cmp ecx, edi
mov esi, ecx
mov dword [esp + 0x20], ebx
cmovl eax, edi
cmp ecx, edx
cmovg eax, edx
cmovl esi, edx
cmp ecx, edi
mov ecx, dword [esp + 0x50]
cmovg esi, edi
cmp edx, edi
mov edi, edx
cmovg esi, eax
lea eax, [esi - 2]
cmp eax, edx
mov edx, dword [esp + 0x28]
cmovg edi, eax
lea eax, [esi + 2]
cmp eax, ecx
cmovl ecx, eax
mov eax, dword [esp + 0x1f04]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x1458]
push dword [esp + 0x1f18]
sqrtss xmm0, xmm3
push ebp
push dword [esp + 0x40]
movss dword [eax], xmm0
push edi
call fcn.004667cc
push dword [esp + 0x1f28]
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x4cc]
push ebp
push dword [esp + 0x50]
push edi
call fcn.00466949
movss xmm1, dword [0x55d4a0]
add esp, 0x20
cvtsi2ss xmm0, esi
divss xmm1, xmm0
movss dword [esp + 0x40], xmm1
cmp ebp, 4
jne 0x4665c9
mov eax, dword [esp + 0x1f18]
mov dword [esp + 0x2c], 0x22
mov dword [esp + 0x30], 0x5512d0
movsx edx, byte [eax + 0x551298]
mov dword [esp + 0x54], edx
jmp 0x4665d8
push 0xc
pop edx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], 0x551280
cmp edi, dword [esp + 0x1c]
jg 0x4666b8
fld1
mov eax, ebx
fld dword [esp + 0x40]
movss xmm1, dword [0x55d710]
mov dword [esp + 0x58], eax
mov ecx, ebx
mov dword [esp + 0x18], ecx
test edx, edx
jle 0x4666a2
fldz
mov edx, eax
fld st(0)
fld qword [0x55d4d8]
test ebp, ebp
jle 0x46665e
mov eax, edx
mov dword [esp + 0x38], ebp
fadd dword [esp + eax + 0x4b8]
fld dword [esp + eax + 0x1458]
add eax, 0x2a8
sub dword [esp + 0x38], 1
faddp st(2)
jne 0x46661a
fxch st(1)
fcomi st(2)
jbe 0x466662
fstp st(2)
fild dword [esp + 0x18]
fmul st(3)
fld st(4)
fsubrp st(1)
fxch st(2)
fmul st(0), st(0)
fdivrp st(1)
fmulp st(1)
fstp dword [esp + 0x14]
movss xmm0, dword [esp + 0x14]
fldz
jmp 0x466669
fstp st(1)
jmp 0x466664
fstp st(0)
fstp st(0)
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x466686
movsx eax, byte [ecx + 0x5512d0]
add eax, edi
cmp eax, dword [esp + 0x50]
jg 0x466686
movaps xmm1, xmm0
mov dword [esp + 0x20], ecx
mov esi, edi
inc ecx
add edx, 0x14
mov dword [esp + 0x18], ecx
cmp ecx, dword [esp + 0x54]
jl 0x466608
mov eax, dword [esp + 0x58]
fstp st(0)
mov edx, dword [esp + 0x54]
add eax, 4
inc edi
mov dword [esp + 0x58], eax
cmp edi, dword [esp + 0x1c]
jle 0x4665f6
fstp st(1)
fstp st(0)
test ebp, ebp
jle 0x466713
mov ecx, dword [esp + 0x20]
add ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov edi, dword [esp + 0x64]
movsx eax, byte [ecx]
mov ebp, dword [esp + 0x3c]
add eax, esi
mov dword [ebp + ebx*4], eax
cmp dword [esp + 0x24], edi
jle 0x4666f2
cmp eax, dword [esp + 0x24]
jle 0x4666eb
mov eax, dword [esp + 0x24]
jmp 0x466703
cmp eax, edi
cmovl eax, edi
jmp 0x466703
cmp eax, edi
jle 0x4666fa
mov eax, edi
jmp 0x466703
cmp eax, dword [esp + 0x24]
cmovl eax, dword [esp + 0x24]
mov dword [ebp + ebx*4], eax
add ecx, edx
inc ebx
cmp ebx, dword [esp + 0x1f1c]
jl 0x4666cc
sub esi, dword [esp + 0x24]
movzx ecx, si
jmp 0x466778
divss xmm3, xmm4
sqrtss xmm0, xmm3
movss dword [esi], xmm0
test ebp, ebp
jle 0x466772
add edx, dword [esp + 0x30]
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x3c]
movsx eax, byte [edx]
add eax, ecx
mov dword [edi + ebx*4], eax
cmp esi, 0x10
jge 0x466756
cmp eax, 0x10
jle 0x46674f
push 0x10
pop eax
jmp 0x466766
cmp eax, esi
cmovl eax, esi
jmp 0x466766
cmp eax, esi
jle 0x46675e
mov eax, esi
jmp 0x466766
cmp eax, 0x10
cmovl eax, dword [esp + 0x68]
add edx, dword [esp + 0x1c]
mov dword [edi + ebx*4], eax
inc ebx
cmp ebx, ebp
jl 0x466738
lea eax, [ecx - 0x10]
movzx ecx, ax
mov eax, dword [esp + 0x1efc]
mov word [eax], cx
mov eax, dword [esp + 0x1f00]
mov ecx, dword [esp + 0x20]
mov byte [eax], cl
xor eax, eax
jmp 0x4667c1
fstp st(0)
mov edi, dword [esp + 0x3c]
xor eax, eax
mov ecx, dword [esp + 0x1efc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov eax, dword [esp + 0x1f04]
and dword [eax], 0
xor edx, edx
mov word [ecx], dx
mov ecx, dword [esp + 0x1f00]
mov byte [ecx], bl
xor eax, eax
inc eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1ee8
ret