joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000100f
Capabilities:
Terminate process

Disassembly:
jmp 0x14000204c
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x30
mov ecx, 1
call fcn.14000116d
test al, al
je 0x140001f13
xor sil, sil
mov byte [rsp + 0x20], sil
call fcn.1400010eb
mov bl, al
mov ecx, dword [0x140009160]
cmp ecx, 1
je 0x140001f1e
test ecx, ecx
jne 0x140001e49
mov dword [0x140009160], 1
lea rdx, [0x140007660]
lea rcx, [0x140007330]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
test eax, eax
je 0x140001e2a
mov eax, 0xff
jmp 0x140001f03
lea rdx, [0x140007220]
lea rcx, [section..rdata]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
mov dword [0x140009160], 2
jmp 0x140001e51
mov sil, 1
mov byte [rsp + 0x20], sil
mov cl, bl
call fcn.1400011a4
call fcn.1400010c3
mov rbx, rax
cmp qword [rax], 0
je 0x140001e84
mov rcx, rax
call fcn.140001118
test al, al
je 0x140001e84
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [rbx]
call qword [0x14000c010]
call fcn.1400010e6
mov rbx, rax
cmp qword [rax], 0
je 0x140001ea6
mov rcx, rax
call fcn.140001118
test al, al
je 0x140001ea6
mov rcx, qword [rbx]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argv
mov rdi, qword [rax]
call sub.api_ms_win_crt_runtime_l1_1_0.dll___p___argc
mov rbx, rax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_initial_narrow_environment
mov r8, rax
mov rdx, rdi
mov ecx, dword [rbx]
call fcn.140001096
mov ebx, eax
call fcn.140001154
test al, al
je 0x140001f28
test sil, sil
jne 0x140001edd
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
xor edx, edx
mov cl, 1
call fcn.140001159
mov eax, ebx
jmp 0x140001f03
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
mov ecx, 7
call fcn.140001113
nop
mov ecx, 7
call fcn.140001113
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
nop
mov ecx, ebx
call sub.api_ms_win_crt_runtime_l1_1_0.dll__exit
nop
int3
sub rsp, 0x28
call fcn.140001181
add rsp, 0x28
jmp 0x140001dbc

Function at 0x140001118
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
jmp 0x14000248c
sub rsp, 0x18
mov r8, rcx
mov eax, 0x5a4d
cmp word [0x140000000], ax
jne 0x14000251a
movsxd rax, dword [0x14000003c]
lea rdx, [0x140000000]
lea rcx, [rax + rdx]
cmp dword [rcx], 0x4550
jne 0x14000251a
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14000251a
sub r8, rdx
movzx eax, word [rcx + 0x14]
lea rdx, [rcx + 0x18]
add rdx, rax
movzx eax, word [rcx + 6]
lea rcx, [rax + rax*4]
lea r9, [rdx + rcx*8]
mov qword [rsp], rdx
cmp rdx, r9
je 0x140002501
mov ecx, dword [rdx + 0xc]
cmp r8, rcx
jb 0x1400024fb
mov eax, dword [rdx + 8]
add eax, ecx
cmp r8, rax
jb 0x140002503
add rdx, 0x28
jmp 0x1400024e0
xor edx, edx
test rdx, rdx
jne 0x14000250c
xor al, al
jmp 0x140002520
cmp dword [rdx + 0x24], 0
jge 0x140002516
xor al, al
jmp 0x140002520
mov al, 1
jmp 0x140002520
xor al, al
jmp 0x140002520
add rsp, 0x18
ret
Function at 0x140001154
Capabilities:
Parse pe header

Disassembly:
jmp 0x140002a7c
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140002ac7
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140002ac7
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140002ac7
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140002ac7
cmp dword [rcx + 0x84], 0xe
jbe 0x140002ac7
cmp dword [rcx + 0xf8], 0
je 0x140002ac7
mov al, 1
jmp 0x140002ac9
xor al, al
add rsp, 0x28
ret
Function at 0x1400111f9
Capabilities:
Terminate process

