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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x100fa00c]
xor eax, esp
mov dword [esp + 0xf4], eax
push esi
push edi
mov edi, dword [0x10103fe8]
mov dword [esp + 0x20], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x40], edx
mov eax, dword [edi + 0x3e38]
mov dword [esp + 0x18], ecx
mov byte [eax + 0xa8], 1
mov eax, dword [edi + 0x3e38]
mov dword [esp + 0x28], eax
cmp byte [eax + 0xab], 0
je 0x1005c299
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.10068c51
mov esp, ebp
pop ebp
ret
test byte [edi + 0x4698], 1
movss xmm2, dword [edi + 0x37d8]
addss xmm2, xmm2
addss xmm2, dword [edi + 0x3bc8]
movss dword [esp + 0x74], xmm2
je 0x1005c2c6
movss xmm0, dword [edi + 0x469c]
jmp 0x1005c2ce
movss xmm0, dword [eax + 0x19c]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1005c310
cmp dword [eax + 0x18c], 0
movss xmm1, dword [eax + 0x224]
jne 0x1005c2f0
cmp dword [edi + 0x49dc], 0
je 0x1005c2f8
movss xmm1, dword [eax + 0x1f4]
subss xmm1, dword [eax + 0xec]
addss xmm1, xmm0
movss xmm0, dword [0x100f1ec4]
maxss xmm0, xmm1
cvttss2si esi, xmm0
mov dword [esp + 0x60], esi
movd xmm3, esi
cvtdq2ps xmm3, xmm3
test cl, 0x10
je 0x1005c329
xorps xmm0, xmm0
jmp 0x1005c334
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x37ec]
movss dword [esp + 0x54], xmm0
movaps xmm1, xmm3
mov dword [esp + 0x3c], edx
subss xmm1, xmm0
mov ecx, edx
movss dword [esp + 0x50], xmm1
cmp edx, 0xffffffff
jae 0x1005c36b
mov al, byte [ecx]
test al, al
je 0x1005c367
cmp al, 0x23
jne 0x1005c361
cmp byte [ecx + 1], al
je 0x1005c367
inc ecx
cmp ecx, 0xffffffff
jb 0x1005c352
mov dword [esp + 0x3c], ecx
mov dword [edi + 0x4698], 0
call fcn.10035f10
mov ecx, dword [esp + 0x40]
call fcn.10033880
mov eax, dword [edi + 0x595c]
mov dword [esp + 0x7c], eax
test eax, eax
jne 0x1005c3ab
mov eax, dword [esp + 0x28]
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edi + 0x595c], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x58], ecx
test cl, 0x20
je 0x1005c3c8
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x18], ecx
test cl, 8
jne 0x1005c3dc
mov edx, ecx
mov ecx, dword [esp + 0x20]
call fcn.100606d0
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0x5958]
test ecx, 0x700000
jne 0x1005c3f3
mov eax, edx
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x1005c404
mov eax, edx
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x1005c415
mov eax, edx
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x1005c426
mov eax, edx
and eax, 0x18000000
or ecx, eax
and edx, 0xe00fffff
or ecx, edx
mov edx, ecx
mov dword [esp + 0x18], ecx
shr edx, 1
mov eax, ecx
shr eax, 0x13
not dl
and eax, 0xffffff01
and edx, 0xffffff01
mov dword [esp + 0x5c], eax
movzx eax, dl
add eax, 3
mov dword [esp + 0x44], edx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x20]
movss xmm0, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x9c], xmm1
movss dword [esp + 0xa0], xmm2
test dl, dl
je 0x1005c492
movss xmm3, dword [eax + 0xc]
jmp 0x1005c49a
movss xmm3, dword [0x100f1ec4]
movss xmm6, dword [0x100f1e2c]
mov eax, ecx
and eax, 0x10100000
movss dword [esp + 0xa4], xmm3
mov dword [esp + 0x78], eax
cmp eax, 0x10100000
jne 0x1005c4e0
lea eax, [esp + 0xa0]
push eax
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x9c]
call fcn.10028970
add esp, 4
jmp 0x1005c5a1
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1005c5c9
comiss xmm2, xmm1
xorps xmm4, xmm4
movaps xmm3, xmm1
jbe 0x1005c50b
movss xmm4, dword [0x100f2090]
movaps xmm3, xmm2
movaps xmm2, xmm1
comiss xmm3, xmm0
movaps xmm5, xmm0
jbe 0x1005c528
movaps xmm5, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100f207c]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm3
mov ecx, dword [esp + 0x20]
minss xmm0, xmm2
movss dword [esp + 0xa0], xmm5
movaps xmm1, xmm5
subss xmm3, xmm2
lea eax, [esp + 0xa0]
push eax
lea eax, [esp + 0xa0]
subss xmm1, xmm0
push eax
lea edx, [esp + 0xa0]
movaps xmm0, xmm1
mulss xmm0, dword [0x100f1fb0]
addss xmm0, xmm6
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, xmm6
addss xmm3, xmm4
divss xmm1, xmm0
andps xmm3, xmmword [0x100f28a0]
movss dword [esp + 0xa0], xmm3
movss dword [esp + 0xa4], xmm1
call fcn.1005c120
add esp, 8
mov ecx, dword [esp + 0x18]
movss xmm0, dword [esp + 0x98]
movss xmm1, dword [esp + 0x9c]
movss xmm2, dword [esp + 0xa0]
movss xmm3, dword [esp + 0xa4]
movss xmm5, dword [0x100f2080]
xorps xmm4, xmm4
comiss xmm0, xmm4
movss xmm7, dword [0x100f1e80]
jb 0x1005c5e6
movaps xmm6, xmm7
jmp 0x1005c5e9
movaps xmm6, xmm5
comiss xmm1, xmm4
mulss xmm0, dword [0x100f2018]
addss xmm0, xmm6
cvttss2si eax, xmm0
mov dword [esp + 0xa8], eax
jb 0x1005c60a
movaps xmm0, xmm7
jmp 0x1005c60d
movaps xmm0, xmm5
comiss xmm2, xmm4
movss xmm6, dword [0x100f2018]
mulss xmm1, xmm6
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0xac], eax
jb 0x1005c632
movaps xmm0, xmm7
jmp 0x1005c635
movaps xmm0, xmm5
comiss xmm3, xmm4
mulss xmm2, xmm6
addss xmm2, xmm0
cvttss2si eax, xmm2
mov dword [esp + 0xb0], eax
jb 0x1005c650
movaps xmm5, xmm7
cmp dword [edi + 0x382c], 0
mov edx, dword [esp + 0x28]
mulss xmm3, xmm6
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
addss xmm3, xmm5
cvttss2si eax, xmm3
mov dword [esp + 0xb4], eax
movss xmm3, dword [edx + 0xec]
movss xmm2, dword [edx + 0xf0]
movss dword [esp + 0x30], xmm3
movss dword [esp + 0x38], xmm2
jne 0x1005c69e
movss xmm1, dword [esp + 0x54]
jmp 0x1005c6a1
xorps xmm1, xmm1
movaps xmm0, xmm3
addss xmm0, xmm1
movss dword [edx + 0xec], xmm0
test ecx, 0x300000
je 0x1005c936
test cl, 0x20
jne 0x1005c936
mov edx, dword [esp + 0x34]
movss xmm2, dword [edi + 0x37ec]
movss xmm1, dword [esp + 0x50]
push 0
lea eax, [edx - 1]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
push 0
movaps xmm0, xmm3
mulss xmm0, xmm2
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x100f1ec4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [esp + 0x58]
movss dword [esp + 0x24], xmm1
addss xmm1, xmm2
mulss xmm1, xmm3
movss xmm3, dword [0x100f206c]
subss xmm0, xmm1
movss xmm1, dword [0x100f1ec4]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x74], eax
mov eax, str.M:0.000
cmove eax, ecx
mov ecx, dword [0x10103fe8]
push eax
push ecx
lea eax, [esp + 0x58]
mov dword [esp], 0xbf800000
movss xmm2, dword [ecx + 0x3bc8]
maxss xmm1, xmm0
mov ecx, dword [ecx + 0x3bc4]
push eax
movss dword [esp + 0x7c], xmm1
call fcn.1004b9c0
movss xmm0, dword [esp + 0x48]
addss xmm0, dword [0x100f1ebc]
movss xmm1, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x1005c7ba
xor eax, eax
jmp 0x1005c7c8
mov eax, ecx
and eax, 0x200000
neg eax
sbb eax, eax
neg eax
inc eax
cmp dword [esp + 0x34], 0
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], 0
jbe 0x1005cb5c
and ecx, 8
mov esi, eax
mov dword [esp + 0x70], ecx
mov edx, 0xff
shl esi, 4
xor ecx, ecx
test ecx, ecx
je 0x1005c815
movss xmm1, dword [edi + 0x37ec]
xorps xmm0, xmm0
call fcn.10035ca0
movss xmm1, dword [esp + 0x1c]
mov edx, 0xff
mov ecx, dword [esp + 0x24]
lea eax, [ecx + 1]
mov dword [esp + 0x48], eax
cmp eax, dword [esp + 0x34]
jge 0x1005c827
movaps xmm0, xmm1
jmp 0x1005c82d
movss xmm0, dword [esp + 0x68]
mov eax, dword [0x10103fe8]
or dword [eax + 0x4698], 1
cmp dword [esp + 0x6c], 0
movss dword [eax + 0x469c], xmm0
je 0x1005c8b2
cmp byte [esp + 0x5c], 0
je 0x1005c854
xorps xmm0, xmm0
jmp 0x1005c85c
movss xmm0, dword [0x100f1ec4]
movss xmm3, dword [0x100f1e44]
lea eax, [esp + 0x24]
push ecx
push dword [esi + 0x100f17b0]
mov edx, 8
movss dword [esp + 0x2c], xmm0
push eax
lea eax, [esp + 0x38]
mov dword [esp + 0x38], 0
push eax
lea eax, [esp + 0xa8]
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x100f17a0]
push eax
call fcn.10055dd0
mov cl, byte [esp + 0x2a]
add esp, 0x14
or cl, al
or byte [esp + 0x17], cl
mov byte [esp + 0x16], cl
jmp 0x1005c901
movss xmm3, dword [0x100f1ec4]
mov eax, edx
xor edx, edx
cmp byte [esp + 0x5c], dl
push ecx
push dword [esi + 0x100f1808]
cmovne eax, edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], eax
mov edx, 4
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x38]
push eax
lea eax, [esp + 0xb8]
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x100f17a0]
push eax
call fcn.10055dd0
add esp, 0x14
or byte [esp + 0x16], al
cmp dword [esp + 0x70], 0
jne 0x1005c90d
call fcn.10037050
mov ecx, dword [esp + 0x48]
add esi, 4
mov edx, 0xff
movss xmm1, dword [esp + 0x1c]
mov dword [esp + 0x24], ecx
cmp ecx, dword [esp + 0x34]
jl 0x1005c7f2
mov esi, dword [esp + 0x60]
jmp 0x1005cb58
mov eax, ecx
and eax, 0x400020
cmp eax, 0x400000
jne 0x1005cb6c
cmp byte [esp + 0x44], 0
je 0x1005c9e7
mov eax, dword [esp + 0xb4]
mov ecx, 0xff
mov dword [esp + 0x1c], ecx
test eax, eax
jns 0x1005c971
mov dword [esp + 0x24], 0
jmp 0x1005c97d
cmp eax, 0xff
cmovg eax, ecx
mov dword [esp + 0x24], eax
mov edx, dword [esp + 0xb0]
test edx, edx
jns 0x1005c98c
xor edx, edx
jmp 0x1005c991
cmp edx, ecx
cmovg edx, ecx
mov ecx, dword [esp + 0xac]
test ecx, ecx
jns 0x1005c9a0
xor ecx, ecx
jmp 0x1005c9ae
cmp ecx, 0xff
mov eax, 0xff
cmovg ecx, eax
mov eax, dword [esp + 0xa8]
test eax, eax
jns 0x1005c9bd
xor eax, eax
jmp 0x1005c9c7
cmp eax, 0xff
cmovg eax, dword [esp + 0x1c]
push dword [esp + 0x24]
push edx
push ecx
push eax
push 0x100f15a0
lea eax, [esp + 0xcc]
push 0x40
push eax
call fcn.10028220
add esp, 0x1c
jmp 0x1005ca4b
mov edx, dword [esp + 0xb0]
mov eax, 0xff
mov dword [esp + 0x1c], eax
test edx, edx
jns 0x1005c9ff
xor edx, edx
jmp 0x1005ca04
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0xac]
test ecx, ecx
jns 0x1005ca13
xor ecx, ecx
jmp 0x1005ca18
cmp ecx, eax
cmovg ecx, eax
mov eax, dword [esp + 0xa8]
test eax, eax
jns 0x1005ca27
xor eax, eax
jmp 0x1005ca31
cmp eax, 0xff
cmovg eax, dword [esp + 0x1c]
push edx
push ecx
push eax
push 0x100f15b4
lea eax, [esp + 0xc8]
push 0x40
push eax
call fcn.10028220
add esp, 0x18
mov eax, dword [0x10103fe8]
xor edx, edx
movss xmm5, dword [esp + 0x50]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x4698], 1
movss dword [eax + 0x469c], xmm5
lea eax, [esp + 0x68]
push 6
push eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x70], 0
push 0x40
push eax
mov dword [esp + 0x7c], 0
call fcn.10058f30
add esp, 0x18
test al, al
je 0x1005cb4a
mov byte [esp + 0x16], 1
lea ecx, [esp + 0xb8]
nop dword [eax]
mov al, byte [ecx]
cmp al, 0x23
je 0x1005cabe
cmp al, 0x20
je 0x1005cabe
cmp al, 9
jne 0x1005cac1
inc ecx
jmp 0x1005cab0
cmp byte [esp + 0x44], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xb4], 0xff
je 0x1005cb24
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xb4]
push eax
lea eax, [esp + 0xb4]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.10026320
add esp, 0x18
jmp 0x1005cb4a
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0xb0]
push eax
lea eax, [esp + 0xb0]
push eax
push str._02X_02X_02X
push ecx
call fcn.10026320
add esp, 0x14
mov ecx, dword [esp + 0x18]
test cl, 8
jne 0x1005cb5c
call fcn.10037050
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x28]
movss xmm3, dword [esp + 0x30]
movss xmm2, dword [esp + 0x38]
mov dword [esp + 0x1c], 0
test cl, 0x10
jne 0x1005cddd
test cl, 0x20
jne 0x1005cb9b
cmp dword [edi + 0x382c], 0
je 0x1005cb9b
movss xmm1, dword [esp + 0x50]
addss xmm1, dword [edi + 0x37ec]
jmp 0x1005cb9e
xorps xmm1, xmm1
cmp byte [esp + 0x44], 0
movaps xmm0, xmm3
mov eax, dword [esp + 0x20]
addss xmm0, xmm1
movss dword [edx + 0xf0], xmm2
movss dword [edx + 0xec], xmm0
je 0x1005cbc7
movss xmm1, dword [eax + 0xc]
jmp 0x1005cbcf
movss xmm1, dword [0x100f1ec4]
movss xmm0, dword [eax]
lea edx, [esp + 0x80]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x84], xmm0
movss xmm0, dword [eax + 8]
lea eax, [esp + 0x48]
push eax
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x90], xmm0
movss dword [esp + 0x94], xmm1
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
call fcn.1005fcd0
add esp, 8
test al, al
mov eax, dword [esp + 0x18]
je 0x1005ccae
test al, 4
jne 0x1005ccae
movups xmm0, xmmword [esp + 0x80]
mov ecx, str.picker
movups xmmword [edi + 0x5970], xmm0
call fcn.100369a0
movss xmm1, dword [edi + 0x46b8]
movss xmm0, dword [edi + 0x37e8]
addss xmm0, dword [edi + 0x46c4]
mov eax, dword [0x10103fe8]
addss xmm1, dword [0x100f1e18]
or dword [eax + 0x46e8], 1
movss dword [eax + 0x46fc], xmm0
movss dword [eax + 0x46f8], xmm1
mov dword [eax + 0x4700], 0
mov dword [eax + 0x4704], 0
mov dword [eax + 0x46ec], 1
mov eax, dword [esp + 0x18]
test al, 8
jne 0x1005ccb7
call fcn.10037050
mov ecx, str.picker
call fcn.10036f90
test al, al
je 0x1005cdd9
mov eax, dword [edi + 0x3e38]
cmp word [eax + 0xb2], 1
jne 0x1005cd89
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
cmp ecx, eax
je 0x1005cd3c
push 0
mov edx, eax
call fcn.10051620
mov ecx, dword [0x10103fe8]
add esp, 4
mov eax, dword [ecx + 0x3e38]
mov byte [eax + 0xa8], 1
mov eax, dword [ecx + 0x3e38]
cmp byte [eax + 0xab], 0
jne 0x1005cd3c
movss xmm1, dword [0x100f2090]
lea ecx, [esp + 0x48]
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
call fcn.10035920
mov eax, dword [0x10103fe8]
mov ecx, 0x100f1270
movss xmm0, dword [esp + 0x74]
mulss xmm0, dword [0x100f1fc0]
mov edx, dword [esp + 0x20]
or dword [eax + 0x4698], 1
movss dword [eax + 0x469c], xmm0
lea eax, [edi + 0x5970]
push eax
mov eax, dword [esp + 0x5c]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.1005d430
add esp, 8
or byte [esp + 0x16], al
mov eax, dword [0x10103fe8]
mov dword [esp + 0x58], eax
mov ecx, dword [eax + 0x3e38]
cmp dword [eax + 0x47b8], ecx
jne 0x1005cdb9
cmp byte [eax + 0x480d], 0
je 0x1005cdb9
cmp dword [eax + 0x47ec], 0
jne 0x1005cdb9
or dword [eax + 0x4810], 2
test dword [ecx + 8], 0x1000000
je 0x1005cdc9
mov byte [eax + 0x3de6], 1
call fcn.10032ff0
mov eax, dword [esp + 0x58]
mov byte [eax + 0x3de6], 0
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x40]
cmp eax, dword [esp + 0x3c]
je 0x1005ce3d
test cl, cl
js 0x1005ce3d
movss xmm1, dword [edi + 0x37ec]
xorps xmm0, xmm0
call fcn.10035ca0
test byte [esp + 0x18], 0x20
je 0x1005ce0a
movss xmm0, dword [esp + 0x54]
jmp 0x1005ce19
movd xmm0, esi
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x37ec]
addss xmm0, dword [esp + 0x30]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
push 0
movss dword [eax + 0xec], xmm0
call fcn.10051620
add esp, 4
cmp byte [esp + 0x16], 0
je 0x1005d074
cmp dword [esp + 0x1c], 0
jne 0x1005d074
cmp byte [esp + 0x17], 0
jne 0x1005ce80
movups xmm0, xmmword [esp + 0xa8]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x100f26e0]
movups xmmword [esp + 0x98], xmm0
nop dword [eax]
nop dword [eax + eax]
mov eax, dword [esp + 0x18]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1005cf85
movss xmm0, dword [esp + 0x98]
lea eax, [esp + 0xa0]
movss xmm1, dword [esp + 0x9c]
lea edx, [esp + 0x9c]
movss xmm2, dword [esp + 0xa0]
lea ecx, [esp + 0x98]
push eax
movss dword [edi + 0x5964], xmm0
movss dword [edi + 0x5968], xmm1
call fcn.10028970
movss xmm1, dword [esp + 0x9c]
xorps xmm5, xmm5
mov eax, dword [edi + 0x595c]
add esp, 4
comiss xmm5, xmm1
mov dword [edi + 0x5960], eax
movss xmm4, dword [0x100f1ec4]
jbe 0x1005cf07
xorps xmm0, xmm0
jmp 0x1005cf0e
movaps xmm0, xmm4
minss xmm0, xmm1
movss xmm7, dword [0x100f2018]
movss xmm6, dword [0x100f1e80]
movss xmm2, dword [esp + 0x9c]
comiss xmm5, xmm2
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1005cf3d
xorps xmm0, xmm0
jmp 0x1005cf44
movaps xmm0, xmm4
minss xmm0, xmm2
movss xmm3, dword [esp + 0xa0]
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm5, xmm3
jbe 0x1005cf68
xorps xmm4, xmm4
jmp 0x1005cf6c
minss xmm4, xmm3
mulss xmm4, xmm7
addss xmm4, xmm6
cvttss2si eax, xmm4
shl eax, 0x10
or eax, ecx
mov dword [edi + 0x596c], eax
jmp 0x1005cfa3
movss xmm3, dword [esp + 0xa0]
xorps xmm5, xmm5
movss xmm2, dword [esp + 0x9c]
movss xmm1, dword [esp + 0x98]
cmp dword [esp + 0x78], 0x10100000
jne 0x1005d04b
movaps xmm4, xmm1
movaps xmm1, xmm2
movaps xmm0, xmm1
movaps xmm6, xmm4
comiss xmm3, xmm0
jbe 0x1005cfd0
movss xmm5, dword [0x100f2090]
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm6
jbe 0x1005cfea
movss xmm0, dword [0x100f207c]
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 + 0xa0], xmm3
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100f1fb0]
addss xmm0, dword [0x100f1e2c]
divss xmm1, xmm0
movaps xmm0, xmm4
addss xmm0, dword [0x100f1e2c]
addss xmm1, xmm5
divss xmm2, xmm0
andps xmm1, xmmword [0x100f28a0]
movss dword [esp + 0x98], xmm1
movss dword [esp + 0x9c], xmm2
cmp byte [esp + 0x44], 0
mov esi, dword [esp + 0x20]
movss dword [esi], xmm1
movss dword [esi + 4], xmm2
movss dword [esi + 8], xmm3
je 0x1005d078
movss xmm0, dword [esp + 0xa4]
movss dword [esi + 0xc], xmm0
jmp 0x1005d078
mov esi, dword [esp + 0x20]
cmp dword [esp + 0x7c], 0
jne 0x1005d089
mov dword [edi + 0x595c], 0
mov eax, dword [0x10103fe8]
mov eax, dword [eax + 0x3e38]
dec dword [eax + 0xe0]
call fcn.10036040
test byte [edi + 0x46b4], 1
je 0x1005d1e8
test dword [esp + 0x18], 0x200
jne 0x1005d1e8
call fcn.1003b7e0
test al, al
je 0x1005d1e8
mov ecx, str._COL3F
mov byte [esp + 0x17], 0
call fcn.1003b8a0
test eax, eax
je 0x1005d0f4
mov eax, dword [eax]
mov byte [esp + 0x17], 1
mov byte [esp + 0x16], 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.1003b8a0
mov ecx, eax
test ecx, ecx
je 0x1005d11e
mov eax, dword [esp + 0x34]
shl eax, 2
push eax
push dword [ecx]
push esi
call fcn.1006bcf0
add esp, 0xc
mov byte [esp + 0x16], 1
jmp 0x1005d129
cmp byte [esp + 0x17], 0
je 0x1005d1ce
test dword [esp + 0x18], 0x10000000
je 0x1005d1ce
movss xmm2, dword [esi + 4]
movss xmm4, dword [esi + 8]
comiss xmm4, xmm2
movss xmm3, dword [esi]
jbe 0x1005d15d
movss xmm5, dword [0x100f2090]
movaps xmm0, xmm2
movaps xmm2, xmm4
movaps xmm4, xmm0
jmp 0x1005d160
xorps xmm5, xmm5
comiss xmm2, xmm3
jbe 0x1005d17d
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x100f207c]
subss xmm0, xmm5
movaps xmm5, xmm0
movaps xmm0, xmm2
movss dword [esi + 8], xmm3
minss xmm0, xmm4
movaps xmm1, xmm3
subss xmm2, xmm4
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100f1fb0]
addss xmm0, dword [0x100f1e2c]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x100f1e2c]
addss xmm2, xmm5
divss xmm1, xmm0
andps xmm2, xmmword [0x100f28a0]
movss dword [esi], xmm2
movss dword [esi + 4], xmm1
mov eax, dword [0x10103fe8]
cmp byte [eax + 0x4982], 0
mov byte [eax + 0x493e], 0
je 0x1005d1e8
call fcn.1003b500
mov ecx, dword [esp + 0x1c]
test ecx, ecx
je 0x1005d208
mov eax, dword [edi + 0x3e84]
test eax, eax
je 0x1005d208
cmp dword [edi + 0x3ea0], ecx
jne 0x1005d208
mov dword [edi + 0x46ac], eax
mov al, byte [esp + 0x16]
test al, al
je 0x1005d22f
cmp dword [edi + 0x46ac], 0
je 0x1005d22f
mov ecx, dword [0x10103fe8]
or dword [ecx + 0x46b4], 4
mov word [ecx + 0x3e94], 0x101
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
xor ecx, esp
call fcn.10068c51
mov esp, ebp
pop ebp
ret