joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003f200
Capabilities:
Get routing table

Disassembly:
mov qword [rsp + 0x20], rbx
mov qword [rsp + 8], rcx
push rsi
push rdi
push r14
sub rsp, 0x20
mov rbx, rcx
xor edi, edi
mov qword [rcx], rdi
mov qword [rcx + 8], rdi
mov qword [rcx + 0x10], rdi
mov dword [rcx + 0x20], edi
mov esi, 0x700
mov dword [rsp + 0x50], esi
mov rax, qword [rcx]
mov rcx, rax
neg rcx
cmp rcx, rsi
jbe 0x14003f245
add rax, rsi
mov qword [rbx + 8], rax
jmp 0x14003f274
jae 0x14003f274
neg rax
cmp rax, rsi
jae 0x14003f261
lea r8, [rsp + 0x48]
mov rdx, rsi
mov rcx, rbx
call fcn.140010bf0
jmp 0x14003f274
sub rsi, rcx
mov r8, rsi
xor edx, edx
xor ecx, ecx
call fcn.140079be0
mov qword [rbx + 8], rsi
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx]
call qword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
cmp eax, 0x7a
jne 0x14003f2ef
mov esi, dword [rsp + 0x50]
mov r14, qword [rbx + 8]
mov rdx, qword [rbx]
mov rcx, r14
sub rcx, rdx
cmp rsi, rcx
jae 0x14003f2a6
lea rax, [rdx + rsi]
jmp 0x14003f2da
jbe 0x14003f2de
mov rax, qword [rbx + 0x10]
sub rax, rdx
cmp rsi, rax
jbe 0x14003f2c6
lea r8, [rsp + 0x48]
mov rdx, rsi
mov rcx, rbx
call fcn.140010bf0
jmp 0x14003f2de
sub rsi, rcx
mov r8, rsi
xor edx, edx
mov rcx, r14
call fcn.140079be0
lea rax, [r14 + rsi]
mov qword [rbx + 8], rax
xor r8d, r8d
lea rdx, [rsp + 0x50]
mov rcx, qword [rbx]
call qword [sym.imp.IPHLPAPI.DLL_GetIpForwardTable]
test eax, eax
je 0x14003f300
mov rax, qword [rbx]
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rdi
jmp 0x14003f32b
mov r8, qword [rbx]
mov qword [rbx + 0x18], r8
cmp dword [r8], 0
jbe 0x14003f32b
mov edx, dword [rbx + 0x20]
mov eax, edi
imul rcx, rax, 0x38
mov eax, dword [rcx + r8 + 0x28]
cmp eax, edx
jbe 0x14003f324
mov edx, eax
mov dword [rbx + 0x20], eax
inc edi
cmp edi, dword [r8]
jb 0x14003f310
mov rax, rbx
mov rbx, qword [rsp + 0x58]
add rsp, 0x20
pop r14
pop rdi
pop rsi
ret
Function at 0x140042500
Capabilities:
Query or enumerate registry value

Disassembly:
sub rsp, 0x38
lea rax, [rsp + 0x58]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.SYSTEMCurrentControlSetServicesTcpip6Parameters
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140042597
mov rcx, qword [rsp + 0x58]
lea rdx, str.DisabledComponents
mov dword [rsp + 0x48], eax
xor r9d, r9d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rax
xor r8d, r8d
lea rax, [rsp + 0x48]
mov dword [rsp + 0x50], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14004257d
cmp dword [rsp + 0x48], 0xff
setne bl
jmp 0x14004257f
mov bl, 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, bl
mov rbx, qword [rsp + 0x30]
add rsp, 0x38
ret
xor al, al
add rsp, 0x38
ret

Function at 0x1400425a0
Capabilities:
Persist via windows service
Set registry value

Disassembly:
push rbx
sub rsp, 0x30
movzx ebx, dl
lea rax, [rsp + 0x58]
lea rdx, str.SYSTEMCurrentControlSetServicesTcpip6Parameters
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14004261a
xor ecx, ecx
mov dword [rsp + 0x28], 4
mov eax, 0xff
lea rdx, str.DisabledComponents
test bl, bl
cmovne eax, ecx
lea r9d, [rcx + 4]
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
mov dword [rsp + 0x50], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
add rsp, 0x30
pop rbx
ret
Function at 0x140043f70
Capabilities:
Delete network filter via wfp api
Enumerate network filters via wfp api

