joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140094c10
Capabilities:
Write file on windows

Disassembly:
sub rsp, 0x38
cmp byte [rcx + 0xf1e], 0
movsxd r10, r9d
je 0x140094d34
cmp r8d, 0xff
jne 0x140094c71
lea eax, [r10 - 0xec]
cmp eax, 0x13
ja 0x140094c5b
lea r8, [0x140000000]
mov r9, qword [r8 + r10*8 + 0xb84b0]
mov r8, rdx
lea rdx, str._s_IAC__s_n
add rsp, 0x38
jmp fcn.140071270
mov r8, rdx
mov r9d, r10d
lea rdx, str._s_IAC__d_n
add rsp, 0x38
jmp fcn.140071270
cmp r8d, 0xfb
jne 0x140094c83
lea r9, str.WILL
jmp 0x140094cc1
cmp r8d, 0xfc
jne 0x140094c95
lea r9, str.WONT
jmp 0x140094cc1
cmp r8d, 0xfd
jne 0x140094ca7
lea r9, [0x1400b8ed4]
jmp 0x140094cc1
xor r9d, r9d
lea rax, str.DONT
cmp r8d, 0xfe
cmove r9, rax
test r9, r9
je 0x140094d1d
cmp r10d, 0x27
jg 0x140094cf4
lea r8, [0x140000000]
mov r8, qword [r8 + r10*8 + 0xb8ad0]
test r8, r8
jne 0x140094d04
mov r8, rdx
mov dword [rsp + 0x20], r10d
lea rdx, str._s__s__d_n
call fcn.140071270
add rsp, 0x38
ret
cmp r10d, 0xff
jne 0x140094cdb
lea r8, str.EXOPL
mov qword [rsp + 0x20], r8
mov r8, rdx
lea rdx, str._s__s__s_n
call fcn.140071270
add rsp, 0x38
ret
mov r9d, r8d
mov dword [rsp + 0x20], r10d
mov r8, rdx
lea rdx, str._s__d__d_n
call fcn.140071270
add rsp, 0x38
ret

Function at 0x140095080
Capabilities:
Send data
Send data on socket

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
push rdi
sub rsp, 0x20
mov rbp, qword [rcx]
mov edi, r8d
mov esi, edx
mov byte [rax + 0x10], 0xff
xor r9d, r9d
mov byte [rax + 0x11], sil
mov rbx, rcx
mov byte [rax + 0x12], dil
mov rcx, qword [rcx + 0x4c0]
lea rdx, [rax + 0x10]
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x1400950df
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400710f0
mov rcx, qword [rbx]
lea rdx, str.SENT
mov r9d, edi
mov r8d, esi
call fcn.140094c10
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop rdi
ret
Function at 0x140095290
Capabilities:
Send data
Send data on socket

