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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xe8
mov eax, dword [0x10058040]
xor eax, esp
mov dword [esp + 0xe4], eax
push esi
push edi
mov edi, dword [0x100a2c50]
mov dword [esp + 0x14], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x44], edx
mov eax, dword [edi + 0x3e28]
mov dword [esp + 0x10], ecx
mov byte [eax + 0xa8], 1
mov eax, dword [edi + 0x3e28]
mov dword [esp + 0x28], eax
cmp byte [eax + 0xab], 0
je 0x100376d9
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xe4]
xor ecx, esp
call fcn.1004b450
mov esp, ebp
pop ebp
ret
test byte [edi + 0x4688], 1
movss xmm2, dword [edi + 0x37d8]
addss xmm2, xmm2
addss xmm2, dword [edi + 0x3bb4]
movss dword [esp + 0x54], xmm2
je 0x10037706
movss xmm1, dword [edi + 0x468c]
jmp 0x1003770e
movss xmm1, dword [eax + 0x1a4]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10037756
cmp dword [eax + 0x194], 0
movss xmm2, dword [eax + 0x22c]
jne 0x10037730
cmp dword [edi + 0x49d0], 0
je 0x10037738
movss xmm2, dword [eax + 0x1fc]
subss xmm2, dword [eax + 0xec]
addss xmm2, xmm1
movss xmm1, dword [0x10055348]
maxss xmm1, xmm2
movss xmm2, dword [esp + 0x54]
cvttss2si esi, xmm1
mov dword [esp + 0x2c], esi
movd xmm3, esi
cvtdq2ps xmm3, xmm3
test cl, 0x10
je 0x1003776f
xorps xmm1, xmm1
jmp 0x1003777a
movaps xmm1, xmm2
addss xmm1, dword [edi + 0x37ec]
movss dword [esp + 0x4c], xmm1
movaps xmm0, xmm3
mov dword [esp + 0x3c], edx
subss xmm0, xmm1
movss dword [esp + 0x48], xmm0
cmp edx, 0xffffffff
jae 0x100377b6
mov esi, edx
mov cl, byte [esi]
test cl, cl
je 0x100377b2
cmp cl, 0x23
jne 0x100377a8
cmp byte [esi + 1], cl
je 0x100377b2
inc esi
mov dword [esp + 0x3c], esi
cmp esi, 0xffffffff
jb 0x10037798
mov esi, dword [esp + 0x2c]
mov dword [edi + 0x4688], 0
call fcn.10010dc0
mov ecx, dword [esp + 0x44]
call fcn.1000e580
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x50], ecx
test cl, 0x20
je 0x100377eb
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x10], ecx
test cl, 8
jne 0x100377ff
mov edx, ecx
mov ecx, dword [esp + 0x14]
call fcn.1003bbc0
mov ecx, dword [esp + 0x10]
test ecx, 0x700000
jne 0x10037814
mov eax, dword [edi + 0x5944]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x10037829
mov eax, dword [edi + 0x5944]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x1003783e
mov eax, dword [edi + 0x5944]
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x10037853
mov eax, dword [edi + 0x5944]
and eax, 0x18000000
or ecx, eax
mov eax, dword [edi + 0x5944]
and eax, 0xe00fffff
or ecx, eax
mov eax, ecx
mov dword [esp + 0x10], ecx
shr eax, 0x13
mov edx, ecx
shr edx, 1
and eax, 0xffffff01
not dl
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x14]
and edx, 0xffffff01
mov dword [esp + 0x40], edx
movzx edx, dl
add edx, 3
cmp byte [esp + 0x40], 0
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
mov dword [esp + 0x18], edx
movss dword [esp + 0x88], xmm0
movss dword [esp + 0x8c], xmm1
movss dword [esp + 0x90], xmm2
je 0x100378c7
movss xmm3, dword [eax + 0xc]
jmp 0x100378cf
movss xmm3, dword [0x10055348]
movss xmm6, dword [0x100552ac]
mov eax, ecx
and eax, 0x10100000
movss dword [esp + 0x94], xmm3
cmp eax, 0x10100000
jne 0x10037911
lea eax, [esp + 0x90]
push eax
lea edx, [esp + 0x90]
lea ecx, [esp + 0x8c]
call fcn.10003b00
add esp, 4
jmp 0x100379d2
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x100379fe
comiss xmm2, xmm1
xorps xmm4, xmm4
movaps xmm3, xmm1
jbe 0x1003793c
movss xmm4, dword [0x100554cc]
movaps xmm3, xmm2
movaps xmm2, xmm1
comiss xmm3, xmm0
movaps xmm5, xmm0
jbe 0x10037959
movaps xmm5, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100554b8]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm3
mov ecx, dword [esp + 0x14]
minss xmm0, xmm2
movss dword [esp + 0x90], xmm5
movaps xmm1, xmm5
subss xmm3, xmm2
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x90]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x90]
movaps xmm0, xmm1
mulss xmm0, dword [0x100553c4]
addss xmm0, xmm6
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, xmm6
addss xmm3, xmm4
divss xmm1, xmm0
andps xmm3, xmmword [0x10055680]
movss dword [esp + 0x90], xmm3
movss dword [esp + 0x94], xmm1
call fcn.10037570
add esp, 8
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x10]
movss xmm0, dword [esp + 0x88]
movss xmm1, dword [esp + 0x8c]
movss xmm2, dword [esp + 0x90]
movss xmm3, dword [esp + 0x94]
comiss xmm0, dword [0x1005529c]
movss xmm4, dword [0x100554bc]
movss xmm6, dword [0x1005530c]
jb 0x10037a1c
movaps xmm5, xmm6
jmp 0x10037a1f
movaps xmm5, xmm4
comiss xmm1, dword [0x1005529c]
movss xmm7, dword [0x10055460]
mulss xmm0, xmm7
addss xmm0, xmm5
cvttss2si eax, xmm0
mov dword [esp + 0x98], eax
jb 0x10037a48
movaps xmm0, xmm6
jmp 0x10037a4b
movaps xmm0, xmm4
comiss xmm2, dword [0x1005529c]
mulss xmm1, xmm7
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x9c], eax
jb 0x10037a6c
movaps xmm0, xmm6
jmp 0x10037a6f
movaps xmm0, xmm4
comiss xmm3, dword [0x1005529c]
mulss xmm2, xmm7
addss xmm2, xmm0
cvttss2si eax, xmm2
mov dword [esp + 0xa0], eax
jb 0x10037a8e
movaps xmm4, xmm6
cmp dword [edi + 0x382c], 0
mulss xmm3, xmm7
mov byte [esp + 0xe], 0
mov byte [esp + 0xf], 0
addss xmm3, xmm4
cvttss2si eax, xmm3
mov dword [esp + 0xa4], eax
mov eax, dword [esp + 0x28]
movss xmm2, dword [eax + 0xec]
movss xmm3, dword [eax + 0xf0]
movss dword [esp + 0x30], xmm2
movss dword [esp + 0x38], xmm3
jne 0x10037adc
movss xmm1, dword [esp + 0x4c]
jmp 0x10037adf
xorps xmm1, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xec], xmm0
test ecx, 0x300000
je 0x10037e0a
test cl, 0x20
jne 0x10037e0a
movss xmm2, dword [edi + 0x37ec]
lea eax, [edx - 1]
movss xmm1, dword [esp + 0x48]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
movaps xmm0, xmm3
mulss xmm0, xmm2
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x10055348]
movaps xmm4, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm4, xmm0
movss xmm0, dword [esp + 0x48]
addss xmm2, xmm4
movss dword [esp + 0x34], xmm4
mulss xmm2, xmm3
movss xmm3, dword [0x100554ac]
subss xmm0, xmm2
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
mov dword [esp + 0x1c], eax
mov eax, str.M:0.000
cmove eax, ecx
mov ecx, dword [0x100a2c50]
push ecx
cvtdq2ps xmm0, xmm0
push 0
push eax
lea eax, [esp + 0x64]
push ecx
movss xmm2, dword [ecx + 0x3bb4]
mov ecx, dword [ecx + 0x3bb0]
maxss xmm1, xmm0
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x38], xmm1
call fcn.10027390
movss xmm0, dword [esp + 0x58]
addss xmm0, dword [0x10055340]
movss xmm1, dword [esp + 0x34]
mov ecx, dword [esp + 0x10]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x10037bee
xor eax, eax
jmp 0x10037bfc
mov eax, ecx
and eax, 0x200000
neg eax
sbb eax, eax
neg eax
inc eax
mov edx, dword [esp + 0x18]
test edx, edx
je 0x1003802c
shl eax, 4
cmp dword [esp + 0x1c], 0
je 0x10037d18
and ecx, 8
xor esi, esi
mov dword [esp + 0x60], ecx
lea ecx, [eax + 0x10052c50]
mov dword [esp + 0x1c], ecx
nop dword [eax]
test esi, esi
je 0x10037c52
movss xmm1, dword [edi + 0x37ec]
xorps xmm0, xmm0
call fcn.10010b90
movss xmm1, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
lea eax, [esi + 1]
mov dword [esp + 0x58], eax
cmp eax, edx
jge 0x10037c62
movaps xmm0, xmm1
jmp 0x10037c68
movss xmm0, dword [esp + 0x24]
mov eax, dword [0x100a2c50]
or dword [eax + 0x4688], 1
cmp byte [esp + 0x20], 0
movss dword [eax + 0x468c], xmm0
je 0x10037c88
xorps xmm0, xmm0
jmp 0x10037c90
movss xmm0, dword [0x10055348]
movss xmm3, dword [0x100552c4]
lea eax, [esp + 0x68]
push ecx
push dword [ecx]
mov ecx, dword [esi*4 + 0x10052c80]
mov edx, 8
push eax
lea eax, [esp + 0x78]
movss dword [esp + 0x74], xmm0
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x7c], 0
lea eax, [eax + esi*4]
push eax
call fcn.10030380
mov dl, byte [esp + 0x22]
add esp, 0x14
or dl, al
or byte [esp + 0xf], dl
cmp dword [esp + 0x60], 0
mov byte [esp + 0xe], dl
jne 0x10037cec
call fcn.10011ec0
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x58]
add ecx, 4
movss xmm1, dword [esp + 0x34]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
cmp esi, dword [esp + 0x18]
jl 0x10037c30
mov esi, dword [esp + 0x2c]
jmp 0x10038028
xor esi, esi
mov edx, 0xff
cmp byte [esp + 0x20], 0
cmovne edx, esi
and ecx, 8
mov dword [esp + 0x6c], ecx
lea ecx, [eax + 0x10052bf8]
mov dword [esp + 0x20], edx
mov dword [esp + 0x1c], ecx
nop dword [eax]
test esi, esi
jle 0x10037d62
movss xmm1, dword [edi + 0x37ec]
xorps xmm0, xmm0
call fcn.10010b90
movss xmm1, dword [esp + 0x34]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
lea eax, [esi + 1]
mov dword [esp + 0x68], eax
cmp eax, dword [esp + 0x18]
jge 0x10037d74
movaps xmm0, xmm1
jmp 0x10037d7a
movss xmm0, dword [esp + 0x24]
mov eax, dword [0x100a2c50]
movss xmm3, dword [0x10055348]
push ecx
push dword [ecx]
or dword [eax + 0x4688], 1
mov ecx, dword [esi*4 + 0x10052c80]
movss dword [eax + 0x468c], xmm0
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x64], edx
push eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x70], 0
lea eax, [eax + esi*4]
mov edx, 4
push eax
call fcn.10030380
or byte [esp + 0x22], al
add esp, 0x14
cmp dword [esp + 0x6c], 0
jne 0x10037dde
call fcn.10011ec0
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x68]
add ecx, 4
movss xmm1, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x1c], ecx
cmp esi, dword [esp + 0x18]
jl 0x10037d40
mov esi, dword [esp + 0x2c]
jmp 0x10038028
test ecx, 0x400000
je 0x1003803c
test cl, 0x20
jne 0x1003803c
cmp byte [esp + 0x40], 0
mov eax, 0xff
je 0x10037eb6
mov edx, dword [esp + 0xa4]
test edx, edx
jns 0x10037e44
mov dword [esp + 0x24], 0
jmp 0x10037e4d
cmp edx, eax
cmovg edx, eax
mov dword [esp + 0x24], edx
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jns 0x10037e62
mov dword [esp + 0x20], 0
jmp 0x10037e6b
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x9c]
test edx, edx
jns 0x10037e7a
xor edx, edx
jmp 0x10037e7f
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x98]
test ecx, ecx
jns 0x10037e8e
xor ecx, ecx
jmp 0x10037e93
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x24]
lea eax, [esp + 0xac]
push dword [esp + 0x24]
push edx
push ecx
push 0x100529fc
push 0x40
push eax
call fcn.100033f0
add esp, 0x1c
jmp 0x10037f19
mov ecx, dword [esp + 0xa0]
test ecx, ecx
jns 0x10037ecb
mov dword [esp + 0x24], 0
jmp 0x10037ed4
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x9c]
test edx, edx
jns 0x10037ee3
xor edx, edx
jmp 0x10037ee8
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x98]
test ecx, ecx
jns 0x10037ef7
xor ecx, ecx
jmp 0x10037efc
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x24]
lea eax, [esp + 0xac]
push edx
push ecx
push 0x10052a10
push 0x40
push eax
call fcn.100033f0
add esp, 0x18
mov eax, dword [0x100a2c50]
xor edx, edx
movss xmm5, dword [esp + 0x48]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x4688], 1
movss dword [eax + 0x468c], xmm5
lea eax, [esp + 0x60]
push 6
push eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x68], 0
push 0x40
push eax
mov dword [esp + 0x74], 0
call fcn.10033990
add esp, 0x18
test al, al
je 0x1003801a
mov byte [esp + 0xe], 1
lea ecx, [esp + 0xa8]
nop dword [eax + eax]
mov al, byte [ecx]
cmp al, 0x23
je 0x10037f8e
cmp al, 0x20
je 0x10037f8e
cmp al, 9
jne 0x10037f91
inc ecx
jmp 0x10037f80
cmp byte [esp + 0x40], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0x98], 0
mov dword [esp + 0xa4], 0xff
je 0x10037ff4
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa4]
push eax
lea eax, [esp + 0xa4]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.100012d0
add esp, 0x18
jmp 0x1003801a
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xa0]
push eax
push str._02X_02X_02X
push ecx
call fcn.100012d0
add esp, 0x14
mov ecx, dword [esp + 0x10]
test cl, 8
jne 0x1003802c
call fcn.10011ec0
mov ecx, dword [esp + 0x10]
movss xmm2, dword [esp + 0x30]
movss xmm3, dword [esp + 0x38]
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], 0
test cl, 0x10
jne 0x100382a1
test cl, 0x20
jne 0x1003806b
cmp dword [edi + 0x382c], 0
je 0x1003806b
movss xmm1, dword [esp + 0x48]
addss xmm1, dword [edi + 0x37ec]
jmp 0x1003806e
xorps xmm1, xmm1
cmp byte [esp + 0x40], 0
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xf0], xmm3
movss dword [eax + 0xec], xmm0
mov eax, dword [esp + 0x14]
je 0x10038097
movss xmm1, dword [eax + 0xc]
jmp 0x1003809f
movss xmm1, dword [0x10055348]
movss xmm0, dword [eax]
lea edx, [esp + 0x70]
movss dword [esp + 0x70], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x74], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x60]
push eax
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x80], xmm0
movss dword [esp + 0x84], xmm1
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
call fcn.1003b130
add esp, 8
test al, al
mov eax, dword [esp + 0x10]
je 0x10038172
test al, 4
jne 0x10038172
movups xmm0, xmmword [esp + 0x70]
mov ecx, str.picker
movups xmmword [edi + 0x5954], xmm0
call fcn.10011800
movss xmm1, dword [edi + 0x46a8]
movss xmm0, dword [edi + 0x46b4]
addss xmm0, dword [edi + 0x37e8]
mov eax, dword [0x100a2c50]
addss xmm1, dword [0x1005529c]
or dword [eax + 0x46d8], 1
movss dword [eax + 0x46ec], xmm0
movss dword [eax + 0x46e8], xmm1
mov dword [eax + 0x46f0], 0
mov dword [eax + 0x46f4], 0
mov dword [eax + 0x46dc], 1
mov eax, dword [esp + 0x10]
test al, 8
jne 0x1003817b
call fcn.10011ec0
mov ecx, str.picker
call fcn.10011e50
test al, al
je 0x1003829d
mov eax, dword [edi + 0x3e28]
cmp word [eax + 0xb2], 1
jne 0x1003824d
mov ecx, dword [esp + 0x44]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x3c]
cmp ecx, eax
je 0x10038200
push 0
mov edx, eax
call fcn.1002ba80
mov ecx, dword [0x100a2c50]
add esp, 4
mov eax, dword [ecx + 0x3e28]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x3e28]
cmp byte [eax + 0xab], 0
jne 0x10038200
movss xmm1, dword [0x100554cc]
lea ecx, [esp + 0x60]
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
call fcn.10010810
mov eax, dword [0x100a2c50]
mov ecx, 0x1005263c
movss xmm0, dword [esp + 0x54]
mulss xmm0, dword [0x100553dc]
mov edx, dword [esp + 0x14]
or dword [eax + 0x4688], 1
movss dword [eax + 0x468c], xmm0
lea eax, [edi + 0x5954]
push eax
mov eax, dword [esp + 0x54]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.100388f0
add esp, 8
or byte [esp + 0xe], al
mov eax, dword [0x100a2c50]
mov dword [esp + 0x50], eax
mov ecx, dword [eax + 0x3e28]
cmp dword [eax + 0x47a8], ecx
jne 0x1003827d
cmp byte [eax + 0x4801], 0
je 0x1003827d
cmp dword [eax + 0x47e0], 0
jne 0x1003827d
or dword [eax + 0x4804], 2
test dword [ecx + 8], 0x1000000
je 0x1003828d
mov byte [eax + 0x3dd6], 1
call fcn.1000dbe0
mov eax, dword [esp + 0x50]
mov byte [eax + 0x3dd6], 0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x44]
cmp eax, dword [esp + 0x3c]
je 0x10038305
test cl, cl
js 0x10038305
movss xmm1, dword [edi + 0x37ec]
xorps xmm0, xmm0
call fcn.10010b90
test byte [esp + 0x10], 0x20
je 0x100382ce
movss xmm0, dword [esp + 0x4c]
jmp 0x100382dd
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x37ec]
movss xmm1, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
addss xmm1, xmm0
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x44]
push 0
movss dword [eax + 0xec], xmm1
call fcn.1002ba80
add esp, 4
cmp byte [esp + 0xe], 0
je 0x10038527
cmp dword [esp + 0x2c], 0
jne 0x10038527
cmp byte [esp + 0xf], 0
jne 0x1003833c
movups xmm0, xmmword [esp + 0x98]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x10055670]
movups xmmword [esp + 0x88], xmm0
mov eax, dword [esp + 0x10]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x10038435
movss xmm0, dword [esp + 0x88]
lea eax, [esp + 0x90]
movss xmm1, dword [esp + 0x8c]
lea edx, [esp + 0x8c]
movss xmm2, dword [esp + 0x90]
lea ecx, [esp + 0x88]
push eax
movss dword [edi + 0x5948], xmm0
movss dword [edi + 0x594c], xmm1
call fcn.10003b00
movss xmm1, dword [esp + 0x8c]
xorps xmm0, xmm0
movss xmm4, dword [0x10055348]
add esp, 4
comiss xmm0, xmm1
jbe 0x100383b7
xorps xmm2, xmm2
jmp 0x100383be
movaps xmm2, xmm4
minss xmm2, xmm1
movss xmm6, dword [0x10055460]
movss xmm5, dword [0x1005530c]
mulss xmm2, xmm6
addss xmm2, xmm5
cvttss2si ecx, xmm2
movss xmm2, dword [esp + 0x8c]
comiss xmm0, xmm2
jbe 0x100383ed
xorps xmm3, xmm3
jmp 0x100383f4
movaps xmm3, xmm4
minss xmm3, xmm2
mulss xmm3, xmm6
addss xmm3, xmm5
cvttss2si eax, xmm3
movss xmm3, dword [esp + 0x90]
shl eax, 8
or ecx, eax
comiss xmm0, xmm3
jbe 0x10038418
xorps xmm4, xmm4
jmp 0x1003841c
minss xmm4, xmm3
mulss xmm4, xmm6
addss xmm4, xmm5
cvttss2si eax, xmm4
shl eax, 0x10
or eax, ecx
mov dword [edi + 0x5950], eax
jmp 0x10038450
movss xmm3, dword [esp + 0x90]
movss xmm2, dword [esp + 0x8c]
movss xmm1, dword [esp + 0x88]
mov eax, dword [esp + 0x10]
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x100384fe
comiss xmm3, xmm2
movaps xmm4, xmm1
xorps xmm5, xmm5
movaps xmm6, xmm4
movaps xmm1, xmm2
jbe 0x10038483
movss xmm5, dword [0x100554cc]
movaps xmm1, xmm3
movaps xmm3, xmm2
comiss xmm1, xmm6
jbe 0x1003849d
movss xmm0, dword [0x100554b8]
movaps xmm4, xmm1
subss xmm0, xmm5
movaps xmm1, xmm6
movaps xmm5, xmm0
movaps xmm0, xmm1
movaps xmm2, xmm4
minss xmm0, xmm3
subss xmm1, xmm3
movaps xmm3, xmm4
movss dword [esp + 0x90], xmm3
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100553c4]
addss xmm0, dword [0x100552ac]
divss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x100552ac]
addss xmm1, xmm5
divss xmm2, xmm0
andps xmm1, xmmword [0x10055680]
movss dword [esp + 0x88], xmm1
movss dword [esp + 0x8c], xmm2
cmp byte [esp + 0x40], 0
mov esi, dword [esp + 0x14]
movss dword [esi], xmm1
movss dword [esi + 4], xmm2
movss dword [esi + 8], xmm3
je 0x1003852b
movss xmm0, dword [esp + 0x94]
movss dword [esi + 0xc], xmm0
jmp 0x1003852b
mov esi, dword [esp + 0x14]
mov eax, dword [0x100a2c50]
mov eax, dword [eax + 0x3e28]
dec dword [eax + 0xe0]
call fcn.10010ef0
test byte [edi + 0x46a4], 1
je 0x1003867e
test dword [esp + 0x10], 0x200
jne 0x1003867e
call fcn.10016a80
test al, al
je 0x1003867e
mov ecx, str._COL3F
mov byte [esp + 0xf], 0
call fcn.10016b40
test eax, eax
je 0x10038596
mov eax, dword [eax]
mov byte [esp + 0xf], 1
mov byte [esp + 0xe], 1
movq xmm0, qword [eax]
movq qword [esi], xmm0
mov eax, dword [eax + 8]
mov dword [esi + 8], eax
mov ecx, str._COL4F
call fcn.10016b40
mov ecx, eax
test ecx, ecx
je 0x100385c0
mov eax, dword [esp + 0x18]
shl eax, 2
push eax
push dword [ecx]
push esi
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xe], 1
jmp 0x100385cb
cmp byte [esp + 0xf], 0
je 0x10038670
test dword [esp + 0x10], sym.xinput1_3.dll_Ordinal_9
je 0x10038670
movss xmm2, dword [esi + 4]
movss xmm5, dword [esi + 8]
comiss xmm5, xmm2
movss xmm4, dword [esi]
jbe 0x100385ff
movss xmm3, dword [0x100554cc]
movaps xmm0, xmm2
movaps xmm2, xmm5
movaps xmm5, xmm0
jmp 0x10038602
xorps xmm3, xmm3
comiss xmm2, xmm4
jbe 0x1003861f
movaps xmm0, xmm4
movaps xmm4, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x100554b8]
subss xmm0, xmm3
movaps xmm3, xmm0
movaps xmm0, xmm2
movss dword [esi + 8], xmm4
minss xmm0, xmm5
movaps xmm1, xmm4
subss xmm2, xmm5
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100553c4]
addss xmm0, dword [0x100552ac]
divss xmm2, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x100552ac]
addss xmm2, xmm3
divss xmm1, xmm0
andps xmm2, xmmword [0x10055680]
movss dword [esi], xmm2
movss dword [esi + 4], xmm1
mov eax, dword [0x100a2c50]
mov byte [eax + 0x4932], 0
jmp 0x10038683
mov eax, dword [0x100a2c50]
mov edx, dword [esp + 0x2c]
test edx, edx
je 0x100386a3
mov ecx, dword [edi + 0x3e74]
test ecx, ecx
je 0x100386a3
cmp dword [edi + 0x3e90], edx
jne 0x100386a3
mov dword [edi + 0x469c], ecx
mov cl, byte [esp + 0xe]
test cl, cl
je 0x100386c4
cmp dword [edi + 0x469c], 0
je 0x100386c4
or dword [eax + 0x46a4], 4
mov word [eax + 0x3e84], 0x101
mov al, cl
mov ecx, dword [esp + 0xec]
pop edi
pop esi
xor ecx, esp
call fcn.1004b450
mov esp, ebp
pop ebp
ret