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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x178
mov eax, dword [0x1008f040]
xor eax, esp
mov dword [esp + 0x174], eax
mov eax, dword [ebp + 8]
push esi
mov esi, ecx
mov dword [esp + 0x30], eax
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [esp + 0x60]
push esi
movss xmm0, dword [esi + 0x3c]
mulss xmm0, dword [0x10085718]
push ecx
push edi
push eax
xorps xmm0, xmmword [0x10085870]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [esi + 0x40]
mulss xmm0, dword [0x10085718]
mov dword [esp + 0x28], esi
mov dword [esp + 0x78], 0
movss dword [esp + 0x74], xmm0
call fcn.1004dfb0
test al, al
je 0x1004d319
push esi
call fcn.1004d860
test al, al
je 0x1004d319
mov eax, dword [esi + 0x28]
cmp eax, dword [esi + 0x2c]
je 0x1004ca5f
mov dword [esi + 0x2c], eax
mov ecx, dword [0x10090390]
xorps xmm2, xmm2
movss dword [esp + 0x14], xmm2
nop
test ecx, ecx
jne 0x1004caac
xorps xmm1, xmm1
xorps xmm0, xmm0
movss dword [esp + 0x50], xmm1
movss dword [esp + 0x20], xmm0
movss dword [esp + 0x54], xmm0
movq xmm0, qword [esp + 0x50]
movss dword [esp + 0x1c], xmm1
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x58], xmm1
movq qword [esp + 0x78], xmm0
jmp 0x1004cb29
mov eax, dword [ecx]
lea edx, [esp + 0xac]
push 0
push edx
mov dword [esp + 0xb4], 0
mov dword [esp + 0xb8], 0
mov dword [esp + 0xbc], 0
call dword [eax + 0xbc]
mov eax, dword [esp + 0xb4]
movq xmm1, qword [esp + 0xac]
mov ecx, dword [0x10090390]
mov dword [esp + 0x58], eax
movss xmm0, dword [esp + 0x58]
movq qword [esp + 0x50], xmm1
movss dword [esp + 0x24], xmm0
movss xmm0, dword [esp + 0x54]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x50]
movq qword [esp + 0x78], xmm1
movss dword [esp + 0x1c], xmm0
mov esi, dword [0x10090394]
test esi, esi
je 0x1004cb56
mov eax, dword [0x100917dc]
mov edx, dword [esi]
push ecx
mov ecx, esi
mov eax, dword [eax + 0x2c]
movss xmm0, dword [eax + 0x1c]
movss dword [esp], xmm0
call dword [edx + 0x88]
mov ecx, dword [0x10090390]
test ecx, ecx
jne 0x1004cb68
xorps xmm0, xmm0
xorps xmm1, xmm1
movss dword [esp + 0x10], xmm0
jmp 0x1004cbcd
mov eax, dword [ecx]
lea edx, [esp + 0xb8]
push 0
push edx
mov dword [esp + 0xc0], 0
mov dword [esp + 0xc4], 0
mov dword [esp + 0xc8], 0
call dword [eax + 0xbc]
movq xmm0, qword [esp + 0xb8]
mov eax, dword [esp + 0xc0]
movq qword [esp + 0x60], xmm0
movss xmm0, dword [esp + 0x64]
mov dword [esp + 0x68], eax
movss xmm1, dword [esp + 0x68]
movss dword [esp + 0x10], xmm0
movss xmm0, dword [esp + 0x60]
push 0x30
lea eax, [esp + 0x148]
movss dword [esp + 0x60], xmm0
push 0
push eax
movss dword [esp + 0x14], xmm1
call sub.VCRUNTIME140.dll_memset
mov eax, dword [esp + 0x40]
xorps xmm0, xmm0
mov dword [esp + 0xb4], eax
add esp, 0xc
mov eax, dword [edi]
mov ecx, edi
movups xmmword [esp + 0x120], xmm0
mov dword [esp + 0x140], 0
movups xmmword [esp + 0x130], xmm0
mov dword [esp + 0xa4], vtable.c_trace_filter_hitscan.0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0xe0], 0
mov dword [esp + 0xe4], 0
mov dword [esp + 0xe8], 0
mov dword [esp + 0xf0], 0
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0
mov dword [esp + 0x100], 0
mov dword [esp + 0x104], 0
mov dword [esp + 0x108], 0
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x3d
jne 0x1004ccc0
movss xmm0, dword [0x100856c4]
jmp 0x1004ccc8
movss xmm0, dword [0x100856b8]
mov eax, dword [edi]
mov ecx, edi
movss dword [esp + 0x30], xmm0
movss dword [esp + 0xc], xmm0
movss dword [esp + 0x28], xmm0
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x3d
jne 0x1004ccf5
movss xmm0, dword [0x100857f4]
jmp 0x1004ccfd
movss xmm0, dword [0x100857ec]
movss xmm1, dword [esp + 0x5c]
movaps xmm7, xmm0
movss xmm4, dword [esp + 0x1c]
movaps xmm6, xmm0
movss xmm3, dword [esp + 0x20]
subss xmm1, xmm4
movss xmm5, dword [esp + 0x24]
movss xmm2, dword [esp + 8]
movss dword [esp + 0x2c], xmm0
subss xmm2, xmm5
movss xmm0, dword [esp + 0x10]
subss xmm0, xmm3
movss dword [esp + 0xe0], xmm1
mulss xmm1, xmm1
mov byte [esp + 0x111], 1
movss dword [esp + 0xe8], xmm2
mulss xmm2, xmm2
movss dword [esp + 0xe4], xmm0
mulss xmm0, xmm0
addss xmm0, xmm1
xorps xmm1, xmm1
addss xmm0, xmm2
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x1004cd84
mov byte [esp + 0x111], 0
movss xmm1, dword [esp + 0xc]
lea edx, [esp + 0x120]
subss xmm1, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x28]
movss xmm0, dword [esp + 0x30]
subss xmm2, xmm6
subss xmm0, xmm7
mov eax, dword [0x100917dc]
addss xmm7, dword [esp + 0x30]
mulss xmm1, dword [0x10085644]
push edx
mulss xmm2, dword [0x10085644]
lea edx, [esp + 0xa8]
push edx
mulss xmm0, dword [0x10085644]
lea edx, [esp + 0xd8]
push 0x4600400b
movss dword [esp + 0x110], xmm1
movss dword [esp + 0x10c], xmm2
movss dword [esp + 0x114], xmm0
mulss xmm1, xmm1
push edx
mulss xmm2, xmm2
mulss xmm0, xmm0
addss xmm1, xmm2
addss xmm6, dword [esp + 0x38]
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
movsd xmm1, qword [0x10085630]
comisd xmm1, xmm0
movss xmm0, dword [esp + 0x1c]
addss xmm0, dword [esp + 0x3c]
movss xmm1, dword [0x10085644]
seta byte [esp + 0x120]
mulss xmm7, xmm1
mulss xmm6, xmm1
mulss xmm0, xmm1
movaps xmm2, xmm6
addss xmm2, xmm4
movaps xmm1, xmm0
movss dword [esp + 0x1c], xmm0
movaps xmm0, xmm7
addss xmm1, xmm3
addss xmm0, xmm5
movss dword [esp + 0xe0], xmm2
movss dword [esp + 0xe4], xmm1
movss xmm1, dword [0x100857e0]
movss dword [esp + 0xe8], xmm0
movss xmm0, dword [esp + 0x1c]
mulss xmm6, xmm1
mulss xmm0, xmm1
mulss xmm7, xmm1
movss dword [esp + 0x100], xmm6
movss dword [esp + 0x104], xmm0
movss dword [esp + 0x108], xmm7
mov ecx, dword [eax + 0x18]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
movss xmm0, dword [0x10085654]
comiss xmm0, dword [esp + 0x14c]
ja 0x1004d189
cmp byte [esp + 0x156], 0
jne 0x1004d189
cmp byte [esp + 0x157], 0
jne 0x1004d189
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x3d
jne 0x1004cf36
lea esi, [esp + 0x80]
mov dword [esp + 0x80], 0x41000000
mov dword [esp + 0x84], 0x41000000
mov dword [esp + 0x88], 0x41000000
mov dword [esp + 8], esi
jmp 0x1004cf62
lea eax, [esp + 0x8c]
mov dword [esp + 0x8c], 0x40800000
mov dword [esp + 0x90], 0x40800000
mov dword [esp + 0x94], 0x40800000
mov dword [esp + 8], eax
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x3d
jne 0x1004cf91
mov dword [esp + 0x38], 0xc1000000
lea eax, [esp + 0x38]
mov dword [esp + 0x3c], 0xc1000000
mov dword [esp + 0x40], 0xc1000000
jmp 0x1004cfad
mov dword [esp + 0x44], 0xc0800000
lea eax, [esp + 0x44]
mov dword [esp + 0x48], 0xc0800000
mov dword [esp + 0x4c], 0xc0800000
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x98]
push eax
mov ecx, dword [ecx + 0x48]
call fcn.1000fac0
mov esi, eax
sub esp, 0xc
mov eax, dword [esp + 0x14]
mov edx, esp
sub esp, 0xc
movq xmm0, qword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x28]
movq qword [edx], xmm0
mov dword [edx + 8], ecx
mov ecx, esp
sub esp, 0x10
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ecx], xmm0
movq xmm0, qword [esi]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [esi + 8]
sub esp, 0xc
mov esi, dword [esp + 0x4c]
movq qword [ecx], xmm0
movq xmm0, qword [esp + 0xac]
mov edx, dword [esi + 0x48]
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [esp + 0x8c]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
call fcn.1004afa0
add esp, 0x34
test al, al
je 0x1004d093
movss xmm0, dword [esp + 0x20]
sub esp, 8
subss xmm0, dword [ebp + 0x14]
movss xmm1, dword [esp + 0x24]
subss xmm1, dword [ebp + 0x10]
movss xmm2, dword [esp + 0x2c]
subss xmm2, dword [ebp + 0x18]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.1000f4f0
movss xmm0, dword [0x10085750]
fstp dword [esp + 8]
comiss xmm0, dword [esp + 8]
ja 0x1004d301
mov eax, dword [0x100917dc]
mov ecx, dword [eax + 0x14]
mov eax, dword [ecx]
mov eax, dword [eax + 0x38]
mov dword [esp + 8], eax
call dword [esp + 8]
mov ecx, dword [0x10090390]
fstp dword [esi + 0x38]
test ecx, ecx
jne 0x1004d0cb
mov dword [esp + 0x6c], ecx
mov edx, ecx
mov dword [esp + 0x70], ecx
movq xmm0, qword [esp + 0x6c]
mov dword [esp + 0x74], ecx
jmp 0x1004d11e
mov eax, dword [ecx]
lea edx, [esp + 0xc4]
push 0
push edx
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
call dword [eax + 0xbc]
movq xmm0, qword [esp + 0xc4]
mov edx, dword [esp + 0xcc]
mov ecx, dword [0x10090390]
movq qword [esp + 0x6c], xmm0
mov dword [esp + 0x74], edx
mov eax, dword [esi + 0x2c]
cmp eax, dword [esi + 0x30]
je 0x1004d133
movq qword [eax], xmm0
mov dword [eax + 8], edx
add dword [esi + 0x2c], 0xc
jmp 0x1004d147
lea ecx, [esp + 0x6c]
push ecx
push eax
lea ecx, [esi + 0x28]
call fcn.1002a600
mov ecx, dword [0x10090390]
mov eax, dword [0x100917dc]
movss xmm0, dword [esp + 0x14]
movss xmm1, dword [0x100856bc]
mov eax, dword [eax + 0x2c]
addss xmm0, dword [eax + 0x1c]
comiss xmm1, xmm0
movss dword [esp + 0x14], xmm0
ja 0x1004ca70
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.10074a80
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x3d
jne 0x1004d1bc
lea esi, [esp + 0x44]
mov dword [esp + 0x44], 0x41000000
mov dword [esp + 0x48], 0x41000000
mov dword [esp + 0x4c], 0x41000000
mov dword [esp + 0x14], esi
jmp 0x1004d1dc
lea eax, [esp + 0x44]
mov dword [esp + 0x44], 0x40800000
mov dword [esp + 0x48], 0x40800000
mov dword [esp + 0x4c], 0x40800000
mov dword [esp + 0x14], eax
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x5f4]
call eax
cmp eax, 0x3d
lea eax, [esp + 0x38]
mov dword [esp + 8], eax
jne 0x1004d20f
mov dword [esp + 0x38], 0xc1000000
mov dword [esp + 0x3c], 0xc1000000
mov dword [esp + 0x40], 0xc1000000
jmp 0x1004d227
mov dword [esp + 0x38], 0xc0800000
mov dword [esp + 0x3c], 0xc0800000
mov dword [esp + 0x40], 0xc0800000
mov edi, dword [esp + 0x18]
lea eax, [esp + 0x98]
push eax
mov ecx, dword [edi + 0x48]
call fcn.1000fac0
mov esi, eax
sub esp, 0xc
mov eax, dword [esp + 0x20]
mov edx, esp
sub esp, 0xc
movq xmm0, qword [eax]
mov ecx, dword [eax + 8]
mov eax, dword [esp + 0x20]
movq qword [edx], xmm0
mov dword [edx + 8], ecx
mov ecx, esp
mov edx, dword [edi + 0x48]
sub esp, 0x10
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ecx], xmm0
movq xmm0, qword [esi]
mov dword [ecx + 8], eax
mov ecx, esp
mov eax, dword [esi + 8]
sub esp, 0xc
movq qword [ecx], xmm0
movq xmm0, qword [esp + 0xac]
mov dword [ecx + 8], eax
mov eax, esp
mov ecx, dword [esp + 0x8c]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
call fcn.1004afa0
add esp, 0x34
test al, al
je 0x1004d319
movss xmm0, dword [esp + 0x20]
sub esp, 8
subss xmm0, dword [ebp + 0x14]
movss xmm1, dword [esp + 0x24]
subss xmm1, dword [ebp + 0x10]
movss xmm2, dword [esp + 0x2c]
subss xmm2, dword [ebp + 0x18]
mulss xmm0, xmm0
mulss xmm1, xmm1
mulss xmm2, xmm2
addss xmm0, xmm1
addss xmm0, xmm2
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.1000f4f0
movss xmm0, dword [0x10085750]
fstp dword [esp + 0x34]
comiss xmm0, dword [esp + 0x34]
jbe 0x1004d319
mov al, 1
pop edi
pop esi
mov ecx, dword [esp + 0x174]
xor ecx, esp
call fcn.10074a80
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [esp + 0x17c]
xor al, al
pop edi
pop esi
xor ecx, esp
call fcn.10074a80
mov esp, ebp
pop ebp
ret 0x14