Disassembly:
mov r11, rsp
push rbp
push rsi
push rdi
sub rsp, 0xb0
mov rax, qword [0x1400f0158]
xor rax, rsp
mov qword [rsp + 0xa0], rax
xor ebp, ebp
xorps xmm0, xmm0
mov qword [r11 - 0x78], rbp
mov rdi, rdx
mov qword [r11 - 0x60], rbp
lea rdx, [r11 - 0x78]
movdqa xmmword [rsp + 0x70], xmm0
mov rsi, rcx
movups xmm0, xmmword [r8]
mov qword [r11 - 0x48], rbp
lea r8, [rsp + 0x40]
mov qword [r11 - 0x3c], rbp
mov dword [r11 - 0x34], ebp
movups xmmword [rsp + 0x58], xmm0
mov dword [r11 - 0x40], 0xffffffff
call sub.fwpuclnt.dll_FwpmFilterCreateEnumHandle0
test eax, eax
je 0x140043fde
xor al, al
jmp 0x1400440a0
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r8d, 0xffffffff
mov rcx, rsi
call sub.fwpuclnt.dll_FwpmFilterEnum0
test eax, eax
jne 0x140044091
mov qword [rsp + 0xd8], rbx
mov r8d, dword [rsp + 0x30]
test r8d, r8d
je 0x140044089
mov ebx, ebp
nop dword [rax]
mov rax, qword [rsp + 0x38]
mov ecx, ebx
mov rdx, qword [rax + rcx*8]
mov rax, qword [rdx + 0x50]
cmp rax, qword [rdi]
jne 0x140044052
mov rax, qword [rdx + 0x58]
cmp rax, qword [rdi + 8]
jne 0x140044052
mov rdx, qword [rdx + 0xb0]
mov rcx, rsi
call sub.fwpuclnt.dll_FwpmFilterDeleteById0
mov r8d, dword [rsp + 0x30]
inc ebx
cmp ebx, r8d
jb 0x140044020
lea rcx, [rsp + 0x38]
call sub.fwpuclnt.dll_FwpmFreeMemory0
mov rdx, qword [rsp + 0x40]
lea rax, [rsp + 0x30]
lea r9, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r8d, 0xffffffff
mov rcx, rsi
call sub.fwpuclnt.dll_FwpmFilterEnum0
test eax, eax
je 0x140044010
mov rbx, qword [rsp + 0xd8]
mov rdx, qword [rsp + 0x40]
mov rcx, rsi
call sub.fwpuclnt.dll_FwpmFilterDestroyEnumHandle0
mov al, 1
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140071b40
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret

Function at 0x1400445e0
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x250
mov rax, qword [0x1400f0158]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rdi, rcx
mov qword [rsp + 0x20], rcx
lea rcx, [rsp + 0x30]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
dec eax
cmp eax, 0x102
ja 0x14004465a
xor eax, eax
mov qword [rdi + 0x18], 7
mov qword [rdi], rax
mov r8, 0xffffffffffffffff
mov qword [rdi + 0x10], rax
mov word [rdi], ax
lea rax, [rsp + 0x30]
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140044640
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140003fa0
jmp 0x1400446b1
mov qword [rsp + 0x268], rbx
call fcn.140005b40
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rdx, str.GetSystemDir_failed___lu_
mov rcx, rbx
mov r8d, eax
call fcn.14001eb20
xor eax, eax
mov qword [rdi + 0x18], 7
mov qword [rdi], rax
lea rdx, str.C:WindowsSystem32
mov qword [rdi + 0x10], rax
mov rcx, rdi
mov word [rdi], ax
lea r8d, [rax + 0x13]
call fcn.140003fa0
mov rbx, qword [rsp + 0x268]
mov rax, rdi
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140071b40
add rsp, 0x250
pop rdi
ret
Function at 0x140044710
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14004472a
test al, 0x10
jne 0x14004472a
mov al, 1
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret

