joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011758
Capabilities:
Enumerate processes

Disassembly:
jmp 0x140025450
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x488
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0xba
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x4a8]
mov rax, qword [0x140032018]
xor rax, rbp
mov qword [rbp + 0x458], rax
mov dword [rbp + 0x444], 1
lea rcx, [0x14003a0fd]
call fcn.140011ab4
mov edx, 0x20
mov rcx, qword [rbp + 0x480]
call fcn.14001137a
mov rcx, qword [rbp + 0x480]
call fcn.1400110c8
nop
mov eax, dword [rbp + 0x444]
or eax, 1
mov dword [rbp + 0x444], eax
mov dword [rbp + 0x50], 0x238
xor edx, edx
mov ecx, 2
call fcn.140011519
mov qword [rbp + 0x2a8], rax
cmp qword [rbp + 0x2a8], 0xffffffffffffffff
jne 0x14002552f
mov dword [rbp + 0x444], 0
mov eax, dword [rbp + 0x444]
and eax, 1
test eax, eax
je 0x140025523
and dword [rbp + 0x444], 0xfffffffe
mov rcx, qword [rbp + 0x480]
call fcn.1400113ac
mov rax, qword [rbp + 0x480]
jmp 0x1400255c2
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x2a8]
call fcn.140011677
test eax, eax
je 0x140025584
mov rcx, qword [rbp + 0x488]
call fcn.14001139d
mov rdx, rax
lea rcx, [rbp + 0x7c]
call qword [sym.imp.ucrtbased.dll_wcscmp]
test eax, eax
jne 0x140025570
lea rdx, [rbp + 0x58]
mov rcx, qword [rbp + 0x480]
call fcn.140011500
lea rdx, [rbp + 0x50]
mov rcx, qword [rbp + 0x2a8]
call fcn.140011933
test eax, eax
jne 0x140025543
mov rcx, qword [rbp + 0x2a8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rbp + 0x444], 0
mov eax, dword [rbp + 0x444]
and eax, 1
test eax, eax
je 0x1400255bb
and dword [rbp + 0x444], 0xfffffffe
mov rcx, qword [rbp + 0x480]
call fcn.1400113ac
mov rax, qword [rbp + 0x480]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14002b410]
call fcn.1400118ca
mov rax, rdi
mov rcx, qword [rbp + 0x458]
xor rcx, rbp
call fcn.14001153c
lea rsp, [rbp + 0x468]
pop rdi
pop rbp
ret

Function at 0x14001177b
Capabilities:
Parse pe header

Disassembly:
jmp 0x140023f80
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140023fa0
xor al, al
jmp 0x140024021
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140023fb3
xor al, al
jmp 0x140024021
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 0x140023fdd
xor al, al
jmp 0x140024021
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x140023ff1
xor al, al
jmp 0x140024021
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x140024003
xor al, al
jmp 0x140024021
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x14002401f
xor al, al
jmp 0x140024021
mov al, 1
add rsp, 0x38
ret
Function at 0x1400111ef
Capabilities:
Terminate process

Disassembly:
jmp 0x140012f00
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:
Parse pe header

