joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400fba20
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x140161080]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov rbx, qword [rcx + 0xa00]
lea rax, [rsp + 0x30]
mov rdi, qword [rcx]
mov r14, rcx
mov dword [rsp + 0x30], 0x80
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov r8d, dword [rbx + 0x15c]
mov rdx, qword [rbx + 0x168]
add r8d, 4
mov rcx, qword [rbx + 0x18]
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_recvfrom]
cmp dword [rbx + 0x150], 0
mov dword [rbx + 0x154], eax
jne 0x1400fbab5
movsxd r8, dword [rsp + 0x30]
lea rcx, [rbx + 0xd0]
lea rdx, [rsp + 0x40]
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [rsp + 0x30]
mov dword [rbx + 0x150], eax
mov r8d, dword [rbx + 0x154]
mov qword [rsp + 0xf8], rbp
mov qword [rsp + 0x100], rsi
cmp r8d, 4
jge 0x1400fbb16
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400d6340
mov dword [rbx + 0xc], 7
xor eax, eax
mov rsi, qword [rsp + 0x100]
mov rbp, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.14010f620
add rsp, 0xd0
pop r14
pop rdi
pop rbx
ret
mov rdx, qword [rbx + 0x168]
movzx eax, byte [rdx]
movzx ecx, byte [rdx + 1]
shl eax, 8
or ecx, eax
mov dword [rbx + 0xc], ecx
sub ecx, 3
je 0x1400fbbd1
sub ecx, 1
je 0x1400fbc44
sub ecx, 1
je 0x1400fbb80
cmp ecx, 1
je 0x1400fbb63
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1401417d8]
call fcn.1400d6340
jmp 0x1400fbc44
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400fb750
test eax, eax
je 0x1400fbc44
jmp 0x1400fbaea
movzx ecx, byte [rdx + 2]
lea eax, [r8 - 4]
movsxd rbp, eax
lea rsi, [rdx + 4]
movzx eax, byte [rdx + 3]
mov r8, rbp
shl ecx, 8
xor edx, edx
or ecx, eax
mov dword [rbx + 8], ecx
mov rcx, rsi
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x1400fbc44
sub rax, rsi
cmp rax, rbp
jae 0x1400fbc44
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.1400d64c0
jmp 0x1400fbc44
cmp r8d, 4
jle 0x1400fbc44
movzx eax, byte [rdx + 3]
movzx ecx, byte [rdx + 2]
shl ecx, 8
or ecx, eax
movzx eax, word [rbx + 0x48]
inc eax
movzx eax, ax
cmp eax, ecx
jne 0x1400fbc44
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.1400d6260
mov esi, eax
test eax, eax
je 0x1400fbc23
mov edx, 5
mov rcx, rbx
call fcn.1400fc710
mov eax, esi
jmp 0x1400fbaea
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.1400e4b40
mov rcx, r14
call fcn.1400e4e20
test eax, eax
je 0x1400fbae8
mov edx, 5
mov rcx, rbx
call fcn.1400fc710
mov eax, Ordinal_45
jmp 0x1400fbaea
Function at 0x14010e9e0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rdi
push r14
sub rsp, 0x20
mov eax, dword [rcx + 0x18]
mov rbx, rcx
mov ebp, r8d
mov r14, rdx
lea ecx, [rax + rax]
mov eax, dword [rbx + 0x20]
add rax, 0x18
add rcx, rax
call qword [sub.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
test rax, rax
jne 0x14010ea22
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
lea rcx, [rax + 0x18]
mov qword [rax], rbx
mov qword [rax + 8], rcx
mov eax, dword [rbx + 0x18]
add rax, rcx
mov qword [rsp + 0x48], rsi
mov qword [rdi + 0x10], rax
cmp ebp, dword [rbx + 0x1c]
jbe 0x14010ea69
call qword [rbx]
mov rcx, qword [rdi + 8]
mov r8d, ebp
mov rdx, r14
call qword [rbx + reloc.WS2_32.dll_htonl]
mov r14d, dword [rbx + 0x18]
add r14, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
mov rcx, r14
call qword [rbx + reloc.WS2_32.dll_recv]
mov rcx, qword [rdi + 8]
mov ebp, dword [rbx + 0x20]
call qword [rbx]
mov rcx, qword [rdi + 0x10]
call qword [rbx]
xor esi, esi
test rbp, rbp
je 0x14010eac2
mov rsi, rbp
nop dword [rax + rax]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x36
mov r8d, 1
mov byte [rsp + 0x40], al
mov rcx, qword [rdi + 8]
call qword [rbx + reloc.WS2_32.dll_htonl]
movzx eax, byte [r14]
lea rdx, [rsp + 0x40]
xor al, 0x5c
lea r14, [r14 + 1]
mov byte [rsp + 0x40], al
mov r8d, 1
mov rcx, qword [rdi + 0x10]
call qword [rbx + reloc.WS2_32.dll_htonl]
sub rbp, 1
jne 0x14010ea80
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x14010eb03
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x14013c522]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x14013c523]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x14010ead0
mov rsi, qword [rsp + 0x48]
mov rax, rdi
mov rbx, qword [rsp + 0x50]
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret

Function at 0x14010fc54
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x14010fc9e
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x14010fc9e
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x14010fc9e
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x14010fc9e
cmp dword [rcx + 0x84], 0xe
jbe 0x14010fc9e
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x14010fca0
xor al, al
add rsp, 0x28
ret
Function at 0x180001010
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rsi
sub rsp, 0x20
mov rsi, rdx
lea rdx, [0x180019470]
call fcn.180005bb0
mov rbx, rax
test rax, rax
jne 0x18000103c
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
xor edx, edx
mov qword [rsp + 0x38], rdi
mov rcx, rbx
lea r8d, [rdx + 2]
call fcn.180005eac
mov rcx, rbx
call fcn.180005aec
movsxd rdi, eax
test rsi, rsi
jne 0x180001072
mov rax, rdi
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
mov rcx, rbx
mov qword [rsp + 0x30], rbp
call fcn.180005eb4
mov r9, rbx
mov r8, rdi
mov edx, 1
mov rcx, rsi
call fcn.18000621c
mov rbp, rax
cmp rax, rdi
je 0x1800010ae
mov rcx, rsi
call fcn.180005f78
mov rcx, rbx
call fcn.180005c40
xor eax, eax
jmp 0x1800010b9
mov rcx, rbx
call fcn.180005c40
mov rax, rbp
mov rbp, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
add rsp, 0x20
pop rsi
ret
Function at 0x180005640
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
mov eax, 0x1400
call fcn.18008fd50
sub rsp, rax
mov rax, qword [0x180223280]
xor rax, rsp
mov qword [rsp + 0x13f0], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
call fcn.18008cb58
mov edx, eax
mov dword [rsp + 0x13e4], 0xffffffff
mov dword [rsp + 0x64], eax
mov eax, 1
nop dword [rax]
nop dword [rax + rax]
mov ecx, edx
shr ecx, 0x1e
xor ecx, edx
imul edx, ecx, 0x6c078965
add edx, eax
mov dword [rsp + rax*4 + 0x64], edx
inc rax
cmp rax, 0x270
jb 0x180005690
mov dword [rsp + 0x60], 0x270
lea rcx, [rsp + 0x60]
call fcn.18000b500
mov ecx, eax
imul rax, rcx, 0xdbba0
cmp eax, 0x28d7f
ja 0x1800056ea
lea rcx, [rsp + 0x60]
call fcn.18000b500
mov ecx, eax
imul rax, rcx, 0xdbba0
cmp eax, 0x28d80
jb 0x1800056d0
shr rax, 0x20
add eax, 0x800186a0
btc eax, 0x1f
lea rcx, [0x1800fb7b0]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x38], 3
mov dword [rsp + 0x50], eax
movabs rax, 0x1000000000000000
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x20], 1
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
movaps xmm0, xmmword [rsp + 0x20]
movdqa xmmword [rsp + 0x20], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.18000a610
mov rax, rbx
mov rcx, qword [rsp + 0x13f0]
xor rcx, rsp
call fcn.18008eef0
add rsp, 0x1400
pop rbx
ret
Function at 0x18000b500
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
sub rsp, 8
mov r9, rcx
mov r10d, 0x270
mov ecx, dword [rcx]
cmp ecx, r10d
jne 0x18000b561
lea r8, [r9 + 8]
nop dword [rax + rax]
mov edx, dword [r8 - 4]
xor edx, dword [r8]
lea r8, [r8 + 4]
btr edx, 0x1f
xor edx, dword [r8 - 8]
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x62c]
xor ecx, edx
mov dword [r8 + 0x9b8], ecx
sub r10, 1
jne 0x18000b520
mov ecx, dword [r9]
jmp 0x18000b64b
cmp ecx, 0x4e0
jb 0x18000b64b
lea r10, [r9 + 0x9c4]
mov qword [rsp], rbx
mov r11d, dword [r10]
mov ebx, 0xe3
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
add r10, 4
mov edx, r11d
xor edx, eax
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 + 0x634]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x18000b580
lea r10, [r9 + 0xd50]
mov ebx, 0x18c
mov r11d, dword [r10]
nop
mov eax, r11d
mov r8, r10
mov r11d, dword [r10 + 4]
mov edx, eax
xor edx, r11d
add r10, 4
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r8 - 0xd4c]
xor ecx, edx
mov dword [r8 - 0x9c0], ecx
sub rbx, 1
jne 0x18000b5d0
mov eax, dword [r9 + 0x1380]
mov edx, eax
xor edx, dword [r9 + 4]
mov rbx, qword [rsp]
btr edx, 0x1f
xor edx, eax
mov eax, edx
and al, 1
neg al
sbb ecx, ecx
shr edx, 1
and ecx, 0x9908b0df
xor ecx, dword [r9 + 0x634]
xor ecx, edx
mov dword [r9 + 0x9c0], ecx
xor ecx, ecx
mov dword [r9], ecx
mov eax, ecx
mov edx, dword [r9 + rax*4 + 4]
lea eax, [rcx + 1]
mov dword [r9], eax
mov ecx, edx
mov eax, dword [r9 + 0x1384]
shr ecx, 0xb
and eax, ecx
xor edx, eax
mov eax, edx
and eax, 0xff3a58ad
shl eax, 7
xor edx, eax
mov eax, edx
and eax, 0xffffdf8c
shl eax, 0xf
xor edx, eax
mov eax, edx
shr eax, 0x12
xor eax, edx
add rsp, 8
ret
Function at 0x1800279d0
Capabilities:
Read file on windows