Disassembly:
jmp 0x140013320
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 0x140011285
Capabilities:
Parse pe header

Disassembly:
jmp 0x140014670
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014690
xor al, al
jmp 0x140014711
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x1400146a3
xor al, al
jmp 0x140014711
mov rax, qword [rsp + 0x20]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x20]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp dword [rax], 0x4550
je 0x1400146cd
xor al, al
jmp 0x140014711
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400146e1
xor al, al
jmp 0x140014711
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400146f3
xor al, al
jmp 0x140014711
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14001470f
xor al, al
jmp 0x140014711
mov al, 1
add rsp, 0x38
ret
Function at 0x61cc56d5
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
push rbp
sub rsp, 0x228
mov r9, r8
movsxd rax, dword [rcx + 0x3c]
mov r8d, edx
mov rdi, rcx
mov esi, r8d
mov rbp, r9
mov r10d, dword [rax + rcx + 0x88]
mov edx, dword [r10 + rcx + 0x20]
mov eax, dword [r10 + rcx + 0x1c]
add rdx, rcx
mov r11d, dword [r10 + rcx + 0x24]
add rax, rcx
add r11, rcx
xor r10d, r10d
mov r13, rax
mov r12, rdx
mov rbx, r10
mov r14, r11
jmp 0x61cc572f

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

Disassembly:
mov rax, qword [rax]
mov rsi, qword [rax + 0x60]
test rsi, rsi
je 0x61cc5949
test edx, edx
je 0x61cc59a2
movzx r10d, word [rsi]
mov ebx, r9d
xor ecx, ecx
test r10d, r10d
je 0x61cc5992
movzx r11d, word [rsi + rcx*2]
cmp r11d, 0x41
jl 0x61cc597e
cmp r11d, 0x5a
lea r10d, [r11 + 0x20]
cmovle r11d, r10d
inc rcx
movzx r10d, r11w
add ebx, r10d
movzx r11d, word [rsi + rcx*2]
rol dword [rbp + 0xf], 0xb7
rol dword [rcx + 3], cl
fiadd dword [rdi + rcx - 0x49]
sbb al, 0x4e
test r11d, r11d
jne 0x61cc5967
nop dword [rax + rax]
nop dword [rax]
cmp edx, ebx
jne 0x61cc5949
mov r15, qword [rax + 0x30]
mov eax, 0x60
mov edx, dword [rdi + 0x44]
mov rax, qword gs:[rax]
mov rax, qword [rax + 0x18]
xor r10d, r10d
add rax, 0x10
mov rax, qword [rax]
mov r9, qword [rax + 0x60]
test r9, r9
je 0x61cc59bd
test edx, edx
je 0x61cc5a17
movzx r11d, word [r9]
mov esi, r10d
xor ebx, ebx
test r11d, r11d
je 0x61cc5a07
movzx r12d, word [r9 + rbx*2]
cmp r12d, 0x41
jl 0x61cc59f3
cmp r12d, 0x5a
lea r11d, [r12 + 0x20]
cmovle r12d, r11d
inc rbx
movzx r11d, r12w
add esi, r11d
movzx r12d, word [r9 + rbx*2]
test r12d, r12d
jne 0x61cc59db
nop dword [rax + rax]
nop dword [rax]
cmp edx, esi
jne 0x61cc59bd
mov r14, qword [rax + 0x30]
mov rcx, r15
mov r8, rdi
mov edx, dword [rdi + 0xc4]
call fcn.61cc56d5
mov qword [rsp + 0x878], rax
mov rcx, r15
mov r8, rdi
mov edx, dword [rdi + 0x1c]
call fcn.61cc56d5
mov r13, rax
mov rcx, r15
mov r8, rdi
mov edx, dword [rdi + 0x100]
call fcn.61cc56d5
mov qword [rsp + 0x888], rax
mov rcx, r14
mov r8, rdi
mov edx, dword [rdi + 0xac]
call fcn.61cc56d5
mov qword [rsp + 0x890], rax
mov rcx, r15
mov r8, rdi
mov edx, dword [rdi + 0xf8]
call fcn.61cc56d5
mov qword [rsp + 0x898], rax
mov rcx, r15
mov r8, rdi
mov edx, dword [rdi + 0x128]
call fcn.61cc56d5
mov rsi, rax
mov rcx, r14
mov r8, rdi
mov edx, dword [rdi + 0x64]
call fcn.61cc56d5
mov qword [rsp + 0x8a8], rax
mov rcx, r15
mov r8, rdi
mov edx, dword [rdi + 0x114]
call fcn.61cc56d5
mov qword [rsp + 0x8b0], rax
mov rcx, r15
mov r8, rdi
mov edx, dword [rdi + 0x104]
call fcn.61cc56d5
mov qword [rsp + 0x8b8], rax
mov rcx, r15
mov r8, rdi
mov edx, dword [rdi + 0x14]
call fcn.61cc56d5
mov r12, rax
mov rcx, r15
mov r8, rdi
mov edx, dword [rdi + 0x138]
call fcn.61cc56d5
mov qword [rsp + 0x8c0], rax
movsxd rax, dword [r15 + 0x3c]
mov edx, dword [rdi + 0xa4]
mov qword [rsp + 0x8a0], rsi
mov ebx, dword [rax + r15 + 0x88]
Function at 0x61cc5b30
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x880], r13
mov r13d, edx
mov qword [rsp + 0x870], r14
mov eax, dword [rbx + r15 + 0x20]
xor ebx, ebx
add rax, r15
mov qword [rsp + 0x40], rbp
and al, 0x40
mov rsi, rax
xor ebp, ebp
jmp 0x61cc5b5c

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