Disassembly:
jmp 0x140014250
sub rsp, 0x38
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov qword [rsp + 0x20], rax
cmp qword [rsp + 0x20], 0
jne 0x140014270
xor al, al
jmp 0x1400142f1
mov rax, qword [rsp + 0x20]
movzx eax, word [rax]
cmp eax, 0x5a4d
je 0x140014283
xor al, al
jmp 0x1400142f1
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 0x1400142ad
xor al, al
jmp 0x1400142f1
mov rax, qword [rsp + 0x28]
movzx eax, word [rax + 0x18]
cmp eax, 0x20b
je 0x1400142c1
xor al, al
jmp 0x1400142f1
mov rax, qword [rsp + 0x28]
cmp dword [rax + 0x84], 0xe
ja 0x1400142d3
xor al, al
jmp 0x1400142f1
mov eax, 8
imul rax, rax, 0xe
mov rcx, qword [rsp + 0x28]
cmp dword [rcx + rax + 0x88], 0
jne 0x1400142ef
xor al, al
jmp 0x1400142f1
mov al, 1
add rsp, 0x38
ret
Function at 0x1400116f0
Capabilities:
Allocate or change rwx memory

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1409efcd4]
test esi, esi
mov rdi, rcx
mov rbp, rdx
mov rbx, r8
jle 0x140011880
mov rax, qword [0x1409efcd8]
xor ecx, ecx
add rax, 0x18
nop
mov rdx, qword [rax]
cmp rdi, rdx
jb 0x14001173c
mov r8, qword [rax + 8]
mov r8d, dword [r8 + 8]
add rdx, r8
cmp rdi, rdx
jb 0x1400117c5
add ecx, 1
add rax, 0x28
cmp ecx, esi
jne 0x140011720
mov rcx, rdi
call fcn.140012250
test rax, rax
mov r12, rax
je 0x1400118d2
mov rax, qword [0x1409efcd8]
lea rsi, [rsi + rsi*4]
shl rsi, 3
add rax, rsi
mov qword [rax + 0x20], r12
mov dword [rax], 0
call fcn.140012390
mov ecx, dword [r12 + 0xc]
lea rdx, [rsp + 0x20]
mov r8d, 0x30
add rcx, rax
mov rax, qword [0x1409efcd8]
mov qword [rax + rsi + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x1400118b5
mov eax, dword [rsp + 0x44]
lea edx, [rax - 0x40]
and edx, 0xffffffbf
je 0x1400117be
lea edx, [rax - 4]
and edx, 0xfffffffb
jne 0x140011830
add dword [0x1409efcd4], 1
cmp ebx, 8
jae 0x1400117f1
test bl, 4
jne 0x140011890
test ebx, ebx
je 0x1400117e6
movzx eax, byte [rbp]
test bl, 2
mov byte [rdi], al
jne 0x1400118a4
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov eax, ebx
sub ebx, 1
mov rdx, qword [rbp + rax - 8]
cmp ebx, 8
mov qword [rdi + rax - 8], rdx
jb 0x1400117e6
and ebx, 0xfffffff8
xor eax, eax
mov edx, eax
add eax, 8
mov rcx, qword [rbp + rdx]
cmp eax, ebx
mov qword [rdi + rdx], rcx
jb 0x14001180a
add rsp, 0x50
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
cmp eax, 2
mov r8d, 4
mov eax, 0x40
mov rcx, qword [rsp + 0x20]
cmovne r8d, eax
mov rdx, qword [rsp + 0x38]
add rsi, qword [0x1409efcd8]
mov r9, rsi
mov qword [rsi + 8], rcx
mov qword [rsi + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400117be
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call fcn.140011680
xor esi, esi
jmp 0x140011747
mov eax, dword [rbp]
mov ebx, ebx
mov dword [rdi], eax
mov eax, dword [rbp + rbx - 4]
mov dword [rdi + rbx - 4], eax
jmp 0x1400117e6
mov ebx, ebx
movzx eax, word [rbp + rbx - 2]
mov word [rdi + rbx - 2], ax
jmp 0x1400117e6
mov rax, qword [0x1409efcd8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov edx, dword [r12 + 8]
mov r8, qword [rax + rsi + 0x18]
call fcn.140011680
lea rcx, str.Address__p_has_no_image_section
mov rdx, rdi
call fcn.140011680
nop
nop dword [rax]
nop word cs:[rax + rax]
Function at 0x140011ea0
Capabilities:
Get thread local storage value

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
lea rcx, [0x1409efd40]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1409efd20]
test rbx, rbx
je 0x140011ef4
mov rbp, qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, qword [sym.imp.KERNEL32.dll_GetLastError]
nop
mov ecx, dword [rbx]
call rbp
mov rsi, rax
call rdi
test eax, eax
jne 0x140011eeb
test rsi, rsi
je 0x140011eeb
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140011ed0
lea rcx, [0x1409efd40]
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]

Function at 0x140012250
Capabilities:
Enumerate pe sections

Disassembly:
sub rsp, 0x28
mov r9, qword [0x1409e9670]
xor edx, edx
cmp word [r9], 0x5a4d
mov r8, rcx
jne 0x1400122bf
mov rcx, r9
call fcn.140012120
test eax, eax
je 0x1400122bf
movsxd rax, dword [r9 + 0x3c]
mov rcx, r8
sub rcx, r9
add r9, rax
movzx eax, word [r9 + 0x14]
lea rdx, [r9 + rax + 0x18]
movzx eax, word [r9 + 6]
test eax, eax
je 0x1400122bd
sub eax, 1
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
mov r8d, dword [rdx + 0xc]
cmp rcx, r8
mov rax, r8
jb 0x1400122b4
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x1400122bf
add rdx, 0x28
cmp rdx, r9
jne 0x1400122a0
xor edx, edx
mov rax, rdx
add rsp, 0x28
ret
Function at 0x14001c740
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1409e4240]
jmp 0x140013080