Disassembly:
cmp edx, 0x1f
jne 0x140095438
push rbp
push rdi
push r14
sub rsp, 0x20
mov rbp, qword [rcx]
mov r14, rcx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], r15
mov rdi, qword [rbp + 0x1e0]
lea rsi, [rdi + 0x1cb8]
lea rbx, [rdi + 0x1eb8]
mov qword [rbx], rsi
cmp rsi, rbx
jae 0x1400952f5
lea rax, [rsi + 1]
mov byte [rsi], 0xff
mov qword [rbx], rax
cmp rax, rbx
jae 0x1400952f5
mov byte [rax], 0xfa
inc qword [rbx]
mov rax, qword [rbx]
cmp rax, rbx
jae 0x1400952f5
mov byte [rax], dl
inc qword [rbx]
movzx ecx, word [rdi + 0x1ca8]
call qword [sym.imp.WS2_32.dll_htons]
movzx ecx, word [rdi + 0x1caa]
movzx r15d, ax
mov word [rsp + 0x48], ax
call qword [sym.imp.WS2_32.dll_htons]
mov r9, qword [rbx]
movzx ecx, ax
cmp r9, rbx
jae 0x14009532c
mov byte [r9], r15b
inc qword [rbx]
mov r9, qword [rbx]
mov r15, qword [rsp + 0x58]
cmp r9, rbx
jae 0x140095382
movzx eax, byte [rsp + 0x49]
mov byte [r9], al
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140095382
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140095382
shr cx, 8
mov byte [r9], cl
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140095382
mov byte [r9], 0xff
inc qword [rbx]
mov r9, qword [rbx]
cmp r9, rbx
jae 0x140095382
mov byte [r9], 0xf0
mov r9, qword [rbx]
inc r9
mov qword [rdi + 0x1ec0], r9
lea r8, [rdi + 0x1cba]
sub r9, rsi
mov qword [rbx], rsi
sub r9, 2
mov edx, 0x3e
mov rcx, rbp
call fcn.140094d40
mov rcx, qword [r14 + 0x4c0]
xor r9d, r9d
mov rdx, rsi
lea r8d, [r9 + 3]
call qword [sym.imp.WS2_32.dll_send]
mov rsi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x40]
test eax, eax
jns 0x1400953e4
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400710f0
lea rdx, [rdi + 0x1cbb]
mov r8d, 4
mov rcx, r14
call fcn.140095110
mov rcx, qword [r14 + 0x4c0]
lea rdx, [rdi + 0x1cbf]
xor r9d, r9d
lea r8d, [r9 + 2]
call qword [sym.imp.WS2_32.dll_send]
test eax, eax
jns 0x140095430
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
lea rdx, str.Sending_data_failed___d_
mov rcx, rbp
mov r8d, eax
call fcn.1400710f0
add rsp, 0x20
pop r14
pop rdi
pop rbp
ret
Function at 0x140096ba0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push rbx
push rdi
push r14
sub rsp, 0xd0
mov rax, qword [0x1400d8080]
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 0x140096c35
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 0x140096c96
lea rdx, str.Received_too_short_packet
mov rcx, rdi
call fcn.1400710f0
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.1400aa580
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 0x140096d51
sub ecx, 1
je 0x140096dc4
sub ecx, 1
je 0x140096d00
cmp ecx, 1
je 0x140096ce3
lea r8, str.Internal_error:_Unexpected_packet
mov rcx, rdi
lea rdx, [0x1400c1478]
call fcn.1400710f0
jmp 0x140096dc4
add r8d, 0xfffffffe
add rdx, 2
mov rcx, rbx
call fcn.1400968d0
test eax, eax
je 0x140096dc4
jmp 0x140096c6a
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 0x140096dc4
sub rax, rsi
cmp rax, rbp
jae 0x140096dc4
mov r8, rsi
lea rdx, str.TFTP_error:__s_n
mov rcx, rdi
call fcn.140071270
jmp 0x140096dc4
cmp r8d, 4
jle 0x140096dc4
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 0x140096dc4
lea eax, [r8 - 4]
mov rcx, r14
lea r8, [rdx + 4]
movsxd r9, eax
mov edx, 1
call fcn.140071010
mov esi, eax
test eax, eax
je 0x140096da3
mov edx, 5
mov rcx, rbx
call fcn.140097890
mov eax, esi
jmp 0x140096c6a
mov eax, dword [rbx + 0x154]
mov rcx, rdi
sub eax, 4
cdqe
add qword [rdi + 0xf8], rax
mov rdx, qword [rdi + 0xf8]
call fcn.14007faf0
mov rcx, r14
call fcn.14007fdd0
test eax, eax
je 0x140096c68
mov edx, 5
mov rcx, rbx
call fcn.140097890
mov eax, Ordinal_46
jmp 0x140096c6a
Function at 0x1400a9b60
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 [0x1400d8020]
mov rdi, rax
test rax, rax
jne 0x1400a9ba2
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 0x1400a9be9
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 0x1400a9c42
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 0x1400a9c00
mov eax, dword [rbx + 0x1c]
cmp rsi, rax
jae 0x1400a9c83
nop word [rax + rax]
mov rcx, qword [rdi + 8]
lea rdx, [0x1400bc072]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov rcx, qword [rdi + 0x10]
lea rdx, [0x1400bc073]
mov r8d, 1
call qword [rbx + reloc.WS2_32.dll_htonl]
mov eax, dword [rbx + 0x1c]
inc rsi
cmp rsi, rax
jb 0x1400a9c50
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 0x1400aab94
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x140078080]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, 1
mov ecx, 0xff
cpuid
shr edx, 0x1c
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x24], ebx
test dl, 1
jne 0x1400088ea
xor al, al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14006b4c0
add rsp, 0x70
pop rbx
ret
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, byte [rsp + 0x26]
cmp eax, dword [rsp + 0x50]
setg al
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.14006b4c0
add rsp, 0x70
pop rbx
ret
Function at 0x14000b340
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x50
cmp byte [0x140078db8], 0
je 0x14000b369
movzx eax, byte [0x140078dbb]
jmp 0x14000b558
lea rcx, [0x14000ba20]
call fcn.14006bae8
cmp qword [0x140078dd0], 0
jne 0x14000b548
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x14000b52c
xor ebp, ebp
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], ebp
xor r9d, r9d
xor r8d, r8d
mov edi, 0xffffffff
mov edx, edi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
js 0x14000b537
lea rax, [0x140078dd8]
mov qword [rsp + 0x20], rax
lea r9, [0x14006fb08]
xor edx, edx
mov r8d, 1
lea rcx, [0x14006fb18]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14000b537
mov rax, qword [0x140078dd8]
mov rcx, qword [rax]
mov rsi, qword [rcx + 0x18]
mov ecx, 0x18
call fcn.14006b4e8
mov rbx, rax
mov qword [rsp + 0x60], rax
test rax, rax
je 0x14000b455
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rbp
mov dword [rbx + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x14000b578
jmp 0x14000b458
mov rbx, rbp
mov qword [rsp + 0x60], rbx
test rbx, rbx
je 0x14000b56d
lea rax, [0x140078dd0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], ebp
mov qword [rsp + 0x20], rbp
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [0x140078dd8]
call rsi
mov esi, eax
lock xadd dword [rbx + 0x10], edi
cmp edi, 1
jne 0x14000b4d3
mov rcx, qword [rbx]
test rcx, rcx
je 0x14000b4b4
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], rbp
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000b4c6
call fcn.14006b4e0
mov qword [rbx + 8], rbp
mov edx, 0x18
mov rcx, rbx
call fcn.14006b4e0
test esi, esi
js 0x14000b519
mov dword [rsp + 0x38], ebp
mov qword [rsp + 0x30], rbp
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0xa
mov rcx, qword [0x140078dd0]
call qword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x14000b548
mov rcx, qword [0x140078dd0]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [0x140078dd8]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov byte [0x140078dbb], 0
xor al, al
jmp 0x14000b551
call qword [sym.imp.ole32.dll_CoUninitialize]
mov byte [0x140078dbb], bpl
xor al, al
jmp 0x14000b551
mov byte [0x140078dbb], 1
mov al, 1
mov byte [0x140078db8], 1
mov rbx, qword [rsp + 0x68]
mov rbp, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
mov ecx, 0x8007000e
call fcn.14006b200
nop
mov ecx, 0x8007000e
call fcn.14006b200
int3
Function at 0x14000ba70
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x160
mov rax, qword [0x140078080]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
mov r9, rbx
mov qword [rsp + 0x30], 0
mov r8d, 0x104
mov qword [rsp + 0x20], 0x104
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_wcstombs_s]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x14000baea
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14000baea
xor al, al
jmp 0x14000baec
mov al, 1
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.14006b4c0
add rsp, 0x160
pop rbx
ret