Disassembly:
mov qword [rsp + 0x880], r13
mov r13d, edx
mov qword [rsp + 0x870], r14
mov eax, dword [rbx + r15 + 0x20]
xor ebx, ebx
add rax, r15
mov qword [rsp + 0x40], rbp
and al, 0x40
mov rsi, rax
xor ebp, ebp
jmp 0x61cc5b5c
Function at 0x61cc5d80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cmp eax, 6
jbe 0x61cc5e20
mov ecx, eax
lea rdx, [rsp + rcx*2 + 0x258]
lea r10, [r15 + rcx]
sub rdx, r10
lea r11, [rcx + rcx]
cmp rdx, r11
jg 0x61cc5dab
neg rdx
cmp rdx, rcx
jle 0x61cc5e20
xor edx, edx
mov r9d, eax
mov r11d, 1
xor r10d, r10d
shr r9d, 1
je 0x61cc5df3
inc edx
lea r11d, [rax + r10]
movsx ecx, byte [r11 + r15]
mov word [rsp + r11*2 + 0x258], cx
lea r11d, [rax + r10 - 1]
movsx r8d, byte [r11 + r15]
add r10d, 0xfffffffe
mov word [rsp + r11*2 + 0x258], r8w
cmp edx, r9d
jb 0x61cc5dbe
lea r11d, [rdx + rdx + 1]
lea r9d, [r11 - 1]
cmp r9d, eax
jae 0x61cc5e13
neg r11d
add r11d, eax
inc r11d
movsx r9d, byte [r11 + r15]
mov word [rsp + r11*2 + 0x258], r9w
lea r9d, [rax + 1]
sub eax, r9d
lea r9d, [rax + 1]
jmp 0x61cc5e91
xor r10d, r10d
mov r11d, eax
mov edx, 1
xor ecx, ecx
shr r11d, 1
je 0x61cc5e71
inc r10d
lea r9d, [rax + rcx]
movsx edx, byte [r9 + r15]
mov word [rsp + r9*2 + 0x258], dx
lea r9d, [rax + rcx - 1]
movsx r8d, byte [r9 + r15]
add ecx, 0xfffffffe
mov word [rsp + r9*2 + 0x258], r8w
cmp r10d, r11d
jb 0x61cc5e32
lea r9d, [r10 + r10]
neg r9d
lea edx, [r10 + r10 + 1]
add r9d, eax
invalid
lea r10d, [rdx - 1]
cmp r10d, eax

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

