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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov dword [esp + 0x10], edx
mov edx, dword [0x1019deb4]
push esi
push edi
mov dword [esp + 0x6c], ecx
mov eax, dword [edx + 0x1b94]
mov dword [esp + 0xc], edx
mov byte [eax + 0x8c], 1
mov eax, dword [edx + 0x1b94]
mov dword [esp + 0x4c], eax
cmp byte [eax + 0x8f], 0
je 0x10103a2a
xor al, al
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
test byte [edx + 0x1c78], 1
movss xmm2, dword [edx + 0x1554]
addss xmm2, xmm2
addss xmm2, dword [edx + 0x1930]
movss dword [esp + 0x84], xmm2
je 0x10103a5a
movss xmm1, dword [edx + 0x1c7c]
jmp 0x10103a62
movss xmm1, dword [eax + 0x1b4]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x10103aa0
cmp dword [eax + 0x198], 0
movss xmm0, dword [eax + 0x24c]
jne 0x10103a84
cmp dword [edx + 0x1ecc], 0
je 0x10103a8c
movss xmm0, dword [eax + 0x21c]
subss xmm0, dword [eax + 0xcc]
addss xmm1, xmm0
maxss xmm1, dword [0x101837e0]
test byte [ebp + 8], 0x10
cvttss2si esi, xmm1
mov dword [esp + 0x10], esi
movd xmm3, esi
cvtdq2ps xmm3, xmm3
je 0x10103aba
xorps xmm1, xmm1
jmp 0x10103ac5
movaps xmm1, xmm2
addss xmm1, dword [edx + 0x1568]
movss dword [esp + 0x74], xmm1
movaps xmm0, xmm3
mov dword [esp + 0x68], ecx
subss xmm0, xmm1
movss dword [esp + 0x70], xmm0
cmp ecx, 0xffffffff
jae 0x10103afd
mov esi, ecx
mov cl, byte [esi]
test cl, cl
je 0x10103afd
cmp cl, 0x23
jne 0x10103af3
cmp byte [esi + 1], cl
je 0x10103afd
inc esi
mov dword [esp + 0x68], esi
cmp esi, 0xffffffff
jb 0x10103ae3
mov dword [edx + 0x1c78], 0
call fcn.100e8dd0
mov edi, dword [0x1019deb4]
xor edx, edx
mov eax, dword [edi + 0x1b94]
add eax, 0xc0
mov dword [esp + 0x34], eax
mov ecx, dword [eax]
mov eax, dword [eax + 8]
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x70]
call fcn.100dcb00
mov edx, dword [esp + 0x34]
mov dword [esp + 0x50], eax
mov eax, dword [edx + 4]
mov ecx, dword [edx]
mov dword [esp + 0x40], eax
cmp ecx, eax
jne 0x10103b7a
inc ecx
test eax, eax
je 0x10103b5e
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar eax, 1
add eax, dword [esp + 0x40]
jmp 0x10103b63
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100a1880
mov edi, dword [0x1019deb4]
mov edx, dword [esp + 0x34]
mov ecx, dword [edx]
mov eax, dword [edx + 8]
mov esi, dword [esp + 0x50]
mov dword [eax + ecx*4], esi
mov ecx, dword [ebp + 8]
inc dword [edx]
mov esi, dword [esp + 0x10]
mov dword [esp + 0x88], ecx
test ecx, 0x20
je 0x10103bad
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [ebp + 8], ecx
test cl, 8
jne 0x10103bc6
mov edx, ecx
mov ecx, dword [esp + 0x18]
call fcn.101082e0
mov edi, dword [0x1019deb4]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 0x2e24]
test ecx, 0x700000
jne 0x10103be1
mov eax, edx
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x10103bf2
mov eax, edx
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x10103c03
mov eax, edx
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x10103c14
mov eax, edx
and eax, 0x18000000
or ecx, eax
and edx, 0xe00fffff
or ecx, edx
mov edx, ecx
mov dword [ebp + 8], ecx
shr edx, 1
mov eax, ecx
shr eax, 0x13
not dl
and eax, 0xffffff01
and edx, 0xffffff01
mov dword [esp + 0x50], eax
movzx eax, dl
add eax, 3
mov dword [esp + 0x34], edx
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x18]
movss xmm3, dword [eax]
movss xmm1, dword [eax + 4]
movss xmm2, dword [eax + 8]
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x24], xmm1
movss dword [esp + 0x28], xmm2
test dl, dl
je 0x10103c76
movss xmm4, dword [eax + 0xc]
jmp 0x10103c7e
movss xmm4, dword [0x101837e0]
mov eax, ecx
movss dword [esp + 0x2c], xmm4
and eax, 0x10100000
mov dword [esp + 0x8c], eax
cmp eax, 0x10100000
jne 0x10103cf2
lea eax, [esp + 0x28]
movaps xmm0, xmm3
push eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x24]
call fcn.100dd0e0
movss xmm4, dword [esp + 0x2c]
movss xmm2, dword [esp + 0x28]
movss xmm1, dword [esp + 0x24]
movss xmm3, dword [esp + 0x20]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0xc]
comiss xmm3, dword [0x1018363c]
movss xmm5, dword [0x10183a58]
movss xmm0, dword [0x1018377c]
jb 0x10103e1a
movaps xmm7, xmm0
jmp 0x10103e1d
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x10103cc9
comiss xmm2, xmm1
xorps xmm6, xmm6
movaps xmm5, xmm1
movaps xmm7, xmm2
jbe 0x10103d1c
movss xmm6, dword [0x10183a74]
movaps xmm5, xmm2
movaps xmm7, xmm1
comiss xmm5, xmm3
movaps xmm2, xmm3
jbe 0x10103d39
movss xmm0, dword [0x10183a4c]
movaps xmm2, xmm5
subss xmm0, xmm6
movaps xmm5, xmm3
movaps xmm6, xmm0
movaps xmm0, xmm5
mov edx, dword [esp + 0xc]
minss xmm0, xmm7
mov esi, dword [esp + 0x18]
movaps xmm1, xmm2
movss dword [esp + 0x28], xmm2
movaps xmm3, xmm5
subss xmm3, xmm7
mov eax, dword [edx + 0x2e30]
cmp eax, dword [esi]
subss xmm1, xmm0
mov esi, dword [esp + 0x10]
movaps xmm0, xmm1
mulss xmm0, dword [0x10183890]
addss xmm0, dword [0x1018364c]
divss xmm3, xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x1018364c]
addss xmm3, xmm6
divss xmm1, xmm0
andps xmm3, xmmword [0x10183e80]
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x24], xmm1
jne 0x10103ccd
mov edi, dword [esp + 0x18]
mov eax, dword [edx + 0x2e34]
cmp eax, dword [edi + 4]
mov edi, dword [0x1019deb4]
jne 0x10103ccd
mov esi, dword [esp + 0x18]
mov eax, dword [edx + 0x2e38]
cmp eax, dword [esi + 8]
mov esi, dword [esp + 0x10]
jne 0x10103ccd
ucomiss xmm1, dword [0x1018363c]
lahf
test ah, 0x44
jp 0x10103df6
movss xmm3, dword [edx + 0x2e28]
movss dword [esp + 0x20], xmm3
ucomiss xmm2, dword [0x1018363c]
lahf
test ah, 0x44
jp 0x10103ccd
movss xmm1, dword [edx + 0x2e2c]
movss dword [esp + 0x24], xmm1
jmp 0x10103ccd
movaps xmm7, xmm5
comiss xmm1, dword [0x1018363c]
movss xmm6, dword [0x10183998]
mulss xmm3, xmm6
addss xmm3, xmm7
cvttss2si eax, xmm3
mov dword [esp + 0x58], eax
jb 0x10103e43
movaps xmm3, xmm0
jmp 0x10103e46
movaps xmm3, xmm5
comiss xmm2, dword [0x1018363c]
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [esp + 0x5c], eax
jb 0x10103e64
movaps xmm1, xmm0
jmp 0x10103e67
movaps xmm1, xmm5
comiss xmm4, dword [0x1018363c]
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [esp + 0x60], eax
jae 0x10103e83
movaps xmm0, xmm5
cmp dword [edx + 0x15a8], 0
mulss xmm4, xmm6
mov byte [esp + 0xa], 0
mov byte [esp + 0xb], 0
addss xmm4, xmm0
cvttss2si eax, xmm4
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x4c]
movss xmm2, dword [eax + 0xcc]
movss xmm3, dword [eax + 0xd0]
movss dword [esp + 0x44], xmm2
movss dword [esp + 0x48], xmm3
jne 0x10103ece
movss xmm1, dword [esp + 0x74]
jmp 0x10103ed1
xorps xmm1, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xcc], xmm0
mov eax, ecx
and eax, 0x20
test ecx, 0x300000
je 0x101042ee
test eax, eax
jne 0x101042ee
mov eax, dword [esp + 0x30]
movss xmm2, dword [edx + 0x1568]
dec eax
movss xmm1, dword [esp + 0x70]
movaps xmm0, xmm2
push 0
push 0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
mulss xmm0, xmm3
subss xmm1, xmm0
movd xmm0, dword [esp + 0x38]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm0, dword [0x101837e0]
addss xmm2, xmm0
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x78]
mulss xmm2, xmm3
movss xmm3, dword [0x10183a2c]
subss xmm0, xmm2
movss xmm2, dword [edi + 0x1930]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x1c], eax
mov eax, str.M:0.000
cmove eax, ecx
push eax
push ecx
mov ecx, dword [edi + 0x192c]
lea eax, [esp + 0x48]
maxss xmm0, dword [0x101837e0]
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x54], xmm0
call fcn.100f4bb0
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [0x101837d8]
cvttss2si eax, xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp + 0x3c], xmm0
movss xmm0, dword [esp + 0x54]
movd xmm1, eax
mov eax, dword [ebp + 8]
cvtdq2ps xmm1, xmm1
comiss xmm1, xmm0
jb 0x10103feb
xor edx, edx
jmp 0x10103ffa
mov edx, eax
and edx, 0x200000
neg edx
sbb edx, edx
neg edx
inc edx
xor ecx, ecx
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x30], ecx
jbe 0x101042d0
shl edx, 4
cmp dword [esp + 0x14], ecx
je 0x10104176
mov esi, dword [esp + 0xc]
lea edx, [edx + 0x10182948]
and eax, 8
mov dword [esp + 0x14], edx
mov dword [esp + 0x7c], eax
nop dword [eax]
test ecx, ecx
je 0x10104052
movss xmm1, dword [esi + 0x1568]
xorps xmm0, xmm0
call fcn.100e8a00
movss xmm0, dword [esp + 0x54]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x30]
jl 0x10104065
movss xmm0, dword [esp + 0x40]
or dword [edi + 0x1c78], 1
cmp byte [esp + 0x50], 0
movss dword [edi + 0x1c7c], xmm0
je 0x10104080
xorps xmm0, xmm0
jmp 0x10104088
movss xmm0, dword [0x101837e0]
push 0
push dword [edx]
lea eax, [esp + 0x24]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [0x10183680]
mov edx, 8
push eax
lea eax, [esp + 0x84]
mov dword [esp + 0x84], 0
push eax
lea eax, [esp + 0x30]
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x1018286c]
push eax
call fcn.100fc600
mov cl, byte [esp + 0xa]
mov edi, dword [0x1019deb4]
or cl, al
or byte [esp + 0xb], cl
cmp dword [esp + 0x7c], 0
mov byte [esp + 0xa], cl
jne 0x1010414e
cmp byte [edi + 0x3e3], 0
je 0x1010414e
mov ecx, 8
call fcn.100df530
test al, al
je 0x1010414e
mov eax, dword [edi + 0x1b94]
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.100dcb00
cmp dword [edi + 0x1bc8], eax
jne 0x1010412d
mov dword [edi + 0x1bcc], eax
cmp dword [edi + 0x1c04], eax
jne 0x1010413c
mov byte [edi + 0x1c08], 1
mov edx, 1
mov ecx, eax
call fcn.100e9900
mov edi, dword [0x1019deb4]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x38]
add edx, 4
movss xmm0, dword [esp + 0x54]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], edx
cmp ecx, dword [esp + 0x30]
jl 0x10104030
jmp 0x101042cc
xor ecx, ecx
lea edx, [edx + 0x1018283c]
cmp byte [esp + 0x50], cl
mov esi, 0xff
mov dword [esp + 0x1c], ecx
cmovne esi, ecx
mov dword [esp + 0x14], edx
and eax, 8
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0xc]
mov dword [esp + 0x50], eax
test ecx, ecx
jle 0x101041c3
movss xmm1, dword [esi + 0x1568]
xorps xmm0, xmm0
call fcn.100e8a00
movss xmm0, dword [esp + 0x54]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
lea eax, [ecx + 1]
mov dword [esp + 0x1c], eax
cmp eax, dword [esp + 0x30]
jl 0x101041d6
movss xmm0, dword [esp + 0x40]
mov eax, dword [esp + 0x38]
or dword [edi + 0x1c78], 1
push 0
push dword [edx]
mov dword [esp + 0x84], eax
mov edx, 4
lea eax, [esp + 0x84]
movss dword [edi + 0x1c7c], xmm0
movss xmm0, dword [0x101837e0]
push eax
lea eax, [esp + 0x84]
mov dword [esp + 0x84], 0
push eax
lea eax, [esp + 0x68]
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x1018286c]
push eax
call fcn.100fc600
or byte [esp + 0xa], al
cmp dword [esp + 0x50], 0
mov edi, dword [0x1019deb4]
jne 0x101042a9
cmp byte [edi + 0x3e3], 0
je 0x101042a9
mov ecx, 8
call fcn.100df530
test al, al
je 0x101042a9
mov eax, dword [edi + 0x1b94]
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.100dcb00
cmp dword [edi + 0x1bc8], eax
jne 0x10104288
mov dword [edi + 0x1bcc], eax
cmp dword [edi + 0x1c04], eax
jne 0x10104297
mov byte [edi + 0x1c08], 1
mov edx, 1
mov ecx, eax
call fcn.100e9900
mov edi, dword [0x1019deb4]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
add edx, 4
movss xmm0, dword [esp + 0x54]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], edx
cmp ecx, dword [esp + 0x30]
jl 0x101041a1
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x10], eax
movss xmm3, dword [esp + 0x48]
movss xmm2, dword [esp + 0x44]
mov edx, dword [esp + 0xc]
jmp 0x1010455e
mov dword [esp + 0x10], eax
test ecx, 0x400000
je 0x1010455a
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1010455a
cmp byte [esp + 0x34], 0
mov eax, 0xff
je 0x10104384
mov ecx, dword [esp + 0x64]
test ecx, ecx
jns 0x10104328
mov dword [esp + 0x40], 0
jmp 0x10104331
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x40], ecx
mov edi, dword [esp + 0x60]
test edi, edi
jns 0x1010433d
xor edi, edi
jmp 0x10104342
cmp edi, eax
cmovg edi, eax
mov edx, dword [esp + 0x5c]
test edx, edx
jns 0x1010434e
xor edx, edx
jmp 0x10104353
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x58]
test ecx, ecx
jns 0x1010435f
xor ecx, ecx
jmp 0x10104364
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x40]
lea eax, [esp + 0xa4]
push edi
push edx
push ecx
push str._02X_02X_02X_02X
push 0x40
push eax
call fcn.100dcab0
add esp, 0x1c
jmp 0x101043d1
mov edi, dword [esp + 0x60]
test edi, edi
jns 0x10104390
xor edi, edi
jmp 0x10104395
cmp edi, eax
cmovg edi, eax
mov edx, dword [esp + 0x5c]
test edx, edx
jns 0x101043a1
xor edx, edx
jmp 0x101043a6
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x58]
test ecx, ecx
jns 0x101043b2
xor ecx, ecx
jmp 0x101043b7
cmp ecx, eax
cmovg ecx, eax
push edi
push edx
push ecx
push 0x10182668
lea eax, [esp + 0xb0]
push 0x40
push eax
call fcn.100dcab0
add esp, 0x18
mov eax, dword [0x1019deb4]
xor edx, edx
movss xmm4, dword [esp + 0x70]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x1c78], 1
movss dword [eax + 0x1c7c], xmm4
lea eax, [esp + 0x84]
push 6
push eax
push 0x40
lea eax, [esp + 0xb4]
mov dword [esp + 0x90], 0
push eax
mov dword [esp + 0x98], 0
call fcn.100ffaf0
test al, al
je 0x101044b9
mov byte [esp + 0xa], 1
lea ecx, [esp + 0xa0]
nop dword [eax]
mov al, byte [ecx]
cmp al, 0x23
je 0x1010444e
cmp al, 0x20
je 0x1010444e
cmp al, 9
jne 0x10104451
inc ecx
jmp 0x10104440
cmp byte [esp + 0x34], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x64], 0xff
je 0x1010449c
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x64]
push eax
lea eax, [esp + 0x64]
push eax
push 0x10182640
push ecx
call fcn.100a6d50
add esp, 0x18
jmp 0x101044b9
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x60]
push eax
push str._02X_02X_02X
push ecx
call fcn.100a6d50
add esp, 0x14
mov ecx, dword [ebp + 8]
xor eax, eax
mov edi, dword [0x1019deb4]
mov dword [esp + 0x10], eax
test cl, 8
jne 0x101042d9
mov dword [esp + 0x10], eax
cmp byte [edi + 0x3e3], al
je 0x101042d9
lea ecx, [eax + 8]
mov dword [esp + 0x10], eax
call fcn.100df530
test al, al
je 0x10104547
mov eax, dword [edi + 0x1b94]
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.100dcb00
cmp dword [edi + 0x1bc8], eax
jne 0x10104521
mov dword [edi + 0x1bcc], eax
cmp dword [edi + 0x1c04], eax
jne 0x10104530
mov byte [edi + 0x1c08], 1
mov edx, 1
mov ecx, eax
call fcn.100e9900
mov edi, dword [0x1019deb4]
jmp 0x101042d0
movss xmm2, dword [esp + 0x44]
movss xmm3, dword [esp + 0x48]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], 0
test cl, 0x10
jne 0x101048e3
test eax, eax
jne 0x1010458b
cmp dword [edx + 0x15a8], eax
je 0x1010458b
movss xmm1, dword [esp + 0x70]
addss xmm1, dword [edx + 0x1568]
jmp 0x1010458e
xorps xmm1, xmm1
cmp byte [esp + 0x34], 0
movaps xmm0, xmm2
mov eax, dword [esp + 0x4c]
addss xmm0, xmm1
movss dword [eax + 0xd0], xmm3
movss dword [eax + 0xcc], xmm0
mov eax, dword [esp + 0x18]
je 0x101045bb
movss xmm1, dword [eax + 0xc]
jmp 0x101045c3
movss xmm1, dword [0x101837e0]
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 + 0x3c], 0
mov ecx, str.ColorButton
movss xmm0, dword [esp + 0x3c]
mov dword [esp + 0x40], 0
movss xmm1, dword [esp + 0x40]
call fcn.10107620
test al, al
je 0x101046fb
test byte [ebp + 8], 4
jne 0x101046fb
mov edi, dword [esp + 0xc]
xor edx, edx
movups xmm0, xmmword [esp + 0x90]
mov eax, dword [0x1019deb4]
movups xmmword [edi + 0x2e3c], xmm0
mov eax, dword [eax + 0x1b94]
mov ecx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + ecx*4 - 4]
mov ecx, str.picker
call fcn.100dcb00
mov ecx, eax
mov eax, dword [0x1019deb4]
cmp dword [eax + 0x1bc8], ecx
jne 0x10104684
mov dword [eax + 0x1bcc], ecx
cmp dword [eax + 0x1c04], ecx
jne 0x10104693
mov byte [eax + 0x1c08], 1
xor edx, edx
call fcn.100e9900
movss xmm0, dword [edi + 0x1564]
mov eax, dword [esp + 0x4c]
mov edi, dword [0x1019deb4]
movss xmm1, dword [eax + 0x120]
addss xmm0, dword [eax + 0x12c]
subss xmm1, dword [0x101837e0]
or dword [edi + 0x1c18], 1
mov dword [edi + 0x1c30], 0
mov dword [edi + 0x1c34], 0
movss dword [edi + 0x1c2c], xmm0
movss dword [edi + 0x1c28], xmm1
mov dword [edi + 0x1c1c], 1
jmp 0x10104701
mov edi, dword [0x1019deb4]
mov ecx, dword [ebp + 8]
test cl, 8
jne 0x10104774
cmp byte [edi + 0x3e3], 0
je 0x10104774
mov ecx, 8
call fcn.100df530
test al, al
je 0x10104771
mov eax, dword [edi + 0x1b94]
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.100dcb00
cmp dword [edi + 0x1bc8], eax
jne 0x10104750
mov dword [edi + 0x1bcc], eax
cmp dword [edi + 0x1c04], eax
jne 0x1010475f
mov byte [edi + 0x1c08], 1
mov edx, 1
mov ecx, eax
call fcn.100e9900
mov edi, dword [0x1019deb4]
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x1cd4]
cmp eax, dword [edi + 0x1ce0]
jg 0x10104791
mov dword [edi + 0x1c18], 0
jmp 0x101048e3
mov eax, dword [edi + 0x1b94]
mov ecx, str.picker
mov edx, dword [eax + 0xc0]
mov eax, dword [eax + 0xc8]
push dword [eax + edx*4 - 4]
xor edx, edx
call fcn.100dcb00
cmp dword [edi + 0x1bc8], eax
jne 0x101047c1
mov dword [edi + 0x1bcc], eax
cmp dword [edi + 0x1c04], eax
jne 0x101047d0
mov byte [edi + 0x1c08], 1
mov edx, 0x141
mov ecx, eax
call fcn.100e9c40
test al, al
je 0x101048da
mov edi, dword [esp + 0xc]
mov ecx, dword [esp + 0x6c]
mov eax, dword [edi + 0x1b94]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x68]
cmp ecx, eax
je 0x1010484a
push 0
mov edx, eax
call fcn.100f75f0
mov ecx, dword [0x1019deb4]
mov eax, dword [ecx + 0x1b94]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b94]
cmp byte [eax + 0x8f], 0
jne 0x1010484a
movss xmm0, dword [0x10183a74]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.100e8700
mov eax, dword [0x1019deb4]
mov ecx, 0x1017989c
movss xmm0, dword [esp + 0x84]
mulss xmm0, dword [0x101838bc]
mov edx, dword [esp + 0x18]
or dword [eax + 0x1c78], 1
movss dword [eax + 0x1c7c], xmm0
lea eax, [edi + 0x2e3c]
push eax
mov eax, dword [esp + 0x8c]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.10104eb0
mov edi, dword [0x1019deb4]
or byte [esp + 0xa], al
mov eax, dword [edi + 0x1b94]
cmp dword [edi + 0x1cf8], eax
jne 0x101048be
mov dword [edi + 0x1df8], eax
mov dword [edi + 0x1dfc], 2
test dword [eax + 8], 0x1000000
je 0x101048ce
mov byte [edi + 0x1b46], 1
call fcn.100e7d40
mov byte [edi + 0x1b46], 0
mov ecx, dword [ebp + 8]
mov edi, dword [0x1019deb4]
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x6c], eax
je 0x10104958
test cl, cl
js 0x10104958
cmp dword [esp + 0x10], 0
je 0x10104904
movss xmm0, dword [esp + 0x74]
mov esi, dword [esp + 0xc]
jmp 0x10104917
movd xmm0, esi
mov esi, dword [esp + 0xc]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esi + 0x1568]
movss xmm1, dword [esp + 0x44]
mov edx, eax
mov ecx, dword [esp + 0x4c]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x48]
addss xmm0, dword [esi + 0x1554]
push 0
movss dword [ecx + 0xcc], xmm1
movss dword [ecx + 0xd0], xmm0
mov ecx, dword [esp + 0x70]
call fcn.100f75f0
mov edi, dword [0x1019deb4]
jmp 0x1010495c
mov esi, dword [esp + 0xc]
cmp byte [esp + 0xa], 0
je 0x10104ace
cmp dword [esp + 0x14], 0
jne 0x10104ace
cmp byte [esp + 0xb], 0
jne 0x1010498d
movups xmm0, xmmword [esp + 0x58]
cvtdq2ps xmm0, xmm0
mulps xmm0, xmmword [0x10183ca0]
movups xmmword [esp + 0x20], xmm0
mov eax, dword [ebp + 8]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x101049e8
movss xmm0, dword [esp + 0x20]
lea eax, [esp + 0x28]
movss xmm1, dword [esp + 0x24]
lea edx, [esp + 0x24]
movss xmm2, dword [esp + 0x28]
lea ecx, [esp + 0x20]
push eax
movss dword [esi + 0x2e28], xmm0
movss dword [esi + 0x2e2c], xmm1
call fcn.100dd0e0
movq xmm0, qword [esp + 0x20]
mov eax, dword [esp + 0x28]
movq qword [esi + 0x2e30], xmm0
mov dword [esi + 0x2e38], eax
cmp dword [esp + 0x8c], 0x10100000
jne 0x10104a98
movss xmm1, dword [esp + 0x24]
xorps xmm5, xmm5
movss xmm4, dword [esp + 0x28]
movaps xmm0, xmm1
comiss xmm4, xmm0
movss xmm3, dword [esp + 0x20]
movaps xmm2, xmm3
jbe 0x10104a27
movss xmm5, dword [0x10183a74]
movaps xmm1, xmm4
movaps xmm4, xmm0
comiss xmm1, xmm2
jbe 0x10104a41
movss xmm0, dword [0x10183a4c]
movaps xmm3, xmm1
subss xmm0, xmm5
movaps xmm1, xmm2
movaps xmm5, xmm0
movaps xmm0, xmm1
movss dword [esp + 0x28], xmm3
minss xmm0, xmm4
movaps xmm2, xmm3
subss xmm1, xmm4
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x10183890]
addss xmm0, dword [0x1018364c]
divss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x1018364c]
addss xmm1, xmm5
divss xmm2, xmm0
andps xmm1, xmmword [0x10183e80]
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x24], xmm2
jmp 0x10104aaa
movss xmm3, dword [esp + 0x28]
movss xmm2, dword [esp + 0x24]
movss xmm1, dword [esp + 0x20]
cmp byte [esp + 0x34], 0
mov eax, dword [esp + 0x18]
movss dword [eax], xmm1
movss dword [eax + 4], xmm2
movss dword [eax + 8], xmm3
je 0x10104ace
movss xmm0, dword [esp + 0x2c]
movss dword [eax + 0xc], xmm0
mov eax, dword [edi + 0x1b94]
dec dword [eax + 0xc0]
call fcn.100e8f00
mov edi, dword [esp + 0x4c]
test byte [edi + 0x11c], 1
je 0x10104c29
test dword [ebp + 8], 0x200
jne 0x10104c29
call fcn.100ed730
test al, al
je 0x10104c29
xor edx, edx
mov byte [esp + 0xb], 0
mov ecx, str._COL3F
call fcn.100ed7b0
mov edi, dword [esp + 0x18]
test eax, eax
je 0x10104b3d
mov eax, dword [eax]
mov byte [esp + 0xb], 1
mov byte [esp + 0xa], 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.100ed7b0
test eax, eax
je 0x10104b67
mov ecx, dword [esp + 0x30]
shl ecx, 2
push ecx
push dword [eax]
push edi
call fcn.10121200
add esp, 0xc
mov byte [esp + 0xa], 1
jmp 0x10104b72
cmp byte [esp + 0xb], 0
je 0x10104c16
test dword [ebp + 8], 0x10000000
je 0x10104c16
movss xmm2, dword [edi + 4]
movss xmm4, dword [edi + 8]
comiss xmm4, xmm2
movss xmm3, dword [edi]
jbe 0x10104ba5
movss xmm5, dword [0x10183a74]
movaps xmm0, xmm2
movaps xmm2, xmm4
movaps xmm4, xmm0
jmp 0x10104ba8
xorps xmm5, xmm5
comiss xmm2, xmm3
jbe 0x10104bc5
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x10183a4c]
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 [0x10183890]
addss xmm0, dword [0x1018364c]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x1018364c]
addss xmm2, xmm5
divss xmm1, xmm0
andps xmm2, xmmword [0x10183e80]
movss dword [edi], xmm2
movss dword [edi + 4], xmm1
mov ecx, dword [0x1019deb4]
mov edi, dword [esp + 0x4c]
mov byte [ecx + 0x1e3e], 0
jmp 0x10104c2f
mov ecx, dword [0x1019deb4]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x10104c4f
mov eax, dword [esi + 0x1bc8]
test eax, eax
je 0x10104c4f
cmp dword [esi + 0x1bf8], edx
jne 0x10104c4f
mov dword [edi + 0x118], eax
mov al, byte [esp + 0xa]
test al, al
je 0x10104c6d
mov word [ecx + 0x1bd8], 0x101
mov ecx, dword [ecx + 0x1b94]
or dword [ecx + 0x11c], 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4