Function at 0x14000bbf0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
mov eax, 0x1250
call fcn.14006bec0
sub rsp, rax
mov rax, qword [0x140078080]
xor rax, rsp
mov qword [rsp + 0x1240], rax
mov rbp, rcx
lea r8, [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov edx, 0x1000
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x14000bcab
mov esi, dword [rsp + 0x20]
xor ebx, ebx
shr esi, 2
test esi, esi
je 0x14000bcab
nop dword [rax + rax]
mov r8d, dword [rsp + rbx*4 + 0x30]
xor edx, edx
mov ecx, 0x400
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14000bca5
mov r9d, 0x104
lea r8, [rsp + 0x1030]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
test eax, eax
je 0x14000bc9c
mov rdx, rbp
lea rcx, [rsp + 0x1030]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsicmp]
test eax, eax
je 0x14000bcd6
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, esi
jb 0x14000bc50
xor al, al
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.14006b4c0
lea r11, [rsp + 0x1250]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14000bcad
Function at 0x14001aba0
Capabilities:
Enumerate process modules

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
mov eax, 0x1250
call fcn.14006bec0
sub rsp, rax
mov rax, qword [0x140078080]
xor rax, rsp
mov qword [rsp + 0x1240], rax
mov rbp, rdx
lea r8, [rsp + 0x20]
mov edx, 0x1000
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_K32EnumProcesses]
test eax, eax
je 0x14001ac77
mov esi, dword [rsp + 0x20]
xor ebx, ebx
shr esi, 2
test esi, esi
je 0x14001ac77
nop dword [rax]
mov r8d, dword [rsp + rbx*4 + 0x30]
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14001ac71
mov r9d, 0x104
lea r8, [rsp + 0x1030]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_K32GetModuleBaseNameW]
test eax, eax
je 0x14001ac68
lea rcx, [rsp + 0x1030]
mov r8, rbp
sub r8, rcx
nop word [rax + rax]
movzx edx, word [rcx]
movzx eax, word [rcx + r8]
sub edx, eax
jne 0x14001ac64
add rcx, 2
test eax, eax
jne 0x14001ac50
test edx, edx
je 0x14001aca2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc ebx
cmp ebx, esi
jb 0x14001ac00
xor al, al
mov rcx, qword [rsp + 0x1240]
xor rcx, rsp
call fcn.14006b4c0
lea r11, [rsp + 0x1250]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
jmp 0x14001ac79

