Function at 0x10046036
Capabilities:
Create process on windows
Log keystrokes via polling
Schedule task via at

Disassembly:
sub esp, 0x84
push str.renderChat__
call fcn.1004d30e
cmp dword [0x101ac880], 0
pop ecx
je 0x100466a0
push 9
call fcn.1003d6b0
pop ecx
test eax, eax
je 0x10046076
cmp dword [0x101900f4], 0
je 0x10046076
mov eax, dword [0x101ac880]
mov eax, dword [eax + 8]
mov dword [0x101b9e28], eax
push 9
call fcn.1003d691
pop ecx
mov ecx, dword [0x101900f4]
test eax, eax
je 0x10046090
test ecx, ecx
jne 0x100466a0
mov eax, dword [0x101ac88c]
push ebx
xor ebx, ebx
cmp dword [eax], ebx
je 0x100460a4
test ecx, ecx
je 0x1004669f
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x70
call esi
test ax, ax
js 0x1004669e
push 0x74
call esi
test ax, ax
js 0x1004669e
push 0x79
call esi
test ax, ax
js 0x1004669e
mov ecx, dword [0x101b9e30]
mov eax, dword [0x10150b3c]
mov edx, dword [0x101b9e2c]
push ebp
xor ebp, ebp
inc ebp
test ecx, ecx
je 0x1004610a
cmp dword [eax + 0x10e], ebx
jne 0x100460f7
test edx, edx
jne 0x1004610a
push ebx
call fcn.1003f355
neg eax
pop ecx
sbb eax, eax
inc eax
mov dword [0x101b9e30], eax
jmp 0x10046178
cmp dword [eax + 0x10e], ebx
jne 0x1004669d
test edx, edx
je 0x1004617d
test ecx, ecx
jne 0x1004612b
push ebp
call fcn.1003f355
pop ecx
mov dword [0x101b9e30], ebp
cvttss2si ecx, dword [0x100d48fc]
add ecx, 0x1d
test ecx, ecx
jg 0x10046142
push 0x23
pop edx
push 0x1e
pop ecx
jmp 0x10046162
mov eax, dword [0x101b44e0]
cmp ecx, eax
jle 0x1004615f
mov edx, dword [0x101b44dc]
mov ecx, eax
shr edx, 1
shr ecx, 1
sub edx, 0x14
sub ecx, 0x1e
jmp 0x10046162
push 0x23
pop edx
mov eax, dword [0x101ac884]
mov eax, dword [eax + 8]
mov dword [eax + 8], edx
mov eax, dword [0x101ac880]
mov dword [eax + 0x12e], ecx
mov eax, dword [0x10150b3c]
cmp dword [eax + 0x10e], ebx
jne 0x1004669d
push 9
call fcn.1003d6fc
pop ecx
test eax, eax
je 0x100461d4
cmp dword [0x101900f4], ebx
je 0x100461d4
mov ecx, dword [0x101ac880]
mov eax, dword [0x101b9e28]
mov dword [ecx + 8], eax
mov ecx, dword [0x101ac880]
mov eax, dword [ecx + 8]
mov dword [0x100d4904], eax
cmp dword [ecx + 8], 2
je 0x100461cc
cmp dword [ecx + 8], ebp
je 0x100461cc
mov dword [0x101b9e2c], ebp
jmp 0x100461da
mov dword [0x101b9e2c], ebx
jmp 0x100461da
mov ecx, dword [0x101ac880]
push str.chat_text
push 0x101b9e2c
push 0x100d4904
lea eax, [ecx + 8]
push eax
push ecx
call fcn.10045d66
add esp, 0x14
cmp dword [0x101b9e2c], ebx
je 0x1004669d
call fcn.1002b0cc
test eax, eax
jne 0x1004669d
mov eax, dword [0x101900ec]
test eax, eax
movss xmm0, dword [0x100d48fc]
push 0xa
pop ecx
cmovle eax, ecx
movss dword [esp + 0xc], xmm0
push 0x64
pop ecx
cmp eax, ecx
push 0x21
cmovge eax, ecx
mov dword [0x101900ec], eax
call fcn.1003d691
pop ecx
test eax, eax
je 0x1004625b
movss xmm0, dword [esp + 0xc]
subss xmm0, dword [0x100829b0]
movss dword [0x100d48fc], xmm0
jmp 0x10046263
movss xmm0, dword [0x100d48fc]
push 0x22
movss dword [esp + 0x10], xmm0
call fcn.1003d691
pop ecx
test eax, eax
je 0x1004628d
movss xmm0, dword [esp + 0xc]
addss xmm0, dword [0x100829b0]
movss dword [0x100d48fc], xmm0
jmp 0x10046295
movss xmm0, dword [0x100d48fc]
mov eax, dword [0x101ac884]
push edi
push 0x63
movss dword [esp + 0x14], xmm0
pop edi
cmp dword [eax + 0x14e0], ebx
je 0x1004655a
cmp dword [eax + 8], ebx
je 0x1004655a
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x1004655a
lea eax, [esp + 0x28]
push eax
push dword [0x101b44f8]
call dword [sym.imp.USER32.dll_ScreenToClient]
movss xmm2, dword [esp + 0x10]
test eax, eax
je 0x10046560
movd xmm1, dword [esp + 0x2c]
mov eax, dword [0x101b4640]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax + 0xe46]
addss xmm0, dword [0x10078340]
subss xmm1, xmm2
divss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x14], eax
add eax, 0x62
cmp eax, edi
ja 0x10046560
mov ecx, dword [0x101ac880]
imul eax, eax, 0xfc
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
cmp dword [eax + ecx + 0x222], ebx
je 0x10046560
lea ebx, [ecx + 0x152]
add ebx, eax
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10046352
sub ecx, edx
cmp ecx, 0xb
jbe 0x10046560
xor esi, esi
xor ebp, ebp
cmp ebp, 4
jge 0x1004655a
mov eax, ebp
sub eax, 0
je 0x1004639c
sub eax, 1
je 0x10046395
sub eax, 1
je 0x1004638e
sub eax, 1
jne 0x100463ab
push str.samp:__
jmp 0x100463a1
push str.ftp:__
jmp 0x100463a1
push str.https:__
jmp 0x100463a1
push str.http:__
push ebx
call fcn.10052e30
pop ecx
mov esi, eax
pop ecx
inc ebp
test esi, esi
je 0x10046368
push 0x62
push esi
lea eax, [esp + 0x38]
push edi
push eax
call fcn.10058614
lea eax, [esp + 0x40]
push 0x10088608
push eax
call fcn.10052e30
add esp, 0x18
test eax, eax
je 0x100463d7
mov byte [eax], 0
lea eax, [esp + 0x30]
push eax
push str.URL:__s
call fcn.1002adf6
pop ecx
pop ecx
push 0
mov byte [esi], 0
mov ecx, dword [0x101b4640]
push ebx
call fcn.10040308
fadd dword [0x1008958c]
mov al, byte [esp + 0x30]
xor ebx, ebx
mov ecx, dword [esp + 0x1c]
mov byte [esi], al
mov eax, dword [esp + 0x24]
fst dword [esp + 0x20]
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
cmp dword [eax + ecx + 0x222], 0xa
movss dword [esp + 0x18], xmm0
jne 0x1004646f
add ecx, 0x136
add eax, ecx
mov ecx, dword [0x101b4640]
push ebx
push eax
call fcn.10040308
mov ecx, dword [0x101b4640]
push ebx
fstp dword [esp + 0x20]
push 0x10088608
call fcn.10040308
fadd dword [esp + 0x1c]
fadd dword [esp + 0x20]
fstp dword [esp + 0x20]
movss xmm0, dword [esp + 0x20]
movss dword [esp + 0x18], xmm0
mov ecx, dword [0x101b4640]
lea eax, [esp + 0x30]
movd xmm0, dword [esp + 0x14]
cvtdq2ps xmm0, xmm0
push 0xff0000cc
push ecx
mov dword [esp], 0x40400000
push ebx
movss xmm1, dword [ecx + 0xe46]
addss xmm1, dword [0x10078340]
push eax
mulss xmm1, xmm0
addss xmm1, dword [esp + 0x20]
movss dword [esp + 0x24], xmm1
call fcn.10040308
movss xmm0, dword [esp + 0x1c]
sub esp, 0xc
mov ecx, dword [0x101b4628]
fstp dword [esp + 8]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp], xmm0
call fcn.1003fd8f
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x1004655a
push 7
lea eax, [esp + 0x34]
push str.samp:__
push eax
call fcn.10058620
add esp, 0xc
test eax, eax
jne 0x10046545
lea eax, [esp + 0x37]
push 0x10088614
push eax
call fcn.10052e30
pop ecx
pop ecx
test eax, eax
je 0x10046538
mov byte [eax], bl
inc eax
push 0x10077489
push eax
call fcn.1005851e
pop ecx
push eax
lea eax, [esp + 0x3f]
push eax
call fcn.1003ebd3
add esp, 0xc
jmp 0x1004655a
push str.Port_missing._Correct_would_be:_samp:__127.0.0.1:7777
call fcn.1003e992
pop ecx
jmp 0x1004655a
push 1
push ebx
push ebx
lea eax, [esp + 0x3c]
push eax
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
movss xmm2, dword [esp + 0x10]
mov eax, edi
sub eax, dword [0x101900ec]
cmp eax, edi
jge 0x1004669c
mov ebx, 0x6174
sub edi, eax
mov esi, 0xff000000
mov ebp, dword [0x101ac880]
mov eax, dword [ebx + ebp + 0x222]
dec eax
sub eax, 1
je 0x100465c5
dec eax
sub eax, 1
je 0x1004659e
sub eax, 4
jne 0x1004666e
lea eax, [ebp + 0x152]
add eax, ebx
push eax
mov eax, dword [ebx + ebp + 0x226]
or eax, esi
push eax
push ecx
push ecx
movss dword [esp + 4], xmm2
mov dword [esp], 0x420c0000
jmp 0x1004665d
mov ecx, dword [0x101b4640]
lea esi, [ebp + 0x136]
push 0
add esi, ebx
push esi
call fcn.10040308
mov ecx, dword [0x101b4640]
push 0
fstp dword [esp + 0x18]
push 0x10088608
call fcn.10040308
mov eax, dword [ebx + ebp + 0x22a]
fadd dword [esp + 0x14]
push esi
mov esi, 0xff000000
or eax, esi
movss xmm0, dword [esp + 0x14]
push eax
push ecx
push ecx
mov ecx, dword [0x101b4640]
movss dword [esp + 4], xmm0
fstp dword [esp + 0x24]
mov dword [esp], 0x420c0000
call fcn.1004120b
movss xmm0, dword [esp + 0x10]
lea eax, [ebp + 0x152]
add eax, ebx
push eax
mov eax, dword [ebx + ebp + 0x226]
or eax, esi
push eax
push ecx
push ecx
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x24]
addss xmm0, dword [0x1008958c]
movss dword [esp], xmm0
mov ecx, dword [0x101b4640]
call fcn.1004120b
movss xmm2, dword [esp + 0x10]
mov eax, dword [0x101b4640]
sub ebx, 0xfc
movss xmm0, dword [eax + 0xe46]
addss xmm0, dword [0x10078340]
subss xmm2, xmm0
movss dword [esp + 0x10], xmm2
sub edi, 1
jne 0x1004657c
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x84
ret