Function at 0x140044780
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x380]
sub rsp, 0x480
mov rax, qword [0x1400f0158]
xor rax, rsp
mov qword [rbp + 0x370], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x38], rcx
xor esi, esi
mov dword [rsp + 0x34], esi
mov qword [rcx], rsi
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], select
mov byte [rcx], sil
mov dword [rsp + 0x34], 1
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x30]
mov r8d, 0x400
lea rdx, [rsp + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400448bb
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400448bb
cmp rax, 0x401
jae 0x1400448e0
mov byte [rsp + rax + 0x60], 0
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], select
mov byte [rsp + 0x40], 0
lea rax, [rsp + 0x60]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140044840
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.140005580
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, rbx
call fcn.14000cd90
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400447d3
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400448b1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400448e6
call fcn.140071a3c
jmp 0x1400447d3
mov rax, rbx
mov rcx, qword [rbp + 0x370]
xor rcx, rsp
call fcn.140071b40
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x480
pop rdi
pop rsi
pop rbp
ret
call fcn.1400722d0
int3
call fcn.140085c7c
int3
Function at 0x1400499c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x18], r8
push rdi
push r12
push r13
push r14
push r15
mov r14, qword [rsp + 0x50]
xor ebp, ebp
mov rax, qword [rsp + 0x58]
mov r13, r9
mov rbx, qword [rsp + 0x68]
mov r12, rdx
mov qword [r14], r8
mov qword [rbx], rax
mov rax, qword [r14]
cmp rax, r9
je 0x140049b54
mov r15, qword [rsp + 0x60]
lea r9d, [rbp + 1]
mov rdi, qword [rbx]
mov r11d, 0x2800
mov r8d, 0x3ff
mov r10d, 0x2400
cmp rdi, r15
je 0x140049b54
movzx edx, word [r12]
xor sil, sil
movzx ecx, word [rax]
cmp r9w, dx
jae 0x140049a5b
lea eax, [r10 + rcx]
cmp ax, r8w
ja 0x140049b7b
mov eax, edx
sub ecx, 0xdc00
shl eax, 0xa
or eax, ecx
jmp 0x140049a72
mov eax, ecx
add cx, r11w
cmp cx, r8w
ja 0x140049a72
shl eax, 0xa
mov sil, 1
sub eax, 0x35f0000
cmp eax, 0x80
jae 0x140049a85
movzx r8d, al
mov r10d, ebp
mov r11d, ebp
jmp 0x140049ad2
mov r8d, eax
cmp eax, 0x800
jae 0x140049a9f
shr r8d, 6
mov r10d, r9d
or r8b, 0xc0
mov r11d, r9d
jmp 0x140049ad2
cmp eax, 0x10000
jae 0x140049ab9
shr r8d, 0xc
mov r10d, 2
or r8b, 0xe0
mov r11d, r10d
jmp 0x140049ad2
shr r8d, 0x12
mov r10d, 3
movzx r11d, sil
or r8b, 0xf0
xor r11d, 1
add r11d, r11d
lea r9d, [r11 + 1]
mov rdx, r15
sub rdx, rdi
mov ecx, r9d
cmp rdx, rcx
jl 0x140049b54
add qword [r14], 2
test sil, sil
jne 0x140049af3
cmp r10d, 3
jae 0x140049aff
mov rcx, qword [rbx]
mov r9d, r11d
mov byte [rcx], r8b
inc qword [rbx]
test r9d, r9d
je 0x140049b31
lea r8d, [r10 + r10*2]
add r8d, r8d
nop dword [rax + rax]
sub r8d, 6
mov edx, eax
mov ecx, r8d
dec r9d
shr edx, cl
mov rcx, qword [rbx]
and dl, 0x3f
or dl, 0x80
mov byte [rcx], dl
inc qword [rbx]
test r9d, r9d
jg 0x140049b10
shr eax, 0xa
mov r9d, 1
test sil, sil
mov ecx, r9d
cmovne ecx, eax
mov word [r12], cx
mov rax, qword [r14]
cmp rax, r13
jne 0x140049a0f
mov rax, qword [rsp + 0x40]
cmp rax, qword [r14]
sete bpl
mov eax, ebp
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x48]
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov eax, 2
jmp 0x140049b62
Function at 0x14004e420
Capabilities:
Delete service

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x190
mov rax, qword [0x1400f0158]
xor rax, rsp
mov qword [rsp + 0x180], rax
movzx ebx, r8b
mov rsi, rdx
mov rdi, rcx
mov r8d, 0xf01ff
call fcn.14004ed00
test bl, bl
je 0x14004e46f
mov rcx, rdi
call fcn.14004eee0
cmp eax, 1
je 0x14004e46f
mov rcx, rdi
call fcn.14004f5d0
mov rcx, qword [rdi + 0x48]
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x14004e4ae
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
xor eax, eax
mov qword [rdi + 0x48], rax
lea rcx, [rdi + 0x20]
cmp qword [rdi + 0x38], 8
jb 0x14004e4a7
mov rcx, qword [rdi + 0x20]
mov qword [rdi + 0x30], rax
mov word [rcx], ax
test ebx, ebx
je 0x14004e4d5
mov rcx, qword [rsp + 0x180]
xor rcx, rsp
call fcn.140071b40
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x190
pop rdi
pop rsi
pop rbp
ret
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.140008170
nop
mov eax, ebp
sub eax, 5
je 0x14004e541
sub eax, 1
je 0x14004e538
lea rcx, [rsp + 0x50]
cmp eax, 0x42a
je 0x14004e52f
lea rdx, str.DeleteService_failed_to_delete_the_service
call fcn.14001d460
mov rcx, rax
mov rdx, rsi
call fcn.14001d800
mov rcx, rax
lea rdx, [0x1400bf784]
call fcn.14001d460
mov edx, ebp
mov rcx, rax
call fcn.140042640
jmp 0x14004e55d
lea rdx, str.DeleteService:_service_has_already_been_marked_for_deletion__
jmp 0x14004e54d
lea rdx, str.DeleteService:_the_SCM_is_not_open__
jmp 0x14004e548
lea rdx, str.DeleteService:_insufficient_user_rights_to_delete_service__
lea rcx, [rsp + 0x50]
call fcn.14001d460
mov rdx, rsi
mov rcx, rax
call fcn.14001d800
lea rdx, [rsp + 0x140]
lea rcx, [rsp + 0x50]
call fcn.140010260
nop
mov rdx, rax
lea rcx, [rsp + 0x160]
call fcn.14004f8a0
mov rbx, rax
call fcn.14004f890
mov r8, rax
mov r9, rbx
mov edx, ebp
lea rcx, [rsp + 0x20]
call fcn.140049110
lea rdx, [0x1400e7738]
lea rcx, [rsp + 0x20]
call fcn.1400787c0
int3
Function at 0x14004eee0
Capabilities:
Query service status

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x1b0
mov rax, qword [0x1400f0158]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov rbx, rcx
lea rdx, [rsp + 0x140]
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
je 0x14004ef40
mov eax, dword [rsp + 0x144]
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.140071b40
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x1b0
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov edx, 1
lea rcx, [rsp + 0x50]
call fcn.140008170
nop
add rbx, 0x20
mov ecx, edi
sub ecx, 5
je 0x14004efa8
cmp ecx, 1
lea rcx, [rsp + 0x50]
je 0x14004ef9f
lea rdx, str.QueryServiceStatus_failed_to_query_the_service
call fcn.14001d460
mov rcx, rax
mov rdx, rbx
call fcn.14001dae0
mov rcx, rax
lea rdx, [0x1400bf784]
call fcn.14001d460
mov edx, edi
mov rcx, rax
call fcn.140042640
jmp 0x14004efc4
lea rdx, str.QueryServiceStatus:_the_service_has_not_been_opened__
jmp 0x14004efb4
lea rdx, str.QueryServiceStatus:_insufficient_user_rights_to_query_the_service__
lea rcx, [rsp + 0x50]
call fcn.14001d460
mov rdx, rbx
mov rcx, rax
call fcn.14001dae0
lea rdx, [rsp + 0x160]
lea rcx, [rsp + 0x50]
call fcn.140010260
nop
mov rdx, rax
lea rcx, [rsp + 0x180]
call fcn.14004f8a0
mov rbx, rax
call fcn.14004f890
mov r8, rax
mov r9, rbx
mov edx, edi
lea rcx, [rsp + 0x20]
call fcn.140049110
lea rdx, [0x1400e7738]
lea rcx, [rsp + 0x20]
call fcn.1400787c0
int3