Disassembly:
enter 0xffffffffffff8d44, 0x52
inc dword [rbx + rdi - 0x30]
jae 0x61cc5e91
sub eax, edx
lea r9d, [rax + 1]
movsx r10d, byte [r9 + r15]
mov word [rsp + r9*2 + 0x258], r10w
mov r9d, eax
Function at 0x61cc6160
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movzx ecx, word [rsp + r14*2 + 0x460]
add r11d, ecx
imul r11d, edx
movzx r14d, word [rsp + r14*2 + 0x462]
add r11d, r14d
cmp r9d, eax
jb 0x61cc6152
lea ecx, [r9 + r9 + 1]
Function at 0x61cc63b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea r9d, [rax + rcx - 1]
movsx r8d, byte [r9 + r15]
add ecx, 0xfffffffe
mov word [rsp + r9*2 + 0x668], r8w
cmp r10d, r11d
jb 0x61cc639b
lea r9d, [r10 + r10]
neg r9d
lea edx, [r10 + r10 + 1]
add r9d, eax
Function at 0x61cc81f0
Capabilities:
Query environment variable

Disassembly:
push rbx
sub rsp, 0x20
lea rcx, str.LC_ALL
mov rbx, rdx
call sub.msvcrt.dll_getenv
test rax, rax
je 0x61cc820e
cmp byte [rax], 0
jne 0x61cc8236
mov rcx, rbx
call sub.msvcrt.dll_getenv
test rax, rax
je 0x61cc8220
cmp byte [rax], 0
jne 0x61cc8236
lea rcx, str.LANG
call sub.msvcrt.dll_getenv
test rax, rax
je 0x61cc8240
cmp byte [rax], 0
je 0x61cc8240
add rsp, 0x20
pop rbx
ret
xor eax, eax
jmp 0x61cc8236

Function at 0x61cc8280
Capabilities:
Encode data using xor

Disassembly:
sub rsp, 0x28
call sym.libintl_8.dll__nl_locale_name_environ
test rax, rax
je 0x61cc8293
add rsp, 0x28
ret
add rsp, 0x28
jmp sym.libintl_8.dll__nl_locale_name_default

Function at 0x61ccadb0
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rbx, rdx
mov rdi, rcx
mov edx, 0x24
mov rcx, rbx
mov rsi, r8
call sub.msvcrt.dll_strchr
test rax, rax
je 0x61ccae40
lea rdx, [rsp + 0x28]
mov r8, rbx
xor ecx, ecx
mov r9, rsi
call sym.libintl_8.dll_libintl_vasnprintf
test rax, rax
mov rbx, rax
je 0x61ccae13
mov r8, qword [rsp + 0x28]
mov r9, rdi
mov edx, 1
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rcx, rbx
mov rsi, rax
call sub.msvcrt.dll_free
cmp rsi, qword [rsp + 0x28]
je 0x61ccae20
mov eax, 0xffffffff
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret
cmp rsi, 0x7fffffff
mov eax, esi
jbe 0x61ccae18
call qword [sym.imp.msvcrt.dll__errno]
mov dword [rax], 0x84
jmp 0x61ccae13
mov r8, rsi
mov rdx, rbx
mov rcx, rdi
call sub.msvcrt.dll_vfprintf
add rsp, 0x30
pop rbx
pop rsi
pop rdi
ret

Function at 0x61ccae90
Capabilities:
Write file on windows

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
mov rsi, rdx
call qword [sym.imp.msvcrt.dll___iob_func]
lea rcx, [rax + 0x30]
mov r8, rsi
mov rdx, rbx
add rsp, 0x28
pop rbx
pop rsi
jmp sym.libintl_8.dll_libintl_vfprintf

Function at 0x61ccf070
Capabilities:
Link many functions at runtime