Disassembly:
push rbx
push r14
push r15
sub rsp, 0x30
mov r15, r8
mov r14, rdx
mov rbx, rcx
test r8, r8
jg 0x1800279f4
xor eax, eax
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rdi
je 0x180027a82
mov rdi, r15
mov qword [rsp + 0x68], rbp
lea rsi, [rcx + 0x50]
mov rax, qword [rbx + 0x38]
mov rdx, qword [rax]
test rdx, rdx
je 0x180027a50
mov rax, qword [rsi]
movsxd rcx, dword [rax]
test ecx, ecx
jle 0x180027a50
cmp rdi, rcx
mov rbp, rdi
cmovge rbp, rcx
mov rcx, r14
mov r8, rbp
call fcn.1800c07f0
mov rax, qword [rsi]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x180027a6d
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x180027a75
mov byte [r14], al
lea rsi, [rbx + 0x50]
dec rdi
mov ebp, 1
add r14, rbp
test rdi, rdi
jg 0x180027a11
mov rbp, qword [rsp + 0x68]
sub r15, rdi
jmp 0x180027b60
mov rax, qword [rcx + 0x38]
mov rsi, r15
mov rdx, qword [rax]
test rdx, rdx
je 0x180027a99
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x180027a9b
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x180027acd
cmp rax, r15
mov rdi, r15
mov rcx, r14
cmovb rdi, rax
mov r8, rdi
call fcn.1800c07f0
mov rax, qword [rbx + 0x50]
add r14, rdi
sub rsi, rdi
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x180027b5d
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r8], rax
jne 0x180027b08
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r8], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp rsi, 0xfff
jbe 0x180027b3e
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, r14
call fcn.1800a35c8
add r14, rax
sub rsi, rax
cmp rax, 0xfff
jne 0x180027b5d
cmp rsi, rax
ja 0x180027b11
test rsi, rsi
je 0x180027b5d
mov r9, qword [rbx + 0x80]
mov r8, rsi
mov edx, 1
mov rcx, r14
call fcn.1800a35c8
sub rsi, rax
sub r15, rsi
mov rsi, qword [rsp + 0x28]
mov rax, r15
mov rdi, qword [rsp + 0x20]
add rsp, 0x30
pop r15
pop r14
pop rbx
ret
Function at 0x180030a00
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x180030a34
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x180030a20
ret
Function at 0x1800404c0
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov esi, edx
mov dword [rcx + 0x74], 0
mov rbx, rcx
mov edi, 0x7fffffff
movsx ecx, byte [rbx + 0x78]
lea eax, [rcx - 0x30]
cmp al, 9
ja 0x180040585
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x180040585
mov r9d, dword [rbx + 0x74]
mov ecx, 0x7fffffff
sub ecx, r8d
mov eax, 0x66666667
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp r9d, edx
jg 0x18004059e
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx + 0x10]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx]
cmp rcx, rax
je 0x180040575
cmp byte [rcx], 0x5c
jne 0x18004056e
lea rdx, [rcx + 1]
cmp rdx, rax
je 0x18004056e
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x18004055c
movzx eax, byte [rdx]
sub al, 0x28
cmp al, 1
jbe 0x18004056b
test r8b, 0x10
jne 0x18004056e
movzx eax, byte [rdx]
sub al, 0x7b
test al, 0xfd
jne 0x18004056e
mov rcx, rdx
lea rax, [rcx + 1]
mov qword [rbx], rax
mov rcx, rbx
call fcn.180038d60
test edi, edi
jne 0x1800404e0
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
call fcn.180038d50
int3
Function at 0x18004b1c0
Capabilities:
Terminate process