Function at 0x140026420
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rsi
push rdi
push r14
sub rsp, 0x450
mov rax, qword [0x140078080]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rbx, r8
mov dword [rsp + 0x3c], 1
mov rsi, rdx
mov r14, rcx
xor edx, edx
lea rcx, [rsp + 0x40]
mov r8d, 0x400
mov rdi, r9
call sub.VCRUNTIME140.dll_memset
lea rax, [rsp + 0x30]
mov dword [rsp + 0x38], 0x400
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140026516
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x3c]
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rdi
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14002650b
mov r8, qword [rsp + 0x490]
lea rax, [rsp + 0x40]
sub r8, rax
nop word [rax + rax]
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x1400264f3
inc rax
test ecx, ecx
jne 0x1400264e0
test edx, edx
jne 0x14002650b
lea rdx, [0x14006fc3f]
mov rcx, rsi
call fcn.1400534c0
mov rax, qword [r14]
inc byte [rax]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.14006b4c0
mov rbx, qword [rsp + 0x478]
add rsp, 0x450
pop r14
pop rdi
pop rsi
ret
Function at 0x14004fdd0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rax, qword [0x140078080]
xor rax, rsp
mov qword [rsp + 0x48], rax
xor r14d, r14d
mov rbx, r8
mov rdi, rdx
mov qword [rsp + 0x38], r14
lea r8, [rsp + 0x38]
mov dword [rsp + 0x30], r14d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x40], r14d
mov rdx, qword [rbx]
mov esi, r14d
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x14004fef7
mov rbp, qword [rbx + 8]
lea rax, [rsp + 0x30]
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov rdx, rbp
xor r8d, r8d
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14004fef7
mov ecx, dword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rcx, qword [rsp + 0x38]
lea r9, [rsp + 0x40]
mov rbx, rax
xor r8d, r8d
lea rax, [rsp + 0x30]
mov rdx, rbp
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov r9d, r14d
cmp dword [rbx], r14d
jbe 0x14004fef3
mov r8d, dword [rbx + 0x10]
mov edx, r14d
test r8d, r8d
je 0x14004feeb
mov eax, r9d
lea rcx, [rax + rax*8]
lea r10, [rcx*4]
nop
mov eax, edx
lea rcx, [rax + rax*4]
mov eax, r8d
lea rcx, [r10 + rcx*4]
cmp byte [rcx + rbx + 0x14], 3
jne 0x14004fee2
test rdi, rdi
je 0x14004fee0
mov rax, qword [rcx + rbx + 0x18]
mov qword [rdi + 8], rax
mov eax, dword [rcx + rbx + 0x20]
mov qword [rdi], rax
add rdi, 0x10
mov eax, dword [rbx + 0x10]
inc esi
inc edx
mov r8d, eax
cmp edx, eax
jb 0x14004feb0
inc r9d
cmp r9d, dword [rbx]
jb 0x14004fe94
mov eax, esi
jmp 0x14004fef9
xor eax, eax
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14006b4c0
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x88]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x140056a90
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub rsp, 0x38
cmp qword [rdx + 0x18], 0xf
mov r10, rdx
mov r11, qword [rdx + 0x10]
jbe 0x140056aa5
mov r10, qword [rdx]
xor r8d, r8d
movabs r9, 0xcbf29ce484222325
test r11, r11
je 0x140056ae9
mov qword [rsp + 0x30], rbx
movabs rbx, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r10 + r8]
inc r8
xor r9, rax
imul r9, rbx
cmp r8, r11
jb 0x140056ad0
mov rbx, qword [rsp + 0x30]
mov r8, rdx
lea rdx, [rsp + 0x20]
call fcn.140058e60
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140056b09
add rax, 0x30
add rsp, 0x38
ret
lea rcx, str.invalid_unordered_map_K__T__key
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3

