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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x44
push ebx
mov ebx, dword [0x100a9f28]
mov dword [esp + 0x20], edx
push esi
push edi
mov eax, dword [ebx + 0x3e60]
mov byte [eax + 0xac], 1
mov edx, dword [ebx + 0x3e60]
cmp byte [edx + 0xaf], 0
jne 0x10039836
cmp ecx, dword [esp + 0x28]
mov edi, 0x1009c4d7
mov esi, edi
cmovne edi, dword [esp + 0x28]
cmovne esi, ecx
test edi, edi
jne 0x1003932e
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10039322
sub ecx, edi
lea edi, [esi + ecx]
movss xmm1, dword [edx + 0x1a4]
xorps xmm0, xmm0
movss xmm3, dword [edx + 0x128]
mov eax, edi
addss xmm3, dword [edx + 0xf4]
movss xmm5, dword [edx + 0xf0]
comiss xmm1, xmm0
movss dword [esp + 0x14], xmm5
movss dword [esp + 0x1c], xmm3
setae cl
sub eax, esi
cmp eax, 0x7d0
jle 0x1003962a
test cl, cl
jne 0x1003962e
movaps xmm1, xmm3
movss xmm4, dword [ebx + 0x3bcc]
movss dword [esp + 0x18], xmm4
movss dword [esp + 0x38], xmm0
movss dword [esp + 0x30], xmm5
movss dword [esp + 0x34], xmm1
cmp byte [ebx + 0x5ae0], cl
jne 0x10039429
movss xmm0, dword [edx + 0x214]
subss xmm0, xmm3
divss xmm0, xmm4
cvttss2si eax, xmm0
mov dword [esp + 0x28], eax
test eax, eax
jle 0x10039429
xor eax, eax
mov dword [esp + 0x20], eax
cmp esi, edi
jae 0x10039414
mov ebx, dword [esp + 0x28]
cmp eax, ebx
jge 0x100393fc
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call fcn.10065a80
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 0x100393d3
movss xmm4, dword [esp + 0x18]
movss xmm5, dword [esp + 0x14]
movss xmm3, dword [esp + 0x1c]
mov ebx, dword [0x100a9f28]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm4
addss xmm1, xmm3
movss dword [esp + 0x34], xmm1
cmp esi, edi
jae 0x100395d0
movaps xmm6, xmm5
movss dword [esp + 0x24], xmm1
addss xmm6, dword [0x1009e5c0]
movaps xmm2, xmm1
movaps xmm3, xmm1
addss xmm2, xmm4
movss dword [esp + 0x2c], xmm6
movss dword [esp + 0x28], xmm2
nop dword [eax + eax]
mov eax, dword [ebx + 0x3e60]
comiss xmm2, dword [eax + 0x214]
jbe 0x10039492
movss xmm0, dword [eax + 0x21c]
comiss xmm0, xmm3
jbe 0x10039492
comiss xmm6, dword [eax + 0x210]
jbe 0x10039492
movss xmm0, dword [eax + 0x218]
comiss xmm0, xmm5
ja 0x1003949f
cmp byte [ebx + 0x5ae0], 0
je 0x1003958c
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call fcn.10065a80
add esp, 0xc
test eax, eax
cmove eax, edi
mov dword [esp + 0x20], eax
cmp esi, eax
jne 0x100394c1
xorps xmm0, xmm0
jmp 0x1003950f
movss xmm3, dword [0x1009e5c0]
movss xmm2, dword [ebx + 0x3bcc]
push ecx
push eax
push esi
push ecx
mov ecx, dword [ebx + 0x3bc8]
lea eax, [esp + 0x50]
mov dword [esp], 0xbf800000
push eax
call fcn.10036900
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x1009e484]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x20]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0x40], xmm0
movss xmm1, dword [esp + 0x38]
comiss xmm1, xmm0
jae 0x10039520
movss dword [esp + 0x38], xmm0
push dword [esp + 0x34]
mov edx, eax
mov ecx, esi
push dword [esp + 0x34]
push 0
call fcn.10013e60
movss xmm4, dword [esp + 0x24]
add esp, 0xc
movss xmm3, dword [esp + 0x24]
movss xmm2, dword [esp + 0x28]
addss xmm3, xmm4
movss xmm1, dword [esp + 0x34]
addss xmm2, xmm4
mov esi, dword [esp + 0x20]
addss xmm1, xmm4
inc esi
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x28], xmm2
movss dword [esp + 0x34], xmm1
cmp esi, edi
jae 0x1003958c
mov ebx, dword [0x100a9f28]
movss xmm5, dword [esp + 0x14]
movss xmm6, dword [esp + 0x2c]
jmp 0x10039460
xor ebx, ebx
cmp esi, edi
jae 0x100395bb
mov eax, edi
sub eax, esi
push eax
push 0xa
push esi
call fcn.10065a80
add esp, 0xc
test eax, eax
cmove eax, edi
inc ebx
lea esi, [eax + 1]
cmp esi, edi
jb 0x10039592
movss xmm1, dword [esp + 0x34]
movss xmm4, dword [esp + 0x18]
movss xmm3, dword [esp + 0x1c]
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm4
addss xmm1, xmm0
movss xmm2, dword [esp + 0x14]
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.10020bd0
push 0
push 0
xor edx, edx
lea ecx, [esp + 0x48]
call fcn.10020d30
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test cl, cl
je 0x10039678
comiss xmm0, xmm1
ja 0x10039678
ucomiss xmm1, xmm0
mov ecx, edx
lahf
test ah, 0x44
jp 0x10039654
movss xmm1, dword [ecx + 0x1f8]
subss xmm1, xmm5
maxss xmm1, dword [0x1009e48c]
jmp 0x1003967b
comiss xmm1, xmm0
jbe 0x1003966a
movss xmm0, dword [ecx + 0x14]
subss xmm0, dword [ecx + 0x78]
addss xmm1, xmm0
xorps xmm0, xmm0
subss xmm1, xmm5
maxss xmm1, dword [0x1009e48c]
jmp 0x1003967b
xorps xmm1, xmm1
movss xmm2, dword [ebx + 0x3bcc]
movss dword [esp + 0x18], xmm1
cmp esi, edi
je 0x100396d9
movss xmm3, dword [0x1009e5c0]
lea eax, [esp + 0x40]
push ecx
push edi
push esi
push ecx
mov ecx, dword [ebx + 0x3bc8]
movss dword [esp], xmm1
push eax
call fcn.10036900
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x1009e484]
movss xmm2, dword [esp + 0x44]
movss xmm5, dword [esp + 0x14]
movss xmm3, dword [esp + 0x1c]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movaps xmm1, xmm5
movss dword [esp + 0x38], xmm0
addss xmm1, xmm0
movss dword [esp + 0x3c], xmm2
movaps xmm0, xmm3
movss dword [esp + 0x40], xmm5
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.10020bd0
push 0
push 0
xor edx, edx
lea ecx, [esp + 0x48]
call fcn.10020d30
add esp, 8
test al, al
je 0x10039836
mov ebx, dword [0x100a9f28]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x38], eax
mov eax, dword [ebx + 0x3e60]
mov dword [esp + 0x3c], ecx
test edi, edi
jne 0x10039768
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10039756
mov eax, dword [ebx + 0x3e60]
sub ecx, edx
lea edi, [ecx + esi]
cmp esi, edi
je 0x10039836
movss xmm1, dword [0x1009e48c]
xor ecx, ecx
mov edx, dword [eax + 0x264]
call fcn.10013b70
movss xmm2, dword [ebx + 0x3bcc]
mov ecx, dword [ebx + 0x3bc8]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edi
test eax, 0xff000000
je 0x1003981e
test edi, edi
jne 0x100397cf
mov ecx, esi
lea eax, [ecx + 1]
mov dword [esp + 0x2c], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100397b3
sub ecx, dword [esp + 0x2c]
lea eax, [ecx + esi]
mov dword [esp + 0x28], eax
cmp esi, eax
je 0x1003981e
mov ecx, dword [ebx + 0x3bc8]
test ecx, ecx
jne 0x100397d9
mov eax, dword [edx + 0x2c]
mov ecx, dword [eax + 8]
ucomiss xmm2, dword [0x1009e3fc]
lahf
test ah, 0x44
jp 0x100397ee
mov eax, dword [edx + 0x2c]
movss xmm2, dword [eax + 0xc]
movups xmm0, xmmword [edx + 0x60]
push 0
push ecx
movups xmmword [esp + 0x48], xmm0
lea eax, [esp + 0x48]
movss xmm0, dword [esp + 0x20]
movss dword [esp], xmm0
push dword [esp + 0x30]
push esi
push eax
push dword [esp + 0x38]
lea eax, [esp + 0x50]
push eax
push edx
call fcn.10036ab0
cmp byte [ebx + 0x5ae0], 0
je 0x10039836
push edi
mov edx, esi
lea ecx, [esp + 0x3c]
call fcn.10026790
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret