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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xf8
mov eax, dword [0x10105018]
xor eax, esp
mov dword [esp + 0xf4], eax
push esi
push edi
mov edi, dword [0x10107a10]
mov dword [esp + 0x24], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x54], edx
mov eax, dword [edi + 0x1b9c]
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], edi
mov byte [eax + 0x8c], 1
mov eax, dword [edi + 0x1b9c]
mov dword [esp + 0x2c], eax
cmp byte [eax + 0x8f], 0
je 0x1003d10d
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xf4]
xor ecx, esp
call fcn.100a8abc
mov esp, ebp
pop ebp
ret
test byte [edi + 0x1c80], 1
movss xmm2, dword [edi + 0x1554]
addss xmm2, xmm2
addss xmm2, dword [edi + 0x1930]
movss dword [esp + 0x64], xmm2
je 0x1003d13a
movss xmm0, dword [edi + 0x1c84]
jmp 0x1003d142
movss xmm0, dword [eax + 0x1b0]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1003d187
cmp dword [eax + 0x198], 0
movss xmm1, dword [eax + 0x248]
jne 0x1003d164
cmp dword [edi + 0x1ed4], 0
je 0x1003d16c
movss xmm1, dword [eax + 0x218]
subss xmm1, dword [eax + 0xd0]
addss xmm1, xmm0
movss xmm0, dword [0x100fcbb4]
maxss xmm0, xmm1
xorps xmm1, xmm1
cvttss2si esi, xmm0
mov dword [esp + 0x30], esi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
test cl, 0x10
jne 0x1003d1a6
movaps xmm1, xmm2
addss xmm1, dword [edi + 0x1568]
movss dword [esp + 0x58], xmm1
subss xmm0, xmm1
mov dword [esp + 0x48], edx
movss dword [esp + 0x50], xmm0
cmp edx, 0xffffffff
jae 0x1003d1df
mov esi, edx
mov cl, byte [esi]
test cl, cl
je 0x1003d1db
cmp cl, 0x23
jne 0x1003d1d1
cmp byte [esi + 1], cl
je 0x1003d1db
inc esi
mov dword [esp + 0x48], esi
cmp esi, 0xffffffff
jb 0x1003d1c1
mov esi, dword [esp + 0x30]
mov dword [edi + 0x1c80], 0
call fcn.10023bb0
mov ecx, dword [esp + 0x54]
call fcn.10023480
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x68], ecx
test cl, 0x20
je 0x1003d214
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0x18], ecx
test cl, 8
jne 0x1003d228
mov edx, ecx
mov ecx, dword [esp + 0x24]
call fcn.100419d0
mov ecx, dword [esp + 0x18]
mov edx, dword [edi + 0x2e38]
test ecx, 0x700000
jne 0x1003d23f
mov eax, edx
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x1003d250
mov eax, edx
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x1003d261
mov eax, edx
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x1003d272
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 + 0x4c], eax
mov dword [esp + 0x40], edx
movzx eax, dl
mov edx, dword [esp + 0x24]
add eax, 3
cmp byte [esp + 0x40], 0
mov dword [esp + 0x28], eax
movss xmm3, dword [edx]
movss xmm1, dword [edx + 4]
movss xmm2, dword [edx + 8]
movss dword [esp + 0x98], xmm3
movss dword [esp + 0x9c], xmm1
movss dword [esp + 0xa0], xmm2
je 0x1003d2e1
movss xmm4, dword [edx + 0xc]
jmp 0x1003d2e9
movss xmm4, dword [0x100fcbb4]
mov eax, ecx
movss dword [esp + 0xa4], xmm4
and eax, 0x10100000
mov dword [esp + 0x6c], eax
cmp eax, 0x10100000
jne 0x1003d352
lea eax, [esp + 0xa0]
movaps xmm0, xmm3
push eax
lea edx, [esp + 0xa0]
lea ecx, [esp + 0x9c]
call fcn.10017f30
movss xmm4, dword [esp + 0xa8]
add esp, 4
movss xmm2, dword [esp + 0xa0]
movss xmm1, dword [esp + 0x9c]
movss xmm3, dword [esp + 0x98]
mov ecx, dword [esp + 0x18]
jmp 0x1003d45a
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1003d45a
comiss xmm2, xmm1
xorps xmm6, xmm6
movaps xmm5, xmm1
movaps xmm7, xmm2
jbe 0x1003d380
movss xmm6, dword [0x100fccc0]
movaps xmm5, xmm2
movaps xmm7, xmm1
comiss xmm5, xmm3
movaps xmm2, xmm3
jbe 0x1003d39d
movss xmm0, dword [0x100fccac]
movaps xmm2, xmm5
subss xmm0, xmm6
movaps xmm5, xmm3
movaps xmm6, xmm0
movaps xmm0, xmm5
mov eax, dword [edi + 0x2e44]
minss xmm0, xmm7
movaps xmm1, xmm2
movaps xmm3, xmm5
movss dword [esp + 0xa0], xmm2
subss xmm3, xmm7
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100fcc14]
addss xmm0, dword [0x100fcb24]
divss xmm3, xmm0
movaps xmm0, xmm2
addss xmm3, xmm6
addss xmm0, dword [0x100fcb24]
andps xmm3, xmmword [0x100fcff0]
divss xmm1, xmm0
movss dword [esp + 0x98], xmm3
movss dword [esp + 0x9c], xmm1
cmp eax, dword [edx]
jne 0x1003d45a
mov eax, dword [edi + 0x2e48]
cmp eax, dword [edx + 4]
jne 0x1003d45a
mov eax, dword [edi + 0x2e4c]
cmp eax, dword [edx + 8]
jne 0x1003d45a
ucomiss xmm1, dword [0x100fcb10]
lahf
test ah, 0x44
jp 0x1003d43c
movss xmm3, dword [edi + 0x2e3c]
movss dword [esp + 0x98], xmm3
ucomiss xmm2, dword [0x100fcb10]
lahf
test ah, 0x44
jp 0x1003d45a
movss xmm1, dword [edi + 0x2e40]
movss dword [esp + 0x9c], xmm1
comiss xmm3, dword [0x100fcb10]
movss xmm5, dword [0x100fccb0]
movss xmm0, dword [0x100fcb74]
jb 0x1003d478
movaps xmm7, xmm0
jmp 0x1003d47b
movaps xmm7, xmm5
movss xmm6, dword [0x100fcc5c]
mulss xmm3, xmm6
addss xmm3, xmm7
xorps xmm7, xmm7
comiss xmm1, xmm7
cvttss2si eax, xmm3
mov dword [esp + 0xa8], eax
jb 0x1003d4a3
movaps xmm3, xmm0
jmp 0x1003d4a6
movaps xmm3, xmm5
comiss xmm2, xmm7
mulss xmm1, xmm6
addss xmm1, xmm3
cvttss2si eax, xmm1
mov dword [esp + 0xac], eax
jb 0x1003d4c3
movaps xmm1, xmm0
jmp 0x1003d4c6
movaps xmm1, xmm5
comiss xmm4, xmm7
mulss xmm2, xmm6
addss xmm2, xmm1
cvttss2si eax, xmm2
mov dword [esp + 0xb0], eax
jae 0x1003d4e1
movaps xmm0, xmm5
cmp dword [edi + 0x15a8], 0
mulss xmm4, xmm6
mov byte [esp + 0x16], 0
mov byte [esp + 0x17], 0
addss xmm4, xmm0
cvttss2si eax, xmm4
mov dword [esp + 0xb4], eax
mov eax, dword [esp + 0x2c]
movss xmm0, dword [eax + 0xd0]
movss xmm1, dword [eax + 0xd4]
movss dword [esp + 0x5c], xmm0
movss dword [esp + 0x60], xmm1
jne 0x1003d52f
movss xmm1, dword [esp + 0x58]
jmp 0x1003d532
xorps xmm1, xmm1
addss xmm0, xmm1
movss dword [eax + 0xd0], xmm0
test ecx, 0x300000
je 0x1003d951
test cl, 0x20
jne 0x1003d951
mov edx, dword [esp + 0x28]
movss xmm2, dword [edi + 0x1568]
movss xmm1, dword [esp + 0x50]
movaps xmm0, xmm2
mov edi, dword [0x10107a10]
lea eax, [edx - 1]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
mulss xmm0, xmm3
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x100fcbb4]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [esp + 0x50]
addss xmm2, xmm1
movss dword [esp + 0x3c], xmm1
movss xmm1, dword [0x100fcbb4]
mulss xmm2, xmm3
movss xmm3, dword [0x100fcc98]
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
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x24], eax
mov eax, str.M:0.000
cmove eax, ecx
push 0
push eax
push ecx
mov ecx, dword [edi + 0x192c]
maxss xmm1, xmm0
lea eax, [esp + 0x44]
mov dword [esp], 0xbf800000
push eax
movss dword [esp + 0x58], xmm1
call fcn.1002fd00
movss xmm0, dword [esp + 0x34]
addss xmm0, dword [0x100fcbac]
movss xmm1, dword [esp + 0x3c]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, dword [esp + 0x18]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x1003d647
xor edx, edx
jmp 0x1003d656
mov edx, eax
and edx, 0x200000
neg edx
sbb edx, edx
neg edx
inc edx
xor ecx, ecx
mov dword [esp + 0x70], ecx
cmp dword [esp + 0x28], ecx
jbe 0x1003dbc2
shl edx, 4
cmp dword [esp + 0x20], ecx
je 0x1003d7df
mov esi, dword [esp + 0x1c]
lea edx, [edx + 0x100fca78]
and eax, 8
mov dword [esp + 0x20], edx
mov dword [esp + 0x78], eax
test ecx, ecx
je 0x1003d6aa
movss xmm1, dword [esi + 0x1568]
xorps xmm0, xmm0
call fcn.10023970
movss xmm1, dword [esp + 0x3c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esp + 0x34], eax
cmp eax, dword [esp + 0x28]
jge 0x1003d6bc
movaps xmm0, xmm1
jmp 0x1003d6c2
movss xmm0, dword [esp + 0x44]
or dword [edi + 0x1c80], 1
cmp byte [esp + 0x4c], 0
movss dword [edi + 0x1c84], xmm0
je 0x1003d6dd
xorps xmm0, xmm0
jmp 0x1003d6e5
movss xmm0, dword [0x100fcbb4]
movss xmm3, dword [0x100fcb34]
lea eax, [esp + 0x70]
push ecx
push dword [edx]
mov edx, 8
movss dword [esp + 0x78], xmm0
push eax
lea eax, [esp + 0x80]
mov dword [esp + 0x80], 0
push eax
lea eax, [esp + 0xa8]
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x100fcb00]
push eax
call fcn.10037100
mov cl, byte [esp + 0x2a]
add esp, 0x14
mov edi, dword [0x10107a10]
or cl, al
or byte [esp + 0x17], cl
cmp dword [esp + 0x78], 0
mov byte [esp + 0x16], cl
jne 0x1003d7b3
cmp byte [edi + 0x3e3], 0
je 0x1003d7b3
mov ecx, 8
call fcn.10019dc0
test al, al
je 0x1003d7b3
mov eax, dword [edi + 0x1b9c]
xor edx, edx
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.100178f0
add esp, 4
cmp dword [edi + 0x1bd4], eax
jne 0x1003d792
mov dword [edi + 0x1bd8], eax
cmp dword [edi + 0x1c0c], eax
jne 0x1003d7a1
mov byte [edi + 0x1c10], 1
mov edx, 1
mov ecx, eax
call fcn.100245b0
mov edi, dword [0x10107a10]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x34]
add edx, 4
movss xmm1, dword [esp + 0x3c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x20], edx
cmp ecx, dword [esp + 0x28]
jl 0x1003d688
mov esi, dword [esp + 0x30]
jmp 0x1003dbc2
xor ecx, ecx
lea edx, [edx + 0x100fcaa8]
cmp byte [esp + 0x4c], cl
mov esi, 0xff
mov dword [esp + 0x70], ecx
cmovne esi, ecx
mov dword [esp + 0x20], edx
and eax, 8
mov dword [esp + 0x34], esi
mov esi, dword [esp + 0x1c]
mov dword [esp + 0x4c], eax
nop word [eax + eax]
test ecx, ecx
jle 0x1003d832
movss xmm1, dword [esi + 0x1568]
xorps xmm0, xmm0
call fcn.10023970
movss xmm1, dword [esp + 0x3c]
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x20]
lea eax, [ecx + 1]
mov dword [esp + 0x70], eax
cmp eax, dword [esp + 0x28]
jge 0x1003d844
movaps xmm0, xmm1
jmp 0x1003d84a
movss xmm0, dword [esp + 0x44]
mov eax, dword [esp + 0x34]
movss xmm3, dword [0x100fcbb4]
or dword [edi + 0x1c80], 1
push ecx
push dword [edx]
mov dword [esp + 0x80], eax
mov edx, 4
lea eax, [esp + 0x80]
movss dword [edi + 0x1c84], xmm0
push eax
lea eax, [esp + 0x80]
mov dword [esp + 0x80], 0
push eax
lea eax, [esp + 0xb8]
lea eax, [eax + ecx*4]
mov ecx, dword [ecx*4 + 0x100fcb00]
push eax
call fcn.10037100
or byte [esp + 0x2a], al
add esp, 0x14
cmp dword [esp + 0x4c], 0
mov edi, dword [0x10107a10]
jne 0x1003d925
cmp byte [edi + 0x3e3], 0
je 0x1003d925
mov ecx, 8
call fcn.10019dc0
test al, al
je 0x1003d925
mov eax, dword [edi + 0x1b9c]
xor edx, edx
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.100178f0
add esp, 4
cmp dword [edi + 0x1bd4], eax
jne 0x1003d904
mov dword [edi + 0x1bd8], eax
cmp dword [edi + 0x1c0c], eax
jne 0x1003d913
mov byte [edi + 0x1c10], 1
mov edx, 1
mov ecx, eax
call fcn.100245b0
mov edi, dword [0x10107a10]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x70]
add edx, 4
movss xmm1, dword [esp + 0x3c]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x20], edx
cmp ecx, dword [esp + 0x28]
jl 0x1003d810
mov esi, dword [esp + 0x30]
jmp 0x1003dbc2
mov eax, ecx
and eax, 0x400020
cmp eax, 0x400000
jne 0x1003dbbc
cmp byte [esp + 0x40], 0
mov eax, 0xff
je 0x1003d9e9
mov ecx, dword [esp + 0xb4]
test ecx, ecx
jns 0x1003d984
mov dword [esp + 0x44], 0
jmp 0x1003d98d
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x44], ecx
mov edi, dword [esp + 0xb0]
test edi, edi
jns 0x1003d99c
xor edi, edi
jmp 0x1003d9a1
cmp edi, eax
cmovg edi, eax
mov edx, dword [esp + 0xac]
test edx, edx
jns 0x1003d9b0
xor edx, edx
jmp 0x1003d9b5
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0xa8]
test ecx, ecx
jns 0x1003d9c4
xor ecx, ecx
jmp 0x1003d9c9
cmp ecx, eax
cmovg ecx, eax
push dword [esp + 0x44]
lea eax, [esp + 0xbc]
push edi
push edx
push ecx
push 0x100fc848
push 0x40
push eax
call fcn.100178b0
add esp, 0x1c
jmp 0x1003da3f
mov edi, dword [esp + 0xb0]
test edi, edi
jns 0x1003d9f8
xor edi, edi
jmp 0x1003d9fd
cmp edi, eax
cmovg edi, eax
mov edx, dword [esp + 0xac]
test edx, edx
jns 0x1003da0c
xor edx, edx
jmp 0x1003da11
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0xa8]
test ecx, ecx
jns 0x1003da20
xor ecx, ecx
jmp 0x1003da25
cmp ecx, eax
cmovg ecx, eax
push edi
push edx
push ecx
push 0x100fc85c
lea eax, [esp + 0xc8]
push 0x40
push eax
call fcn.100178b0
add esp, 0x18
mov eax, dword [0x10107a10]
xor edx, edx
movss xmm5, dword [esp + 0x50]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x1c80], 1
movss dword [eax + 0x1c84], xmm5
lea eax, [esp + 0x80]
push 6
push eax
lea eax, [esp + 0xc8]
mov dword [esp + 0x88], 0
push 0x40
push eax
mov dword [esp + 0x94], 0
call fcn.10039ab0
add esp, 0x18
test al, al
je 0x1003db4a
mov byte [esp + 0x16], 1
lea ecx, [esp + 0xb8]
nop word [eax + eax]
mov al, byte [ecx]
cmp al, 0x23
je 0x1003dabe
cmp al, 0x20
je 0x1003dabe
cmp al, 9
jne 0x1003dac1
inc ecx
jmp 0x1003dab0
cmp byte [esp + 0x40], 0
mov dword [esp + 0xb0], 0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
mov dword [esp + 0xb4], 0xff
je 0x1003db24
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.100011f0
add esp, 0x18
jmp 0x1003db4a
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.100011f0
add esp, 0x14
test byte [esp + 0x18], 8
jne 0x1003dbbc
mov edi, dword [0x10107a10]
cmp byte [edi + 0x3e3], 0
je 0x1003dbc2
mov ecx, 8
call fcn.10019dc0
test al, al
je 0x1003dbc2
mov eax, dword [edi + 0x1b9c]
xor edx, edx
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.100178f0
add esp, 4
cmp dword [edi + 0x1bd4], eax
jne 0x1003dba1
mov dword [edi + 0x1bd8], eax
cmp dword [edi + 0x1c0c], eax
jne 0x1003dbb0
mov byte [edi + 0x1c10], 1
mov edx, 1
mov ecx, eax
call fcn.100245b0
mov edi, dword [0x10107a10]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x30], 0
test al, 0x10
jne 0x1003def3
mov edi, dword [esp + 0x1c]
test al, 0x20
jne 0x1003dbf7
cmp dword [edi + 0x15a8], 0
je 0x1003dbf7
movss xmm1, dword [esp + 0x50]
addss xmm1, dword [edi + 0x1568]
jmp 0x1003dbfa
xorps xmm1, xmm1
cmp byte [esp + 0x40], 0
movss xmm0, dword [esp + 0x5c]
mov ecx, dword [esp + 0x2c]
addss xmm0, xmm1
movss dword [ecx + 0xd0], xmm0
movss xmm0, dword [esp + 0x60]
movss dword [ecx + 0xd4], xmm0
mov ecx, dword [esp + 0x24]
je 0x1003dc30
movss xmm1, dword [ecx + 0xc]
jmp 0x1003dc38
movss xmm1, dword [0x100fcbb4]
movss xmm0, dword [ecx]
lea edx, [esp + 0x80]
movss dword [esp + 0x80], xmm0
movss xmm0, dword [ecx + 4]
mov dword [esp + 0x38], 0
push dword [esp + 0x38]
mov dword [esp + 0x38], 0
push dword [esp + 0x38]
movss dword [esp + 0x8c], xmm0
movss xmm0, dword [ecx + 8]
mov ecx, str.ColorButton
push eax
movss dword [esp + 0x94], xmm0
movss dword [esp + 0x98], xmm1
call fcn.10040ec0
add esp, 0xc
test al, al
je 0x1003dd6f
test byte [esp + 0x18], 4
jne 0x1003dd6f
movups xmm0, xmmword [esp + 0x80]
mov eax, dword [0x10107a10]
xor edx, edx
movups xmmword [edi + 0x2e50], xmm0
mov eax, dword [eax + 0x1b9c]
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, str.picker
call fcn.100178f0
mov ecx, eax
add esp, 4
mov eax, dword [0x10107a10]
cmp dword [eax + 0x1bd4], ecx
jne 0x1003dcf8
mov dword [eax + 0x1bd8], ecx
cmp dword [eax + 0x1c0c], ecx
jne 0x1003dd07
mov byte [eax + 0x1c10], 1
xor edx, edx
call fcn.100245b0
movss xmm0, dword [edi + 0x1564]
mov eax, dword [esp + 0x2c]
mov edi, dword [0x10107a10]
movss xmm1, dword [eax + 0x124]
addss xmm0, dword [eax + 0x130]
subss xmm1, dword [0x100fcbb4]
or dword [edi + 0x1c20], 1
mov dword [edi + 0x1c38], 0
mov dword [edi + 0x1c3c], 0
movss dword [edi + 0x1c34], xmm0
movss dword [edi + 0x1c30], xmm1
mov dword [edi + 0x1c24], 1
jmp 0x1003dd75
mov edi, dword [0x10107a10]
test byte [esp + 0x18], 8
jne 0x1003dde1
cmp byte [edi + 0x3e3], 0
je 0x1003dde1
mov ecx, 8
call fcn.10019dc0
test al, al
je 0x1003dde1
mov eax, dword [edi + 0x1b9c]
xor edx, edx
mov ecx, dword [eax + 0xc4]
mov eax, dword [eax + 0xcc]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.100178f0
add esp, 4
cmp dword [edi + 0x1bd4], eax
jne 0x1003ddc6
mov dword [edi + 0x1bd8], eax
cmp dword [edi + 0x1c0c], eax
jne 0x1003ddd5
mov byte [edi + 0x1c10], 1
mov edx, 1
mov ecx, eax
call fcn.100245b0
mov ecx, str.picker
call fcn.100249c0
test al, al
je 0x1003dee9
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x54]
mov eax, dword [edi + 0x1b9c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x48]
cmp ecx, eax
je 0x1003de5c
push 0
mov edx, eax
call fcn.10033ea0
mov ecx, dword [0x10107a10]
add esp, 4
mov eax, dword [ecx + 0x1b9c]
mov byte [eax + 0x8c], 1
mov eax, dword [ecx + 0x1b9c]
cmp byte [eax + 0x8f], 0
jne 0x1003de5c
movss xmm1, dword [0x100fccc0]
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], 0
mov dword [esp + 0x38], 0
call fcn.100235a0
mov eax, dword [0x10107a10]
mov ecx, 0x100f7ad0
movss xmm0, dword [esp + 0x64]
mulss xmm0, dword [0x100fcc24]
mov edx, dword [esp + 0x24]
or dword [eax + 0x1c80], 1
movss dword [eax + 0x1c84], xmm0
lea eax, [edi + 0x2e50]
push eax
mov eax, dword [esp + 0x6c]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.1003e570
mov edi, dword [0x10107a10]
add esp, 8
or byte [esp + 0x16], al
mov eax, dword [edi + 0x1b9c]
cmp dword [edi + 0x1d00], eax
jne 0x1003decd
mov dword [edi + 0x1e00], eax
mov dword [edi + 0x1e04], 2
test dword [eax + 8], 0x1000000
je 0x1003dedd
mov byte [edi + 0x1b46], 1
call fcn.10022cd0
mov byte [edi + 0x1b46], 0
mov eax, dword [esp + 0x18]
mov edi, dword [0x10107a10]
mov edx, dword [esp + 0x48]
mov ecx, dword [esp + 0x54]
cmp ecx, edx
je 0x1003df64
test al, al
js 0x1003df64
test al, 0x20
je 0x1003df13
movss xmm0, dword [esp + 0x58]
mov esi, dword [esp + 0x1c]
jmp 0x1003df26
movd xmm0, esi
mov esi, dword [esp + 0x1c]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esi + 0x1568]
movss xmm1, dword [esp + 0x5c]
mov eax, dword [esp + 0x2c]
addss xmm1, xmm0
movss xmm0, dword [esp + 0x60]
addss xmm0, dword [esi + 0x1554]
push 0
movss dword [eax + 0xd0], xmm1
movss dword [eax + 0xd4], xmm0
call fcn.10033ea0
mov edi, dword [0x10107a10]
add esp, 4
jmp 0x1003df68
mov esi, dword [esp + 0x1c]
cmp byte [esp + 0x16], 0
je 0x1003e117
cmp dword [esp + 0x30], 0
jne 0x1003e117
cmp byte [esp + 0x17], 0
jne 0x1003df9f
movups xmm0, xmmword [esp + 0xa8]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x100fcfe0]
movups xmmword [esp + 0x98], xmm0
mov eax, dword [esp + 0x18]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1003e016
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 [esi + 0x2e3c], xmm0
movss dword [esi + 0x2e40], xmm1
call fcn.10017f30
movq xmm0, qword [esp + 0x9c]
add esp, 4
mov eax, dword [esp + 0xa0]
movq qword [esi + 0x2e44], xmm0
mov dword [esi + 0x2e4c], eax
cmp dword [esp + 0x6c], 0x10100000
jne 0x1003e0d5
movss xmm1, dword [esp + 0x9c]
xorps xmm5, xmm5
movss xmm4, dword [esp + 0xa0]
movaps xmm0, xmm1
comiss xmm4, xmm0
movss xmm3, dword [esp + 0x98]
movaps xmm2, xmm3
jbe 0x1003e05b
movss xmm5, dword [0x100fccc0]
movaps xmm1, xmm4
movaps xmm4, xmm0
comiss xmm1, xmm2
jbe 0x1003e075
movss xmm0, dword [0x100fccac]
movaps xmm3, xmm1
subss xmm0, xmm5
movaps xmm1, xmm2
movaps xmm5, xmm0
movaps xmm0, xmm1
movss dword [esp + 0xa0], xmm3
minss xmm0, xmm4
movaps xmm2, xmm3
subss xmm1, xmm4
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100fcc14]
addss xmm0, dword [0x100fcb24]
divss xmm1, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x100fcb24]
addss xmm1, xmm5
divss xmm2, xmm0
andps xmm1, xmmword [0x100fcff0]
movss dword [esp + 0x98], xmm1
movss dword [esp + 0x9c], xmm2
jmp 0x1003e0f0
movss xmm3, dword [esp + 0xa0]
movss xmm2, dword [esp + 0x9c]
movss xmm1, dword [esp + 0x98]
cmp byte [esp + 0x40], 0
mov eax, dword [esp + 0x24]
movss dword [eax], xmm1
movss dword [eax + 4], xmm2
movss dword [eax + 8], xmm3
je 0x1003e117
movss xmm0, dword [esp + 0xa4]
movss dword [eax + 0xc], xmm0
mov eax, dword [edi + 0x1b9c]
dec dword [eax + 0xc4]
call fcn.10023ce0
mov edi, dword [esp + 0x2c]
test byte [edi + 0x120], 1
je 0x1003e347
test dword [esp + 0x18], 0x200
jne 0x1003e347
mov esi, dword [0x10107a10]
cmp byte [esi + 0x1e44], 0
je 0x1003e2f1
mov ecx, dword [esi + 0x1b9c]
test byte [ecx + 0x120], 1
je 0x1003e2f1
mov edx, dword [esi + 0x1ba4]
test edx, edx
je 0x1003e2f1
mov eax, dword [ecx + 0x31c]
cmp eax, dword [edx + 0x31c]
jne 0x1003e2f1
test byte [ecx + 0x120], 2
lea edi, [ecx + 0x134]
jne 0x1003e1a2
lea edi, [ecx + 0x124]
mov eax, dword [ecx + 0x11c]
test eax, eax
jne 0x1003e1b2
push edi
call fcn.10019b90
cmp dword [esi + 0x1e5c], eax
je 0x1003e2ed
movups xmm0, xmmword [edi]
mov ecx, str._COL3F
mov dword [esi + 0x1e9c], eax
mov byte [esi + 0x1e46], 1
movups xmmword [esi + 0x1e8c], xmm0
mov byte [esp + 0x17], 0
call fcn.10027f30
mov esi, dword [esp + 0x24]
test eax, eax
je 0x1003e206
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.10027f30
mov ecx, eax
test ecx, ecx
je 0x1003e230
mov eax, dword [esp + 0x28]
shl eax, 2
push eax
push dword [ecx]
push esi
call fcn.100aa9f0
add esp, 0xc
mov byte [esp + 0x16], 1
jmp 0x1003e23b
cmp byte [esp + 0x17], 0
je 0x1003e2e0
test dword [esp + 0x18], 0x10000000
je 0x1003e2e0
movss xmm2, dword [esi + 4]
movss xmm4, dword [esi + 8]
comiss xmm4, xmm2
movss xmm3, dword [esi]
jbe 0x1003e26f
movss xmm5, dword [0x100fccc0]
movaps xmm0, xmm2
movaps xmm2, xmm4
movaps xmm4, xmm0
jmp 0x1003e272
xorps xmm5, xmm5
comiss xmm2, xmm3
jbe 0x1003e28f
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x100fccac]
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 [0x100fcc14]
addss xmm0, dword [0x100fcb24]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x100fcb24]
addss xmm2, xmm5
divss xmm1, xmm0
andps xmm2, xmmword [0x100fcff0]
movss dword [esi], xmm2
movss dword [esi + 4], xmm1
mov esi, dword [0x10107a10]
mov byte [esi + 0x1e46], 0
mov edi, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
test edx, edx
je 0x1003e315
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x1bd4]
test ecx, ecx
je 0x1003e315
cmp dword [eax + 0x1c00], edx
jne 0x1003e315
mov dword [edi + 0x11c], ecx
mov al, byte [esp + 0x16]
test al, al
je 0x1003e333
mov ecx, dword [esi + 0x1b9c]
mov word [esi + 0x1be4], 0x101
or dword [ecx + 0x120], 4
mov ecx, dword [esp + 0xfc]
pop edi
pop esi
xor ecx, esp
call fcn.100a8abc
mov esp, ebp
pop ebp
ret
mov esi, dword [0x10107a10]
jmp 0x1003e2f1