Function at 0x1400573f0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
sub r8, rdx
movabs rax, 0xcbf29ce484222325
sar r8, 1
mov r9d, 0
add r8, r8
je 0x140057434
movabs r10, 0x100000001b3
nop word [rax + rax]
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140057420
ret

Function at 0x140057640
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
movabs rax, 0xcbf29ce484222325
mov r9d, 0
sub r8, rdx
je 0x140057674
movabs r10, 0x100000001b3
nop
movzx ecx, byte [rdx + r9]
inc r9
xor rax, rcx
imul rax, r10
cmp r9, r8
jb 0x140057660
ret

Function at 0x140058810
Capabilities:
Get system firmware table

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rdi, rcx
mov qword [rsp + 0x28], rcx
xor esi, esi
mov ecx, 0xe0
call fcn.14006b4e8
mov rbx, rax
mov qword [rsp + 0x28], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 0xf
mov byte [rax], sil
movups xmmword [rax + 0x20], xmm0
mov qword [rax + 0x30], rsi
mov qword [rax + 0x38], 0xf
mov byte [rax + 0x20], sil
movups xmmword [rax + 0x40], xmm0
mov qword [rax + 0x50], rsi
mov qword [rax + 0x58], 0xf
mov byte [rax + 0x40], sil
movups xmmword [rax + 0x60], xmm0
mov qword [rax + 0x70], rsi
mov qword [rax + 0x78], 0xf
mov byte [rax + 0x60], sil
movups xmmword [rax + 0x80], xmm0
mov qword [rax + 0x90], rsi
mov qword [rax + 0x98], 0xf
mov byte [rax + 0x80], sil
movups xmmword [rax + 0xa0], xmm0
mov qword [rax + 0xb0], rsi
mov qword [rax + 0xb8], 0xf
mov byte [rax + 0xa0], sil
movups xmmword [rax + 0xc0], xmm0
mov qword [rax + 0xd0], rsi
mov qword [rax + 0xd8], 0xf
mov byte [rax + 0xc0], sil
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov ecx, 0x52534d42
call qword [sym.imp.KERNEL32.dll_GetSystemFirmwareTable]
nop
mov qword [rdi], rbx
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140058d40
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rdx + 0x18], 0xf
mov r10, rdx
mov r11, qword [rdx + 0x10]
jbe 0x140058d57
mov r10, qword [rdx]
xor ebx, ebx
movabs r9, 0xcbf29ce484222325
mov r8d, ebx
test r11, r11
je 0x140058d99
mov qword [rsp + 0x40], rdi
movabs rdi, 0x100000001b3
nop word [rax + rax]
movzx eax, byte [r10 + r8]
inc r8
xor r9, rax
imul r9, rdi
cmp r8, r11
jb 0x140058d80
mov rdi, qword [rsp + 0x40]
mov r8, rdx
lea rdx, [rsp + 0x20]
call fcn.140058e60
cmp qword [rax + 8], rbx
setne bl
mov rax, rbx
add rsp, 0x30
pop rbx
ret