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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xec
mov eax, dword [0x102187c8]
push ebx
push esi
mov dword [esp + 0x34], ecx
mov esi, edx
mov ecx, dword [eax]
mov dword [esp + 0x2c], esi
push edi
test ecx, ecx
je 0x100389f9
mov ebx, dword [ebp + 8]
lea edx, [esp + 0x24]
mov eax, dword [ecx]
push edx
movd xmm0, dword [ebx + 0xf0]
mov eax, dword [eax + 0x2a4]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x10], xmm0
call eax
movss xmm0, dword [esi + 4]
subss xmm0, dword [esp + 0x28]
movss xmm2, dword [esi]
subss xmm2, dword [esp + 0x24]
movss xmm3, dword [esi + 8]
subss xmm3, dword [esp + 0x2c]
movaps xmm1, xmm0
movss dword [esp + 0x1c], xmm0
mulss xmm1, xmm0
movaps xmm0, xmm2
movss dword [esp + 0x10], xmm2
mulss xmm0, xmm2
movss dword [esp + 0x14], xmm3
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
addss xmm1, xmm0
cvtps2pd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm1, xmm0
ja 0x1003866c
sqrtsd xmm0, xmm0
jmp 0x10038671
call fcn.10187f60
xorps xmm1, xmm1
mov edi, 4
cvtsd2ss xmm1, xmm0
xorps xmm0, xmm0
movss dword [esp + 0x18], xmm0
movss xmm0, dword [esp + 0x10]
divss xmm0, xmm1
movss dword [esp + 0x34], xmm1
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x1c]
divss xmm0, xmm1
movss dword [esp + 0x40], xmm0
movss xmm0, dword [esp + 0x14]
divss xmm0, xmm1
movss xmm1, dword [0x101ecba0]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0xc]
comiss xmm0, xmm1
movss dword [esp + 0x10], xmm1
jb 0x100389f9
nop dword [eax]
test edi, edi
je 0x100389f9
mov eax, dword [0x1021663c]
lea ecx, [esp + 0xa0]
push dword [esp + 0x30]
xorps xmm0, xmm0
mov dword [esp + 0x6c], 0
movq qword [esp + 0x64], xmm0
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov esi, dword [eax + 0x14]
mov eax, dword [0x102187c8]
mov eax, dword [eax]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x24], 0x101986d4
call fcn.10036cb0
mov eax, dword [esi]
lea ecx, [esp + 0x48]
push ecx
lea ecx, [esp + 0x20]
push ecx
mov eax, dword [eax + 0x14]
lea ecx, [esp + 0xa8]
push 0x4600400b
push ecx
mov ecx, esi
call eax
mov esi, dword [esp + 0x94]
test esi, esi
je 0x1003879b
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x278]
call eax
test al, al
je 0x10038794
mov eax, dword [0x102187c8]
push dword [esp + 0x94]
mov ecx, dword [eax]
mov eax, dword [0x10216630]
mov eax, dword [eax + 0x34]
call eax
test al, al
je 0x100389f9
mov esi, dword [esp + 0x94]
movss xmm1, dword [esp + 0x74]
ucomiss xmm1, dword [0x101ecba0]
lahf
test ah, 0x44
jnp 0x100389f9
movss xmm0, dword [esp + 0x34]
subss xmm0, dword [esp + 0x18]
mulss xmm1, xmm0
movss xmm0, dword [ebx + 0x110]
cvtps2pd xmm0, xmm0
addss xmm1, dword [esp + 0x18]
movss dword [esp + 0x18], xmm1
divss xmm1, dword [0x101ece4c]
cvtps2pd xmm1, xmm1
call fcn.10187240
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [esp + 0xc]
movss dword [esp + 0xc], xmm0
cmp esi, dword [esp + 0x38]
jne 0x10038813
mov eax, dword [esp + 0x8c]
test eax, eax
jle 0x10038813
cmp eax, 7
jle 0x10038a05
mov eax, dword [0x1021663c]
movsx edx, word [esp + 0x88]
push edx
mov ecx, dword [eax + 0x50]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movss xmm0, dword [0x101ecac4]
mov esi, eax
comiss xmm0, dword [esi + 0x58]
ja 0x100389f9
movss xmm0, dword [ebx + 0x100]
lea eax, [esp + 0xa0]
movss xmm1, dword [0x101eccd0]
lea edx, [esp + 0x54]
push eax
movss dword [esp + 0x18], xmm0
lea eax, [esp + 0x40]
xorps xmm0, xmm0
mov dword [esp + 0xc4], 0
push ecx
movq qword [esp + 0xc0], xmm0
lea ecx, [esp + 0x50]
movss xmm0, dword [0x101ecdc8]
push eax
mov dword [esp + 0xd0], 0
mov dword [esp + 0xd4], 0
call fcn.10038300
test al, al
jne 0x100388b6
movss xmm1, dword [0x101ececc]
jmp 0x100389e5
mov eax, dword [0x1021663c]
movsx edx, word [esp + 0xe0]
push edx
mov ecx, dword [eax + 0x50]
mov eax, dword [ecx]
mov eax, dword [eax + 0x14]
call eax
movzx ecx, word [esi + 0x60]
movss xmm6, dword [0x101ecad8]
movss xmm5, dword [eax + 0x58]
addss xmm5, dword [esi + 0x58]
mulss xmm5, dword [0x101ecb34]
cmp cx, 0x47
je 0x1003893e
cmp cx, 0x59
je 0x1003893e
test byte [esp + 0x78], 8
jne 0x10038909
test byte [esp + 0x8a], 0x80
je 0x10038911
movss xmm5, dword [0x101ecba0]
movss xmm0, dword [0x101ecca0]
movzx eax, word [eax + 0x60]
cmp cx, ax
jne 0x10038956
cmp ax, 0x55
je 0x10038953
cmp ax, 0x57
je 0x10038953
cmp ax, 0x4c
jne 0x10038956
movss xmm5, dword [0x101ecc48]
jmp 0x10038956
movss xmm0, dword [0x101ecca0]
movss xmm6, dword [0x101ecab0]
movaps xmm5, xmm0
jmp 0x10038919
movaps xmm5, xmm0
movss xmm0, dword [esp + 0xb0]
movss xmm1, dword [esp + 0xac]
movaps xmm4, xmm0
subss xmm4, dword [esp + 0x58]
movss xmm2, dword [esp + 0xb4]
movaps xmm3, xmm1
subss xmm3, dword [esp + 0x54]
subss xmm2, dword [esp + 0x5c]
unpcklps xmm1, xmm0
movss xmm0, dword [0x101ecd1c]
divss xmm0, dword [esp + 0x14]
mov eax, dword [esp + 0xb4]
mov dword [esp + 0x2c], eax
mulss xmm4, xmm4
mulss xmm3, xmm3
mulss xmm2, xmm2
addss xmm4, xmm3
movq qword [esp + 0x24], xmm1
movss xmm1, dword [esp + 0xc]
divss xmm0, xmm5
addss xmm4, xmm2
mulss xmm6, xmm1
addss xmm0, xmm6
divss xmm4, dword [0x101ecd54]
divss xmm4, xmm5
addss xmm4, xmm0
subss xmm1, xmm4
dec edi
movss dword [esp + 0xc], xmm1
comiss xmm1, dword [0x101ecba0]
jae 0x100386e0
xorps xmm0, xmm0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x160]
call eax
mov ecx, 0x524b2862
mov esi, eax
call fcn.100c3de0
mov ecx, dword [esp + 0x94]
mov edx, ebx
push esi
mov cl, byte [eax + ecx]
push ecx
mov ecx, dword [esp + 0x94]
call fcn.101543d0
movaps xmm2, xmm0
mov ecx, 0x524b2862
mulss xmm2, dword [esp + 0xc]
call fcn.100c3de0
mov esi, dword [esp + 0x94]
mov ecx, 0x7ca9f5ea
mov bl, byte [eax + esi]
call fcn.100c3de0
cmp dword [eax + esi], 0
jle 0x10038b1e
mov eax, dword [esp + 0x8c]
dec eax
cmp eax, 4
ja case.default.0x10038a75
jmp dword [eax*4 + 0x10038b3c]
mov ecx, 0xb8431dd9
call fcn.100c3de0
cmp byte [eax + esi], 0
jne case.0x10038a75.2
test bl, bl
jne case.0x10038a75.2
jmp 0x10038b1e
test bl, bl
je 0x10038b1e
mov ecx, 0x7ca9f5ea
call fcn.100c3de0
movss xmm4, dword [0x101ecb34]
mov ecx, 0x524b2862
mov edi, dword [eax + esi]
mov eax, dword [ebp + 8]
movss xmm1, dword [eax + 0xf8]
mulss xmm1, xmm4
call fcn.100c3de0
cmp byte [eax + esi], 0
je 0x10038aef
movss xmm0, dword [0x101ecaf4]
mulss xmm1, dword [0x101ecae0]
movss xmm4, dword [0x101ecb00]
movss dword [esp + 0x10], xmm0
mulss xmm1, xmm2
movaps xmm0, xmm2
movd xmm3, edi
cvtdq2ps xmm3, xmm3
subss xmm0, xmm1
mulss xmm0, dword [esp + 0x10]
mulss xmm0, xmm4
comiss xmm0, xmm3
jbe 0x10038b1b
divss xmm3, xmm4
movaps xmm1, xmm2
subss xmm1, xmm3
movaps xmm2, xmm1
movd xmm1, dword [ebp + 0xc]
cvtdq2ps xmm1, xmm1
comiss xmm2, xmm1
jb 0x100389f9
pop edi
pop esi
movaps xmm0, xmm2
pop ebx
mov esp, ebp
pop ebp
ret 8