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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x58
mov eax, dword [0x101c6040]
xor eax, esp
mov dword [esp + 0x54], eax
mov dword [esp + 0x10], ecx
mov ecx, dword [0x101d3bbc]
mov dword [esp + 8], edx
push esi
push edi
mov eax, dword [ecx + 0x3e78]
mov byte [eax + 0xac], 1
mov edx, dword [ecx + 0x3e78]
cmp byte [edx + 0xaf], 0
jne 0x10038ecb
mov eax, dword [esp + 0x10]
mov edi, 0x101b3b48
cmp dword [esp + 0x18], eax
mov esi, edi
cmovne esi, dword [esp + 0x18]
cmovne edi, eax
test edi, edi
jne 0x10038986
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038974
sub ecx, edi
lea edi, [esi + ecx]
mov ecx, dword [0x101d3bbc]
movss xmm1, dword [edx + 0x1a4]
xorps xmm0, xmm0
movss xmm3, dword [edx + 0x128]
mov eax, edi
addss xmm3, dword [edx + 0xf4]
movss xmm4, dword [edx + 0xf0]
comiss xmm1, xmm0
movss dword [esp + 0x18], xmm4
movss dword [esp + 0x24], xmm3
setae byte [esp + 0x17]
sub eax, esi
cmp eax, 0x7d0
jle 0x10038c9f
cmp byte [esp + 0x17], 0
jne 0x10038ca6
cmp byte [ecx + 0x5ae8], 0
movaps xmm1, xmm3
movss xmm5, dword [ecx + 0x3be0]
movss dword [esp + 0x1c], xmm5
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x30], xmm4
movss dword [esp + 0x34], xmm1
jne 0x10038a8a
movss xmm0, dword [edx + 0x214]
subss xmm0, xmm3
divss xmm0, xmm5
cvttss2si edx, xmm0
mov dword [esp + 0x10], edx
test edx, edx
jle 0x10038a8a
xor eax, eax
mov dword [esp + 0x20], eax
cmp esi, edi
jae 0x10038a75
nop dword [eax]
cmp eax, edx
jge 0x10038a5d
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call fcn.10049350
mov edx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
cmove eax, edi
lea esi, [eax + 1]
mov eax, dword [esp + 0x20]
inc eax
mov dword [esp + 0x20], eax
cmp esi, edi
jb 0x10038a30
movss xmm4, dword [esp + 0x18]
movss xmm5, dword [esp + 0x1c]
movss xmm3, dword [esp + 0x24]
mov ecx, dword [0x101d3bbc]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm5
addss xmm1, xmm3
movss dword [esp + 0x34], xmm1
cmp esi, edi
jae 0x10038c3c
movaps xmm6, xmm4
movss dword [esp + 0x28], xmm1
addss xmm6, dword [0x101b99d0]
movaps xmm2, xmm1
movaps xmm3, xmm1
addss xmm2, xmm5
movss dword [esp + 0x2c], xmm6
movss dword [esp + 0x10], xmm2
nop dword [eax]
mov eax, dword [ecx + 0x3e78]
comiss xmm2, dword [eax + 0x214]
jbe 0x10038af2
movss xmm0, dword [eax + 0x21c]
comiss xmm0, xmm3
jbe 0x10038af2
comiss xmm6, dword [eax + 0x210]
jbe 0x10038af2
movss xmm0, dword [eax + 0x218]
comiss xmm0, xmm4
ja 0x10038aff
cmp byte [ecx + 0x5ae8], 0
je 0x10038bec
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call fcn.10049350
add esp, 0xc
test eax, eax
cmove eax, edi
mov dword [esp + 0x20], eax
cmp esi, eax
jne 0x10038b21
xorps xmm0, xmm0
jmp 0x10038b75
movss xmm3, dword [0x101b99d0]
push ecx
push eax
push esi
push ecx
mov ecx, dword [0x101d3bbc]
lea eax, [esp + 0x50]
mov dword [esp], 0xbf800000
push eax
movss xmm2, dword [ecx + 0x3be0]
mov ecx, dword [ecx + 0x3bdc]
call fcn.10036b00
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x101b9918]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x20]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
push dword [esp + 0x34]
maxss xmm0, dword [esp + 0x3c]
push dword [esp + 0x34]
mov edx, eax
push ecx
mov ecx, esi
movss dword [esp + 0x44], xmm0
call fcn.10011d50
movss xmm5, dword [esp + 0x28]
add esp, 0xc
movss xmm3, dword [esp + 0x28]
movss xmm2, dword [esp + 0x10]
addss xmm3, xmm5
movss xmm1, dword [esp + 0x34]
addss xmm2, xmm5
mov esi, dword [esp + 0x20]
addss xmm1, xmm5
inc esi
movss dword [esp + 0x28], xmm3
movss dword [esp + 0x10], xmm2
movss dword [esp + 0x34], xmm1
cmp esi, edi
jae 0x10038bec
movss xmm4, dword [esp + 0x18]
movss xmm6, dword [esp + 0x2c]
mov ecx, dword [0x101d3bbc]
jmp 0x10038ac0
xor eax, eax
mov dword [esp + 0x10], eax
cmp esi, edi
jae 0x10038c27
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call fcn.10049350
add esp, 0xc
test eax, eax
cmove eax, edi
lea esi, [eax + 1]
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x10], eax
cmp esi, edi
jb 0x10038bf6
movss xmm1, dword [esp + 0x34]
movss xmm5, dword [esp + 0x1c]
movss xmm3, dword [esp + 0x24]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm5
addss xmm1, xmm0
movss xmm2, dword [esp + 0x18]
subss xmm1, xmm3
movaps xmm0, xmm2
movss dword [esp + 0x40], xmm2
addss xmm0, dword [esp + 0x38]
lea ecx, [esp + 0x38]
movss dword [esp + 0x44], xmm3
movss dword [esp + 0x3c], xmm1
addss xmm1, xmm3
movss dword [esp + 0x48], xmm0
movss dword [esp + 0x4c], xmm1
xorps xmm1, xmm1
call fcn.1001eea0
push 0
push ecx
xor edx, edx
lea ecx, [esp + 0x48]
call fcn.1001f000
add esp, 8
pop edi
pop esi
mov ecx, dword [esp + 0x54]
xor ecx, esp
call fcn.10046e60
mov esp, ebp
pop ebp
ret
cmp byte [esp + 0x17], 0
je 0x10038cf4
comiss xmm0, xmm1
ja 0x10038cf4
mov edx, dword [ecx + 0x3e78]
ucomiss xmm1, xmm0
lahf
test ah, 0x44
jp 0x10038cd0
movss xmm1, dword [edx + 0x1f8]
subss xmm1, xmm4
maxss xmm1, dword [0x101b9920]
jmp 0x10038cf7
comiss xmm1, xmm0
jbe 0x10038ce6
movss xmm0, dword [edx + 0x14]
subss xmm0, dword [edx + 0x78]
addss xmm1, xmm0
xorps xmm0, xmm0
subss xmm1, xmm4
maxss xmm1, dword [0x101b9920]
jmp 0x10038cf7
xorps xmm1, xmm1
movss xmm2, dword [ecx + 0x3be0]
movss dword [esp + 0x1c], xmm1
cmp esi, edi
je 0x10038d55
movss xmm3, dword [0x101b99d0]
lea eax, [esp + 0x40]
push ecx
push edi
push esi
push ecx
mov ecx, dword [ecx + 0x3bdc]
movss dword [esp], xmm1
push eax
call fcn.10036b00
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x101b9918]
movss xmm2, dword [esp + 0x44]
movss xmm4, dword [esp + 0x18]
movss xmm3, dword [esp + 0x24]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm4
movss dword [esp + 0x38], xmm0
addss xmm1, xmm0
movss dword [esp + 0x3c], xmm2
movaps xmm0, xmm3
movss dword [esp + 0x40], xmm4
addss xmm0, xmm2
movss dword [esp + 0x44], xmm3
lea ecx, [esp + 0x38]
movss dword [esp + 0x48], xmm1
xorps xmm1, xmm1
movss dword [esp + 0x4c], xmm0
call fcn.1001eea0
push 0
push ecx
xor edx, edx
lea ecx, [esp + 0x48]
call fcn.1001f000
add esp, 8
test al, al
je 0x10038ecb
mov edx, dword [0x101d3bbc]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x38], eax
mov eax, dword [edx + 0x3e78]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x18], edx
test edi, edi
jne 0x10038de7
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038dd5
mov eax, dword [edx + 0x3e78]
sub ecx, edi
lea edi, [ecx + esi]
cmp esi, edi
je 0x10038ecb
mov eax, dword [eax + 0x264]
xor ecx, ecx
movss xmm1, dword [0x101b9920]
mov dword [esp + 0x10], eax
call fcn.10011bc0
mov ecx, dword [edx + 0x3bdc]
movss xmm2, dword [edx + 0x3be0]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edi
test eax, 0xff000000
je 0x10038eb3
test edi, edi
jne 0x10038e56
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x2c], eax
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10038e40
sub ecx, dword [esp + 0x2c]
lea eax, [ecx + esi]
mov dword [esp + 0x28], eax
cmp esi, eax
je 0x10038eb3
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
test edx, edx
jne 0x10038e68
mov eax, dword [ecx + 0x2c]
mov edx, dword [eax + 8]
ucomiss xmm2, dword [0x101b9888]
lahf
test ah, 0x44
jp 0x10038e7d
mov eax, dword [ecx + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [ecx + 0x60]
push 0
push ecx
movups xmmword [esp + 0x48], xmm0
lea eax, [esp + 0x48]
movss xmm0, dword [esp + 0x24]
movss dword [esp], xmm0
push dword [esp + 0x30]
push esi
push eax
push dword [esp + 0x38]
lea eax, [esp + 0x50]
push eax
push ecx
mov ecx, edx
call fcn.10036cb0
mov edx, dword [esp + 0x18]
cmp byte [edx + 0x5ae8], 0
je 0x10038ecb
push edi
mov edx, esi
lea ecx, [esp + 0x3c]
call fcn.10024310
add esp, 4
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
xor ecx, esp
call fcn.10046e60
mov esp, ebp
pop ebp
ret