Disassembly:
push rbp
push r14
push r15
sub rsp, 0x40
mov rax, qword [0x180223280]
xor rax, rsp
mov qword [rsp + 0x38], rax
lea rdx, [rsp + 0x20]
mov r15, rcx
xor r14b, r14b
call fcn.18004b350
mov rcx, qword [rsp + 0x20]
mov rbp, qword [rsp + 0x28]
cmp rcx, rbp
je 0x18004b2bf
mov qword [rsp + 0x68], rbx
lea rbx, [rcx + 8]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rdi
nop
cmp qword [rbx + 0x18], 7
mov rax, rbx
jbe 0x18004b21d
mov rax, qword [rbx]
cmp qword [r15 + 0xb8], 7
lea r8, [r15 + 0xa0]
mov rdx, qword [r15 + 0xb0]
jbe 0x18004b23c
mov r8, qword [r15 + 0xa0]
cmp rdx, qword [rbx + 0x10]
jne 0x18004b295
test rdx, rdx
je 0x18004b264
sub r8, rax
nop word [rax + rax]
movzx ecx, word [r8 + rax]
cmp cx, word [rax]
jne 0x18004b295
add rax, 2
sub rdx, 1
jne 0x18004b250
mov r8d, dword [rbx - 8]
xor edx, edx
mov ecx, 1
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18004b295
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r14b, 1
add rbx, 0x28
lea rax, [rbx - 8]
cmp rax, rbp
jne 0x18004b210
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x70]
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x28]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x18004b325
mov rdx, rbp
call fcn.18004b8c0
mov r8, qword [rsp + 0x20]
movabs rax, 0x6666666666666667
mov rcx, qword [rsp + 0x30]
sub rcx, r8
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov rax, r8
lea rdx, [rdx + rdx*4]
shl rdx, 3
cmp rdx, 0x1000
jb 0x18004b31d
mov r8, qword [r8 - 8]
add rdx, 0x27
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004b34a
mov rcx, r8
call fcn.18008ef10
test r14b, r14b
je 0x18004b333
xor eax, eax
xchg byte [r15 + 0x119], al
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.18008eef0
add rsp, 0x40
pop r15
pop r14
pop rbp
ret
call fcn.18009e1e4
int3
Function at 0x18004b350
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x180223280]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, rdx
mov qword [rsp + 0x70], rdx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rdx], xmm0
xor esi, esi
mov qword [rdx], rsi
mov qword [rdx + 8], rsi
mov qword [rdx + 0x10], rsi
mov dword [rsp + 0x20], 1
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18004b521
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0x7c]
call fcn.1800c0e90
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x18004b517
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
lea rax, [rbp - 0x54]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x18004b410
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x50]
call fcn.180008f10
nop
mov eax, dword [rbp - 0x78]
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1800064c0
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x18004b474
mov eax, dword [rsp + 0x28]
mov dword [rdx], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx + 8], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rdx + 0x18], xmm1
mov edx, 7
mov word [rsp + 0x30], si
add qword [rbx + 8], 0x28
jmp 0x18004b486
lea r8, [rsp + 0x28]
mov rcx, rbx
call fcn.18004bb40
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x18004b4c4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004b4be
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004b54c
call fcn.18008ef10
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x18004b502
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004b4fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004b552
call fcn.18008ef10
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x18004b3f2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rbx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.18008eef0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.18009e1e4
nop
call fcn.18009e1e4
int3
Function at 0x18004c3e0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x180223280]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x30]
xor edx, edx
mov r8d, 0x208
xor edi, edi
call fcn.1800c0e90
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xorps xmm0, xmm0
lea rdx, [rsp + 0x30]
movups xmmword [rbx], xmm0
mov r8d, 3
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], rdi
mov rcx, rbx
cmp eax, r8d
jae 0x18004c453
lea rdx, [0x180205ab0]
call fcn.180008f10
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.18008eef0
mov rbx, qword [rsp + 0x268]
add rsp, 0x250
pop rdi
ret
Function at 0x18004c480
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x180223280]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, rcx
mov qword [rsp + 0x70], rcx
mov dword [rsp + 0x20], 1
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
xor esi, esi
mov qword [rcx], rsi
mov qword [rcx + 8], rsi
mov qword [rcx + 0x10], rsi
mov dword [rsp + 0x20], 1
xor edx, edx
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x18004c651
xor edx, edx
mov r8d, 0x234
lea rcx, [rbp - 0x7c]
call fcn.1800c0e90
mov dword [rbp - 0x80], 0x238
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x18004c647
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
lea rax, [rbp - 0x54]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x18004c540
lea rdx, [rbp - 0x54]
lea rcx, [rsp + 0x50]
call fcn.180008f10
nop
mov eax, dword [rbp - 0x78]
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.1800064c0
nop
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x18004c5a4
mov eax, dword [rsp + 0x28]
mov dword [rdx], eax
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rdx + 8], xmm0
movups xmm1, xmmword [rsp + 0x40]
movups xmmword [rdx + 0x18], xmm1
mov edx, 7
mov word [rsp + 0x30], si
add qword [rbx + 8], 0x28
jmp 0x18004c5b6
lea r8, [rsp + 0x28]
mov rcx, rbx
call fcn.18004bb40
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x18004c5f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c5ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c67c
call fcn.18008ef10
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x18004c632
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c62d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18004c682
call fcn.18008ef10
lea rdx, [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x18004c522
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, rbx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.18008eef0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.18009e1e4
nop
call fcn.18009e1e4
int3
Function at 0x18004c790
Capabilities:
Set registry value

Disassembly:
sub rsp, 0x58
mov rax, qword [0x180223280]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor eax, eax
lea rdx, str.SYSTEMCurrentControlSetControlSession_ManagerPower
mov dword [rsp + 0x38], eax
mov r9d, 0x20006
mov qword [rsp + 0x30], rax
xor r8d, r8d
lea rax, [rsp + 0x30]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x18004c7ed
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18008eef0
add rsp, 0x58
ret
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov dword [rsp + 0x28], 4
lea rdx, str.HiberbootEnabled
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov qword [rsp + 0x50], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
mov rbx, qword [rsp + 0x50]
sete al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18008eef0
add rsp, 0x58
ret