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

Disassembly:
sub esp, 0x84
push str.renderChat__
call fcn.1005b96b
cmp dword [0x1018d154], 0
pop ecx
je 0x1005225b
push 9
call fcn.1003eef2
pop ecx
test eax, eax
je 0x10051c44
cmp dword [0x101709a0], 0
je 0x10051c44
mov eax, dword [0x1018d154]
mov eax, dword [eax + 8]
mov dword [0x1019a75c], eax
push 9
call fcn.1003eed3
pop ecx
mov ecx, dword [0x101709a0]
test eax, eax
je 0x10051c5e
test ecx, ecx
jne 0x1005225b
mov eax, dword [0x1018d160]
push ebx
xor ebx, ebx
cmp dword [eax], ebx
je 0x10051c72
test ecx, ecx
je 0x1005225a
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x70
call esi
test ax, ax
js 0x10052259
push 0x74
call esi
test ax, ax
js 0x10052259
push 0x79
call esi
test ax, ax
js 0x10052259
mov ecx, dword [0x1019a764]
mov eax, dword [0x1015c888]
mov edx, dword [0x1019a760]
push ebp
xor ebp, ebp
inc ebp
test ecx, ecx
je 0x10051cd8
cmp dword [eax + 0xd09f], ebx
jne 0x10051cc5
test edx, edx
jne 0x10051cd8
push ebx
call fcn.10040c25
neg eax
pop ecx
sbb eax, eax
inc eax
mov dword [0x1019a764], eax
jmp 0x10051d46
cmp dword [eax + 0xd09f], ebx
jne 0x10052258
test edx, edx
je 0x10051d4b
test ecx, ecx
jne 0x10051cf9
push ebp
call fcn.10040c25
pop ecx
mov dword [0x1019a764], ebp
cvttss2si ecx, dword [0x100e09c0]
add ecx, 0x1d
test ecx, ecx
jg 0x10051d10
push 0x23
pop edx
push 0x1e
pop ecx
jmp 0x10051d30
mov eax, dword [0x10194ec8]
cmp ecx, eax
jle 0x10051d2d
mov edx, dword [0x10194ec4]
mov ecx, eax
shr edx, 1
shr ecx, 1
sub edx, 0x14
sub ecx, 0x1e
jmp 0x10051d30
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 + 0xd09f], ebx
jne 0x10052258
push 9
call fcn.1003ef3e
pop ecx
test eax, eax
je 0x10051d8f
cmp dword [0x101709a0], ebx
je 0x10051d8f
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 0x10051d95
mov ecx, dword [0x1018d154]
push str.chat_text
push 0x1019a760
push 0x100e09e4
lea eax, [ecx + 8]
push eax
push ecx
call fcn.1005133d
add esp, 0x14
cmp dword [0x1019a760], ebx
je 0x10052258
call fcn.1002b157
test eax, eax
jne 0x10052258
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.1003eed3
pop ecx
test eax, eax
je 0x10051e16
movss xmm0, dword [esp + 0xc]
subss xmm0, dword [0x1008e2d0]
movss dword [0x100e09c0], xmm0
jmp 0x10051e1e
movss xmm0, dword [0x100e09c0]
push 0x22
movss dword [esp + 0x10], xmm0
call fcn.1003eed3
pop ecx
test eax, eax
je 0x10051e48
movss xmm0, dword [esp + 0xc]
addss xmm0, dword [0x1008e2d0]
movss dword [0x100e09c0], xmm0
jmp 0x10051e50
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 0x10052115
cmp dword [eax + 8], ebx
je 0x10052115
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
test eax, eax
je 0x10052115
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 0x1005211b
movd xmm1, dword [esp + 0x2c]
mov eax, dword [0x10194f2c]
cvtdq2ps xmm1, xmm1
movss xmm0, dword [eax + 0xe45]
addss xmm0, dword [0x10083148]
subss xmm1, xmm2
divss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [esp + 0x14], eax
add eax, 0x62
cmp eax, edi
ja 0x1005211b
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 0x1005211b
lea ebx, [ecx + 0x152]
add ebx, eax
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10051f0d
sub ecx, edx
cmp ecx, 0xb
jbe 0x1005211b
xor esi, esi
xor ebp, ebp
cmp ebp, 4
jge 0x10052115
mov eax, ebp
sub eax, 0
je 0x10051f57
sub eax, 1
je 0x10051f50
sub eax, 1
je 0x10051f49
sub eax, 1
jne 0x10051f66
push str.samp:__
jmp 0x10051f5c
push str.ftp:__
jmp 0x10051f5c
push str.https:__
jmp 0x10051f5c
push str.http:__
push ebx
call fcn.100611b0
pop ecx
mov esi, eax
pop ecx
inc ebp
test esi, esi
je 0x10051f23
push 0x62
push esi
lea eax, [esp + 0x38]
push edi
push eax
call fcn.10062e54
lea eax, [esp + 0x40]
push 0x10094b5c
push eax
call fcn.100611b0
add esp, 0x18
test eax, eax
je 0x10051f92
mov byte [eax], 0
lea eax, [esp + 0x30]
push eax
push str.URL:__s
call fcn.1002ae81
pop ecx
pop ecx
push 0
mov byte [esi], 0
mov ecx, dword [0x10194f2c]
push ebx
call fcn.10041c9f
fadd dword [0x10095f24]
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 0x1005202a
add ecx, 0x136
add eax, ecx
mov ecx, dword [0x10194f2c]
push ebx
push eax
call fcn.10041c9f
mov ecx, dword [0x10194f2c]
push ebx
fstp dword [esp + 0x20]
push 0x10094b5c
call fcn.10041c9f
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 [0x10083148]
push eax
mulss xmm1, xmm0
addss xmm1, dword [esp + 0x20]
movss dword [esp + 0x24], xmm1
call fcn.10041c9f
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.10041726
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x10052115
push 7
lea eax, [esp + 0x34]
push str.samp:__
push eax
call fcn.10062e60
add esp, 0xc
test eax, eax
jne 0x10052100
lea eax, [esp + 0x37]
push 0x10094b68
push eax
call fcn.100611b0
pop ecx
pop ecx
test eax, eax
je 0x100520f3
mov byte [eax], bl
inc eax
push 0x100823d9
push eax
call fcn.100697fc
pop ecx
push eax
lea eax, [esp + 0x3f]
push eax
call fcn.1004048b
add esp, 0xc
jmp 0x10052115
push str.Port_missing._Correct_would_be:_samp:__127.0.0.1:7777
call fcn.1004024a
pop ecx
jmp 0x10052115
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 0x10052257
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 0x10052180
dec eax
sub eax, 1
je 0x10052159
sub eax, 4
jne 0x10052229
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 0x10052218
mov ecx, dword [0x10194f2c]
lea esi, [ebp + 0x136]
push 0
add esi, ebx
push esi
call fcn.10041c9f
mov ecx, dword [0x10194f2c]
push 0
fstp dword [esp + 0x18]
push 0x10094b5c
call fcn.10041c9f
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.10042e7f
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 [0x10095f24]
movss dword [esp], xmm0
mov ecx, dword [0x10194f2c]
call fcn.10042e7f
movss xmm2, dword [esp + 0x10]
mov eax, dword [0x10194f2c]
sub ebx, 0xfc
movss xmm0, dword [eax + 0xe45]
addss xmm0, dword [0x10083148]
subss xmm2, xmm0
movss dword [esp + 0x10], xmm2
sub edi, 1
jne 0x10052137
pop edi
pop ebp
pop esi
pop ebx
add esp, 0x84
ret