Function at 0x14001c750
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1409e4240]
jmp 0x140013080
Function at 0x140001010
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
mov rax, qword [0x1403d9070]
xor ecx, ecx
mov dword [rax], 1
mov rax, qword [0x1403d9080]
mov dword [rax], 1
mov rax, qword [0x1403d9090]
mov dword [rax], 1
mov rax, qword [0x1403d8ff0]
cmp word [rax], 0x5a4d
jne 0x14000105a
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400010c0
mov rax, qword [0x1403d9060]
mov dword [0x1403dc00c], ecx
mov eax, dword [rax]
test eax, eax
je 0x1400010b0
mov ecx, 2
call sym.__set_app_type
call dbg.__p__fmode
mov rdx, qword [0x1403d9140]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg.__p__commode
mov rdx, qword [0x1403d9120]
mov edx, dword [rdx]
mov dword [rax], edx
call dbg._setargv
mov rax, qword [str._w_]
cmp dword [rax], 1
je 0x1400010f8
xor eax, eax
add rsp, 0x28
ret
mov ecx, 1
call sym.__set_app_type
jmp 0x140001077
movzx edx, word [rax + 0x18]
cmp dx, 0x10b
je 0x140001110
cmp dx, 0x20b
jne 0x14000105a
cmp dword [rax + 0x84], 0xe
jbe 0x14000105a
mov edx, dword [rax + 0xf8]
xor ecx, ecx
test edx, edx
setne cl
jmp 0x14000105a
mov rcx, qword [dbg._matherr]
call dbg.__mingw_setusermatherr
xor eax, eax
add rsp, 0x28
ret
cmp dword [rax + 0x74], 0xe
jbe 0x14000105a
mov r8d, dword [rax + 0xe8]
xor ecx, ecx
test r8d, r8d
setne cl
jmp 0x14000105a

Function at 0x1400151a0
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 dbg.__acrt_iob_func
mov r8d, 0x1b
mov edx, 1
lea rcx, str.Mingw_w64_runtime_failure:_n
mov r9, rax
call sym.fwrite
mov rsi, qword [rsp + 0x28]
mov ecx, 2
call dbg.__acrt_iob_func
mov rdx, rbx
mov rcx, rax
mov r8, rsi
call sym.vfprintf
call sym.abort
nop
nop dword [rax]
Function at 0x140015210
Capabilities:
Allocate or change rwx memory

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x50
movsxd rsi, dword [0x1403dc0d4]
mov rbx, rcx
test esi, esi
jle 0x140015340
mov rax, qword [0x1403dc0d8]
xor r9d, r9d
add rax, 0x18
nop word [rax + rax]
mov r8, qword [rax]
cmp rbx, r8
jb 0x14001525b
mov rdx, qword [rax + 8]
mov edx, dword [rdx + 8]
add r8, rdx
cmp rbx, r8
jb 0x1400152e5
add r9d, 1
add rax, 0x28
cmp r9d, esi
jne 0x140015240
mov rcx, rbx
call dbg.__mingw_GetSectionForAddress
mov rdi, rax
test rax, rax
je 0x140015362
mov rax, qword [0x1403dc0d8]
lea rbx, [rsi + rsi*4]
shl rbx, 3
add rax, rbx
mov qword [rax + 0x20], rdi
mov dword [rax], 0
call dbg._GetPEImageBase
mov edx, dword [rdi + 0xc]
mov r8d, 0x30
lea rcx, [rax + rdx]
mov rax, qword [0x1403dc0d8]
lea rdx, [rsp + 0x20]
mov qword [rax + rbx + 0x18], rcx
call qword [sym.imp.KERNEL32.dll_VirtualQuery]
test rax, rax
je 0x140015347
mov eax, dword [rsp + 0x44]
lea edx, [rax - 4]
and edx, 0xfffffffb
je 0x1400152de
lea edx, [rax - 0x40]
and edx, 0xffffffbf
jne 0x1400152f0
add dword [0x1403dc0d4], 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 [0x1403dc0d8]
mov qword [rbx + 8], rcx
mov r9, rbx
mov qword [rbx + 0x10], rdx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1400152de
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.__VirtualProtect_failed_with_code_0x_x
mov edx, eax
call dbg.__report_error
nop dword [rax]
xor esi, esi
jmp 0x140015268
mov rax, qword [0x1403dc0d8]
mov edx, dword [rdi + 8]
lea rcx, str.__VirtualQuery_failed_for__d_bytes_at_address__p
mov r8, qword [rax + rbx + 0x18]
call dbg.__report_error
mov rdx, rbx
lea rcx, str.Address__p_has_no_image_section
call dbg.__report_error
nop
nop word cs:[rax + rax]
nop dword [rax]

