Function at 0x140002320
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rbx
mov dword [rsp + 0x20], r9d
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xd0
mov esi, dword [rdx + 0x3c]
mov eax, 0xc0000001
add rsi, rdx
mov qword [rbp + 0x6f], rax
xor eax, eax
mov r14, rdx
mov qword [rsp + 0x20], rax
mov r13, rcx
mov qword [rbp - 0x49], rax
mov ecx, 0x40
mov qword [rbp - 0x51], rax
mov r12d, dword [rsi + 0x50]
movzx ebx, word [rsi + 0x14]
mov edx, r12d
add rbx, 0x20
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r15, rax
test rax, rax
je 0x140002ab5
mov r8d, r12d
xor edx, edx
mov rcx, rax
call fcn.140029240
mov r8d, dword [rsi + 0x54]
mov rdx, r14
mov rcx, r15
call fcn.140029600
xor eax, eax
mov edi, eax
cmp ax, word [rsi + 6]
jae 0x1400023ea
add rbx, rsi
nop dword [rax]
nop dword [rax + rax]
mov ecx, dword [rbx + 8]
cmp ecx, dword [rbx]
mov edx, dword [rbx + 0xc]
cmovae ecx, dword [rbx]
add rdx, r14
mov r8d, ecx
mov ecx, dword [rbx + 4]
add rcx, r15
call fcn.140029600
movzx eax, word [rsi + 6]
lea rbx, [rbx + 0x28]
inc edi
cmp edi, eax
jb 0x1400023c0
lea rax, [0x140001320]
lea rdi, [fcn.1400016c0]
sub edi, eax
lea rcx, str.DLL_inject_shellcode_size_is__d_bytes_n
lea ebx, [rdi + 8]
mov edx, ebx
call fcn.1400016e0
mov edx, ebx
mov ecx, 0x40
mov esi, ebx
call qword [sym.imp.KERNEL32.dll_LocalAlloc]
mov r14, rax
test rax, rax
jne 0x140002436
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.M_ALLOC___ERROR__d_n_n
call fcn.1400016e0
mov r8d, edi
lea rcx, [r14 + 8]
lea rdx, [0x140001320]
call fcn.140029600
xor eax, eax
mov qword [rbp - 0x19], r13
mov qword [rbp - 1], rax
lea r9, [rbp + 0x6f]
mov qword [rbp + 7], rax
lea rdx, [rsp + 0x28]
lea rax, [rsp + 0x20]
mov qword [rbp - 0x39], rsi
mov qword [rsp + 0x28], rax
lea rcx, str.ZwOpenProcess
lea rax, [rbp - 9]
mov dword [rbp - 9], 0x30
mov qword [rbp - 0x71], rax
xorps xmm0, xmm0
lea rax, [rbp - 0x19]
mov dword [rbp + 0xf], 0x200
mov rbx, r12
mov qword [rbp - 0x69], rax
xor r13d, r13d
mov qword [rbp - 0x29], rbx
mov r8d, 4
mov qword [rbp - 0x11], r13
movdqu xmmword [rbp + 0x17], xmm0
mov qword [rbp - 0x79], 0x1fffff
call fcn.140006060
test eax, eax
jne 0x1400024cc
lea rcx, str.ERROR:_KfCall___fails_n
call fcn.1400016e0
mov rdx, qword [rbp + 0x6f]
mov eax, edx
and eax, 0xc0000000
cmp eax, 0xc0000000
jne 0x1400024ea
lea rcx, str.ZwOpenProcess___ERROR_0x_.8x_n
call fcn.1400016e0
mov rax, qword [rsp + 0x20]
lea r9, [rbp + 0x6f]
movdqa xmm0, xmmword [0x140037180]
lea rdx, [rsp + 0x28]
mov qword [rsp + 0x28], rax
lea rcx, str.ZwAllocateVirtualMemory
lea rax, [rbp - 0x49]
mov qword [rbp - 0x71], r13
mov qword [rbp - 0x79], rax
mov r8d, 6
lea rax, [rbp - 0x29]
mov qword [rbp - 0x69], rax
movdqu xmmword [rbp - 0x61], xmm0
call fcn.140006060
test eax, eax
jne 0x140002540
lea rcx, str.ERROR:_KfCall___fails_n
call fcn.1400016e0
mov rdx, qword [rbp + 0x6f]
mov eax, edx
and eax, 0xc0000000
cmp eax, 0xc0000000
jne 0x14000255e
lea rcx, str.ZwAllocateVirtualMemory___ERROR_0x_.8x_n
call fcn.1400016e0
mov rdx, qword [rbp - 0x49]
mov rcx, r15
call fcn.140006dd0
test eax, eax
jne 0x14000257a
lea rcx, str.ERROR:_LdrProcessRelocs___fails_n
call fcn.1400016e0
mov rax, qword [rsp + 0x20]
lea r9, [rbp + 0x6f]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
mov rax, qword [rbp - 0x49]
lea rcx, str.ZwWriteVirtualMemory
mov r8d, 5
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x29], rbx
mov qword [rbp - 0x71], r15
mov qword [rbp - 0x69], rbx
mov qword [rbp - 0x61], r13
call fcn.140006060
test eax, eax
jne 0x1400025c7
lea rcx, str.ERROR:_KfCall___fails_n
call fcn.1400016e0
mov rdx, qword [rbp + 0x6f]
mov eax, edx
and eax, 0xc0000000
cmp eax, 0xc0000000
jne 0x1400025e5
lea rcx, str.ZwWriteVirtualMemory___ERROR_0x_.8x_n
call fcn.1400016e0
mov rax, qword [rsp + 0x20]
lea r9, [rbp + 0x6f]
movdqa xmm0, xmmword [0x140037180]
lea rdx, [rsp + 0x28]
mov qword [rsp + 0x28], rax
lea rcx, str.ZwAllocateVirtualMemory
lea rax, [rbp - 0x51]
mov qword [rbp - 0x71], r13
mov qword [rbp - 0x79], rax
mov r8d, 6
lea rax, [rbp - 0x39]
mov qword [rbp - 0x69], rax
movdqu xmmword [rbp - 0x61], xmm0
call fcn.140006060
test eax, eax
jne 0x14000263b
lea rcx, str.ERROR:_KfCall___fails_n
call fcn.1400016e0
mov rdx, qword [rbp + 0x6f]
mov eax, edx
and eax, 0xc0000000
cmp eax, 0xc0000000
jne 0x140002659
lea rcx, str.ZwAllocateVirtualMemory___ERROR_0x_.8x_n
call fcn.1400016e0
mov rax, qword [rbp - 0x49]
lea r9, [rbp + 0x6f]
mov qword [rbp - 0x39], rsi
lea rdx, [rsp + 0x28]
mov qword [r14], rax
lea rcx, str.ZwWriteVirtualMemory
mov rax, qword [rsp + 0x20]
mov r8d, 5
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x51]
mov qword [rbp - 0x79], rax
mov rax, qword [rbp - 0x39]
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x71], r14
mov qword [rbp - 0x61], r13
call fcn.140006060
test eax, eax
jne 0x1400026b1
lea rcx, str.ERROR:_KfCall___fails_n
call fcn.1400016e0
mov rdx, qword [rbp + 0x6f]
mov eax, edx
and eax, 0xc0000000
cmp eax, 0xc0000000
jne 0x1400026cf
lea rcx, str.ZwWriteVirtualMemory___ERROR_0x_.8x_n
call fcn.1400016e0
mov rax, qword [rsp + 0x20]
lea r9, [rbp + 0x6f]
mov r12, qword [rbp - 0x51]
lea rdx, [rsp + 0x28]
movdqa xmm0, xmmword [0x140037180]
lea rcx, str.ZwAllocateVirtualMemory
mov qword [rsp + 0x28], rax
mov r8d, 6
lea rax, [rbp - 0x41]
mov qword [rbp - 0x41], r13
mov qword [rbp - 0x79], rax
add r12, 8
lea rax, [rbp - 0x31]
mov qword [rbp - 0x31], 0xb0
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x71], r13
movdqu xmmword [rbp - 0x61], xmm0
call fcn.140006060
test eax, eax
jne 0x140002739
lea rcx, str.ERROR:_KfCall___fails_n
call fcn.1400016e0
mov rdx, qword [rbp + 0x6f]
mov eax, edx
and eax, 0xc0000000
cmp eax, 0xc0000000
jne 0x140002757
lea rcx, str.ZwAllocateVirtualMemory___ERROR_0x_.8x_n
call fcn.1400016e0
mov rdi, qword [rbp - 0x31]
mov rbx, r13
mov rsi, r13
test rdi, rdi
je 0x1400027c7
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
ja 0x140002b05
cmp rdi, 0x1000
jb 0x1400027ab
lea rcx, [rdi + 0x27]
cmp rcx, rdi
jbe 0x140002b0b
call fcn.140008408
test rax, rax
je 0x140002aff
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400027b6
mov rcx, rdi
call fcn.140008408
mov rbx, rax
mov r8, rdi
lea rsi, [rdi + rbx]
xor edx, edx
mov rcx, rbx
call fcn.140029240
movaps xmm0, xmmword [str.QRSUVWAPAQARASATAUAVAWH]
lea r9, [rbp + 0x6f]
movups xmmword [rbx], xmm0
lea rdx, [rsp + 0x28]
mov r8d, 5
movaps xmm1, xmmword [0x14003ccc0]
lea rcx, str.ZwWriteVirtualMemory
movups xmmword [rbx + 0x10], xmm1
mov qword [rbp - 0x71], rbx
movaps xmm0, xmmword [0x14003ccd0]
movups xmmword [rbx + 0x20], xmm0
mov qword [rbp - 0x61], r13
movaps xmm1, xmmword [0x14003cce0]
movups xmmword [rbx + 0x30], xmm1
movaps xmm0, xmmword [0x14003ccf0]
movups xmmword [rbx + 0x40], xmm0
movaps xmm1, xmmword [0x14003cd00]
movups xmmword [rbx + 0x50], xmm1
movaps xmm0, xmmword [0x14003cd10]
movups xmmword [rbx + 0x60], xmm0
movaps xmm1, xmmword [0x14003cd20]
movups xmmword [rbx + 0x70], xmm1
mov rax, qword [rbp - 0x41]
sub rax, 0xffffffffffffff80
mov qword [rbx + 0x1c], rax
mov dword [rbx + 0x80], r13d
mov qword [rbx + 0x88], r12
mov rax, qword [rbp - 0x51]
mov qword [rbx + 0x90], rax
mov qword [rbx + 0x98], 1
mov rax, qword [rbp - 0x51]
mov qword [rbx + 0xa0], rax
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x41]
mov qword [rbp - 0x79], rax
mov rax, qword [rbp - 0x31]
mov qword [rbp - 0x69], rax
call fcn.140006060
mov rdi, qword [rbp + 0x6f]
test eax, eax
je 0x1400028a2
test edi, edi
jns 0x1400028bd
mov r9, rdi
lea r8, str.ZwWriteVirtualMemory_failed_with_status_0x_X_n
mov edx, 0x22e
lea rcx, str.C:Users_adminDocumentsKforge2kforge_examplekforge_example.cpp
call fcn.140007260
lea rcx, [0x140036270]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r12d, dword [rbp + 0x7f]
mov ecx, 3
mov rdx, qword [rbp - 0x41]
mov r8, rax
mov r9d, r12d
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
test rax, rax
je 0x1400028fb
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, r12d
call qword [sym.imp.USER32.dll_PostThreadMessageW]
jmp 0x14000291c
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.SetWindowsHookExW_failed_with_error_0x_X_n
mov edx, 0x262
mov r9d, eax
lea rcx, str.C:Users_adminDocumentsKforge2kforge_examplekforge_example.cpp
call fcn.140007260
mov rax, qword [rsp + 0x20]
test rax, rax
je 0x14000297b
lea r9, [rbp + 0x6f]
mov qword [rbp - 0x21], rax
mov r8d, 1
lea rdx, [rbp - 0x21]
lea rcx, str.ZwClose
call fcn.140006060
test eax, eax
je 0x14000296b
mov rdi, qword [rbp + 0x6f]
mov eax, edi
and eax, 0xc0000000
cmp eax, 0xc0000000
jne 0x14000297b
mov rdx, rdi
lea rcx, str.ZwClose___ERROR_0x_.8x_n
call fcn.1400016e0
jmp 0x14000297b
lea rcx, str.ERROR:_KfCall___fails_n
call fcn.1400016e0
mov rdi, qword [rbp + 0x6f]
and edi, 0xc0000000
cmp edi, 0xc0000000
jne 0x140002a6d
cmp qword [rbp - 0x51], r13
je 0x1400029fa
mov rax, qword [rsp + 0x20]
lea r9, [rbp + 0x6f]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
lea rax, [rbp - 0x51]
mov qword [rbp - 0x69], 0x8000
mov qword [rbp - 0x79], rax
lea rcx, str.ZwFreeVirtualMemory
lea rax, [rbp - 0x39]
mov r8d, 4
mov qword [rbp - 0x71], rax
call fcn.140006060
test eax, eax
je 0x1400029ee
mov rdx, qword [rbp + 0x6f]
mov eax, edx
and eax, edi
cmp eax, edi
jne 0x1400029fa
lea rcx, str.ZwFreeVirtualMemory___ERROR_0x_.8x_n
call fcn.1400016e0
jmp 0x1400029fa
lea rcx, str.ERROR:_KfCall___fails_n
call fcn.1400016e0
cmp qword [rbp - 0x49], r13
je 0x140002a6d
mov rax, qword [rsp + 0x20]
lea r9, [rbp + 0x6f]
mov qword [rsp + 0x28], rax
lea rdx, [rsp + 0x28]
lea rax, [rbp - 0x49]
mov qword [rbp - 0x69], 0x8000
mov qword [rbp - 0x79], rax
lea rcx, str.ZwFreeVirtualMemory
lea rax, [rbp - 0x29]
mov r8d, 4
mov qword [rbp - 0x71], rax
call fcn.140006060
test eax, eax
je 0x140002a61
mov rdx, qword [rbp + 0x6f]
mov eax, edx
and eax, 0xc0000000
cmp eax, 0xc0000000
jne 0x140002a6d
lea rcx, str.ZwFreeVirtualMemory___ERROR_0x_.8x_n
call fcn.1400016e0
jmp 0x140002a6d
lea rcx, str.ERROR:_KfCall___fails_n
call fcn.1400016e0
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LocalFree]
sub rsi, rbx
cmp rsi, 0x1000
jb 0x140002aa3
mov rcx, qword [rbx - 8]
add rsi, 0x27
sub rbx, rcx
lea rax, [rbx - 8]
cmp rax, 0x1f
ja 0x140002aff
mov rbx, rcx
mov rdx, rsi
mov rcx, rbx
call fcn.140008400
mov eax, 1
jmp 0x140002ae4
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea r8, str.M_ALLOC___ERROR__d_n_n
mov edx, 0x9d
mov r9d, eax
lea rcx, str.C:Users_adminDocumentsKforge2commonpeimage.cpp
call fcn.140007260
lea rcx, str.ERROR:_LdrMapImage___fails_n
call fcn.1400016e0
xor eax, eax
mov rbx, qword [rsp + 0x110]
add rsp, 0xd0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.140014494
int3
call fcn.140004c70
int3
call fcn.140001830
int3