Function at 0x10047620
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100aba75
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x188
mov eax, dword [0x100d0008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x7c], esi
call fcn.10003d70
cmp byte [esi + 3], 0
lea edi, [eax + 0x2b8]
mov eax, dword [0x100d24e0]
mov dword [ebp - 0x2c], eax
lea eax, [esi + 3]
mov dword [ebp - 0x88], edi
mov dword [ebp - 0x8c], eax
je 0x100476c0
mov ecx, 7
call fcn.10004540
mov edi, dword [eax]
test edi, edi
je 0x100476ba
call fcn.10004fc0
cmp eax, 2
je 0x100476ba
mov ecx, 0xa
call fcn.10004540
push 0
push 2
mov ecx, edi
call eax
mov edi, dword [ebp - 0x88]
call fcn.10004fc0
add eax, 0xfffffffe
cmp dword [0xba67a4], 0
jne 0x10048827
cmp eax, 1
jbe 0x100476e4
cmp byte [esi + 2], 0
je 0x10048827
cmp dword [edi], 0xffffffff
jle 0x100478ec
push 0x1af
xor edx, edx
mov ecx, str.SelectedLine
call fcn.10018290
add esp, 4
test al, al
je 0x100478ec
call fcn.10003d70
call fcn.10003d70
push dword [edi]
lea ecx, [eax + 0x2a4]
call fcn.1000b310
mov edi, eax
call fcn.10003d70
mov edx, dword [0x100d24e0]
movss xmm3, dword [0x100cc568]
push 0
mov ecx, dword [eax + 0x2a0]
movss xmm2, dword [edx + 0x3d1c]
push 0
push 0x100cc318
mov eax, dword [ecx + 0x63e2]
push ecx
mov ecx, dword [edx + 0x3d18]
mov dword [ebp - 0x74], eax
lea eax, [ebp - 0x1c]
mov dword [esp], 0xbf800000
push eax
call fcn.1002dc60
mov eax, dword [edi]
mov ecx, 8
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100cc8e0]
cvtpd2ps xmm1, xmm0
movss xmm0, dword [ebp - 0x1c]
addss xmm0, dword [0x100cc484]
cvttss2si eax, xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
movss dword [ebp - 0x18], xmm1
call fcn.10004540
call eax
mov ecx, 8
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x78], xmm0
call fcn.10004540
call eax
mov esi, dword [edi + 4]
sub esp, 8
movd xmm0, eax
mov eax, dword [edi + 0xc]
cvtdq2ps xmm0, xmm0
sub eax, esi
subss xmm0, dword [0x100cc508]
mulss xmm0, dword [0x100cc444]
movss dword [ebp - 0x90], xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100cc8e0]
cvtpd2ps xmm0, xmm0
mulss xmm0, dword [0x100cc444]
movss dword [ebp - 0x80], xmm0
fld dword [ebp - 0x80]
fstp qword [esp]
call sub.api_ms_win_crt_math_l1_1_0.dll_ceil
mov eax, dword [ebp - 0x74]
movd xmm0, esi
cvtdq2pd xmm0, xmm0
shr esi, 0x1f
fstp dword [ebp - 0x80]
addsd xmm0, qword [esi*8 + 0x100cc8e0]
cvtpd2ps xmm1, xmm0
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addss xmm1, dword [ebp - 0x80]
addsd xmm0, qword [eax*8 + 0x100cc8e0]
subss xmm1, dword [ebp - 0x78]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x100cc4ec]
addss xmm0, dword [ebp - 0x90]
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x18]
mov esi, dword [0x100d24e0]
lea edx, [ebp - 0x1c]
push 0
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x18], xmm1
mov ecx, dword [esi + 0x3fc4]
call fcn.1001b6d0
mov eax, dword [esi + 0x3fc4]
xorps xmm1, xmm1
add esp, 0xc
mov byte [eax + 0xbc], 1
mov eax, dword [esi + 0x3fc4]
push 0x100cab68
movss xmm0, dword [eax + 0x18]
subss xmm0, dword [eax + 0x88]
mov byte [eax + 0x141], 1
addss xmm0, xmm1
movss dword [eax + 0x100], xmm0
call fcn.10033580
add esp, 4
call fcn.1001adc0
mov esi, dword [ebp - 0x7c]
call fcn.10003d70
mov edi, eax
xor edx, edx
push 0x1ab
mov ecx, str.PopupWrapper
mov dword [ebp - 0x74], edi
call fcn.10018290
add esp, 4
test al, al
je 0x1004813d
cmp byte [esi + 1], 0
mov edi, dword [0x100d24e0]
je 0x100479a9
mov esi, dword [edi + 0x3fc4]
xor edx, edx
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0xfc]
push dword [eax + ecx*4 - 4]
mov ecx, str.TextContextMenu
call fcn.1000eff0
mov ecx, dword [esi]
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ecx + 0x4000], eax
jne 0x1004796f
push ecx
push str.TextContextMenu
mov edx, 0xb
mov ecx, eax
call fcn.100265a0
mov edi, dword [0x100d24e0]
add esp, 8
mov eax, dword [edi + 0x4a64]
cmp dword [edi + 0x4a58], eax
jle 0x1004798e
mov esi, dword [ebp - 0x18]
lea edx, [eax + eax*4]
mov eax, dword [edi + 0x4a60]
cmp dword [eax + edx*8], esi
je 0x100479a6
mov ecx, str.TextContextMenu
call fcn.1001f5f0
mov eax, dword [ebp - 0x7c]
mov word [eax + 1], 0x100
jmp 0x10047a36
mov esi, dword [ebp - 0x7c]
cmp byte [esi + 2], 0
je 0x10047a36
mov esi, dword [edi + 0x3fc4]
xor edx, edx
mov ecx, dword [esi + 0xf4]
mov eax, dword [esi + 0xfc]
push dword [eax + ecx*4 - 4]
mov ecx, str.TextContextMenu
call fcn.1000eff0
mov ecx, dword [esi]
add esp, 4
mov dword [ebp - 0x18], eax
cmp dword [ecx + 0x4000], eax
jne 0x10047a00
push ecx
push str.TextContextMenu
mov edx, 0xb
mov ecx, eax
call fcn.100265a0
mov edi, dword [0x100d24e0]
add esp, 8
mov eax, dword [edi + 0x4a64]
cmp dword [edi + 0x4a58], eax
jle 0x10047a2a
mov edx, dword [ebp - 0x18]
lea ecx, [eax + eax*4]
mov eax, dword [edi + 0x4a60]
cmp dword [eax + ecx*8], edx
jne 0x10047a2a
mov eax, dword [ebp - 0x88]
cmp dword [eax], 0
jge 0x10047a36
call fcn.1001fa20
mov eax, dword [ebp - 0x7c]
mov byte [eax + 2], 0
call fcn.1001fcc0
mov edi, dword [ebp - 0x74]
test al, al
je 0x1004813d
cmp dword [edi + 0x2b8], 0xffffffff
je 0x10048133
movss xmm0, dword [0x100cc530]
call fcn.1001e820
mov esi, dword [0x100d24e0]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x20], 0xe
movss xmm1, dword [esi + 0x38f4]
lea ecx, [esi + 0x4a1c]
movss xmm0, dword [esi + 0x38f8]
movss dword [ebp - 0x1c], xmm1
movss dword [ebp - 0x18], xmm0
call fcn.10026cc0
mov dword [esi + 0x38f4], 0x41400000
lea eax, [ebp - 0x28]
mov dword [esi + 0x38f8], 0x41400000
mov esi, dword [0x100d24e0]
push eax
mov dword [ebp - 0x28], 4
movups xmm0, xmmword [esi + 0x39d4]
lea ecx, [esi + 0x4a10]
movups xmmword [ebp - 0x24], xmm0
call fcn.10026dd0
cmp dword [esi + 0x4a0c], 4
je 0x10047ae8
movaps xmm0, xmmword [0x100cc760]
movups xmmword [esi + 0x39d4], xmm0
mov esi, dword [0x100d24e0]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 0x19
movups xmm0, xmmword [esi + 0x3b24]
lea ecx, [esi + 0x4a10]
movups xmmword [ebp - 0x24], xmm0
call fcn.10026dd0
cmp dword [esi + 0x4a0c], 0x19
je 0x10047b26
movaps xmm0, xmmword [0x100cc860]
movups xmmword [esi + 0x3b24], xmm0
sub esp, 0xc
mov ecx, str.Copy
call fcn.10043140
add esp, 0xc
test al, al
je 0x10047cf1
push 0x10
call dword [sym.imp.USER32.dll_GetKeyState]
imul edx, dword [edi + 0x2b8], 0xfc
mov ecx, dword [edi + 0x2a0]
shr eax, 0xf
and eax, 0xffffff01
mov dword [ebp - 0x18], eax
add edx, 0x152
add ecx, edx
push ecx
lea ecx, [ebp - 0x58]
call fcn.10006810
mov dword [ebp - 4], 0
cmp byte [ebp - 0x18], 0
jne 0x10047c47
mov esi, dword [ebp - 0x48]
xor edi, edi
cmp esi, 7
jbe 0x10047c44
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
mov edx, dword [ebp - 0x58]
cmovae ecx, edx
setae byte [ebp - 0x81]
cmp byte [ecx + edi], 0x7b
jne 0x10047c38
cmp byte [ebp - 0x81], 0
lea eax, [ebp - 0x58]
cmovne eax, edx
cmp byte [eax + edi + 7], 0x7d
jne 0x10047c38
mov esi, 1
nop dword [eax + eax]
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
add eax, esi
movzx eax, byte [eax + edi]
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_isxdigit]
add esp, 4
test eax, eax
je 0x10047c35
inc esi
cmp esi, 7
jb 0x10047bd0
mov esi, dword [ebp - 0x48]
cmp esi, edi
jb 0x10048845
mov eax, esi
lea ecx, [ebp - 0x58]
sub eax, edi
mov edx, 8
cmp eax, edx
cmovb edx, eax
cmp dword [ebp - 0x44], 0x10
cmovae ecx, dword [ebp - 0x58]
sub esi, edx
add ecx, edi
mov eax, esi
sub eax, edi
inc eax
push eax
lea eax, [ecx + edx]
push eax
push ecx
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
mov dword [ebp - 0x48], esi
jmp 0x10047c39
mov esi, dword [ebp - 0x48]
inc edi
lea eax, [edi + 7]
cmp eax, esi
jb 0x10047b91
mov edi, dword [ebp - 0x74]
lea edx, [ebp - 0x58]
lea ecx, [ebp - 0x70]
call fcn.10005390
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x10047c5e
mov eax, dword [eax]
mov ecx, dword [0x100d24e0]
mov edx, dword [ecx + 0x84]
test edx, edx
je 0x10047c7a
push eax
push dword [ecx + 0x88]
call edx
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x5c]
cmp ecx, 0x10
jb 0x10047cb4
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047caa
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10047caa
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100a9b5d
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x10047cf1
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047ce7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10047ce7
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100a9b5d
add esp, 8
sub esp, 0xc
mov ecx, str.Delete
call fcn.10043140
add esp, 0xc
test al, al
je 0x10047e28
call fcn.10003d70
mov ecx, dword [edi + 0x2b8]
add eax, 0x2a0
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x78], ecx
test ecx, ecx
jle 0x10047d5a
imul edx, ecx, 0xfc
nop dword [eax]
mov eax, dword [eax]
mov ecx, 0x3f
lea esi, [eax + 0x36]
lea edi, [eax + 0x132]
add esi, edx
mov eax, dword [ebp - 0x78]
add edi, edx
dec eax
add edx, 0xffffff04
mov dword [ebp - 0x78], eax
test eax, eax
mov eax, dword [ebp - 0x80]
rep movsd dword es:[edi], dword [esi]
jg 0x10047d30
push 0xfc
lea eax, [ebp - 0x198]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [ebp - 0x80]
lea esi, [ebp - 0x198]
mov eax, dword [0x100d20c4]
mov ecx, 0x3f
mov edx, dword fs:[0x2c]
add esp, 0xc
mov edi, dword [edi]
add edi, 0x132
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [edx + eax*4]
mov eax, dword [0x100d20e4]
cmp eax, dword [ecx + 4]
jle 0x10047dfb
push 0x100d20e4
call fcn.100a973d
add esp, 4
cmp dword [0x100d20e4], 0xffffffff
jne 0x10047dfb
push 0x2c0
push 0
push 0x100d2210
mov dword [ebp - 4], 2
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call fcn.10003e20
push 0x100abb80
call fcn.100a9b48
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x100d20e4
call fcn.100a96f3
add esp, 4
call fcn.10003d70
mov esi, eax
mov eax, dword [esi + 0x2a0]
test eax, eax
je 0x10047e28
mov ecx, 1
mov dword [eax + 0x63da], 1
call fcn.10004540
mov ecx, dword [esi + 0x2a0]
call eax
sub esp, 0xc
mov ecx, str.Edit
call fcn.10043140
add esp, 0xc
test al, al
je 0x10047fd1
call fcn.10003d70
mov edi, dword [ebp - 0x7c]
lea ecx, [eax + 0x2a0]
mov eax, dword [ebp - 0x74]
mov byte [edi + 5], 0
mov dword [ebp - 0x18], ecx
mov ecx, dword [ecx]
imul edx, dword [eax + 0x2b8], 0xfc
add edx, 0x152
add ecx, edx
push ecx
lea ecx, [ebp - 0x70]
call fcn.10006810
lea edx, [ebp - 0x70]
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.10005390
mov edx, eax
cmp dword [edx + 0x14], 0x10
jb 0x10047e91
mov edx, dword [edx]
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x10047e93
sub edx, esi
sub edi, 0xfffffffc
nop
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10047ea0
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x10047ee6
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047edc
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10047f25
push ecx
push edx
call fcn.100a9b5d
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
cmp ecx, 0x10
jb 0x10047f35
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10047f2b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x10047f2b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100a9b5d
add esp, 8
mov eax, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x18]
movss xmm4, dword [0x100cc52c]
imul edx, dword [eax], 0xfc
mov ecx, dword [ecx]
movzx eax, byte [edx + ecx + 0x229]
movd xmm3, eax
movzx eax, byte [edx + ecx + 0x228]
cvtdq2ps xmm3, xmm3
movd xmm2, eax
movzx eax, byte [edx + ecx + 0x227]
cvtdq2ps xmm2, xmm2
movd xmm1, eax
movzx eax, byte [edx + ecx + 0x226]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
divss xmm3, xmm4
addsd xmm0, qword [eax*8 + 0x100cc8e0]
divss xmm2, xmm4
mov eax, dword [ebp - 0x7c]
mov byte [eax + 3], 1
cvtpd2ps xmm0, xmm0
divss xmm1, xmm4
divss xmm0, xmm4
movss dword [ebp - 0x24], xmm2
movss dword [ebp - 0x20], xmm1
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x18], xmm3
movups xmm0, xmmword [ebp - 0x24]
movups xmmword [eax + 0x108], xmm0
sub esp, 0xc
mov ecx, str.Clear
call fcn.10043140
add esp, 0xc
test al, al
je 0x100480e4
call fcn.10003d70
mov edi, dword [eax + 0x2a0]
add edi, 0x132
mov dword [ebp - 0x80], edi
lea eax, [edi + 0x6270]
mov dword [ebp - 0x18], eax
cmp edi, eax
je 0x10048044
nop word [eax + eax]
push 0xfc
lea eax, [ebp - 0x198]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov ecx, 0x3f
lea esi, [ebp - 0x198]
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp - 0x80]
add esp, 0xc
add edi, 0xfc
mov dword [ebp - 0x80], edi
cmp edi, dword [ebp - 0x18]
jne 0x10048010
mov eax, dword [0x100d20c4]
mov ecx, dword fs:[0x2c]
mov ecx, dword [ecx + eax*4]
mov eax, dword [0x100d20e4]
cmp eax, dword [ecx + 4]
jle 0x100480b7
push 0x100d20e4
call fcn.100a973d
add esp, 4
cmp dword [0x100d20e4], 0xffffffff
jne 0x100480b7
push 0x2c0
push 0
push 0x100d2210
mov dword [ebp - 4], 4
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
call fcn.10003e20
push 0x100abb80
call fcn.100a9b48
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0x100d20e4
call fcn.100a96f3
add esp, 4
call fcn.10003d70
mov esi, eax
mov eax, dword [esi + 0x2a0]
test eax, eax
je 0x100480e4
mov ecx, 1
mov dword [eax + 0x63da], 1
call fcn.10004540
mov ecx, dword [esi + 0x2a0]
call eax
mov ecx, dword [0x100d24e0]
mov eax, dword [ecx + 0x3fc4]
mov byte [eax + 0xbc], 1
mov edx, dword [ecx + 0x3fc4]
mov ecx, dword [edx + 0x1bc]
mov eax, dword [edx + 0x1c4]
mov eax, dword [eax + ecx*4 - 4]
mov dword [edx + 0x1b4], eax
lea eax, [ecx - 1]
mov ecx, 1
mov dword [edx + 0x1bc], eax
call fcn.1000fb40
mov ecx, 2
call fcn.1000faf0
mov edi, dword [ebp - 0x74]
call fcn.1001fbd0
call fcn.1001adc0
mov eax, dword [ebp - 0x8c]
cmp byte [eax], 0
je 0x10048827
cmp dword [edi + 0x2b8], 0xffffffff
jle 0x10048827
mov esi, dword [0x100d24e0]
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], 7
movups xmm0, xmmword [esi + 0x3a04]
lea ecx, [esi + 0x4a10]
movups xmmword [ebp - 0x24], xmm0
call fcn.10026dd0
cmp dword [esi + 0x4a0c], 7
je 0x10048197
movaps xmm0, xmmword [0x100cc760]
movups xmmword [esi + 0x3a04], xmm0
mov edx, dword [ebp - 0x8c]
mov ecx, str.EditLine
push 0x1af
call fcn.10018290
add esp, 4
test al, al
je 0x1004881d
mov esi, dword [0x100d24e0]
lea edx, [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
push 0
mov ecx, dword [esi + 0x3fc4]
movss xmm1, dword [edi + 0x14]
movss xmm0, dword [edi + 0x10]
subss xmm1, dword [ecx + 0x24]
subss xmm0, dword [ecx + 0x20]
mulss xmm1, dword [0x100cc444]
mulss xmm0, dword [0x100cc444]
movss dword [ebp - 0x2c], xmm1
movss dword [ebp - 0x30], xmm0
call fcn.1001b6d0
movss xmm1, dword [esi + 0x38f4]
lea eax, [ebp - 0x34]
movss xmm0, dword [esi + 0x38f8]
lea ecx, [esi + 0x4a1c]
add esp, 4
mov dword [ebp - 0x34], 0xe
movss dword [ebp - 0x30], xmm1
movss dword [ebp - 0x2c], xmm0
push eax
call fcn.10026cc0
mov dword [esi + 0x38f4], 0x41400000
lea eax, [ebp - 0x34]
mov dword [esi + 0x38f8], 0x41400000
mov esi, dword [0x100d24e0]
push eax
mov dword [ebp - 0x34], 0xb
movss xmm1, dword [esi + 0x38e4]
lea ecx, [esi + 0x4a1c]
movss xmm0, dword [esi + 0x38e8]
movss dword [ebp - 0x30], xmm1
movss dword [ebp - 0x2c], xmm0
call fcn.10026cc0
mov dword [esi + 0x38e4], 0x40800000
lea eax, [ebp - 0x3c]
mov dword [esi + 0x38e8], 0x41400000
mov esi, dword [0x100d24e0]
push eax
mov dword [ebp - 0x3c], 0x31
movups xmm0, xmmword [esi + 0x3ca4]
lea ecx, [esi + 0x4a10]
movups xmmword [ebp - 0x38], xmm0
call fcn.10026dd0
cmp dword [esi + 0x4a0c], 0x31
je 0x100482cd
movaps xmm0, xmmword [0x100cc860]
movups xmmword [esi + 0x3ca4], xmm0
movss xmm0, dword [edi + 0x10]
mulss xmm0, dword [0x100cc42c]
call fcn.1001e820
mov esi, dword [ebp - 0x7c]
lea eax, [ebp - 0x30]
push eax
push 0x40
mov ecx, str.ColorButton
mov dword [ebp - 0x30], 0
lea edi, [esi + 0x108]
mov dword [ebp - 0x2c], 0
mov edx, edi
call fcn.100413a0
add esp, 8
test al, al
je 0x10048319
mov ecx, str.ColorPickerPopup
call fcn.1001f5f0
mov ecx, str.ColorPickerPopup
call fcn.1001fb50
test al, al
je 0x10048468
mov byte [esi + 4], 1
lea edx, [ebp - 0x24]
movss xmm0, dword [edi]
mov ecx, 0x100cbcf4
movss dword [ebp - 0x24], xmm0
movss xmm0, dword [edi + 4]
movss dword [ebp - 0x20], xmm0
movss xmm0, dword [edi + 8]
push 0
push 0x112
movss dword [ebp - 0x1c], xmm0
mov dword [ebp - 0x18], 0x3f800000
call fcn.1003eaf0
add esp, 8
test al, al
jne 0x10048384
mov edi, dword [ebp - 0x74]
add edi, 0x2a0
mov dword [ebp - 0x78], edi
call fcn.1001fbd0
jmp 0x10048478
movss xmm0, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x74]
movss dword [edi], xmm0
add ecx, 0x2a0
movss xmm0, dword [ebp - 0x20]
movss dword [edi + 4], xmm0
movss xmm0, dword [ebp - 0x1c]
movss dword [edi + 8], xmm0
movss xmm0, dword [edi + 0xc]
mulss xmm0, dword [0x100cc52c]
mov dword [ebp - 0x78], ecx
call fcn.100aa810
movss xmm0, dword [ebp - 0x24]
mulss xmm0, dword [0x100cc52c]
movzx eax, al
mov dword [ebp - 0x2c], eax
call fcn.100aa810
movss xmm0, dword [ebp - 0x20]
mulss xmm0, dword [0x100cc52c]
movzx edi, al
call fcn.100aa810
movss xmm0, dword [ebp - 0x1c]
mulss xmm0, dword [0x100cc52c]
movzx esi, al
call fcn.100aa810
mov edx, dword [ebp - 0x2c]
shl edx, 8
or edx, edi
movzx eax, al
mov edi, dword [ebp - 0x78]
shl edx, 8
or edx, esi
shl edx, 8
or edx, eax
mov eax, dword [ebp - 0x88]
imul ecx, dword [eax], 0xfc
mov eax, dword [edi]
mov dword [ecx + eax + 0x226], edx
call fcn.10003d70
mov esi, eax
mov eax, dword [esi + 0x2a0]
test eax, eax
je 0x1004845e
mov ecx, 1
mov dword [eax + 0x63da], 1
call fcn.10004540
mov ecx, dword [esi + 0x2a0]
call eax
mov dword [ebp - 0x78], edi
mov esi, dword [ebp - 0x7c]
call fcn.1001fbd0
jmp 0x10048478
mov edi, dword [ebp - 0x74]
add edi, 0x2a0
mov byte [esi + 4], 0
mov dword [ebp - 0x78], edi
movss xmm1, dword [0x100cc4e8]
xorps xmm0, xmm0
call fcn.1001e760
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
add esi, 5
mov dword [ebp - 0x18], 0
push 0x100
push esi
xor edx, edx
mov ecx, str.ChatLine
call fcn.100393f0
add esp, 0x18
test al, al
je 0x100486f6
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 0x2b8]
cmp eax, 0xffffffff
jle 0x100486f6
imul ecx, eax, 0xfc
mov eax, dword [edi]
push esi
mov byte [ecx + eax + 0x152], 0
lea ecx, [ebp - 0x58]
call fcn.10006810
mov dword [ebp - 4], 5
call dword [sym.imp.KERNEL32.dll_GetACP]
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
mov edi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmovae ecx, dword [ebp - 0x58]
push 0
push 0
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
mov dword [ebp - 0x8c], eax
call edi
xor ecx, ecx
mov esi, eax
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.100a9b6b
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x44], 0x10
lea ecx, [ebp - 0x58]
cmovae ecx, dword [ebp - 0x58]
push esi
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0xfde9
call edi
mov edi, dword [ebp - 0x2c]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov dword [ebp - 0x2c], eax
test eax, eax
jne 0x1004859b
push edi
call fcn.100a9605
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
mov esi, 0xf
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], esi
mov byte [ebp - 0x40], 0
jmp 0x100485ec
push eax
call fcn.100a9b6b
add esp, 4
mov esi, eax
push 0
push 0
push dword [ebp - 0x2c]
push esi
push 0xffffffffffffffff
push edi
push 0
push dword [ebp - 0x8c]
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push edi
call fcn.100a9605
add esp, 4
lea ecx, [ebp - 0x70]
push esi
call fcn.10006810
push esi
call fcn.100a9605
movups xmm0, xmmword [ebp - 0x70]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [ebp - 0x60]
movq qword [ebp - 0x30], xmm0
mov esi, dword [ebp - 0x2c]
add esp, 4
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x44]
cmp ecx, 0x10
jb 0x10048629
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1004861f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1004861f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.100a9b5d
add esp, 8
cmp esi, 0x10
mov dword [ebp - 0x48], 0
lea edx, [ebp - 0x40]
mov dword [ebp - 0x44], 0xf
cmovae edx, dword [ebp - 0x40]
mov byte [ebp - 0x58], 0
mov esi, edx
mov al, byte [edx]
inc edx
test al, al
jne 0x10048647
mov eax, dword [ebp - 0x74]
sub edx, esi
mov ecx, dword [ebp - 0x78]
imul eax, dword [eax + 0x2b8], 0xfc
mov edi, dword [ecx]
add edi, 0x151
add edi, eax
nop word [eax + eax]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x10048670
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.10003d70
mov esi, eax
mov eax, dword [esi + 0x2a0]
test eax, eax
je 0x100486b3
mov ecx, 1
mov dword [eax + 0x63da], 1
call fcn.10004540
mov ecx, dword [esi + 0x2a0]
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x2c]
cmp eax, 0x10
jb 0x100486f6
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x40]
mov edx, eax
cmp ecx, 0x1000
jb 0x100486ec
mov eax, dword [edx - 4]
add ecx, 0x23
sub edx, eax
mov dword [ebp - 0x2c], eax
lea eax, [edx - 4]
cmp eax, 0x1f
ja 0x10047ca4
mov eax, dword [ebp - 0x2c]
push ecx
push eax
call fcn.100a9b5d
add esp, 8
mov ecx, dword [0x100d24e0]
push 0
movss xmm4, dword [ecx + 0x495c]
movss xmm0, dword [ecx + 0x4964]
movaps xmm2, xmm4
mov eax, dword [ecx + 0x3fc4]
subss xmm0, xmm4
movss xmm5, dword [ecx + 0x4960]
movss xmm1, dword [ecx + 0x4968]
movaps xmm3, xmm5
subss xmm1, xmm5
mov byte [eax + 0xbc], 1
mov eax, dword [ecx + 0x3fc4]
addss xmm2, xmm0
movss xmm0, dword [0x100cc444]
addss xmm4, xmm0
addss xmm5, xmm0
mov esi, dword [eax + 0x278]
addss xmm3, xmm1
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
lea eax, [ebp - 0x94]
movss dword [ebp - 0x94], xmm4
test byte [esi + 0x24], 1
movss dword [ebp - 0x90], xmm5
push eax
je 0x1004878a
subss xmm2, xmm0
subss xmm3, xmm0
jmp 0x1004879a
subss xmm2, dword [0x100cc440]
subss xmm3, dword [0x100cc440]
movss dword [ebp - 0x2c], xmm3
xorps xmm3, xmm3
movss dword [ebp - 0x30], xmm2
call fcn.1002a7e0
push ecx
mov dword [esp], 0x3f800000
mov ecx, esi
push 1
push 0xffffffffffffffff
push dword [esi + 0x38]
push dword [esi + 0x40]
call fcn.10028f10
mov ecx, dword [0x100d24e0]
mov dword [esi + 0x38], 0
mov eax, dword [ecx + 0x3fc4]
mov byte [eax + 0xbc], 1
mov esi, dword [ecx + 0x3fc4]
mov ecx, 2
mov edx, dword [esi + 0x1bc]
mov eax, dword [esi + 0x1c4]
mov eax, dword [eax + edx*4 - 4]
mov dword [esi + 0x1b4], eax
lea eax, [edx - 1]
mov dword [esi + 0x1bc], eax
call fcn.1000fb40
mov ecx, 1
call fcn.1000faf0
call fcn.1001adc0
mov ecx, 1
call fcn.1000faf0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100a95f7
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.10048f40
int3