Function at 0x1400158f0
Capabilities:
Get thread local storage value

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x20
lea r12, [0x1403dc140]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x1403dc120]
test rbx, rbx
je 0x14001594c
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 0x140015943
test eax, eax
jne 0x140015943
mov rax, qword [rbx + 8]
mov rcx, rsi
call rax
mov rbx, qword [rbx + 0x10]
test rbx, rbx
jne 0x140015928
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 0x140015b60
Capabilities:
Parse pe header

Disassembly:
xor eax, eax
cmp word [rcx], 0x5a4d
jne 0x140015b78
movsxd rdx, dword [rcx + 0x3c]
add rcx, rdx
cmp dword [rcx], 0x4550
je 0x140015b80
ret
xor eax, eax
cmp word [rcx + 0x18], 0x20b
sete al
ret
Function at 0x140015b90
Capabilities:
Enumerate pe sections

Disassembly:
movsxd rax, dword [rcx + 0x3c]
add rcx, rax
movzx eax, word [rcx + 0x14]
movzx r8d, word [rcx + 6]
lea rax, [rcx + rax + 0x18]
test r8w, r8w
je 0x140015bdd
lea ecx, [r8 - 1]
lea rcx, [rcx + rcx*4]
lea r9, [rax + rcx*8 + 0x28]
nop dword [rax + rax]
mov r8d, dword [rax + 0xc]
mov rcx, r8
cmp rdx, r8
jb 0x140015bd4
add ecx, dword [rax + 8]
cmp rdx, rcx
jb 0x140015bdf
add rax, 0x28
cmp rax, r9
jne 0x140015bc0
xor eax, eax
ret

Function at 0x140015be0
Capabilities:
Parse pe header

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x20
mov rsi, rcx
call sym.strlen
cmp rax, 8
ja 0x140015c70
mov rdx, qword [0x1403d8ff0]
xor ebx, ebx
cmp word [rdx], 0x5a4d
jne 0x140015c5e
movsxd rax, dword [rdx + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
jne 0x140015c5e
cmp word [rax + 0x18], 0x20b
jne 0x140015c5e
movzx edx, word [rax + 0x14]
lea rbx, [rax + rdx + 0x18]
movzx edx, word [rax + 6]
test dx, dx
je 0x140015c70
lea eax, [rdx - 1]
lea rax, [rax + rax*4]
lea rdi, [rbx + rax*8 + 0x28]
jmp 0x140015c49
add rbx, 0x28
cmp rbx, rdi
je 0x140015c70
mov r8d, 8
mov rdx, rsi
mov rcx, rbx
call sym.strncmp
test eax, eax
jne 0x140015c40
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret
xor ebx, ebx
mov rax, rbx
add rsp, 0x20
pop rbx
pop rsi
pop rdi
ret

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

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

Function at 0x140015d00
Capabilities:
Parse pe header

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

Function at 0x140015d40
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x1403d8ff0]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x140015d60
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x140015d68
ret
cmp word [rdx + 0x18], 0x20b
jne 0x140015d60
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x140015db0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x140015da7
test rcx, rcx
je 0x140015d60
sub rcx, 1
add rax, 0x28
cmp rdx, rax
jne 0x140015d98
xor eax, eax
ret
Function at 0x140015dc0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x1403d8ff0]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x140015ddf
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140015de8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

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

Disassembly:
mov rdx, qword [0x1403d8ff0]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140015e20
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140015e28
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140015e20
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x140015e20
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x140015e74
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x140015e80
add rdx, 0x28
cmp rdx, r9
jne 0x140015e60
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

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