Disassembly:
push rsi
push rbx
sub rsp, 0x28
lea rcx, str.mlang.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov rbx, rax
xor eax, eax
test rbx, rbx
je 0x61ccf10b
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.ConvertINetString
mov rcx, rbx
call rsi
lea rdx, str.ConvertINetMultiByteToUnicode
mov rcx, rbx
mov qword [0x61ce0348], rax
call rsi
lea rdx, str.ConvertINetUnicodeToMultiByte
mov rcx, rbx
mov qword [0x61ce0340], rax
call rsi
lea rdx, str.IsConvertINetStringAvailable
mov rcx, rbx
mov qword [0x61ce0338], rax
call rsi
lea rdx, str.LcidToRfc1766A
mov rcx, rbx
mov qword [0x61ce0350], rax
call rsi
lea rdx, str.Rfc1766ToLcidA
mov qword [0x61ce0358], rax
mov rcx, rbx
call rsi
mov qword [0x61ce0360], rax
mov eax, 1
add rsp, 0x28
pop rbx
pop rsi
ret
Function at 0x140001487
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov rax, qword [0x140020b40]
mov dword [rax], 1
mov rax, qword [0x140020b50]
mov dword [rax], 1
mov rax, qword [0x140020b60]
mov dword [rax], 1
mov rax, qword [0x140020ad0]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400014d8
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x140001504
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
movzx eax, ax
cmp eax, 0x10b
je 0x14000152a
cmp eax, 0x20b
je 0x140001551
jmp 0x140001580
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0x5c]
cmp eax, 0xe
ja 0x14000153d
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x18]
mov eax, dword [rax + 0xd0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001585
mov rax, qword [rbp - 0x18]
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0x6c]
cmp eax, 0xe
ja 0x14000156c
mov eax, 0
jmp 0x140001585
mov rax, qword [rbp - 0x20]
mov eax, dword [rax + 0xe0]
test eax, eax
setne al
movzx eax, al
jmp 0x140001585
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140009770
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
lea rsi, [0x14001f464]
lea rdi, [0x140030120]
mov rcx, qword [0x1400270a8]
movq xmm6, rdi
movq xmm0, rsi
punpcklqdq xmm6, xmm0
test rcx, rcx
je 0x1400097c7
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1400097e8
mov rcx, qword [0x1400270a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x140030108], 0
jne 0x140009800
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [0x1400270a8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x1400097ba
mov edx, 0x414
lea r12, [rsp + 0x20]
mov qword [rsp + 0x20], 0
mov rbp, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov dword [rsp + 0x28], 3
mov rcx, r12
mov ebx, 0x14
mov word [rsp + 0x40], dx
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rsi
movaps xmmword [rsp + 0x30], xmm6
call rbp
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1400098b4
test al, 0x10
je 0x1400097d0
mov ecx, 0x64
call r14
mov eax, 0x414
mov qword [rsp + 0x50], rsi
mov rcx, r12
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
movaps xmmword [rsp + 0x30], xmm6
call rbp
sub ebx, 1
je 0x1400097d0
mov rcx, rdi
call r13
cmp eax, 0xffffffff
jne 0x140009860
jmp 0x1400097d0
Function at 0x392e9a630
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.392ea48f0
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.392ea48f0
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 0x392e9a6a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x3933a1064]
mov rbx, rcx
test esi, esi
jle 0x392e9a7d0
mov rax, qword [0x3933a1068]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x392e9a6eb
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x392e9a775
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x392e9a6d0
mov rcx, rbx
call fcn.392e9af00
mov rdi, rax
test rax, rax
je 0x392e9a7f2
mov rax, qword [0x3933a1068]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call fcn.392e9b040
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x3933a1068]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x392e9a7d7
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x392e9a76e
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x392e9a780
add dword [0x3933a1064], 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 [0x3933a1068]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x392e9a76e
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.392e9a630
nop dword [rax]
xor esi, esi
jmp 0x392e9a6f8
mov rax, qword [0x3933a1068]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call fcn.392e9a630
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call fcn.392e9a630
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x392e9ab70
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x3933a10a0]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x3933a1080]
test rbx, rbx
je 0x392e9abcc
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 eax, eax
jne 0x392e9abc3
test rsi, rsi
je 0x392e9abc3
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x392e9aba8
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 0x392e9af00
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x39337a8b0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x392e9af20
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x392e9af28
ret
cmp word [r8 + 0x18], 0x20b
jne 0x392e9af20
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x392e9af7d
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 0x392e9af74
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x392e9af20
add rax, 0x28
cmp rax, r9
jne 0x392e9af60
xor eax, eax
ret

