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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov dword [esp + 0x18], edx
mov edx, ecx
mov ecx, dword [0x10423820]
push esi
push edi
mov dword [esp + 0x70], edx
mov eax, dword [ecx + 0x1bdc]
mov dword [esp + 0x10], ecx
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1bdc]
mov dword [esp + 0x1c], eax
cmp byte [eax + 0x8f], 0
je 0x1013de7c
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
test byte [ecx + 0x1cc4], 1
movss xmm2, dword [ecx + 0x159c]
addss xmm2, xmm2
addss xmm2, dword [ecx + 0x1978]
movss dword [esp + 0x88], xmm2
je 0x1013deac
movss xmm0, dword [ecx + 0x1cc8]
jmp 0x1013deb4
movss xmm0, dword [eax + 0x1b8]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1013def9
cmp dword [eax + 0x198], 0
movss xmm1, dword [eax + 0x250]
jne 0x1013ded6
cmp dword [ecx + 0x1f1c], 0
je 0x1013dede
movss xmm1, dword [eax + 0x220]
subss xmm1, dword [eax + 0xcc]
addss xmm1, xmm0
movss xmm0, dword [0x101ecba0]
maxss xmm0, xmm1
xorps xmm1, xmm1
test byte [ebp + 8], 0x10
cvttss2si esi, xmm0
mov dword [esp + 0x4c], esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
jne 0x1013df19
movaps xmm1, xmm2
addss xmm1, dword [ecx + 0x15b0]
movss dword [esp + 0x78], xmm1
subss xmm0, xmm1
mov dword [esp + 0x6c], edx
movss dword [esp + 0x74], xmm0
cmp edx, 0xffffffff
jae 0x1013df4e
mov esi, edx
mov dl, byte [esi]
test dl, dl
je 0x1013df4e
cmp dl, 0x23
jne 0x1013df44
cmp byte [esi + 1], dl
je 0x1013df4e
inc esi
mov dword [esp + 0x6c], esi
cmp esi, 0xffffffff
jb 0x1013df34
mov dword [ecx + 0x1cc4], 0
call fcn.10123f60
mov edi, dword [0x10423820]
xor edx, edx
mov eax, dword [edi + 0x1bdc]
add eax, 0xc0
mov dword [esp + 0x14], eax
mov ecx, dword [eax]
mov eax, dword [eax + 8]
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x74]
call fcn.101183b0
mov edx, dword [esp + 0x14]
mov dword [esp + 0x54], eax
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [esp + 0x48], eax
cmp ecx, eax
jne 0x1013dfcb
inc ecx
test eax, eax
je 0x1013dfaf
cdq
sub eax, edx
mov edx, dword [esp + 0x14]
sar eax, 1
add eax, dword [esp + 0x48]
jmp 0x1013dfb4
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100b1e40
mov edi, dword [0x10423820]
mov edx, dword [esp + 0x14]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x54]
mov dword [eax + ecx*4], esi
mov ecx, dword [ebp + 8]
inc dword [edx]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x8c], ecx
test cl, 0x20
je 0x1013dffb
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [ebp + 8], ecx
test cl, 8
jne 0x1013e014
mov edx, ecx
mov ecx, dword [esp + 0x20]
call fcn.101429c0
mov edi, dword [0x10423820]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x10]
test ecx, 0x700000
jne 0x1013e02d
mov eax, dword [edx + 0x2e78]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x1013e042
mov eax, dword [edx + 0x2e78]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x1013e057
mov eax, dword [edx + 0x2e78]
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x1013e06c
mov eax, dword [edx + 0x2e78]
and eax, 0x18000000
or ecx, eax
mov eax, dword [edx + 0x2e78]
and eax, 0xe00fffff
or ecx, eax
mov eax, ecx
mov dword [ebp + 8], ecx
shr eax, 1
not al
and eax, 0xffffff01
mov dword [esp + 0x50], eax
mov eax, ecx
shr eax, 0x13
and eax, 0xffffff01
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x50]
movzx eax, al
add eax, 3
cmp byte [esp + 0x50], 0
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
movss xmm3, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x28], xmm1
movss dword [esp + 0x2c], xmm2
je 0x1013e0d9
movss xmm4, dword [eax + 0xc]
jmp 0x1013e0e1
movss xmm4, dword [0x101ecba0]
mov eax, ecx
movss dword [esp + 0x30], xmm4
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x1013e12e
lea eax, [esp + 0x2c]
movaps xmm0, xmm3
push eax
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x28]
call fcn.10118a60
movss xmm4, dword [esp + 0x30]
movss xmm2, dword [esp + 0x2c]
movss xmm1, dword [esp + 0x28]
movss xmm3, dword [esp + 0x24]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0x10]
jmp 0x1013e241
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1013e241
comiss xmm2, xmm1
xorps xmm6, xmm6
movaps xmm5, xmm1
movaps xmm7, xmm2
jbe 0x1013e15c
movss xmm6, dword [0x101ececc]
movaps xmm5, xmm2
movaps xmm7, xmm1
comiss xmm5, xmm3
movaps xmm2, xmm3
jbe 0x1013e179
movss xmm0, dword [0x101eceb0]
movaps xmm2, xmm5
subss xmm0, xmm6
movaps xmm5, xmm3
movaps xmm6, xmm0
movaps xmm0, xmm5
mov esi, dword [esp + 0x20]
minss xmm0, xmm7
mov eax, dword [edx + 0x2e84]
movaps xmm1, xmm2
movss dword [esp + 0x2c], xmm2
movaps xmm3, xmm5
subss xmm3, xmm7
cmp eax, dword [esi]
mov esi, dword [esp + 0x4c]
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x101eccf4]
addss xmm0, dword [0x101eca64]
divss xmm3, xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x101eca64]
addss xmm3, xmm6
divss xmm1, xmm0
andps xmm3, xmmword [0x101ed3d0]
movss dword [esp + 0x24], xmm3
movss dword [esp + 0x28], xmm1
jne 0x1013e241
mov edi, dword [esp + 0x20]
mov eax, dword [edx + 0x2e88]
cmp eax, dword [edi + 4]
mov edi, dword [0x10423820]
jne 0x1013e241
mov esi, dword [esp + 0x20]
mov eax, dword [edx + 0x2e8c]
cmp eax, dword [esi + 8]
mov esi, dword [esp + 0x4c]
jne 0x1013e241
ucomiss xmm1, dword [0x101eca54]
lahf
test ah, 0x44
jp 0x1013e226
movss xmm3, dword [edx + 0x2e7c]
movss dword [esp + 0x24], xmm3
ucomiss xmm2, dword [0x101eca54]
lahf
test ah, 0x44
jp 0x1013e241
movss xmm1, dword [edx + 0x2e80]
movss dword [esp + 0x28], xmm1
comiss xmm3, dword [0x101eca54]
movss xmm5, dword [0x101eceb4]
movss xmm0, dword [0x101ecb34]
jb 0x1013e25f
movaps xmm7, xmm0
jmp 0x1013e262
movaps xmm7, xmm5
comiss xmm1, dword [0x101eca54]
movss xmm6, dword [0x101ece10]
mulss xmm3, xmm6
addss xmm3, xmm7
cvttss2si eax, xmm3
mov dword [esp + 0x5c], eax
jb 0x1013e288
movaps xmm3, xmm0
jmp 0x1013e28b
movaps xmm3, xmm5
comiss xmm2, dword [0x101eca54]
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [esp + 0x60], eax
jb 0x1013e2a9
movaps xmm1, xmm0
jmp 0x1013e2ac
movaps xmm1, xmm5
comiss xmm4, dword [0x101eca54]
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [esp + 0x64], eax
jae 0x1013e2c8
movaps xmm0, xmm5
cmp dword [edx + 0x15f0], 0
mulss xmm4, xmm6
mov byte [esp + 0xe], 0
mov byte [esp + 0xf], 0
addss xmm4, xmm0
cvttss2si eax, xmm4
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x1c]
movss xmm2, dword [eax + 0xcc]
movss xmm3, dword [eax + 0xd0]
movss dword [esp + 0x34], xmm2
movss dword [esp + 0x38], xmm3
jne 0x1013e313
movss xmm1, dword [esp + 0x78]
jmp 0x1013e316
xorps xmm1, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xcc], xmm0
test ecx, 0x300000
je 0x1013e725
test cl, 0x20
jne 0x1013e725
mov eax, dword [esp + 0x3c]
movss xmm2, dword [edx + 0x15b0]
dec eax
movss xmm1, dword [esp + 0x74]
movaps xmm0, xmm2
push 0
push 0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
mulss xmm0, xmm3
subss xmm1, xmm0
movd xmm0, dword [esp + 0x44]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x101ecba0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [esp + 0x7c]
addss xmm2, xmm1
movss dword [esp + 0x60], xmm1
movss xmm1, dword [0x101ecba0]
mulss xmm2, xmm3
movss xmm3, dword [0x101ece94]
subss xmm0, xmm2
movss xmm2, dword [edi + 0x1978]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x20], eax
mov eax, str.M:0.000
cmove eax, ecx
push eax
push ecx
mov ecx, dword [edi + 0x1974]
lea eax, [esp + 0x50]
maxss xmm1, xmm0
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x5c], xmm1
call fcn.1012f330
movss xmm0, dword [esp + 0x40]
addss xmm0, dword [0x101ecb98]
mov ecx, dword [ebp + 8]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x44], xmm0
movss xmm0, dword [esp + 0x58]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jb 0x1013e434
xor eax, eax
jmp 0x1013e442
mov eax, ecx
and eax, 0x200000
neg eax
sbb eax, eax
neg eax
inc eax
xor edx, edx
mov dword [esp + 0x14], edx
cmp dword [esp + 0x3c], edx
jbe 0x1013e962
shl eax, 4
cmp dword [esp + 0x18], edx
je 0x1013e5c5
mov esi, dword [esp + 0x10]
and ecx, 8
mov dword [esp + 0x40], ecx
lea ecx, [eax + 0x101eb400]
mov dword [esp + 0x18], ecx
test edx, edx
je 0x1013e496
movss xmm1, dword [esi + 0x15b0]
xorps xmm0, xmm0
call fcn.10123be0
movss xmm0, dword [esp + 0x58]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea eax, [edx + 1]
cmp eax, dword [esp + 0x3c]
jl 0x1013e4a5
movss xmm0, dword [esp + 0x48]
or dword [edi + 0x1cc4], 1
cmp byte [esp + 0x54], 0
movss dword [edi + 0x1cc8], xmm0
je 0x1013e4c0
xorps xmm0, xmm0
jmp 0x1013e4c8
movss xmm0, dword [0x101ecba0]
push 0
push dword [ecx]
mov ecx, dword [esp + 0x1c]
lea eax, [esp + 0x84]
push eax
lea eax, [esp + 0x8c]
movss dword [esp + 0x88], xmm0
movss xmm0, dword [0x101eca88]
mov ecx, dword [ecx*4 + 0x101eb350]
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x90], 0
lea eax, [eax + edx*4]
mov edx, 8
push eax
call fcn.101372c0
mov ah, byte [esp + 0xe]
mov edi, dword [0x10423820]
or ah, al
or byte [esp + 0xf], ah
cmp dword [esp + 0x40], 0
mov byte [esp + 0xe], ah
jne 0x1013e598
cmp byte [edi + 0x42b], 0
je 0x1013e598
mov ecx, 8
call fcn.1011ada0
test al, al
je 0x1013e598
mov eax, dword [edi + 0x1bdc]
xor edx, edx
mov ecx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.101183b0
cmp dword [edi + 0x1c10], eax
jne 0x1013e577
mov dword [edi + 0x1c14], eax
cmp dword [edi + 0x1c4c], eax
jne 0x1013e586
mov byte [edi + 0x1c50], 1
mov edx, 1
mov ecx, eax
call fcn.10124b20
mov edi, dword [0x10423820]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc edx
movss xmm0, dword [esp + 0x58]
add ecx, 4
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
cmp edx, dword [esp + 0x3c]
jl 0x1013e474
mov esi, dword [esp + 0x4c]
jmp 0x1013e95f
xor edx, edx
mov esi, 0xff
cmp byte [esp + 0x54], dl
mov dword [esp + 0x14], edx
cmovne esi, edx
and ecx, 8
mov dword [esp + 0x54], ecx
lea ecx, [eax + 0x101eb320]
mov dword [esp + 0x40], esi
mov esi, dword [esp + 0x10]
mov dword [esp + 0x18], ecx
test edx, edx
jle 0x1013e612
movss xmm1, dword [esi + 0x15b0]
xorps xmm0, xmm0
call fcn.10123be0
movss xmm0, dword [esp + 0x58]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
lea eax, [edx + 1]
cmp eax, dword [esp + 0x3c]
jl 0x1013e621
movss xmm0, dword [esp + 0x48]
mov eax, dword [esp + 0x40]
or dword [edi + 0x1cc4], 1
push 0
push dword [ecx]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x88], eax
lea eax, [esp + 0x88]
push eax
lea eax, [esp + 0x88]
movss dword [edi + 0x1cc8], xmm0
movss xmm0, dword [0x101ecba0]
mov ecx, dword [ecx*4 + 0x101eb350]
push eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x8c], 0
lea eax, [eax + edx*4]
mov edx, 4
push eax
call fcn.101372c0
or byte [esp + 0xe], al
cmp dword [esp + 0x54], 0
mov edi, dword [0x10423820]
jne 0x1013e6f8
cmp byte [edi + 0x42b], 0
je 0x1013e6f8
mov ecx, 8
call fcn.1011ada0
test al, al
je 0x1013e6f8
mov eax, dword [edi + 0x1bdc]
xor edx, edx
mov ecx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.101183b0
cmp dword [edi + 0x1c10], eax
jne 0x1013e6d7
mov dword [edi + 0x1c14], eax
cmp dword [edi + 0x1c4c], eax
jne 0x1013e6e6
mov byte [edi + 0x1c50], 1
mov edx, 1
mov ecx, eax
call fcn.10124b20
mov edi, dword [0x10423820]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
inc edx
movss xmm0, dword [esp + 0x58]
add ecx, 4
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
cmp edx, dword [esp + 0x3c]
jl 0x1013e5f0
mov esi, dword [esp + 0x4c]
jmp 0x1013e95f
test ecx, 0x400000
je 0x1013e976
test cl, 0x20
jne 0x1013e976
cmp byte [esp + 0x50], 0
mov eax, 0xff
je 0x1013e7b4
mov ecx, dword [esp + 0x68]
test ecx, ecx
jns 0x1013e758
mov dword [esp + 0x48], 0
jmp 0x1013e761
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x48], ecx
mov edi, dword [esp + 0x64]
test edi, edi
jns 0x1013e76d
xor edi, edi
jmp 0x1013e772
cmp edi, eax
cmovg edi, eax
mov edx, dword [esp + 0x60]
test edx, edx
jns 0x1013e77e
xor edx, edx
jmp 0x1013e783
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jns 0x1013e78f
xor ecx, ecx
jmp 0x1013e794
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x48]
lea eax, [esp + 0xa4]
push edi
push edx
push ecx
push str._02X_02X_02X_02X
push 0x40
push eax
call fcn.10118360
add esp, 0x1c
jmp 0x1013e801
mov edi, dword [esp + 0x64]
test edi, edi
jns 0x1013e7c0
xor edi, edi
jmp 0x1013e7c5
cmp edi, eax
cmovg edi, eax
mov edx, dword [esp + 0x60]
test edx, edx
jns 0x1013e7d1
xor edx, edx
jmp 0x1013e7d6
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x5c]
test ecx, ecx
jns 0x1013e7e2
xor ecx, ecx
jmp 0x1013e7e7
cmp ecx, eax
cmovg ecx, eax
push edi
push edx
push ecx
push 0x101eb130
lea eax, [esp + 0xb0]
push 0x40
push eax
call fcn.10118360
add esp, 0x18
mov eax, dword [0x10423820]
xor edx, edx
movss xmm5, dword [esp + 0x74]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x1cc4], 1
movss dword [eax + 0x1cc8], xmm5
lea eax, [esp + 0x88]
push 6
push eax
push 0x40
lea eax, [esp + 0xb4]
mov dword [esp + 0x94], 0
push eax
mov dword [esp + 0x9c], 0
call fcn.1013a790
test al, al
je 0x1013e8e9
mov byte [esp + 0xe], 1
lea ecx, [esp + 0xa0]
nop dword [eax]
mov al, byte [ecx]
cmp al, 0x23
je 0x1013e87e
cmp al, 0x20
je 0x1013e87e
cmp al, 9
jne 0x1013e881
inc ecx
jmp 0x1013e870
cmp byte [esp + 0x50], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x68], 0xff
je 0x1013e8cc
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x68]
push eax
lea eax, [esp + 0x68]
push eax
push 0x101eb108
push ecx
call fcn.100b7f30
add esp, 0x18
jmp 0x1013e8e9
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x64]
push eax
push str._02X_02X_02X
push ecx
call fcn.100b7f30
add esp, 0x14
mov ecx, dword [ebp + 8]
mov edi, dword [0x10423820]
test cl, 8
jne 0x1013e962
cmp byte [edi + 0x42b], 0
je 0x1013e962
mov ecx, 8
call fcn.1011ada0
test al, al
je 0x1013e95f
mov eax, dword [edi + 0x1bdc]
xor edx, edx
mov ecx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.101183b0
cmp dword [edi + 0x1c10], eax
jne 0x1013e93e
mov dword [edi + 0x1c14], eax
cmp dword [edi + 0x1c4c], eax
jne 0x1013e94d
mov byte [edi + 0x1c50], 1
mov edx, 1
mov ecx, eax
call fcn.10124b20
mov edi, dword [0x10423820]
mov ecx, dword [ebp + 8]
movss xmm2, dword [esp + 0x34]
movss xmm3, dword [esp + 0x38]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
test cl, 0x10
jne 0x1013ecf9
test cl, 0x20
jne 0x1013e9a5
cmp dword [edx + 0x15f0], 0
je 0x1013e9a5
movss xmm1, dword [esp + 0x74]
addss xmm1, dword [edx + 0x15b0]
jmp 0x1013e9a8
xorps xmm1, xmm1
cmp byte [esp + 0x50], 0
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xd0], xmm3
movss dword [eax + 0xcc], xmm0
mov eax, dword [esp + 0x20]
je 0x1013e9d1
movss xmm1, dword [eax + 0xc]
jmp 0x1013e9d9
movss xmm1, dword [0x101ecba0]
movss xmm0, dword [eax]
lea edx, [esp + 0x90]
movss dword [esp + 0x90], xmm0
movss xmm0, dword [eax + 4]
movss dword [esp + 0x94], xmm0
movss xmm0, dword [eax + 8]
movss dword [esp + 0x98], xmm0
movss dword [esp + 0x9c], xmm1
push ecx
mov dword [esp + 0x44], 0
mov ecx, str.ColorButton
movss xmm0, dword [esp + 0x44]
mov dword [esp + 0x48], 0
movss xmm1, dword [esp + 0x48]
call fcn.10141d00
test al, al
je 0x1013eb11
test byte [ebp + 8], 4
jne 0x1013eb11
mov edi, dword [esp + 0x10]
xor edx, edx
movups xmm0, xmmword [esp + 0x90]
mov eax, dword [0x10423820]
movups xmmword [edi + 0x2e90], xmm0
mov eax, dword [eax + 0x1bdc]
mov ecx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + ecx*4 - 4]
mov ecx, 0x101eb140
call fcn.101183b0
mov ecx, eax
mov eax, dword [0x10423820]
cmp dword [eax + 0x1c10], ecx
jne 0x1013ea9a
mov dword [eax + 0x1c14], ecx
cmp dword [eax + 0x1c4c], ecx
jne 0x1013eaa9
mov byte [eax + 0x1c50], 1
xor edx, edx
call fcn.10124b20
movss xmm0, dword [edi + 0x15ac]
mov eax, dword [esp + 0x1c]
mov edi, dword [0x10423820]
movss xmm1, dword [eax + 0x120]
addss xmm0, dword [eax + 0x12c]
subss xmm1, dword [0x101ecba0]
or dword [edi + 0x1c64], 1
mov dword [edi + 0x1c7c], 0
mov dword [edi + 0x1c80], 0
movss dword [edi + 0x1c78], xmm0
movss dword [edi + 0x1c74], xmm1
mov dword [edi + 0x1c68], 1
jmp 0x1013eb17
mov edi, dword [0x10423820]
mov ecx, dword [ebp + 8]
test cl, 8
jne 0x1013eb8a
cmp byte [edi + 0x42b], 0
je 0x1013eb8a
mov ecx, 8
call fcn.1011ada0
test al, al
je 0x1013eb87
mov eax, dword [edi + 0x1bdc]
mov ecx, str.context
mov edx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.101183b0
cmp dword [edi + 0x1c10], eax
jne 0x1013eb66
mov dword [edi + 0x1c14], eax
cmp dword [edi + 0x1c4c], eax
jne 0x1013eb75
mov byte [edi + 0x1c50], 1
mov edx, 1
mov ecx, eax
call fcn.10124b20
mov edi, dword [0x10423820]
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x1d20]
cmp eax, dword [edi + 0x1d2c]
jg 0x1013eba7
mov dword [edi + 0x1c64], 0
jmp 0x1013ecf9
mov eax, dword [edi + 0x1bdc]
mov ecx, 0x101eb140
mov edx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.101183b0
cmp dword [edi + 0x1c10], eax
jne 0x1013ebd7
mov dword [edi + 0x1c14], eax
cmp dword [edi + 0x1c4c], eax
jne 0x1013ebe6
mov byte [edi + 0x1c50], 1
mov edx, 0x141
mov ecx, eax
call fcn.10124e60
test al, al
je 0x1013ecf0
mov edi, dword [esp + 0x10]
mov ecx, dword [esp + 0x70]
mov eax, dword [edi + 0x1bdc]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x6c]
cmp ecx, eax
je 0x1013ec60
push 0
mov edx, eax
call fcn.10131c10
mov ecx, dword [0x10423820]
mov eax, dword [ecx + 0x1bdc]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1bdc]
cmp byte [eax + 0x8f], 0
jne 0x1013ec60
movss xmm0, dword [0x101ececc]
lea ecx, [esp + 0x40]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0
call fcn.101238e0
mov eax, dword [0x10423820]
mov ecx, str.picker
movss xmm0, dword [esp + 0x88]
mulss xmm0, dword [0x101ecd20]
mov edx, dword [esp + 0x20]
or dword [eax + 0x1cc4], 1
movss dword [eax + 0x1cc8], xmm0
lea eax, [edi + 0x2e90]
push eax
mov eax, dword [esp + 0x90]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.1013f2c0
mov edi, dword [0x10423820]
or byte [esp + 0xe], al
mov eax, dword [edi + 0x1bdc]
cmp dword [edi + 0x1d44], eax
jne 0x1013ecd4
mov dword [edi + 0x1e48], eax
mov dword [edi + 0x1e4c], 2
test dword [eax + 8], 0x1000000
je 0x1013ece4
mov byte [edi + 0x1b8e], 1
call fcn.10122da0
mov byte [edi + 0x1b8e], 0
mov ecx, dword [ebp + 8]
mov edi, dword [0x10423820]
mov eax, dword [esp + 0x6c]
cmp dword [esp + 0x70], eax
je 0x1013ed6c
test cl, cl
js 0x1013ed6c
test cl, 0x20
je 0x1013ed18
movss xmm0, dword [esp + 0x78]
mov esi, dword [esp + 0x10]
jmp 0x1013ed2b
movd xmm0, esi
mov esi, dword [esp + 0x10]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esi + 0x15b0]
movss xmm1, dword [esp + 0x34]
mov edx, eax
mov ecx, dword [esp + 0x1c]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [esi + 0x159c]
push 0
movss dword [ecx + 0xcc], xmm1
movss dword [ecx + 0xd0], xmm0
mov ecx, dword [esp + 0x74]
call fcn.10131c10
mov edi, dword [0x10423820]
jmp 0x1013ed70
mov esi, dword [esp + 0x10]
cmp byte [esp + 0xe], 0
je 0x1013eee4
cmp dword [esp + 0x18], 0
jne 0x1013eee4
cmp byte [esp + 0xf], 0
jne 0x1013eda1
movups xmm0, xmmword [esp + 0x5c]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x101ed390]
movups xmmword [esp + 0x24], xmm0
mov eax, dword [ebp + 8]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1013edfc
movss xmm0, dword [esp + 0x24]
lea eax, [esp + 0x2c]
movss xmm1, dword [esp + 0x28]
lea edx, [esp + 0x28]
movss xmm2, dword [esp + 0x2c]
lea ecx, [esp + 0x24]
push eax
movss dword [esi + 0x2e7c], xmm0
movss dword [esi + 0x2e80], xmm1
call fcn.10118a60
movq xmm0, qword [esp + 0x24]
mov eax, dword [esp + 0x2c]
movq qword [esi + 0x2e84], xmm0
mov dword [esi + 0x2e8c], eax
mov eax, dword [ebp + 8]
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x1013eeae
movss xmm1, dword [esp + 0x28]
xorps xmm5, xmm5
movss xmm4, dword [esp + 0x2c]
movaps xmm0, xmm1
comiss xmm4, xmm0
movss xmm3, dword [esp + 0x24]
movaps xmm2, xmm3
jbe 0x1013ee3d
movss xmm5, dword [0x101ececc]
movaps xmm1, xmm4
movaps xmm4, xmm0
comiss xmm1, xmm2
jbe 0x1013ee57
movss xmm0, dword [0x101eceb0]
movaps xmm3, xmm1
subss xmm0, xmm5
movaps xmm1, xmm2
movaps xmm5, xmm0
movaps xmm0, xmm1
movss dword [esp + 0x2c], xmm3
minss xmm0, xmm4
movaps xmm2, xmm3
subss xmm1, xmm4
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x101eccf4]
addss xmm0, dword [0x101eca64]
divss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x101eca64]
addss xmm1, xmm5
divss xmm2, xmm0
andps xmm1, xmmword [0x101ed3d0]
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x28], xmm2
jmp 0x1013eec0
movss xmm3, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x28]
movss xmm1, dword [esp + 0x24]
cmp byte [esp + 0x50], 0
mov eax, dword [esp + 0x20]
movss dword [eax], xmm1
movss dword [eax + 4], xmm2
movss dword [eax + 8], xmm3
je 0x1013eee4
movss xmm0, dword [esp + 0x30]
movss dword [eax + 0xc], xmm0
mov eax, dword [edi + 0x1bdc]
dec dword [eax + 0xc0]
call fcn.10124090
mov edi, dword [esp + 0x1c]
test byte [edi + 0x11c], 1
je 0x1013f03f
test dword [ebp + 8], 0x200
jne 0x1013f03f
call fcn.101287a0
test al, al
je 0x1013f03f
xor edx, edx
mov byte [esp + 0xf], 0
mov ecx, str._COL3F
call fcn.10128820
mov edi, dword [esp + 0x20]
test eax, eax
je 0x1013ef53
mov eax, dword [eax]
mov byte [esp + 0xf], 1
mov byte [esp + 0xe], 1
movq xmm0, qword [eax]
movq qword [edi], xmm0
mov eax, dword [eax + 8]
mov dword [edi + 8], eax
xor edx, edx
mov ecx, str._COL4F
call fcn.10128820
test eax, eax
je 0x1013ef7d
mov ecx, dword [esp + 0x3c]
shl ecx, 2
push ecx
push dword [eax]
push edi
call fcn.10161360
add esp, 0xc
mov byte [esp + 0xe], 1
jmp 0x1013ef88
cmp byte [esp + 0xf], 0
je 0x1013f02c
test dword [ebp + 8], 0x10000000
je 0x1013f02c
movss xmm2, dword [edi + 4]
movss xmm4, dword [edi + 8]
comiss xmm4, xmm2
movss xmm3, dword [edi]
jbe 0x1013efbb
movss xmm5, dword [0x101ececc]
movaps xmm0, xmm2
movaps xmm2, xmm4
movaps xmm4, xmm0
jmp 0x1013efbe
xorps xmm5, xmm5
comiss xmm2, xmm3
jbe 0x1013efdb
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x101eceb0]
subss xmm0, xmm5
movaps xmm5, xmm0
movaps xmm0, xmm2
movss dword [edi + 8], xmm3
minss xmm0, xmm4
movaps xmm1, xmm3
subss xmm2, xmm4
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x101eccf4]
addss xmm0, dword [0x101eca64]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x101eca64]
addss xmm2, xmm5
divss xmm1, xmm0
andps xmm2, xmmword [0x101ed3d0]
movss dword [edi], xmm2
movss dword [edi + 4], xmm1
mov ecx, dword [0x10423820]
mov edi, dword [esp + 0x1c]
mov byte [ecx + 0x1e8e], 0
jmp 0x1013f045
mov ecx, dword [0x10423820]
mov edx, dword [esp + 0x18]
test edx, edx
je 0x1013f065
mov eax, dword [esi + 0x1c10]
test eax, eax
je 0x1013f065
cmp dword [esi + 0x1c40], edx
jne 0x1013f065
mov dword [edi + 0x118], eax
mov al, byte [esp + 0xe]
test al, al
je 0x1013f083
mov word [ecx + 0x1c20], 0x101
mov ecx, dword [ecx + 0x1bdc]
or dword [ecx + 0x11c], 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4