Disassembly:
mov r11, qword [0x1403d8ff0]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x140015eb2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x140015ec0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140015eb2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x140015eb2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x140015eb2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x140015f15
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x140015f28
add rdx, 0x28
cmp r10, rdx
jne 0x140015f00
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x140015f37
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x140015f47
mov edx, dword [rax + 0xc]
test edx, edx
je 0x140015f1e
test ecx, ecx
jg 0x140015f30
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x1400072c0
Capabilities:
Enumerate processes
Terminate process

Disassembly:
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140095080]
xor rax, rsp
mov qword [rsp + 0x260], rax
xor edx, edx
mov rsi, rcx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140007381
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x280], rbx
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140007370
nop dword [rax]
lea rax, [rsp + 0x4c]
mov r8, rsi
sub r8, rax
nop dword [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140007344
add rax, 2
test ecx, ecx
jne 0x140007330
test edx, edx
jne 0x14000735e
mov r8d, dword [rsp + 0x28]
lea ecx, [rdx + 1]
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rbx, rax
test rax, rax
jne 0x1400073a2
lea rdx, [rsp + 0x20]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140007320
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x280]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140073450
mov rsi, qword [rsp + 0x288]
add rsp, 0x270
pop rdi
ret
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rbx
jmp 0x140007373
Function at 0x14000c8e0
Capabilities:
Access peb ldr_data
Encode data using xor
Get ntdll base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x40
mov rax, qword [0x140095080]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x28], 0xba49
mov rbp, rcx
mov dword [rsp + 0x30], 0xff410000
mov byte [rsp + 0x34], 0xe2
mov qword [rsp + 0x20], rdx
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov esi, dword [rcx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x14000c9ba
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x14000c9ba
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
mov r10d, 0xb497f7a2
lea rcx, [r14 + r11*4]
mov r8d, dword [rcx + rbx]
add r8, rbx
movzx r9d, byte [r8]
inc r8
test r9b, r9b
je 0x14000c9b5
movsx ecx, r9b
lea r8, [r8 + 1]
sub r9b, 0x41
mov edx, ecx
or edx, 0x20
cmp r9b, 0x19
movzx r9d, byte [r8 - 1]
cmova edx, ecx
xor edx, r10d
imul r10d, edx, 0x1000193
test r9b, r9b
jne 0x14000c980
cmp r10d, 0xd570f52f
je 0x14000c9c2
test r11d, r11d
jne 0x14000c960
mov rax, qword [rax]
jmp 0x14000c930
mov ecx, dword [rsi + 0x24]
mov r8d, 8
add rcx, rbx
movzx edx, word [rcx + r11*2]
mov ecx, dword [rsi + 0x1c]
add rcx, rbx
mov eax, dword [rcx + rdx*4]
lea rdx, [rsp + 0x20]
add rax, rbx
lea rcx, [rsp + 0x2a]
call rax
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
mov rbx, qword [rax + 0x30]
movsxd rcx, dword [rbx + 0x3c]
mov esi, dword [rcx + rbx + 0x88]
add rsi, rbx
cmp rsi, rbx
je 0x14000ca8d
mov r11d, dword [rsi + 0x18]
test r11d, r11d
je 0x14000ca8d
mov r14d, dword [rsi + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r11d
mov r10d, 0xc4fb6266
lea rcx, [r14 + r11*4]
mov ecx, dword [rcx + rbx]
add rcx, rbx
movzx r9d, byte [rcx]
inc rcx
test r9b, r9b
je 0x14000ca88
nop
movsx edx, r9b
lea rcx, [rcx + 1]
sub r9b, 0x41
mov r8d, edx
or r8d, 0x20
cmp r9b, 0x19
movzx r9d, byte [rcx - 1]
cmova r8d, edx
xor r8d, r10d
imul r10d, r8d, 0x1000193
test r9b, r9b
jne 0x14000ca50
cmp r10d, 0x265b75cb
je 0x14000ca95
test r11d, r11d
jne 0x14000ca30
mov rax, qword [rax]
jmp 0x14000ca00
mov edx, dword [rsi + 0x24]
mov rcx, rbp
add rdx, rbx
movzx r8d, word [rdx + r11*2]
mov edx, dword [rsi + 0x1c]
add rdx, rbx
mov eax, dword [rdx + r8*4]
mov r8d, reloc.WS2_32.dll_listen
add rax, rbx
lea rdx, [rsp + 0x28]
call rax
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140073450
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x40
pop r14
pop rdi
pop rsi
ret