Function at 0x392e9af80
Capabilities:
Parse pe header

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

Function at 0x392e9b040
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x39337a8b0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x392e9b05f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x392e9b068
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x392ea57a0
Capabilities:
Enumerate processes

Disassembly:
push rbp
sub rsp, 0x160
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xf0], rcx
mov edx, 0
mov ecx, 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov qword [rbp + 0xd8], rax
cmp qword [rbp + 0xd8], 0xffffffffffffffff
jne 0x392ea57de
mov eax, 0xffffffff
jmp 0x392ea5849
mov dword [rbp - 0x60], 0x130
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0xd8]
mov rcx, rax
call sub.KERNEL32.dll_Process32First
test eax, eax
sete al
test al, al
je 0x392ea5808
mov eax, 0xffffffff
jmp 0x392ea5849
mov rax, qword [rbp + 0xf0]
lea rdx, [rbp - 0x60]
lea rcx, [rdx + 0x2c]
mov rdx, rax
call sub.msvcrt.dll_strcmp
test eax, eax
jne 0x392ea5828
mov eax, dword [rbp - 0x58]
jmp 0x392ea5849
lea rdx, [rbp - 0x60]
mov rax, qword [rbp + 0xd8]
mov rcx, rax
call sub.KERNEL32.dll_Process32Next
test eax, eax
setne al
test al, al
jne 0x392ea5808
mov eax, 0xffffffff
add rsp, 0x160
pop rbp
ret
Function at 0x392ea5ba0
Capabilities:
Create process on windows
Spoof parent pid

Disassembly:
push rbp
push rbx
sub rsp, 0x108
lea rbp, [rsp + 0x80]
mov qword [rbp + 0xa0], rcx
mov qword [rbp + 0xa8], rdx
mov rax, qword [rbp + 0xa8]
mov rcx, rax
call fcn.392ea57a0
mov dword [rbp + 0x7c], eax
mov rax, rbp
mov edx, 0x70
mov rcx, rax
call fcn.392ea5310
lea rax, [rbp - 0x20]
mov edx, 0x18
mov rcx, rax
call fcn.392ea5310
mov eax, dword [rbp + 0x7c]
mov r8d, eax
mov edx, 0
mov ecx, 0x2000000
mov rax, qword [sym.imp.KERNEL32.dll_OpenProcess]
call rax
mov qword [rbp - 0x30], rax
lea rax, [rbp - 0x28]
mov r9, rax
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
call rax
mov rbx, qword [rbp - 0x28]
mov rax, qword [sym.imp.KERNEL32.dll_GetProcessHeap]
call rax
mov r8, rbx
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_HeapAlloc]
call rax
mov qword [rbp + 0x68], rax
mov rax, qword [rbp + 0x68]
lea rdx, [rbp - 0x28]
mov r9, rdx
mov r8d, 0
mov edx, 1
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_InitializeProcThreadAttributeList]
call rax
mov rax, qword [rbp + 0x68]
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 8
mov r9, rdx
mov r8d, 0x20000
mov edx, 0
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_UpdateProcThreadAttribute]
call rax
mov dword [rbp], 0x70
mov rax, qword [rbp + 0xa0]
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x48], rdx
mov rdx, rbp
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80004
mov dword [rsp + 0x20], 0
mov r9d, 0
mov r8d, 0
mov rdx, rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateProcessA]
call rax
mov dword [rbp + 0x78], eax
mov rax, qword [rbp - 0x20]
add rsp, 0x108
pop rbx
pop rbp
ret