Function at 0x14004f100
Capabilities:
Modify service

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0xc0
mov rax, qword [0x1400f0158]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov dword [rsp + 0x20], edx
lea r8, [rsp + 0x20]
mov edx, 5
mov rcx, qword [rcx + 0x48]
call qword [sym.imp.ADVAPI32.dll_ChangeServiceConfig2W]
test eax, eax
je 0x14004f15c
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140071b40
mov rbx, qword [rsp + 0xe0]
add rsp, 0xc0
pop rdi
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov edx, eax
lea rcx, [rsp + 0x50]
call fcn.14004ad70
mov rbx, rax
lea rdx, str.SetServiceSIDType:_ChangeServiceConfig2_failed__
lea rcx, [rsp + 0x70]
call fcn.140005210
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140021ff0
mov rbx, rax
call fcn.14004f890
mov r8, rax
mov r9, rbx
mov edx, edi
lea rcx, [rsp + 0x28]
call fcn.140049110
lea rdx, [0x1400e7738]
lea rcx, [rsp + 0x28]
call fcn.1400787c0
int3
Function at 0x14009f77c
Capabilities:
Read file on windows

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r14
sub rsp, 0x20
mov rbx, rcx
test rcx, rcx
jne 0x14009f4a2
call fcn.14008bec8
mov dword [rax], 0x16
call fcn.140085c5c
jmp 0x14009f5ed
mov eax, dword [rcx + 0x14]
shr eax, 0xd
test al, 1
je 0x14009f5ed
mov eax, dword [rcx + 0x14]
shr eax, 0xc
test al, 1
jne 0x14009f5ed
mov eax, dword [rcx + 0x14]
shr eax, 1
test al, 1
je 0x14009f4d1
lock or dword [rcx + 0x14], 0x10
jmp 0x14009f5ed
lock or dword [rcx + 0x14], 1
mov eax, dword [rcx + 0x14]
test eax, 0x4c0
jne 0x14009f4e5
call fcn.1400a109c
mov esi, dword [rbx + 0x10]
cmp esi, 1
jne 0x14009f4f5
mov rax, qword [rbx]
mov bpl, byte [rax]
jmp 0x14009f4f8
xor bpl, bpl
mov rdi, qword [rbx + 8]
mov rcx, rbx
mov qword [rbx], rdi
call fcn.14009cd84
mov r8d, dword [rbx + 0x20]
mov ecx, eax
mov rdx, rdi
call fcn.14009eef8
mov dword [rbx + 0x10], eax
lea ecx, [rax + 1]
cmp ecx, 2
jbe 0x14009f5db
mov eax, dword [rbx + 0x14]
test al, 6
jne 0x14009f589
mov rcx, rbx
call fcn.14009cd84
cmp eax, 0xffffffff
je 0x14009f574
mov rcx, rbx
call fcn.14009cd84
cmp eax, 0xfffffffe
je 0x14009f574
mov rcx, rbx
call fcn.14009cd84
movsxd rdi, eax
lea r14, [0x1400fb440]
mov rcx, rbx
sar rdi, 6
call fcn.14009cd84
and eax, 0x3f
lea rcx, [rax + rax*8]
mov rax, qword [r14 + rdi*8]
lea rdx, [rax + rcx*8]
jmp 0x14009f57b
lea rdx, [0x1400f0520]
mov al, byte [rdx + 0x38]
and al, 0x82
cmp al, 0x82
jne 0x14009f589
lock or dword [rbx + 0x14], 0x20
cmp dword [rbx + 0x20], 0x200
jne 0x14009f5ad
mov eax, dword [rbx + 0x14]
shr eax, 6
test al, 1
je 0x14009f5ad
mov eax, dword [rbx + 0x14]
shr eax, 8
test al, 1
jne 0x14009f5ad
mov dword [rbx + 0x20], 0x1000
mov rax, qword [rbx]
cmp esi, 1
jne 0x14009f5cb
movzx ecx, byte [rax]
dec dword [rbx + 0x10]
shl cx, 8
movzx eax, bpl
or cx, ax
inc qword [rbx]
jmp 0x14009f5d6
movzx ecx, word [rax]
add dword [rbx + 0x10], 0xfffffffe
add qword [rbx], 2
movzx eax, cx
jmp 0x14009f5f2
neg eax
sbb eax, eax
and eax, 8
add eax, 8
lock or dword [rbx + 0x14], eax
and dword [rbx + 0x10], 0
mov eax, 0xffff
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
jmp 0x14009f46c
Function at 0x140005d10
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.140019314
mov rbx, rax
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140005e0b
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
jmp 0x140005e0e
mov rbx, rsi
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 0x140007be0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x450
mov rax, qword [0x140026018]
xor rax, rsp
mov qword [rsp + 0x440], rax
mov rsi, rcx
mov dword [rsp + 0x34], 1
mov rax, r8
mov dword [rsp + 0x30], 0x400
lea rcx, [rsp + 0x38]
mov rbx, r9
mov qword [rsp + 0x20], rcx
mov rdi, rdx
mov rcx, 0xffffffff80000002
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x140007caf
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x34]
lea rax, [rsp + 0x40]
xor r8d, r8d
mov rdx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x140007ca4
mov r8, qword [rsp + 0x490]
lea rax, [rsp + 0x40]
sub r8, rax
nop
movzx edx, byte [rax]
movzx ecx, byte [rax + r8]
sub edx, ecx
jne 0x140007c93
inc rax
test ecx, ecx
jne 0x140007c80
test edx, edx
jne 0x140007ca4
mov rcx, rdi
call fcn.14000d3d0
mov rax, qword [rsi]
inc byte [rax]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.140019720
add rsp, 0x450
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400081c0
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x160
mov rax, qword [0x140026018]
xor rax, rsp
mov qword [rsp + 0x150], rax
mov rbx, rdx
lea rcx, [rsp + 0x24]
xor edx, edx
mov r8d, 0x12c
call sub.VCRUNTIME140.dll_memset
xor edx, edx
mov dword [rsp + 0x20], 0x130
xor sil, sil
lea ecx, [rdx + 2]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rdi, rax
cmp rax, 0xffffffffffffffff
jne 0x14000821b
xor al, al
jmp 0x14000828b
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32First
test eax, eax
je 0x14000827e
nop dword [rax]
cmp qword [rbx + 0x18], 8
mov r8, rbx
jb 0x14000823d
mov r8, qword [rbx]
lea rax, [rsp + 0x4c]
sub r8, rax
nop word [rax + rax]
movzx edx, word [rax]
movzx ecx, word [rax + r8]
sub edx, ecx
jne 0x140008264
add rax, 2
test ecx, ecx
jne 0x140008250
test edx, edx
je 0x14000827b
lea rdx, [rsp + 0x20]
mov rcx, rdi
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x140008230
jmp 0x14000827e
mov sil, 1
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, sil
mov rcx, qword [rsp + 0x150]
xor rcx, rsp
call fcn.140019720
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x14000ab40
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 0x14000ac0c
lea r8d, [rcx - 0x30]
cmp r8d, 0xffffffff
je 0x14000ac0c
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 0x14000ac25
lea eax, [r9 + r9*4]
dec edi
lea ecx, [r8 + rax*2]
mov rax, qword [rbx]
mov dword [rbx + 0x74], ecx
mov rcx, qword [rbx + 0x10]
cmp rax, rcx
je 0x14000abfc
cmp byte [rax], 0x5c
jne 0x14000abf6
lea rdx, [rax + 1]
cmp rdx, rcx
je 0x14000abf6
mov r8d, dword [rbx + 0x80]
test r8b, 8
jne 0x14000abe2
movzx ecx, byte [rdx]
sub cl, 0x28
cmp cl, 1
jbe 0x14000abf3
test r8b, 0x10
jne 0x14000abf6
movzx ecx, byte [rdx]
sub cl, 0x7b
test cl, 0xfd
jne 0x14000abf6
mov rax, rdx
inc rax
mov qword [rbx], rax
mov rcx, rbx
call fcn.14000cf30
test edi, edi
jne 0x14000ab60
mov rbx, qword [rsp + 0x30]
cmp edi, 0x7fffffff
mov rsi, qword [rsp + 0x38]
setne al
add rsp, 0x20
pop rdi
ret
mov edx, esi
mov rcx, rbx
call fcn.14000bb20
int3

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

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

Function at 0x140019d4c
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140019d96
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140019d96
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140019d96
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140019d96
cmp dword [rcx + 0x84], 0xe
jbe 0x140019d96
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140019d98
xor al, al
add rsp, 0x28
ret