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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xd8
mov eax, dword [0x100c83c0]
xor eax, esp
mov dword [esp + 0xd4], eax
push esi
push edi
mov edi, dword [0x101423a0]
mov dword [esp + 0x14], edx
mov edx, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x30], edx
mov eax, dword [edi + 0x3f14]
mov dword [esp + 0xc], ecx
mov dword [esp + 0x18], edi
mov byte [eax + 0xc5], 1
mov eax, dword [edi + 0x3f14]
mov dword [esp + 0x40], eax
cmp byte [eax + 0xc8], 0
je 0x1004a53d
xor al, al
pop edi
pop esi
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.100acd72
mov esp, ebp
pop ebp
ret
test byte [edi + 0x3fac], 1
movss xmm2, dword [edi + 0x3894]
addss xmm2, xmm2
addss xmm2, dword [edi + 0x3ca8]
movss dword [esp + 0x44], xmm2
je 0x1004a56a
movss xmm0, dword [edi + 0x3fb0]
jmp 0x1004a572
movss xmm0, dword [eax + 0x1bc]
xorps xmm1, xmm1
comiss xmm1, xmm0
jbe 0x1004a5b4
cmp dword [eax + 0x1ac], 0
movss xmm1, dword [eax + 0x244]
jne 0x1004a594
cmp dword [edi + 0x4340], 0
je 0x1004a59c
movss xmm1, dword [eax + 0x214]
subss xmm1, dword [eax + 0x108]
addss xmm1, xmm0
movss xmm0, dword [0x100c43b0]
maxss xmm0, xmm1
cvttss2si eax, xmm0
movd xmm3, eax
cvtdq2ps xmm3, xmm3
test cl, 0x10
je 0x1004a5c9
xorps xmm0, xmm0
jmp 0x1004a5d4
movaps xmm0, xmm2
addss xmm0, dword [edi + 0x38a8]
movss dword [esp + 0x10], xmm0
subss xmm3, xmm0
mov dword [esp + 0x38], edx
movss dword [esp + 0x3c], xmm3
cmp edx, 0xffffffff
jae 0x1004a60e
mov edi, edx
nop
mov cl, byte [edi]
test cl, cl
je 0x1004a60a
cmp cl, 0x23
jne 0x1004a600
cmp byte [edi + 1], cl
je 0x1004a60a
inc edi
mov dword [esp + 0x38], edi
cmp edi, 0xffffffff
jb 0x1004a5f0
mov edi, dword [esp + 0x18]
mov dword [edi + 0x3fac], 0
call fcn.10018590
mov esi, dword [0x101423a0]
xor edx, edx
mov eax, dword [esi + 0x3f14]
add eax, 0xfc
mov dword [esp + 0x28], eax
mov ecx, dword [eax]
mov eax, dword [eax + 8]
push dword [eax + ecx*4 - 4]
mov ecx, dword [esp + 0x34]
call fcn.100092e0
add esp, 4
mov dword [esp + 0x18], eax
cmp dword [esi + 0x3f38], eax
jne 0x1004a66d
push ecx
push dword [esp + 0x34]
mov edx, 0xb
mov ecx, eax
call fcn.10028fd0
mov eax, dword [esp + 0x20]
add esp, 8
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
call fcn.100291d0
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x48], ecx
test cl, 0x20
je 0x1004a69c
and ecx, 0xff9fffff
or ecx, 0x100008
mov dword [esp + 0xc], ecx
mov esi, dword [esp + 0x14]
test cl, 8
jne 0x1004a6b2
mov edx, ecx
mov ecx, esi
call fcn.1004f3e0
mov ecx, dword [esp + 0xc]
test ecx, 0x700000
jne 0x1004a6c7
mov eax, dword [edi + 0x52a0]
and eax, 0x700000
or ecx, eax
test ecx, 0x1800000
jne 0x1004a6dc
mov eax, dword [edi + 0x52a0]
and eax, 0x1800000
or ecx, eax
test ecx, 0x6000000
jne 0x1004a6f1
mov eax, dword [edi + 0x52a0]
and eax, 0x6000000
or ecx, eax
test ecx, 0x18000000
jne 0x1004a706
mov eax, dword [edi + 0x52a0]
and eax, 0x18000000
or ecx, eax
mov eax, dword [edi + 0x52a0]
movss xmm0, dword [esi]
and eax, 0xe00fffff
movss xmm1, dword [esi + 4]
or ecx, eax
movss xmm2, dword [esi + 8]
mov edx, ecx
shr edx, 1
mov eax, ecx
not dl
shr eax, 0x13
and edx, 0xffffff01
mov dword [esp + 0xc], ecx
mov dword [esp + 0x34], edx
and eax, 0xffffff01
movzx edx, dl
add edx, 3
mov dword [esp + 0x28], eax
cmp byte [esp + 0x34], 0
mov dword [esp + 0x1c], edx
movss dword [esp + 0x78], xmm0
movss dword [esp + 0x7c], xmm1
movss dword [esp + 0x80], xmm2
je 0x1004a770
movss xmm3, dword [esi + 0xc]
jmp 0x1004a778
movss xmm3, dword [0x100c43b0]
movss xmm6, dword [0x100c4304]
mov eax, ecx
and eax, 0x10100000
movss dword [esp + 0x84], xmm3
cmp eax, 0x10100000
jne 0x1004a7b7
lea eax, [esp + 0x80]
push eax
lea edx, [esp + 0x80]
lea ecx, [esp + 0x7c]
call fcn.10009900
add esp, 4
jmp 0x1004a876
mov eax, ecx
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1004a89c
comiss xmm2, xmm1
xorps xmm4, xmm4
movaps xmm3, xmm1
jbe 0x1004a7e2
movss xmm4, dword [0x100c44f8]
movaps xmm3, xmm2
movaps xmm2, xmm1
comiss xmm3, xmm0
movaps xmm5, xmm0
jbe 0x1004a7ff
movaps xmm5, xmm3
movaps xmm3, xmm0
movss xmm0, dword [0x100c44e4]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm3
movss dword [esp + 0x80], xmm5
minss xmm0, xmm2
movaps xmm1, xmm5
subss xmm3, xmm2
mov ecx, esi
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x80]
subss xmm1, xmm0
push eax
lea edx, [esp + 0x80]
movaps xmm0, xmm1
mulss xmm0, dword [0x100c4420]
addss xmm0, xmm6
divss xmm3, xmm0
movaps xmm0, xmm5
addss xmm0, xmm6
addss xmm3, xmm4
divss xmm1, xmm0
andps xmm3, xmmword [0x100c4630]
movss dword [esp + 0x80], xmm3
movss dword [esp + 0x84], xmm1
call fcn.1004a3e0
add esp, 8
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0xc]
movss xmm0, dword [esp + 0x78]
movss xmm1, dword [esp + 0x7c]
movss xmm2, dword [esp + 0x80]
movss xmm3, dword [esp + 0x84]
comiss xmm0, dword [0x100c42f4]
movss xmm4, dword [0x100c44e8]
movss xmm6, dword [0x100c4368]
jb 0x1004a8ba
movaps xmm5, xmm6
jmp 0x1004a8bd
movaps xmm5, xmm4
comiss xmm1, dword [0x100c42f4]
movss xmm7, dword [0x100c449c]
mulss xmm0, xmm7
addss xmm0, xmm5
cvttss2si eax, xmm0
mov dword [esp + 0x88], eax
jb 0x1004a8e6
movaps xmm0, xmm6
jmp 0x1004a8e9
movaps xmm0, xmm4
comiss xmm2, dword [0x100c42f4]
mulss xmm1, xmm7
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x8c], eax
jb 0x1004a90a
movaps xmm0, xmm6
jmp 0x1004a90d
movaps xmm0, xmm4
comiss xmm3, dword [0x100c42f4]
mulss xmm2, xmm7
addss xmm2, xmm0
cvttss2si eax, xmm2
mov dword [esp + 0x90], eax
jb 0x1004a92c
movaps xmm4, xmm6
cmp dword [edi + 0x38e8], 0
mulss xmm3, xmm7
mov byte [esp + 0xa], 0
mov byte [esp + 0xb], 0
addss xmm3, xmm4
cvttss2si eax, xmm3
mov dword [esp + 0x94], eax
mov eax, dword [esp + 0x40]
movss xmm2, dword [eax + 0x108]
movss xmm3, dword [eax + 0x10c]
movss dword [esp + 0x20], xmm2
movss dword [esp + 0x24], xmm3
jne 0x1004a97a
movss xmm1, dword [esp + 0x10]
jmp 0x1004a97d
xorps xmm1, xmm1
movaps xmm0, xmm2
addss xmm0, xmm1
movss dword [eax + 0x108], xmm0
test ecx, 0x300000
je 0x1004ad88
test cl, 0x20
jne 0x1004ad88
movss xmm2, dword [edi + 0x38a8]
lea eax, [edx - 1]
movss xmm1, dword [esp + 0x3c]
movd xmm3, eax
cvtdq2ps xmm3, xmm3
push 0
push 0
movaps xmm0, xmm3
mulss xmm0, xmm2
subss xmm1, xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
cvttss2si eax, xmm1
movss xmm1, dword [0x100c43b0]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
maxss xmm1, xmm0
movss xmm0, dword [esp + 0x44]
movss dword [esp + 0x34], xmm1
addss xmm1, xmm2
mulss xmm1, xmm3
movss xmm3, dword [0x100c44d0]
subss xmm0, xmm1
movss xmm1, dword [0x100c43b0]
cvttss2si eax, xmm0
movd xmm0, eax
mov eax, ecx
and eax, 0x1000000
mov ecx, str.M:000
cvtdq2ps xmm0, xmm0
mov dword [esp + 0x18], eax
mov eax, str.M:0.000
cmove eax, ecx
mov ecx, dword [0x101423a0]
push eax
push ecx
lea eax, [esp + 0x5c]
mov dword [esp], 0xbf800000
movss xmm2, dword [ecx + 0x3ca8]
maxss xmm1, xmm0
mov ecx, dword [ecx + 0x3ca4]
push eax
movss dword [esp + 0x2c], xmm1
call fcn.10038730
movss xmm0, dword [esp + 0x4c]
addss xmm0, dword [0x100c43a8]
movss xmm1, dword [esp + 0x2c]
mov ecx, dword [esp + 0xc]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
jb 0x1004aa92
xor eax, eax
jmp 0x1004aaa0
mov eax, ecx
and eax, 0x200000
neg eax
sbb eax, eax
neg eax
inc eax
mov edx, dword [esp + 0x1c]
xor esi, esi
test edx, edx
je 0x1004aff9
shl eax, 4
cmp dword [esp + 0x10], esi
je 0x1004ac26
and ecx, 8
mov dword [esp + 0x4c], ecx
lea ecx, [eax + 0x100c4290]
mov dword [esp + 0x10], ecx
nop dword [eax]
test esi, esi
je 0x1004aaf2
movss xmm1, dword [edi + 0x38a8]
xorps xmm0, xmm0
call fcn.100183f0
movss xmm1, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
lea eax, [esi + 1]
cmp eax, edx
jge 0x1004aafe
movaps xmm0, xmm1
jmp 0x1004ab04
movss xmm0, dword [esp + 0x18]
mov eax, dword [0x101423a0]
or dword [eax + 0x3fac], 1
cmp byte [esp + 0x28], 0
movss dword [eax + 0x3fb0], xmm0
je 0x1004ab24
xorps xmm0, xmm0
jmp 0x1004ab2c
movss xmm0, dword [0x100c43b0]
movss xmm3, dword [0x100c4320]
lea eax, [esp + 0x5c]
push ecx
push dword [ecx]
mov ecx, dword [esi*4 + 0x100c42c0]
mov edx, 8
push eax
lea eax, [esp + 0x60]
movss dword [esp + 0x68], xmm0
push eax
lea eax, [esp + 0x88]
mov dword [esp + 0x64], 0
lea eax, [eax + esi*4]
push eax
call fcn.10043930
mov dl, byte [esp + 0x1e]
add esp, 0x14
or dl, al
or byte [esp + 0xb], dl
cmp dword [esp + 0x4c], 0
mov byte [esp + 0xa], dl
jne 0x1004ac01
mov ecx, dword [0x101423a0]
cmp byte [ecx + 0x3697], 0
je 0x1004ac01
mov ecx, 0x20
call fcn.1000bde0
test al, al
je 0x1004ac01
mov eax, dword [0x101423a0]
xor edx, edx
mov eax, dword [eax + 0x3f14]
mov ecx, dword [eax + 0xfc]
mov eax, dword [eax + 0x104]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.100092e0
mov ecx, dword [0x101423a0]
add esp, 4
mov dword [esp + 0x54], eax
cmp dword [ecx + 0x3f38], eax
jne 0x1004abf5
push ecx
push str.context
mov edx, 0xb
mov ecx, eax
call fcn.10028fd0
mov eax, dword [esp + 0x5c]
add esp, 8
mov edx, 1
mov ecx, eax
call fcn.100190b0
mov ecx, dword [esp + 0x10]
inc esi
movss xmm1, dword [esp + 0x2c]
add ecx, 4
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], ecx
cmp esi, dword [esp + 0x1c]
jl 0x1004aad0
jmp 0x1004aff5
xor esi, esi
mov edx, 0xff
cmp byte [esp + 0x28], 0
cmovne edx, esi
and ecx, 8
mov dword [esp + 0x5c], ecx
lea ecx, [eax + 0x100c4238]
mov dword [esp + 0x28], edx
mov dword [esp + 0x10], ecx
nop word [eax + eax]
test esi, esi
jle 0x1004ac72
movss xmm1, dword [edi + 0x38a8]
xorps xmm0, xmm0
call fcn.100183f0
movss xmm1, dword [esp + 0x2c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x28]
lea eax, [esi + 1]
cmp eax, dword [esp + 0x1c]
jge 0x1004ac80
movaps xmm0, xmm1
jmp 0x1004ac86
movss xmm0, dword [esp + 0x18]
mov eax, dword [0x101423a0]
movss xmm3, dword [0x100c43b0]
push ecx
push dword [ecx]
or dword [eax + 0x3fac], 1
mov ecx, dword [esi*4 + 0x100c42c0]
movss dword [eax + 0x3fb0], xmm0
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x60]
mov dword [esp + 0x58], edx
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x64], 0
lea eax, [eax + esi*4]
mov edx, 4
push eax
call fcn.10043930
or byte [esp + 0x1e], al
add esp, 0x14
cmp dword [esp + 0x5c], 0
jne 0x1004ad63
mov ecx, dword [0x101423a0]
cmp byte [ecx + 0x3697], 0
je 0x1004ad63
mov ecx, 0x20
call fcn.1000bde0
test al, al
je 0x1004ad63
mov eax, dword [0x101423a0]
xor edx, edx
mov eax, dword [eax + 0x3f14]
mov ecx, dword [eax + 0xfc]
mov eax, dword [eax + 0x104]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.100092e0
mov ecx, dword [0x101423a0]
add esp, 4
mov dword [esp + 0x4c], eax
cmp dword [ecx + 0x3f38], eax
jne 0x1004ad57
push ecx
push str.context
mov edx, 0xb
mov ecx, eax
call fcn.10028fd0
mov eax, dword [esp + 0x54]
add esp, 8
mov edx, 1
mov ecx, eax
call fcn.100190b0
mov ecx, dword [esp + 0x10]
inc esi
movss xmm1, dword [esp + 0x2c]
add ecx, 4
mov edx, dword [esp + 0x28]
mov dword [esp + 0x10], ecx
cmp esi, dword [esp + 0x1c]
jl 0x1004ac50
jmp 0x1004aff5
test ecx, 0x400000
je 0x1004b009
test cl, 0x20
jne 0x1004b009
cmp byte [esp + 0x34], 0
mov eax, 0xff
je 0x1004ae23
mov ecx, dword [esp + 0x8c]
test ecx, ecx
jns 0x1004adbe
mov dword [esp + 0x18], 0
jmp 0x1004adc7
cmp ecx, eax
cmovg ecx, eax
mov dword [esp + 0x18], ecx
mov esi, dword [esp + 0x90]
test esi, esi
jns 0x1004add6
xor esi, esi
jmp 0x1004addb
cmp esi, eax
cmovg esi, eax
mov edx, dword [esp + 0x94]
test edx, edx
jns 0x1004adea
xor edx, edx
jmp 0x1004adef
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x88]
test ecx, ecx
jns 0x1004adfe
xor ecx, ecx
jmp 0x1004ae03
cmp ecx, eax
cmovg ecx, eax
push edx
push esi
push dword [esp + 0x20]
lea eax, [esp + 0xa4]
push ecx
push 0x100c3ff4
push 0x40
push eax
call fcn.100092a0
add esp, 0x1c
jmp 0x1004ae79
mov esi, dword [esp + 0x90]
test esi, esi
jns 0x1004ae32
xor esi, esi
jmp 0x1004ae37
cmp esi, eax
cmovg esi, eax
mov edx, dword [esp + 0x8c]
test edx, edx
jns 0x1004ae46
xor edx, edx
jmp 0x1004ae4b
cmp edx, eax
cmovg edx, eax
mov ecx, dword [esp + 0x88]
test ecx, ecx
jns 0x1004ae5a
xor ecx, ecx
jmp 0x1004ae5f
cmp ecx, eax
cmovg ecx, eax
push esi
push edx
push ecx
push 0x100c4008
lea eax, [esp + 0xa8]
push 0x40
push eax
call fcn.100092a0
add esp, 0x18
mov eax, dword [0x101423a0]
xor edx, edx
movss xmm5, dword [esp + 0x3c]
mov ecx, str.Text
push 0
push 0
or dword [eax + 0x3fac], 1
movss dword [eax + 0x3fb0], xmm5
lea eax, [esp + 0x5c]
push 6
push eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x64], 0
push 0x40
push eax
mov dword [esp + 0x70], 0
call fcn.10046c70
add esp, 0x18
test al, al
je 0x1004af7a
mov byte [esp + 0xa], 1
lea ecx, [esp + 0x98]
nop dword [eax + eax]
mov al, byte [ecx]
cmp al, 0x23
je 0x1004aeee
cmp al, 0x20
je 0x1004aeee
cmp al, 9
jne 0x1004aef1
inc ecx
jmp 0x1004aee0
cmp byte [esp + 0x34], 0
mov dword [esp + 0x90], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x94], 0xff
je 0x1004af54
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x94]
push eax
lea eax, [esp + 0x94]
push eax
push str._02X_02X_02X_02X
push ecx
call fcn.10006f60
add esp, 0x18
jmp 0x1004af7a
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x90]
push eax
lea eax, [esp + 0x90]
push eax
push str._02X_02X_02X
push ecx
call fcn.10006f60
add esp, 0x14
mov ecx, dword [esp + 0xc]
test cl, 8
jne 0x1004aff9
mov esi, dword [0x101423a0]
cmp byte [esi + 0x3697], 0
je 0x1004aff9
mov ecx, 0x20
call fcn.1000bde0
test al, al
je 0x1004aff5
mov eax, dword [esi + 0x3f14]
xor edx, edx
mov ecx, dword [eax + 0xfc]
mov eax, dword [eax + 0x104]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.100092e0
mov esi, eax
add esp, 4
mov eax, dword [0x101423a0]
cmp dword [eax + 0x3f38], esi
jne 0x1004afe9
push ecx
push str.context
mov edx, 0xb
mov ecx, esi
call fcn.10028fd0
add esp, 8
mov edx, 1
mov ecx, esi
call fcn.100190b0
mov ecx, dword [esp + 0xc]
movss xmm2, dword [esp + 0x20]
movss xmm3, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
xor eax, eax
mov dword [esp + 0x10], eax
test cl, 0x10
jne 0x1004b31a
test cl, 0x20
jne 0x1004b035
cmp dword [edi + 0x38e8], eax
je 0x1004b035
movss xmm0, dword [esp + 0x3c]
addss xmm0, dword [edi + 0x38a8]
jmp 0x1004b038
xorps xmm0, xmm0
cmp byte [esp + 0x34], 0
addss xmm2, xmm0
mov eax, dword [esp + 0x40]
movss dword [eax + 0x108], xmm2
movss dword [eax + 0x10c], xmm3
je 0x1004b05e
movss xmm1, dword [esi + 0xc]
jmp 0x1004b066
movss xmm1, dword [0x100c43b0]
movss xmm0, dword [esi]
lea eax, [esp + 0x4c]
movss dword [esp + 0x60], xmm0
lea edx, [esp + 0x60]
movss xmm0, dword [esi + 4]
push eax
movss dword [esp + 0x68], xmm0
movss xmm0, dword [esi + 8]
push ecx
mov ecx, str.ColorButton
movss dword [esp + 0x70], xmm0
movss dword [esp + 0x74], xmm1
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
call fcn.1004e760
add esp, 8
test al, al
je 0x1004b18f
test byte [esp + 0xc], 4
jne 0x1004b18f
movups xmm0, xmmword [esp + 0x60]
mov esi, dword [0x101423a0]
xor edx, edx
movups xmmword [edi + 0x52b0], xmm0
mov eax, dword [esi + 0x3f14]
mov ecx, dword [eax + 0xfc]
mov eax, dword [eax + 0x104]
push dword [eax + ecx*4 - 4]
mov ecx, str.picker
call fcn.100092e0
add esp, 4
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x3f38], eax
jne 0x1004b122
push ecx
push str.picker
mov edx, 0xb
mov ecx, eax
call fcn.10028fd0
mov eax, dword [esp + 0x54]
add esp, 8
xor edx, edx
mov ecx, eax
call fcn.100190b0
movss xmm1, dword [edi + 0x3fcc]
movss xmm0, dword [edi + 0x3fd8]
addss xmm0, dword [edi + 0x38a4]
mov esi, dword [0x101423a0]
addss xmm1, dword [0x100c42f4]
or dword [esi + 0x3ffc], 1
movss dword [esi + 0x4014], xmm0
movss dword [esi + 0x4010], xmm1
mov dword [esi + 0x4018], 0
mov dword [esi + 0x401c], 0
mov dword [esi + 0x4000], 1
mov byte [esi + 0x4038], 1
jmp 0x1004b195
mov esi, dword [0x101423a0]
test byte [esp + 0xc], 8
jne 0x1004b209
cmp byte [esi + 0x3697], 0
je 0x1004b209
mov ecx, 0x20
call fcn.1000bde0
test al, al
je 0x1004b209
mov eax, dword [esi + 0x3f14]
xor edx, edx
mov ecx, dword [eax + 0xfc]
mov eax, dword [eax + 0x104]
push dword [eax + ecx*4 - 4]
mov ecx, str.context
call fcn.100092e0
add esp, 4
mov dword [esp + 0x4c], eax
cmp dword [esi + 0x3f38], eax
jne 0x1004b1fd
push ecx
push str.context
mov edx, 0xb
mov ecx, eax
call fcn.10028fd0
mov eax, dword [esp + 0x54]
add esp, 8
mov edx, 1
mov ecx, eax
call fcn.100190b0
mov ecx, str.picker
call fcn.100195a0
test al, al
je 0x1004b316
mov eax, dword [edi + 0x3f14]
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x38]
cmp ecx, eax
je 0x1004b280
push 0
mov edx, eax
call fcn.1003ee40
mov ecx, dword [0x101423a0]
add esp, 4
mov eax, dword [ecx + 0x3f14]
mov byte [eax + 0xc5], 1
mov eax, dword [ecx + 0x3f14]
cmp byte [eax + 0xc8], 0
jne 0x1004b280
movss xmm1, dword [0x100c44f8]
lea ecx, [esp + 0x4c]
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 0
call fcn.10018040
mov eax, dword [0x101423a0]
mov ecx, 0x100c35f8
movss xmm0, dword [esp + 0x44]
mulss xmm0, dword [0x100c4438]
mov edx, dword [esp + 0x14]
or dword [eax + 0x3fac], 1
movss dword [eax + 0x3fb0], xmm0
lea eax, [edi + 0x52b0]
push eax
mov eax, dword [esp + 0x4c]
and eax, 0x1f890002
or eax, 0x740080
push eax
call fcn.1004b8f0
mov esi, dword [0x101423a0]
add esp, 8
or byte [esp + 0xa], al
mov eax, dword [esi + 0x3f14]
cmp dword [esi + 0x4130], eax
jne 0x1004b2fa
cmp byte [esi + 0x4189], 0
je 0x1004b2fa
cmp dword [esi + 0x4168], 0
jne 0x1004b2fa
or dword [esi + 0x418c], 2
test dword [eax + 8], 0x1000000
je 0x1004b30a
mov byte [esi + 0x3ec2], 1
call fcn.10016e60
mov byte [esi + 0x3ec2], 0
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 0x38]
cmp dword [esp + 0x30], esi
je 0x1004b348
test cl, cl
js 0x1004b348
movss xmm1, dword [edi + 0x38a8]
xorps xmm0, xmm0
call fcn.100183f0
mov ecx, dword [esp + 0x30]
mov edx, esi
push 0
call fcn.1003ee40
add esp, 4
cmp byte [esp + 0xa], 0
mov esi, dword [esp + 0x10]
je 0x1004b54b
test esi, esi
jne 0x1004b54b
cmp byte [esp + 0xb], 0
jne 0x1004b37d
movups xmm0, xmmword [esp + 0x88]
cvtdq2ps xmm0, xmm0
divps xmm0, xmmword [0x100c4620]
movups xmmword [esp + 0x78], xmm0
mov eax, dword [esp + 0xc]
and eax, 0x8200000
cmp eax, 0x8200000
jne 0x1004b464
movss xmm0, dword [esp + 0x78]
lea eax, [esp + 0x80]
movss xmm1, dword [esp + 0x7c]
lea edx, [esp + 0x7c]
movss xmm2, dword [esp + 0x80]
lea ecx, [esp + 0x78]
push eax
movss dword [edi + 0x52a4], xmm0
movss dword [edi + 0x52a8], xmm1
call fcn.10009900
movss xmm1, dword [esp + 0x7c]
xorps xmm4, xmm4
movss xmm5, dword [0x100c43b0]
add esp, 4
comiss xmm4, xmm1
jbe 0x1004b3e9
xorps xmm0, xmm0
jmp 0x1004b3f0
movaps xmm0, xmm5
minss xmm0, xmm1
movss xmm7, dword [0x100c449c]
movss xmm6, dword [0x100c4368]
movss xmm2, dword [esp + 0x7c]
comiss xmm4, xmm2
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si ecx, xmm0
jbe 0x1004b41c
xorps xmm0, xmm0
jmp 0x1004b423
movaps xmm0, xmm5
minss xmm0, xmm2
movss xmm3, dword [esp + 0x80]
mulss xmm0, xmm7
addss xmm0, xmm6
cvttss2si eax, xmm0
shl eax, 8
or ecx, eax
comiss xmm4, xmm3
jbe 0x1004b447
xorps xmm5, xmm5
jmp 0x1004b44b
minss xmm5, xmm3
mulss xmm5, xmm7
addss xmm5, xmm6
cvttss2si eax, xmm5
shl eax, 0x10
or eax, ecx
mov dword [edi + 0x52ac], eax
jmp 0x1004b47c
movss xmm3, dword [esp + 0x80]
xorps xmm4, xmm4
movss xmm2, dword [esp + 0x7c]
movss xmm1, dword [esp + 0x78]
mov eax, dword [esp + 0xc]
and eax, 0x10100000
cmp eax, 0x10100000
jne 0x1004b524
movaps xmm5, xmm1
movaps xmm1, xmm2
movaps xmm0, xmm1
movaps xmm6, xmm5
comiss xmm3, xmm0
jbe 0x1004b4af
movss xmm4, dword [0x100c44f8]
movaps xmm1, xmm3
movaps xmm3, xmm0
comiss xmm1, xmm6
jbe 0x1004b4c9
movss xmm0, dword [0x100c44e4]
movaps xmm5, xmm1
subss xmm0, xmm4
movaps xmm1, xmm6
movaps xmm4, xmm0
movaps xmm0, xmm1
movaps xmm2, xmm5
minss xmm0, xmm3
subss xmm1, xmm3
movaps xmm3, xmm5
movss dword [esp + 0x80], xmm3
subss xmm2, xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100c4420]
addss xmm0, dword [0x100c4304]
divss xmm1, xmm0
movaps xmm0, xmm5
addss xmm0, dword [0x100c4304]
addss xmm1, xmm4
divss xmm2, xmm0
andps xmm1, xmmword [0x100c4630]
movss dword [esp + 0x78], xmm1
movss dword [esp + 0x7c], xmm2
cmp byte [esp + 0x34], 0
mov eax, dword [esp + 0x14]
movss dword [eax], xmm1
movss dword [eax + 4], xmm2
movss dword [eax + 8], xmm3
je 0x1004b54b
movss xmm0, dword [esp + 0x84]
movss dword [eax + 0xc], xmm0
mov eax, dword [0x101423a0]
mov eax, dword [eax + 0x3f14]
dec dword [eax + 0xfc]
call fcn.100186c0
test byte [edi + 0x3fc8], 1
je 0x1004b6ab
test dword [esp + 0xc], 0x200
jne 0x1004b6ab
call fcn.1001d9f0
test al, al
je 0x1004b6ab
xor edx, edx
mov byte [esp + 0xb], 0
mov ecx, str._COL3F
call fcn.1001dab0
test eax, eax
je 0x1004b5bc
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov byte [esp + 0xb], 1
mov byte [esp + 0xa], 1
movq xmm0, qword [eax]
movq qword [ecx], xmm0
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
xor edx, edx
mov ecx, str._COL4F
call fcn.1001dab0
test eax, eax
je 0x1004b5e9
mov ecx, dword [esp + 0x1c]
shl ecx, 2
push ecx
push dword [eax]
push dword [esp + 0x1c]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov byte [esp + 0xa], 1
jmp 0x1004b5f4
cmp byte [esp + 0xb], 0
je 0x1004b69d
test dword [esp + 0xc], 0x10000000
je 0x1004b69d
mov eax, dword [esp + 0x14]
movss xmm2, dword [eax + 4]
movss xmm5, dword [eax + 8]
comiss xmm5, xmm2
movss xmm3, dword [eax]
jbe 0x1004b62c
movss xmm4, dword [0x100c44f8]
movaps xmm0, xmm2
movaps xmm2, xmm5
movaps xmm5, xmm0
jmp 0x1004b62f
xorps xmm4, xmm4
comiss xmm2, xmm3
jbe 0x1004b64c
movaps xmm0, xmm3
movaps xmm3, xmm2
movaps xmm2, xmm0
movss xmm0, dword [0x100c44e4]
subss xmm0, xmm4
movaps xmm4, xmm0
movaps xmm0, xmm2
movss dword [eax + 8], xmm3
minss xmm0, xmm5
movaps xmm1, xmm3
subss xmm2, xmm5
subss xmm1, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [0x100c4420]
addss xmm0, dword [0x100c4304]
divss xmm2, xmm0
movaps xmm0, xmm3
addss xmm0, dword [0x100c4304]
addss xmm2, xmm4
divss xmm1, xmm0
andps xmm2, xmmword [0x100c4630]
movss dword [eax], xmm2
movss dword [eax + 4], xmm1
mov eax, dword [0x101423a0]
mov byte [eax + 0x42a2], 0
jmp 0x1004b6b0
mov eax, dword [0x101423a0]
test esi, esi
je 0x1004b6cc
mov ecx, dword [edi + 0x3f50]
test ecx, ecx
je 0x1004b6cc
cmp dword [edi + 0x3f88], esi
jne 0x1004b6cc
mov dword [edi + 0x3fc0], ecx
mov cl, byte [esp + 0xa]
test cl, cl
je 0x1004b6e4
or dword [eax + 0x3fc8], 4
mov word [eax + 0x3f60], 0x101
mov al, cl
mov ecx, dword [esp + 0xdc]
pop edi
pop esi
xor ecx, esp
call fcn.100acd72
mov esp, ebp
pop ebp
ret