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

Disassembly:
sub esp, 0x84
push str.renderChat__
call fcn.1005ba7f
cmp dword [0x1018d154], 0
pop ecx
je 0x1005236f
push 9
call fcn.1003efed
pop ecx
test eax, eax
je 0x10051d58
cmp dword [0x101709a0], 0
je 0x10051d58
mov eax, dword [0x1018d154]
mov eax, dword [eax + 8]
mov dword [0x1019a75c], eax
push 9
call fcn.1003efce
pop ecx
mov ecx, dword [0x101709a0]
test eax, eax
je 0x10051d72
test ecx, ecx
jne 0x1005236f
mov eax, dword [0x1018d160]
push ebx
xor ebx, ebx
cmp dword [eax], ebx
je 0x10051d86
test ecx, ecx
je 0x1005236e
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x70
call esi
test ax, ax
js 0x1005236d
push 0x74
call esi
test ax, ax
js 0x1005236d
push 0x79
call esi
test ax, ax
js 0x1005236d
mov ecx, dword [0x1019a764]
mov eax, dword [0x1015c888]
mov edx, dword [0x1019a760]
push ebp
xor ebp, ebp
inc ebp
test ecx, ecx
je 0x10051dec
cmp dword [eax + 0xd0a0], ebx
jne 0x10051dd9
test edx, edx
jne 0x10051dec
push ebx
call fcn.10040d20
neg eax
pop ecx
sbb eax, eax
inc eax
mov dword [0x1019a764], eax
jmp 0x10051e5a
cmp dword [eax + 0xd0a0], ebx
jne 0x1005236c
test edx, edx
je 0x10051e5f
test ecx, ecx
jne 0x10051e0d
push ebp
call fcn.10040d20
pop ecx
mov dword [0x1019a764], ebp
cvttss2si ecx, dword [0x100e09c0]
add ecx, 0x1d
test ecx, ecx
jg 0x10051e24
push 0x23
pop edx
push 0x1e
pop ecx
jmp 0x10051e44
mov eax, dword [0x10194ec8]
cmp ecx, eax
jle 0x10051e41
mov edx, dword [0x10194ec4]
mov ecx, eax
shr edx, 1
shr ecx, 1
sub edx, 0x14
sub ecx, 0x1e
jmp 0x10051e44
push 0x23
pop edx
mov eax, dword [0x1018d158]
mov eax, dword [eax + 8]
mov dword [eax + 8], edx
mov eax, dword [0x1018d154]
mov dword [eax + 0x12e], ecx
mov eax, dword [0x1015c888]
cmp dword [eax + 0xd0a0], ebx
jne 0x1005236c
push 9
call fcn.1003f039
pop ecx
test eax, eax
je 0x10051ea3
cmp dword [0x101709a0], ebx
je 0x10051ea3
mov ecx, dword [0x1018d154]
mov eax, dword [0x1019a75c]
mov dword [ecx + 8], eax
mov ecx, dword [0x1018d154]
mov eax, dword [ecx + 8]
mov dword [0x100e09e4], eax
mov dword [0x1019a760], ebp
jmp 0x10051ea9
mov ecx, dword [0x1018d154]
push str.chat_text
push 0x1019a760
push 0x100e09e4
lea eax, [ecx + 8]
push eax
push ecx
call fcn.10051451
add esp, 0x14
cmp dword [0x1019a760], ebx
je 0x1005236c
call fcn.1002b19f
test eax, eax
jne 0x1005236c
mov eax, dword [0x10170998]
test eax, eax
movss xmm0, dword [0x100e09c0]
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 [0x10170998], eax
call fcn.1003efce
pop ecx
test eax, eax
je 0x10051f2a
movss xmm0, dword [esp + 0xc]
subss xmm0, dword [0x1008e330]
movss dword [0x100e09c0], xmm0
jmp 0x10051f32
movss xmm0, dword [0x100e09c0]
push 0x22
movss dword [esp + 0x10], xmm0
call fcn.1003efce
pop ecx
test eax, eax
je 0x10051f5c
movss xmm0, dword [esp + 0xc]
addss xmm0, dword [0x1008e330]
movss dword [0x100e09c0], xmm0
jmp 0x10051f64
movss xmm0, dword [0x100e09c0]
mov eax, dword [0x1018d158]
push edi
push 0x63
movss dword [esp + 0x14], xmm0
pop edi
cmp dword [eax + 0x14e0], ebx
je 0x10052229
cmp dword [eax + 8], ebx
je 0x10052229
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10052229
lea eax, [esp + 0x28]
push eax
push dword [0x10194ee0]
call dword [sym.imp.USER32.dll_ScreenToClient]
movss xmm2, dword [esp + 0x10]
test eax, eax
je 0x1005222f
movd xmm1, dword [esp + 0x2c]
mov eax, dword [0x10194f2c]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax + 0xe45]
addss xmm0, dword [0x100831ac]
subss xmm1, xmm2
divss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x14], eax
add eax, 0x62
cmp eax, edi
ja 0x1005222f
mov ecx, dword [0x1018d154]
imul eax, eax, 0xfc
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x24], eax
cmp dword [eax + ecx + 0x222], ebx
je 0x1005222f
lea ebx, [ecx + 0x152]
add ebx, eax
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10052021
sub ecx, edx
cmp ecx, 0xb
jbe 0x1005222f
xor esi, esi
xor ebp, ebp
cmp ebp, 4
jge 0x10052229
mov eax, ebp
sub eax, 0
je 0x1005206b
sub eax, 1
je 0x10052064
sub eax, 1
je 0x1005205d
sub eax, 1
jne 0x1005207a
push str.samp:__
jmp 0x10052070
push str.ftp:__
jmp 0x10052070
push str.https:__
jmp 0x10052070
push str.http:__
push ebx
call fcn.100612c0
pop ecx
mov esi, eax
pop ecx
inc ebp
test esi, esi
je 0x10052037
push 0x62
push esi
lea eax, [esp + 0x38]
push edi
push eax
call fcn.10062f64
lea eax, [esp + 0x40]
push 0x10094c1c
push eax
call fcn.100612c0
add esp, 0x18
test eax, eax
je 0x100520a6
mov byte [eax], 0
lea eax, [esp + 0x30]
push eax
push str.URL:__s
call fcn.1002aec9
pop ecx
pop ecx
push 0
mov byte [esi], 0
mov ecx, dword [0x10194f2c]
push ebx
call fcn.10041d9a
fadd dword [0x10095fe4]
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 0x1005213e
add ecx, 0x136
add eax, ecx
mov ecx, dword [0x10194f2c]
push ebx
push eax
call fcn.10041d9a
mov ecx, dword [0x10194f2c]
push ebx
fstp dword [esp + 0x20]
push 0x10094c1c
call fcn.10041d9a
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 [0x10194f2c]
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 + 0xe45]
addss xmm1, dword [0x100831ac]
push eax
mulss xmm1, xmm0
addss xmm1, dword [esp + 0x20]
movss dword [esp + 0x24], xmm1
call fcn.10041d9a
movss xmm0, dword [esp + 0x1c]
sub esp, 0xc
mov ecx, dword [0x10194f14]
fstp dword [esp + 8]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x2c]
movss dword [esp], xmm0
call fcn.10041821
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x10052229
push 7
lea eax, [esp + 0x34]
push str.samp:__
push eax
call fcn.10062f70
add esp, 0xc
test eax, eax
jne 0x10052214
lea eax, [esp + 0x37]
push 0x10094c28
push eax
call fcn.100612c0
pop ecx
pop ecx
test eax, eax
je 0x10052207
mov byte [eax], bl
inc eax
push 0x100823d9
push eax
call fcn.1006990c
pop ecx
push eax
lea eax, [esp + 0x3f]
push eax
call fcn.10040586
add esp, 0xc
jmp 0x10052229
push str.Port_missing._Correct_would_be:_samp:__127.0.0.1:7777
call fcn.10040345
pop ecx
jmp 0x10052229
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 [0x10170998]
cmp eax, edi
jge 0x1005236b
mov ebx, 0x6174
sub edi, eax
mov esi, 0xff000000
mov ebp, dword [0x1018d154]
mov eax, dword [ebx + ebp + 0x222]
dec eax
sub eax, 1
je 0x10052294
dec eax
sub eax, 1
je 0x1005226d
sub eax, 4
jne 0x1005233d
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 0x1005232c
mov ecx, dword [0x10194f2c]
lea esi, [ebp + 0x136]
push 0
add esi, ebx
push esi
call fcn.10041d9a
mov ecx, dword [0x10194f2c]
push 0
fstp dword [esp + 0x18]
push 0x10094c1c
call fcn.10041d9a
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 [0x10194f2c]
movss dword [esp + 4], xmm0
fstp dword [esp + 0x24]
mov dword [esp], 0x420c0000
call fcn.10042f7a
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 [0x10095fe4]
movss dword [esp], xmm0
mov ecx, dword [0x10194f2c]
call fcn.10042f7a
movss xmm2, dword [esp + 0x10]
mov eax, dword [0x10194f2c]
sub ebx, 0xfc
movss xmm0, dword [eax + 0xe45]
addss xmm0, dword [0x100831ac]
subss xmm2, xmm0
movss dword [esp + 0x10], xmm2
sub edi, 1
jne 0x1005224b
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x84
ret