Function at 0x140059b10
Capabilities:
Accept command line arguments
Create process on windows
Create thread
Execute command
Log keystrokes via polling
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x1400e06c0]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor edi, edi
mov ecx, 1
call fcn.1400b56b0
mov qword [rbp - 0x50], rax
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14005b3f0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14005a15b
cmp dword [rsp + 0x78], edi
je 0x14005a14f
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14005a14f
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, str.user32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov qword [0x140108f68], rax
mov ebx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x70]
mov edx, 8
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140059cbb
lea rax, [rbp - 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 4
lea r8, [rbp - 0x40]
mov edx, reloc.WLDAP32.dll_Ordinal_26
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
je 0x140059c09
mov ebx, 1
jmp 0x140059c0f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test ebx, ebx
je 0x140059cc1
cmp dword [rbp - 0x40], 0
jne 0x140059cc1
lea rcx, [rbp - 0x50]
call fcn.1400550f0
test eax, eax
jne 0x140059cc1
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
call qword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea rcx, [rbp - 0x80]
mov qword [rsp + 0x50], rcx
lea rcx, [rbp - 0x30]
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x38], rdi
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rdi
xor r9d, r9d
mov r8, rax
xor edx, edx
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
je 0x140059ca9
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140059cc1
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.CreateWindowInBand
mov rcx, qword [0x140108f68]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x140108f60], rax
mov qword [rbp - 0x30], 0x50
mov rax, qword [sym.imp.USER32.dll_DefWindowProcA]
mov qword [rbp - 0x28], rax
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], rdi
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rbp - 0x10], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadCursorA]
mov qword [rbp - 8], rax
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
lea rax, [rbp - 0x50]
mov qword [rbp + 0x10], rax
mov edx, 0x7f00
xor ecx, ecx
call qword [sym.imp.USER32.dll_LoadIconA]
mov qword [rbp + 0x18], rax
lea rcx, [rbp - 0x30]
call qword [sym.imp.USER32.dll_RegisterClassExA]
movzx ebx, ax
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rsp + 0x70]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov r10, qword [0x140108f60]
mov dword [rsp + 0x60], 2
mov qword [rsp + 0x58], rdi
mov rcx, qword [rbp - 0x18]
mov qword [rsp + 0x50], rcx
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov ecx, dword [rsp + 0x7c]
mov dword [rsp + 0x38], ecx
mov eax, dword [rsp + 0x78]
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x70]
mov dword [rsp + 0x20], eax
mov r9d, 0x80000000
lea r8, str.Bandicam
movzx edx, bx
xor ecx, ecx
call r10
mov qword [0x140108398], rax
mov edx, 0xffffffec
mov r8d, 0x800a0
mov rcx, rax
call qword [sym.imp.USER32.dll_SetWindowLongA]
mov r9d, 2
mov r8b, 0xff
xor edx, edx
mov rcx, qword [0x140108398]
call qword [sym.imp.USER32.dll_SetLayeredWindowAttributes]
movdqa xmm0, xmmword [0x1400cf390]
movdqu xmmword [rbp - 0x68], xmm0
lea rdx, [rbp - 0x68]
mov rcx, qword [0x140108398]
call qword [sym.imp.dwmapi.dll_DwmExtendFrameIntoClientArea]
mov edx, 5
mov rcx, qword [0x140108398]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140108398]
call qword [sym.imp.USER32.dll_UpdateWindow]
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x1c], rdi
mov qword [rbp - 0x14], 1
mov qword [rbp - 8], 2
mov qword [rbp + 0x10], 2
mov dword [rbp - 0x28], reloc.WLDAP32.dll_Ordinal_60
mov dword [rbp - 0x24], 1
mov dword [rbp - 0x20], Ordinal_32
mov dword [rbp - 0xc], reloc.WLDAP32.dll_Ordinal_32
mov rax, qword [0x140108398]
mov qword [rbp], rax
mov qword [rbp + 8], 1
mov dword [rbp - 0x50], 0xb000
mov dword [rbp - 0x4c], 0xa000
lea rax, [0x140108378]
mov qword [rsp + 0x58], rax
lea rax, [0x140108390]
mov qword [rsp + 0x50], rax
lea rax, [0x140108370]
mov qword [rsp + 0x48], rax
lea rax, [0x140108380]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 7
mov dword [rsp + 0x28], 2
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.d3d11.dll_D3D11CreateDeviceAndSwapChain]
mov qword [rbp - 0x68], rdi
mov rcx, qword [0x140108380]
mov rax, qword [rcx]
lea r9, [rbp - 0x68]
lea r8, [0x1400cef20]
xor edx, edx
call qword [rax + 0x48]
mov rdx, qword [rbp - 0x68]
test rdx, rdx
je 0x140059f31
mov rcx, qword [0x140108370]
mov rax, qword [rcx]
lea r9, [0x140108388]
xor r8d, r8d
call qword [rax + 0x48]
mov rcx, qword [rbp - 0x68]
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
mov edx, 5
mov rcx, qword [0x140108398]
call qword [sym.imp.USER32.dll_ShowWindow]
mov rcx, qword [0x140108398]
call qword [sym.imp.USER32.dll_UpdateWindow]
call fcn.1400555a0
test al, al
jne 0x140059f62
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov ecx, 1
call fcn.1400b56b0
mov qword [rbp - 0x50], rax
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14005b420]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14005a13f
cmp dword [rsp + 0x78], 0
je 0x14005a133
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14005a133
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
mov byte [0x140108f45], 1
nop word [rax + rax]
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 0x40]
call qword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x14005a006
cmp byte [0x1401083b9], al
jne 0x14005a03e
lea rcx, [rbp + 0x40]
call qword [sym.imp.USER32.dll_TranslateMessage]
lea rcx, [rbp + 0x40]
call qword [sym.imp.USER32.dll_DispatchMessageA]
cmp dword [rbp + 0x48], 0x12
je 0x14005a12a
mov qword [rbp - 0x50], 0x5dc
lea rcx, [rbp - 0x50]
call fcn.1400500e0
cmp byte [0x1401083b9], 1
jne 0x140059fe0
mov ecx, 1
call fcn.1400b56b0
mov qword [rbp - 0x50], rax
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x14005b450]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x14005a11a
cmp dword [rsp + 0x78], 0
je 0x14005a10e
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x50], xmm0
lea rcx, [rbp - 0x50]
call qword [sym.imp.MSVCP140.dll__Thrd_detach]
test eax, eax
jne 0x14005a10e
call fcn.1400559a0
mov ecx, reloc.WLDAP32.dll_Ordinal_46
call qword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x14005a0a4
mov eax, dword [str.HXOHY]
mov dword [rbp - 0x68], eax
movzx eax, word [0x1400ceebc]
mov word [rbp - 0x64], ax
mov byte [rbp - 0x68], reloc.WS2_32.dll_WSASetLastError
xor byte [rbp - 0x67], 0x39
xor byte [rbp - 0x66], 0x3a
xor byte [rbp - 0x65], 0x3b
xor al, 0x3c
mov byte [rbp - 0x64], al
xor byte [rbp - 0x63], 0x3d
lea rcx, [rbp - 0x68]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400b5570
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x78], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x78], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rsp + 0x78], edi
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3