Function at 0x100d6e40
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 [0x1013a848]
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 0x100d6e8a
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 0x100d6eba
movss xmm1, dword [edx + 0x1c7c]
jmp 0x100d6ec2
movss xmm1, dword [eax + 0x1b4]
xorps xmm0, xmm0
comiss xmm0, xmm1
jbe 0x100d6f00
cmp dword [eax + 0x198], 0
movss xmm0, dword [eax + 0x24c]
jne 0x100d6ee4
cmp dword [edx + 0x1ecc], 0
je 0x100d6eec
movss xmm0, dword [eax + 0x21c]
subss xmm0, dword [eax + 0xcc]
addss xmm1, xmm0
maxss xmm1, dword [0x1012ad2c]
test byte [ebp + 8], 0x10
cvttss2si esi, xmm1
mov dword [esp + 0x10], esi
movd xmm3, esi
cvtdq2ps xmm3, xmm3
je 0x100d6f1a
xorps xmm1, xmm1
jmp 0x100d6f25
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 0x100d6f5d
mov esi, ecx
mov cl, byte [esi]
test cl, cl
je 0x100d6f5d
cmp cl, 0x23
jne 0x100d6f53
cmp byte [esi + 1], cl
je 0x100d6f5d
inc esi
mov dword [esp + 0x68], esi
cmp esi, 0xffffffff
jb 0x100d6f43
mov dword [edx + 0x1c78], 0
call fcn.100bc1d0
mov edi, dword [0x1013a848]
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.100aff90
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 0x100d6fda
inc ecx
test eax, eax
je 0x100d6fbe
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
sar eax, 1
add eax, dword [esp + 0x40]
jmp 0x100d6fc3
mov eax, 8
cmp eax, ecx
cmovg ecx, eax
push ecx
mov ecx, edx
call fcn.100897b0
mov edi, dword [0x1013a848]
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 0x100d700d
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [ebp + 8], ecx
test cl, 8
jne 0x100d7026
mov edx, ecx
mov ecx, dword [esp + 0x18]
call fcn.100db740
mov edi, dword [0x1013a848]
mov ecx, dword [ebp + 8]
mov edx, dword [esp + 0xc]
mov edx, dword [edx + 0x2e24]
test ecx, 0x700000
jne 0x100d7041
mov eax, edx
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x100d7052
mov eax, edx
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x100d7063
mov eax, edx
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x100d7074
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 0x100d70d6
movss xmm4, dword [eax + 0xc]
jmp 0x100d70de
movss xmm4, dword [0x1012ad2c]
mov eax, ecx
movss dword [esp + 0x2c], xmm4
and eax, 0x10100000
mov dword [esp + 0x8c], eax
cmp eax, 0x10100000
jne 0x100d7152
lea eax, [esp + 0x28]
movaps xmm0, xmm3
push eax
lea edx, [esp + 0x28]
lea ecx, [esp + 0x24]
call fcn.100b0570
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 [0x1012ac0c]
movss xmm5, dword [0x1012af34]
movss xmm0, dword [0x1012acd8]
jb 0x100d727a
movaps xmm7, xmm0
jmp 0x100d727d
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x100d7129
comiss xmm2, xmm1
xorps xmm6, xmm6
movaps xmm5, xmm1
movaps xmm7, xmm2
jbe 0x100d717c
movss xmm6, dword [0x1012af44]
movaps xmm5, xmm2
movaps xmm7, xmm1
comiss xmm5, xmm3
movaps xmm2, xmm3
jbe 0x100d7199
movss xmm0, dword [0x1012af28]
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 [0x1012ada8]
addss xmm0, dword [0x1012ac1c]
divss xmm3, xmm0
movaps xmm0, xmm2
addss xmm0, dword [0x1012ac1c]
addss xmm3, xmm6
divss xmm1, xmm0
andps xmm3, xmmword [0x1012b270]
movss dword [esp + 0x20], xmm3
movss dword [esp + 0x24], xmm1
jne 0x100d712d
mov edi, dword [esp + 0x18]
mov eax, dword [edx + 0x2e34]
cmp eax, dword [edi + 4]
mov edi, dword [0x1013a848]
jne 0x100d712d
mov esi, dword [esp + 0x18]
mov eax, dword [edx + 0x2e38]
cmp eax, dword [esi + 8]
mov esi, dword [esp + 0x10]
jne 0x100d712d
ucomiss xmm1, dword [0x1012ac0c]
lahf
test ah, 0x44
jp 0x100d7256
movss xmm3, dword [edx + 0x2e28]
movss dword [esp + 0x20], xmm3
ucomiss xmm2, dword [0x1012ac0c]
lahf
test ah, 0x44
jp 0x100d712d
movss xmm1, dword [edx + 0x2e2c]
movss dword [esp + 0x24], xmm1
jmp 0x100d712d
movaps xmm7, xmm5
comiss xmm1, dword [0x1012ac0c]
movss xmm6, dword [0x1012ae7c]
mulss xmm3, xmm6
addss xmm3, xmm7
cvttss2si eax, xmm3
mov dword [esp + 0x58], eax
jb 0x100d72a3
movaps xmm3, xmm0
jmp 0x100d72a6
movaps xmm3, xmm5
comiss xmm2, dword [0x1012ac0c]
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [esp + 0x5c], eax
jb 0x100d72c4
movaps xmm1, xmm0
jmp 0x100d72c7
movaps xmm1, xmm5
comiss xmm4, dword [0x1012ac0c]
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [esp + 0x60], eax
jae 0x100d72e3
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 0x100d732e
movss xmm1, dword [esp + 0x74]
jmp 0x100d7331
xorps xmm1, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0xcc], xmm0
mov eax, ecx
and eax, 0x20
test ecx, 0x300000
je 0x100d774e
test eax, eax
jne 0x100d774e
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 [0x1012ad2c]
addss xmm2, xmm0
movss dword [esp + 0x5c], xmm0
movss xmm0, dword [esp + 0x78]
mulss xmm2, xmm3
movss xmm3, dword [0x1012af10]
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 [0x1012ad2c]
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x54], xmm0
call fcn.100c80a0
movss xmm0, dword [esp + 0x38]
addss xmm0, dword [0x1012ad24]
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 0x100d744b
xor edx, edx
jmp 0x100d745a
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 0x100d7730
shl edx, 4
cmp dword [esp + 0x14], ecx
je 0x100d75d6
mov esi, dword [esp + 0xc]
lea edx, [edx + 0x1012a4a0]
and eax, 8
mov dword [esp + 0x14], edx
mov dword [esp + 0x7c], eax
nop dword [eax]
test ecx, ecx
je 0x100d74b2
movss xmm1, dword [esi + 0x1568]
xorps xmm0, xmm0
call fcn.100bbe00
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 0x100d74c5
movss xmm0, dword [esp + 0x40]
or dword [edi + 0x1c78], 1
cmp byte [esp + 0x50], 0
movss dword [edi + 0x1c7c], xmm0
je 0x100d74e0
xorps xmm0, xmm0
jmp 0x100d74e8
movss xmm0, dword [0x1012ad2c]
push 0
push dword [edx]
lea eax, [esp + 0x24]
movss dword [esp + 0x24], xmm0
movss xmm0, dword [0x1012ac34]
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 + 0x1012a3ec]
push eax
call fcn.100cfa60
mov cl, byte [esp + 0xa]
mov edi, dword [0x1013a848]
or cl, al
or byte [esp + 0xb], cl
cmp dword [esp + 0x7c], 0
mov byte [esp + 0xa], cl
jne 0x100d75ae
cmp byte [edi + 0x3e3], 0
je 0x100d75ae
mov ecx, 8
call fcn.100b29c0
test al, al
je 0x100d75ae
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.100aff90
cmp dword [edi + 0x1bc8], eax
jne 0x100d758d
mov dword [edi + 0x1bcc], eax
cmp dword [edi + 0x1c04], eax
jne 0x100d759c
mov byte [edi + 0x1c08], 1
mov edx, 1
mov ecx, eax
call fcn.100bcd00
mov edi, dword [0x1013a848]
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 0x100d7490
jmp 0x100d772c
xor ecx, ecx
lea edx, [edx + 0x1012a3bc]
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 0x100d7623
movss xmm1, dword [esi + 0x1568]
xorps xmm0, xmm0
call fcn.100bbe00
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 0x100d7636
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 [0x1012ad2c]
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 + 0x1012a3ec]
push eax
call fcn.100cfa60
or byte [esp + 0xa], al
cmp dword [esp + 0x50], 0
mov edi, dword [0x1013a848]
jne 0x100d7709
cmp byte [edi + 0x3e3], 0
je 0x100d7709
mov ecx, 8
call fcn.100b29c0
test al, al
je 0x100d7709
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.100aff90
cmp dword [edi + 0x1bc8], eax
jne 0x100d76e8
mov dword [edi + 0x1bcc], eax
cmp dword [edi + 0x1c04], eax
jne 0x100d76f7
mov byte [edi + 0x1c08], 1
mov edx, 1
mov ecx, eax
call fcn.100bcd00
mov edi, dword [0x1013a848]
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 0x100d7601
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 0x100d79be
mov dword [esp + 0x10], eax
test ecx, 0x400000
je 0x100d79ba
mov dword [esp + 0x10], eax
test eax, eax
jne 0x100d79ba
cmp byte [esp + 0x34], 0
mov eax, 0xff
je 0x100d77e4
mov ecx, dword [esp + 0x64]
test ecx, ecx
jns 0x100d7788
mov dword [esp + 0x40], 0
jmp 0x100d7791
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x40], ecx
mov edi, dword [esp + 0x60]
test edi, edi
jns 0x100d779d
xor edi, edi
jmp 0x100d77a2
cmp edi, eax
cmovg edi, eax
mov edx, dword [esp + 0x5c]
test edx, edx
jns 0x100d77ae
xor edx, edx
jmp 0x100d77b3
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x58]
test ecx, ecx
jns 0x100d77bf
xor ecx, ecx
jmp 0x100d77c4
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x40]
lea eax, [esp + 0xa4]
push edi
push edx
push ecx
push 0x1012a1b0
push 0x40
push eax
call fcn.100aff40
add esp, 0x1c
jmp 0x100d7831
mov edi, dword [esp + 0x60]
test edi, edi
jns 0x100d77f0
xor edi, edi
jmp 0x100d77f5
cmp edi, eax
cmovg edi, eax
mov edx, dword [esp + 0x5c]
test edx, edx
jns 0x100d7801
xor edx, edx
jmp 0x100d7806
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x58]
test ecx, ecx
jns 0x100d7812
xor ecx, ecx
jmp 0x100d7817
cmp ecx, eax
cmovg ecx, eax
push edi
push edx
push ecx
push 0x1012a1c4
lea eax, [esp + 0xb0]
push 0x40
push eax
call fcn.100aff40
add esp, 0x18
mov eax, dword [0x1013a848]
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.100d2f50
test al, al
je 0x100d7919
mov byte [esp + 0xa], 1
lea ecx, [esp + 0xa0]
nop dword [eax]
mov al, byte [ecx]
cmp al, 0x23
je 0x100d78ae
cmp al, 0x20
je 0x100d78ae
cmp al, 9
jne 0x100d78b1
inc ecx
jmp 0x100d78a0
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 0x100d78fc
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 str._02X_02X_02X_02X
push ecx
call fcn.1008ea40
add esp, 0x18
jmp 0x100d7919
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.1008ea40
add esp, 0x14
mov ecx, dword [ebp + 8]
xor eax, eax
mov edi, dword [0x1013a848]
mov dword [esp + 0x10], eax
test cl, 8
jne 0x100d7739
mov dword [esp + 0x10], eax
cmp byte [edi + 0x3e3], al
je 0x100d7739
lea ecx, [eax + 8]
mov dword [esp + 0x10], eax
call fcn.100b29c0
test al, al
je 0x100d79a7
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.100aff90
cmp dword [edi + 0x1bc8], eax
jne 0x100d7981
mov dword [edi + 0x1bcc], eax
cmp dword [edi + 0x1c04], eax
jne 0x100d7990
mov byte [edi + 0x1c08], 1
mov edx, 1
mov ecx, eax
call fcn.100bcd00
mov edi, dword [0x1013a848]
jmp 0x100d7730
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 0x100d7d43
test eax, eax
jne 0x100d79eb
cmp dword [edx + 0x15a8], eax
je 0x100d79eb
movss xmm1, dword [esp + 0x70]
addss xmm1, dword [edx + 0x1568]
jmp 0x100d79ee
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 0x100d7a1b
movss xmm1, dword [eax + 0xc]
jmp 0x100d7a23
movss xmm1, dword [0x1012ad2c]
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.100daa80
test al, al
je 0x100d7b5b
test byte [ebp + 8], 4
jne 0x100d7b5b
mov edi, dword [esp + 0xc]
xor edx, edx
movups xmm0, xmmword [esp + 0x90]
mov eax, dword [0x1013a848]
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.100aff90
mov ecx, eax
mov eax, dword [0x1013a848]
cmp dword [eax + 0x1bc8], ecx
jne 0x100d7ae4
mov dword [eax + 0x1bcc], ecx
cmp dword [eax + 0x1c04], ecx
jne 0x100d7af3
mov byte [eax + 0x1c08], 1
xor edx, edx
call fcn.100bcd00
movss xmm0, dword [edi + 0x1564]
mov eax, dword [esp + 0x4c]
mov edi, dword [0x1013a848]
movss xmm1, dword [eax + 0x120]
addss xmm0, dword [eax + 0x12c]
subss xmm1, dword [0x1012ad2c]
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 0x100d7b61
mov edi, dword [0x1013a848]
mov ecx, dword [ebp + 8]
test cl, 8
jne 0x100d7bd4
cmp byte [edi + 0x3e3], 0
je 0x100d7bd4
mov ecx, 8
call fcn.100b29c0
test al, al
je 0x100d7bd1
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.100aff90
cmp dword [edi + 0x1bc8], eax
jne 0x100d7bb0
mov dword [edi + 0x1bcc], eax
cmp dword [edi + 0x1c04], eax
jne 0x100d7bbf
mov byte [edi + 0x1c08], 1
mov edx, 1
mov ecx, eax
call fcn.100bcd00
mov edi, dword [0x1013a848]
mov ecx, dword [ebp + 8]
mov eax, dword [edi + 0x1cd4]
cmp eax, dword [edi + 0x1ce0]
jg 0x100d7bf1
mov dword [edi + 0x1c18], 0
jmp 0x100d7d43
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.100aff90
cmp dword [edi + 0x1bc8], eax
jne 0x100d7c21
mov dword [edi + 0x1bcc], eax
cmp dword [edi + 0x1c04], eax
jne 0x100d7c30
mov byte [edi + 0x1c08], 1
mov edx, 0x141
mov ecx, eax
call fcn.100bd040
test al, al
je 0x100d7d3a
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 0x100d7caa
push 0
mov edx, eax
call fcn.100caae0
mov ecx, dword [0x1013a848]
mov eax, dword [ecx + 0x1b94]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b94]
cmp byte [eax + 0x8f], 0
jne 0x100d7caa
movss xmm0, dword [0x1012af44]
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 0
call fcn.100bbb00
mov eax, dword [0x1013a848]
mov ecx, 0x10123004
movss xmm0, dword [esp + 0x84]
mulss xmm0, dword [0x1012adc8]
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.100d8310
mov edi, dword [0x1013a848]
or byte [esp + 0xa], al
mov eax, dword [edi + 0x1b94]
cmp dword [edi + 0x1cf8], eax
jne 0x100d7d1e
mov dword [edi + 0x1df8], eax
mov dword [edi + 0x1dfc], 2
test dword [eax + 8], 0x1000000
je 0x100d7d2e
mov byte [edi + 0x1b46], 1
call fcn.100bb1d0
mov byte [edi + 0x1b46], 0
mov ecx, dword [ebp + 8]
mov edi, dword [0x1013a848]
mov eax, dword [esp + 0x68]
cmp dword [esp + 0x6c], eax
je 0x100d7db8
test cl, cl
js 0x100d7db8
cmp dword [esp + 0x10], 0
je 0x100d7d64
movss xmm0, dword [esp + 0x74]
mov esi, dword [esp + 0xc]
jmp 0x100d7d77
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.100caae0
mov edi, dword [0x1013a848]
jmp 0x100d7dbc
mov esi, dword [esp + 0xc]
cmp byte [esp + 0xa], 0
je 0x100d7f2e
cmp dword [esp + 0x14], 0
jne 0x100d7f2e
cmp byte [esp + 0xb], 0
jne 0x100d7ded
movups xmm0, xmmword [esp + 0x58]
cvtdq2ps xmm0, xmm0
mulps xmm0, xmmword [0x1012b100]
movups xmmword [esp + 0x20], xmm0
mov eax, dword [ebp + 8]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x100d7e48
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.100b0570
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 0x100d7ef8
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 0x100d7e87
movss xmm5, dword [0x1012af44]
movaps xmm1, xmm4
movaps xmm4, xmm0
comiss xmm1, xmm2
jbe 0x100d7ea1
movss xmm0, dword [0x1012af28]
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 [0x1012ada8]
addss xmm0, dword [0x1012ac1c]
divss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x1012ac1c]
addss xmm1, xmm5
divss xmm2, xmm0
andps xmm1, xmmword [0x1012b270]
movss dword [esp + 0x20], xmm1
movss dword [esp + 0x24], xmm2
jmp 0x100d7f0a
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 0x100d7f2e
movss xmm0, dword [esp + 0x2c]
movss dword [eax + 0xc], xmm0
mov eax, dword [edi + 0x1b94]
dec dword [eax + 0xc0]
call fcn.100bc300
mov edi, dword [esp + 0x4c]
test byte [edi + 0x11c], 1
je 0x100d8089
test dword [ebp + 8], 0x200
jne 0x100d8089
call fcn.100c0b30
test al, al
je 0x100d8089
xor edx, edx
mov byte [esp + 0xb], 0
mov ecx, str._COL3F
call fcn.100c0bb0
mov edi, dword [esp + 0x18]
test eax, eax
je 0x100d7f9d
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.100c0bb0
test eax, eax
je 0x100d7fc7
mov ecx, dword [esp + 0x30]
shl ecx, 2
push ecx
push dword [eax]
push edi
call fcn.100ea8d0
add esp, 0xc
mov byte [esp + 0xa], 1
jmp 0x100d7fd2
cmp byte [esp + 0xb], 0
je 0x100d8076
test dword [ebp + 8], 0x10000000
je 0x100d8076
movss xmm2, dword [edi + 4]
movss xmm4, dword [edi + 8]
comiss xmm4, xmm2
movss xmm3, dword [edi]
jbe 0x100d8005
movss xmm5, dword [0x1012af44]
movaps xmm0, xmm2
movaps xmm2, xmm4
movaps xmm4, xmm0
jmp 0x100d8008
xorps xmm5, xmm5
comiss xmm2, xmm3
jbe 0x100d8025
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x1012af28]
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 [0x1012ada8]
addss xmm0, dword [0x1012ac1c]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x1012ac1c]
addss xmm2, xmm5
divss xmm1, xmm0
andps xmm2, xmmword [0x1012b270]
movss dword [edi], xmm2
movss dword [edi + 4], xmm1
mov ecx, dword [0x1013a848]
mov edi, dword [esp + 0x4c]
mov byte [ecx + 0x1e3e], 0
jmp 0x100d808f
mov ecx, dword [0x1013a848]
mov edx, dword [esp + 0x14]
test edx, edx
je 0x100d80af
mov eax, dword [esi + 0x1bc8]
test eax, eax
je 0x100d80af
cmp dword [esi + 0x1bf8], edx
jne 0x100d80af
mov dword [edi + 0x118], eax
mov al, byte [esp + 0xa]
test al, al
je 0x100d80cd
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