Function at 0x140058580
Capabilities:
Log keystrokes via polling
Move file
Terminate process

Disassembly:
push rbp
push rbx
push rsi
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1402a7638]
xor rax, rsp
mov qword [rbp + 0x190], rax
lea rax, [0x1400584c0]
mov dword [rbp - 0x70], 0x50
xor esi, esi
mov qword [rbp - 0x68], rax
xor ecx, ecx
mov qword [rbp - 0x60], rsi
mov dword [rbp - 0x6c], 0x40
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
xorps xmm0, xmm0
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x58], rax
lea rcx, [rbp - 0x70]
mov rax, qword [str.Clout_Client___Aim_Full]
xorps xmm1, xmm1
mov qword [rbp - 0x30], rax
movdqa xmmword [rbp - 0x50], xmm0
movdqa xmmword [rbp - 0x40], xmm1
call qword [sym.imp.USER32.dll_RegisterClassExA]
mov rax, qword [rbp - 0x58]
mov r9d, 0x80000000
mov r8, qword [str.Clout_Client___Aim_Full]
xor ecx, ecx
mov rdx, qword [rbp - 0x30]
mov qword [rsp + 0x58], rsi
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], 5
mov dword [rsp + 0x30], 5
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
call qword [sym.imp.USER32.dll_CreateWindowExA]
lea ecx, [rsi + 0x20]
mov qword [0x1402ab340], rax
mov rbx, rax
call sub.d3d9.dll_Direct3DCreate9
mov qword [0x1402ab390], rax
mov rcx, rax
test rax, rax
je 0x140058ff4
lea rdx, [0x1402ab348]
mov qword [0x1402ab350], rsi
mov qword [rsp + 0x30], rdx
lea r8d, [rsi + 1]
lea rdx, [0x1402ab350]
mov qword [0x1402ab35c], rsi
mov qword [rsp + 0x28], rdx
mov r9, rbx
mov dword [0x1402ab364], esi
xor edx, edx
mov qword [0x1402ab36c], rsi
mov dword [0x1402ab374], esi
mov qword [0x1402ab384], rsi
mov dword [0x1402ab378], 1
mov dword [0x1402ab368], 1
mov dword [0x1402ab358], esi
mov dword [0x1402ab37c], 1
mov dword [0x1402ab380], 0x50
mov dword [0x1402ab38c], 1
mov rax, qword [rax]
mov dword [rsp + 0x20], 0x40
call qword [rax + 0x80]
test eax, eax
js 0x140058fed
mov rcx, qword [0x1402ab340]
xor edx, edx
mov qword [rsp + 0x2f0], rdi
mov qword [rsp + 0x2f8], r12
mov qword [rsp + 0x300], r13
mov qword [rsp + 0x2c8], r14
mov qword [rsp + 0x2c0], r15
movaps xmmword [rsp + 0x2b0], xmm6
movaps xmmword [rsp + 0x2a0], xmm7
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x1402ab340]
call qword [sym.imp.USER32.dll_UpdateWindow]
xor ecx, ecx
call fcn.140011f70
call fcn.14001fa10
mov r12, rax
or dword [rax], 0x400
mov qword [rax + 0x18], rsi
call fcn.140020100
test dword [r12], 0x400
je 0x140058789
mov dword [rax + 0xc], esi
mov dword [rax + 0x110], 0x3f800000
mov rcx, qword [0x1402ab340]
call fcn.140047f30
mov rcx, qword [0x1402ab348]
call fcn.140046820
mov rbx, qword [r12 + 0xa0]
mov rcx, rbx
call fcn.1400378c0
movss xmm2, dword [0x1400c5180]
lea rdx, str.c:WindowsFonts_verdana.ttf
xor r9d, r9d
mov qword [rsp + 0x20], rax
mov rcx, rbx
call fcn.140034630
movzx ebx, byte [rbp - 0x80]
xorps xmm0, xmm0
movzx edi, byte [rbp - 0x80]
movss xmm7, dword [0x1400bde24]
movups xmmword [rbp + 0x48], xmm0
movups xmmword [rbp + 0x58], xmm0
movups xmmword [rbp + 0x68], xmm0
xor ecx, ecx
mov r14d, 4
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r8d, 0x104
lea rdx, [rbp + 0x80]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
mov qword [rbp + 0x10], r14
movups xmmword [rbp], xmm0
mov r13d, reloc.WS2_32.dll_ntohs
mov dword [rbp], 0x6578652e
lea edx, [r14 + 0x2c]
mov byte [rbp + 4], 0
lea rcx, [rbp + 0x20]
mov qword [rbp + 0x18], r13
xorps xmm6, xmm6
movups xmmword [rbp + 0x20], xmm0
call fcn.140002590
movups xmm0, xmmword [str.abcdefghijklmnopqrstuvwxyz0123456789]
mov r15, rax
mov qword [rbp + 0x20], rax
xor ecx, ecx
movups xmmword [rax], xmm0
movups xmm1, xmmword [0x1400ff138]
movups xmmword [rax + 0x10], xmm1
mov eax, dword [0x1400ff148]
mov dword [r15 + 0x20], eax
mov byte [r15 + 0x24], 0
mov qword [rbp - 0x10], rsi
mov qword [rbp - 8], r13
movups xmmword [rbp - 0x20], xmm6
call qword [sym.imp.api_ms_win_crt_time_l1_1_0.dll__time64]
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_srand]
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
movabs r14, 0xe38e38e38e38e38f
mov rax, r14
mul rcx
shr rdx, 5
lea rax, [rdx + rdx*8]
mov rdx, qword [rbp - 8]
shl rax, 2
sub rcx, rax
movzx r9d, byte [r15 + rcx]
mov rcx, qword [rbp - 0x10]
cmp rcx, rdx
jae 0x1400588e9
lea rax, [rcx + 1]
cmp rdx, 0x10
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x20]
cmovae rax, qword [rbp - 0x20]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400588fb
movzx r8d, bl
lea rcx, [rbp - 0x20]
mov edx, 1
call fcn.140058300
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, r14
mul rcx
shr rdx, 5
lea rax, [rdx + rdx*8]
mov rdx, qword [rbp - 8]
shl rax, 2
sub rcx, rax
movzx r9d, byte [r15 + rcx]
mov rcx, qword [rbp - 0x10]
cmp rcx, rdx
jae 0x14005894b
lea rax, [rcx + 1]
cmp rdx, 0x10
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x20]
cmovae rax, qword [rbp - 0x20]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14005895d
movzx r8d, bl
lea rcx, [rbp - 0x20]
mov edx, 1
call fcn.140058300
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, r14
mul rcx
shr rdx, 5
lea rax, [rdx + rdx*8]
mov rdx, qword [rbp - 8]
shl rax, 2
sub rcx, rax
movzx r9d, byte [r15 + rcx]
mov rcx, qword [rbp - 0x10]
cmp rcx, rdx
jae 0x1400589ad
lea rax, [rcx + 1]
cmp rdx, 0x10
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x20]
cmovae rax, qword [rbp - 0x20]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x1400589bf
movzx r8d, bl
lea rcx, [rbp - 0x20]
mov edx, 1
call fcn.140058300
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, r14
mul rcx
shr rdx, 5
lea rax, [rdx + rdx*8]
mov rdx, qword [rbp - 8]
shl rax, 2
sub rcx, rax
movzx r9d, byte [r15 + rcx]
mov rcx, qword [rbp - 0x10]
cmp rcx, rdx
jae 0x140058a0f
lea rax, [rcx + 1]
cmp rdx, 0x10
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x20]
cmovae rax, qword [rbp - 0x20]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140058a21
movzx r8d, bl
lea rcx, [rbp - 0x20]
mov edx, 1
call fcn.140058300
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, r14
mul rcx
shr rdx, 5
lea rax, [rdx + rdx*8]
mov rdx, qword [rbp - 8]
shl rax, 2
sub rcx, rax
movzx r9d, byte [r15 + rcx]
mov rcx, qword [rbp - 0x10]
cmp rcx, rdx
jae 0x140058a71
lea rax, [rcx + 1]
cmp rdx, 0x10
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x20]
cmovae rax, qword [rbp - 0x20]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140058a83
movzx r8d, bl
lea rcx, [rbp - 0x20]
mov edx, 1
call fcn.140058300
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
movsxd rcx, eax
mov rax, r14
mul rcx
shr rdx, 5
lea rax, [rdx + rdx*8]
mov rdx, qword [rbp - 8]
shl rax, 2
sub rcx, rax
movzx r9d, byte [r15 + rcx]
mov rcx, qword [rbp - 0x10]
cmp rcx, rdx
jae 0x140058ad3
lea rax, [rcx + 1]
cmp rdx, 0x10
mov qword [rbp - 0x10], rax
lea rax, [rbp - 0x20]
cmovae rax, qword [rbp - 0x20]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x140058ae5
movzx r8d, bl
lea rcx, [rbp - 0x20]
mov edx, 1
call fcn.140058300
mov rdx, qword [rbp - 8]
lea r9, [rbp]
mov rcx, qword [rbp - 0x10]
mov rax, rdx
mov r14, qword [rbp]
sub rax, rcx
mov r10d, 4
cmp r10, rax
ja 0x140058b39
cmp rdx, 0x10
lea rax, [r10 + rcx]
lea rsi, [rbp - 0x20]
mov qword [rbp - 0x10], rax
cmovae rsi, qword [rbp - 0x20]
mov r8d, r10d
add rsi, rcx
mov rdx, r9
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov eax, 4
mov byte [rax + rsi], 0
xor esi, esi
jmp 0x140058b56
movzx r8d, dil
mov qword [rsp + 0x20], r10
mov rdx, r10
lea rcx, [rbp - 0x20]
call fcn.140003700
mov r13, qword [rbp + 0x18]
mov r14, qword [rbp]
cmp qword [rbp - 8], 0x10
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0x80]
cmovae rdx, qword [rbp - 0x20]
call qword [sym.imp.KERNEL32.dll_MoveFileA]
cmp qword [0x1402a82b8], 0
jne 0x140058be0
mov rcx, qword [0x1402ab348]
lea rax, [0x1402a82b8]
mov qword [rsp + 0x70], rax
lea rdx, [0x140198d00]
mov qword [rsp + 0x68], rsi
mov r9d, reloc.WS2_32.dll_sendto
mov qword [rsp + 0x60], rsi
mov r8d, 0x45e
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x50], 0xffffffff
mov dword [rsp + 0x48], 0xffffffff
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], reloc.WS2_32.dll_sendto
call sub.d3dx9_43.dll_D3DXCreateTextureFromFileInMemoryEx
cmp qword [0x1402a82c0], 0
jne 0x140058c4f
mov rcx, qword [0x1402ab348]
lea rax, [0x1402a82c0]
mov qword [rsp + 0x70], rax
lea rdx, [0x140199160]
mov qword [rsp + 0x68], rsi
mov r9d, reloc.WS2_32.dll_sendto
mov qword [rsp + 0x60], rsi
mov r8d, 0x331
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x50], 0xffffffff
mov dword [rsp + 0x48], 0xffffffff
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], reloc.WS2_32.dll_sendto
call sub.d3dx9_43.dll_D3DXCreateTextureFromFileInMemoryEx
cmp qword [0x1402a82c8], 0
jne 0x140058cbe
mov rcx, qword [0x1402ab348]
lea rax, [0x1402a82c8]
mov qword [rsp + 0x70], rax
lea rdx, [0x1401994a0]
mov qword [rsp + 0x68], rsi
mov r9d, 0x1f4
mov qword [rsp + 0x60], rsi
mov r8d, 0x525eb
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x50], 0xffffffff
mov dword [rsp + 0x48], 0xffffffff
mov dword [rsp + 0x40], esi
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], esi
mov dword [rsp + 0x28], 0xffffffff
mov dword [rsp + 0x20], 0x1f4
call sub.d3dx9_43.dll_D3DXCreateTextureFromFileInMemoryEx
xor r9d, r9d
mov dword [rsp + 0x20], 1
xor r8d, r8d
lea rcx, [rbp + 0x48]
xor edx, edx
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
je 0x140058cf5
lea rcx, [rbp + 0x48]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x48]
call qword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x140058e82
call fcn.140046a00
call fcn.1400482f0
call fcn.140026950
mov ecx, reloc.WLDAP32.dll_Ordinal_45
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
je 0x140058d21
cmp byte [0x1402a82b3], 0
sete byte [0x1402a82b3]
mov ecx, reloc.WLDAP32.dll_Ordinal_46
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test al, 1
jne 0x140058fe4
call fcn.140008590
cmp byte [0x1402a82b0], 0
je 0x140058d47
call fcn.140005db0
cmp byte [0x1402a82b1], 0
je 0x140058d55
call fcn.140006330
cmp byte [0x1402a82b3], 0
je 0x140058d77
call fcn.140004a50
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetPriorityClass]
call fcn.14001c7a0
mov rcx, qword [0x1402ab348]
mov r9d, 3
mov dword [rsp + 0x30], esi
xor r8d, r8d
movss dword [rsp + 0x28], xmm7
xor edx, edx
mov dword [rsp + 0x20], esi
mov rax, qword [rcx]
call qword [rax + 0x158]
mov rcx, qword [0x1402ab348]
mov rax, qword [rcx]
call qword [rax + 0x148]
test eax, eax
js 0x140058ddb
call fcn.1400289c0
call fcn.14001f460
mov rcx, rax
call fcn.140046b00
mov rcx, qword [0x1402ab348]
mov rax, qword [rcx]
call qword [rax + 0x150]
test dword [r12], 0x400
je 0x140058df3
call fcn.14002f3c0
xor edx, edx
xor ecx, ecx
call fcn.140029650
mov rcx, qword [0x1402ab348]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x88]
cmp eax, 0x88760868
jne 0x140058e6d
mov rcx, qword [0x1402ab348]
mov rax, qword [rcx]
call qword [rax + Ordinal_26]
cmp eax, 0x88760869
jne 0x140058e6d
call fcn.1400468c0
mov rcx, qword [0x1402ab348]
lea rdx, [0x1402ab350]
mov rax, qword [rcx]
call qword [rax + 0x80]
cmp eax, 0x8876086c
jne 0x140058e68
mov r8d, 0x5a
lea rdx, str.C:Users_rareDesktopSourcer_TrickTrickingMain.h
lea rcx, [0x1400beb48]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
call fcn.140046390
mov eax, dword [rbp + 0x50]
mov ecx, reloc.WS2_32.dll_select
cmp byte [0x1402a7f40], 0
cmove eax, ecx
mov dword [rbp + 0x50], eax
mov rdx, qword [rbp - 8]
cmp rdx, 0x10
jb 0x140058ebd
mov rcx, qword [rbp - 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140058eb8
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058fdd
call fcn.1400b9bdc
mov edx, Ordinal_50
mov qword [rbp - 0x10], rsi
mov rcx, r15
mov qword [rbp - 8], reloc.WS2_32.dll_ntohs
mov byte [rbp - 0x20], 0
call fcn.1400b9bdc
mov byte [rbp + 0x20], 0
mov qword [rbp + 0x38], reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x30], rsi
cmp r13, 0x10
jb 0x140058f21
lea rdx, [r13 + 1]
mov rax, r14
cmp rdx, 0x1000
jb 0x140058f19
mov r14, qword [r14 - 8]
add rdx, 0x27
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140058fdd
mov rcx, r14
call fcn.1400b9bdc
cmp dword [rbp + 0x50], 0x12
jne 0x1400587ef
call fcn.1400477a0
call fcn.140048a50
xor ecx, ecx
call fcn.140012440
mov rcx, qword [0x1402ab348]
test rcx, rcx
je 0x140058f55
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1402ab348], rsi
mov rcx, qword [0x1402ab390]
test rcx, rcx
je 0x140058f6e
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [0x1402ab390], rsi
mov rcx, qword [0x1402ab340]
call qword [sym.imp.USER32.dll_DestroyWindow]
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.USER32.dll_UnregisterClassA]
movaps xmm6, xmmword [rsp + 0x2b0]
xor eax, eax
mov r15, qword [rsp + 0x2c0]
mov r14, qword [rsp + 0x2c8]
mov r13, qword [rsp + 0x300]
mov r12, qword [rsp + 0x2f8]
mov rdi, qword [rsp + 0x2f0]
movaps xmm7, xmmword [rsp + 0x2a0]
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.1400ba060
add rsp, 0x2d0
pop rsi
pop rbx
pop rbp
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, qword [0x1402ab390]
mov rdx, qword [0x1402ab348]
test rdx, rdx
je 0x140059017
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + reloc.WS2_32.dll_recv]
mov rcx, qword [0x1402ab390]
mov qword [0x1402ab348], rsi
test rcx, rcx
je 0x140059029
mov rdx, qword [rcx]
call qword [rdx + reloc.WS2_32.dll_recv]
mov qword [0x1402ab390], rsi
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.USER32.dll_UnregisterClassA]
mov eax, 1
jmp 0x140058fc3