joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14002db64
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov r14, r8
test r8, r8
je 0x14002db85
and qword [r8], 0
lea rdx, [0x140075fa8]
call fcn.14002da38
mov rbx, rax
test rax, rax
je 0x14002dc48
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov esi, eax
cmp eax, 0xffffffff
je 0x14002dc3f
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14002dc3f
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rdi, eax
cmp edi, 0xffffffff
je 0x14002dc3f
xor r8d, r8d
mov edx, esi
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x14002dc3f
mov rsi, rdi
cmp rdi, 0xffffffffffffffff
je 0x14002dc3f
mov rcx, rdi
call fcn.14003096c
mov rdi, rax
test rax, rax
je 0x14002dc3f
mov r9, rbx
mov r8, rsi
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rsi
je 0x14002dc2c
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, rdi
call fcn.1400309b4
jmp 0x14002dc48
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test r14, r14
je 0x14002dc3a
mov qword [r14], rsi
mov rax, rdi
jmp 0x14002dc4a
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret

Function at 0x1400302f4
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
movsxd r8, dword [rcx + 0x100]
mov r11d, 4
mov rax, qword [rcx + 0x108]
mov r9, rcx
mov r10d, r11d
mov ebx, dword [rax + r8*4 - 4]
lea r8, [rsp + 0x38]
not ebx
movzx eax, byte [r8]
inc r8
movzx ecx, bl
xor rcx, rax
shr ebx, 8
lea rax, [0x14006da60]
xor ebx, dword [rax + rcx*4]
sub r10, 1
jne 0x140030323
mov rcx, qword [r9]
not ebx
cmp dword [rcx + 0x4054], ebx
jne 0x14003035d
movsxd r8, edx
mov ecx, ebx
mov edx, r11d
call fcn.140041320
mov eax, ebx
add rsp, 0x20
pop rbx
ret

Function at 0x1400400e0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x5f90], 0
lea rdi, [rcx + 0x5f98]
mov rbx, rcx
mov rsi, r8
mov rcx, rdi
mov rbp, rdx
je 0x14004015d
xor edx, edx
call fcn.14004205c
mov r8, rsi
mov rdx, rbp
mov rcx, rdi
call fcn.14002e36c
mov eax, dword [rdi]
mov edx, 1
mov r9, qword [rbx + 0x5f90]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x140095f07]
movsxd r8, eax
mov rax, qword [rbx + 0x5fa0]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x140040162
call fcn.14002e36c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x140040790
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x140095f30]
mov rbx, rcx
and dword [rax + 0x5eec], 0
test rcx, rcx
je 0x1400407f9
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.140040804
lea rdx, [0x140075fa4]
mov rcx, rbx
mov rdi, rax
call fcn.14002da38
mov rbx, rax
test rax, rax
je 0x1400407f9
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x140050110
Capabilities:
Get geographical location
Get keyboard layout

Disassembly:
push rbx
sub rsp, 0x20
mov rax, qword [0x140095f30]
test rax, rax
je 0x14005012b
mov rbx, qword [rax + 0x90]
jmp 0x14005012d
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.USER32.dll_GetKeyboardLayout]
shr rax, 0x10
mov r9d, 4
movzx ecx, ax
lea r8, [rbx + 0x2c]
mov edx, 0x20001004
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
test eax, eax
jne 0x140050158
and dword [rbx + 0x2c], eax
add rsp, 0x20
pop rbx
ret
Function at 0x14005f730
Capabilities:
Parse pe header

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

Function at 0x14005f9c0
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14005f9fa
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x14005f9ff
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x14005fa48
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140064bf0]
cmp byte [rcx + rax], 0
je 0x14005fa48
dec r8
sub rdx, 1
jne 0x14005fa2e
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret
Function at 0x140001a3c
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov r14d, r8d
mov r15, rdx
mov r12d, r8d
mov edx, r14d
mov r8d, 0x6e635454
mov ecx, 0x400
mov rbp, r9
mov esi, 0xc0000001
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rbx, rax
test rax, rax
je 0x140001b4e
lea rdi, [rbp + 0x88]
test r14d, r14d
je 0x140001b05
mov r13, rax
sub r15, rax
mov eax, dword [rbp + 0xb4]
xor edx, edx
div dword [rbp + 0x60]
mov r11b, byte [r15 + r13]
mov eax, dword [rbp + 0xb8]
mov r9, qword [rdi]
movsxd rcx, edx
xor edx, edx
div dword [rbp + 0x90]
mov rax, qword [rbp + 0x58]
mov dword [rbp + 0xb8], edx
mov dword [rbp + 0xb4], ecx
movsxd r10, edx
mov rdx, rcx
mov cl, byte [r10 + r9]
mov r8b, byte [rdx + rax]
add cl, 0xa
add r8b, cl
xor r11b, r8b
add r8b, r11b
mov byte [r10 + r9], r8b
mov byte [r13], r11b
inc r13
inc dword [rbp + 0xb4]
inc dword [rbp + 0xb8]
sub r12, 1
jne 0x140001a9b
mov rdx, qword [rdi]
mov r8d, 0x10
mov rcx, qword [rbp + 0x78]
call qword [sym.imp.ntoskrnl.exe_RtlCompareMemory]
cmp rax, 0x10
jne 0x140001b35
mov rax, qword [rsp + 0x70]
xor esi, esi
mov qword [rax], rbx
mov rax, qword [rsp + 0x80]
mov dword [rax], r14d
jmp 0x140001b4e
mov rcx, qword [rsp + 0x80]
mov edx, 0x6e635454
and dword [rcx], 0
mov rcx, rbx
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rbx, qword [rsp + 0x50]
mov eax, esi
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret

Function at 0x140001d7c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp - 0x10], rax
test rcx, rcx
je 0x140001de7
movsd xmm0, qword [rcx]
lea rdx, [rbp - 0x20]
xor eax, eax
mov dword [rbp - 0x30], 0x7369676e
mov word [rbp - 0x14], ax
mov r8d, 0xd
mov eax, dword [rcx + 8]
mov dword [rbp - 0x18], eax
mov al, byte [rcx + 0xc]
lea rcx, [rbp - 0x30]
mov byte [rbp - 0x14], al
mov dword [rbp - 0x2c], 0x696c652e
mov dword [rbp - 0x28], 0x6f642e66
mov byte [rbp - 0x24], 0x6e
movsd qword [rbp - 0x20], xmm0
call sub.ntoskrnl.exe_strncmp
test eax, eax
jne 0x140001de7
mov al, 1
jmp 0x140001de9
xor al, al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140004b30
add rsp, 0x50
pop rbp
ret
Function at 0x140001dfc
Capabilities:
Hash data via bcrypt

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
xor eax, eax
mov r14, r9
mov r15, r8
mov qword [rbp - 0x10], rax
mov r12d, edx
mov qword [rbp - 8], rax
mov r13, rcx
mov dword [rbp - 0x18], eax
xor r9d, r9d
mov dword [rbp - 0x20], eax
xor r8d, r8d
mov dword [rbp - 0x1c], eax
lea rdx, [0x140005290]
mov esi, eax
lea rcx, [rbp - 0x10]
mov edi, eax
call sub.ksecdd.sys_BCryptOpenAlgorithmProvider
mov ebx, eax
test eax, eax
js 0x140001f68
and dword [rsp + 0x28], esi
lea rax, [rbp - 0x18]
mov rcx, qword [rbp - 0x10]
lea r9d, [rdi + 4]
lea r8, [rbp - 0x1c]
mov qword [rsp + 0x20], rax
lea rdx, [0x1400052a0]
call sub.ksecdd.sys_BCryptGetProperty
mov ebx, eax
test eax, eax
js 0x140001f68
mov edx, dword [rbp - 0x1c]
mov ecx, 0x400
inc rdx
mov r8d, 0x6e684f54
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov rsi, rax
test rax, rax
je 0x140001f68
and dword [rsp + 0x28], edi
lea rax, [rbp - 0x18]
mov rcx, qword [rbp - 0x10]
lea r9d, [rdi + 4]
lea r8, [rbp - 0x20]
mov qword [rsp + 0x20], rax
lea rdx, [0x1400052c0]
call sub.ksecdd.sys_BCryptGetProperty
mov ebx, eax
test eax, eax
js 0x140001f68
mov edx, dword [rbp - 0x20]
mov ecx, 0x400
inc rdx
mov r8d, 0x6e635454
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
xor ecx, ecx
mov rdi, rax
test rax, rax
je 0x140001f68
mov r9d, dword [rbp - 0x1c]
lea rdx, [rbp - 8]
mov dword [rsp + 0x30], ecx
mov r8, rsi
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rcx
mov rcx, qword [rbp - 0x10]
call sub.ksecdd.sys_BCryptCreateHash
mov ebx, eax
test eax, eax
js 0x140001f68
mov rcx, qword [rbp - 8]
xor r9d, r9d
mov r8d, r12d
mov rdx, r13
call sub.ksecdd.sys_BCryptHashData
mov ebx, eax
test eax, eax
js 0x140001f68
mov r8d, dword [rbp - 0x20]
xor r9d, r9d
mov rcx, qword [rbp - 8]
mov rdx, rdi
call sub.ksecdd.sys_BCryptFinishHash
mov ebx, eax
test eax, eax
js 0x140001f68
mov qword [r15], rdi
test r14, r14
je 0x140001f66
mov eax, dword [rbp - 0x20]
mov dword [r14], eax
xor edi, edi
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140001f78
xor edx, edx
call sub.ksecdd.sys_BCryptCloseAlgorithmProvider
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x140001f86
call sub.ksecdd.sys_BCryptDestroyHash
test rsi, rsi
je 0x140001f99
mov edx, 0x6e684f54
mov rcx, rsi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
test rdi, rdi
je 0x140001fac
mov edx, 0x6e635454
mov rcx, rdi
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
lea r11, [rsp + 0x60]
mov eax, ebx
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x140004044
Capabilities:
Create thread

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x70
and dword [rsp + 0x44], 0
lea rax, [0x140003f90]
and dword [rsp + 0x5c], 0
lea r8, [r11 - 0x38]
and qword [r11 - 0x48], 0
lea rcx, [r11 + 8]
mov dword [rsp + 0x40], 0x30
xorps xmm0, xmm0
and qword [r11 - 0x30], 0
xor r9d, r9d
mov dword [rsp + 0x58], 0x200
mov edx, 0x1fffff
and qword [r11 - 0x28], 0
mov qword [r11 - 0x50], rax
and qword [r11 - 0x58], 0
movdqu xmmword [rsp + 0x60], xmm0
call qword [sym.imp.ntoskrnl.exe_PsCreateSystemThread]
mov ebx, eax
test eax, eax
js 0x1400040f7
mov r8, qword [sym.imp.ntoskrnl.exe_PsThreadType]
lea rax, [0x140007188]
and qword [rsp + 0x28], 0
xor r9d, r9d
mov rcx, qword [rsp + 0x80]
mov edx, 0x1fffff
mov qword [rsp + 0x20], rax
mov r8, qword [r8]
call qword [sym.imp.ntoskrnl.exe_ObReferenceObjectByHandle]
mov rcx, qword [rsp + 0x80]
mov ebx, eax
call qword [sym.imp.ntoskrnl.exe_ZwClose]
test ebx, ebx
js 0x1400040f7
mov byte [0x140007171], 1
mov eax, ebx
add rsp, 0x70
pop rbx
ret

Function at 0x140004190
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xa0
mov eax, 0x52
mov dword [rbp - 9], 0x39005c
mov rdi, rcx
mov dword [rbp - 5], 0x460061
mov ecx, 0x400
mov dword [rbp - 1], 0x41004a
mov r8d, 0x74537843
mov dword [rbp + 3], 0x560045
lea edx, [rax - 0x2e]
mov dword [rbp + 7], 0x670062
mov dword [rbp + 0xb], 0x640071
mov dword [rbp + 0xf], 0x39006e
mov dword [rbp + 0x13], 0x620059
mov word [rbp + 0x17], ax
mov dword [0x140007190], 0x240022
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [0x140007198], rax
test rax, rax
jne 0x14000421f
mov eax, 0xc0000001
jmp 0x1400042da
movzx r8d, word [0x140007190]
lea rdx, [rbp - 9]
mov rcx, rax
call fcn.140004fc0
mov edx, 0x1f0001
lea rcx, [rbp + 0x6f]
call sub.FLTMGR.SYS_FltBuildDefaultSecurityDescriptor
test eax, eax
jns 0x14000424d
lfence
jmp 0x1400042da
mov rcx, qword [rdi]
lea rax, [0x140007190]
and qword [rbp + 0x27], 0
lea r8, [rbp + 0x1f]
and qword [rbp + 0x47], 0
lea rdx, [0x1400071a8]
mov qword [rbp + 0x2f], rax
xor r9d, r9d
mov rax, qword [rbp + 0x6f]
mov qword [rbp + 0x3f], rax
lea rax, [0x140004350]
mov dword [rsp + 0x38], 1
mov qword [rsp + 0x30], rax
lea rax, [0x140004310]
mov qword [rsp + 0x28], rax
lea rax, [0x1400042f0]
mov qword [rsp + 0x20], rax
mov dword [rbp + 0x1f], 0x30
mov dword [rbp + 0x37], 0x240
call sub.FLTMGR.SYS_FltCreateCommunicationPort
mov rcx, qword [rbp + 0x6f]
mov ebx, eax
call sub.FLTMGR.SYS_FltFreeSecurityDescriptor
mov rcx, qword [rdi]
mov qword [0x1400071a0], rcx
test ebx, ebx
js 0x1400042d8
call fcn.140004044
mov eax, ebx
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
Function at 0x14000a000
Capabilities:
Register minifilter driver
Start minifilter driver

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
push rdi
sub rsp, 0x40
xor esi, esi
mov rbx, rdx
mov word [rax - 0x18], si
mov rdi, rcx
mov dword [rax - 0x20], 0x70704253
lea rcx, [0x1400070c0]
xor r9d, r9d
mov qword [rax - 0x28], 0x20
xor r8d, r8d
mov dword [rax + 0x18], esi
xor edx, edx
mov qword [0x1400071e0], rsi
call qword [sym.imp.ntoskrnl.exe_ExInitializeNPagedLookasideList]
lea rdx, [rsp + 0x60]
mov rcx, rbx
call fcn.14000a114
lea r8, [0x1400071e0]
mov rcx, rdi
lea rdx, [0x140006520]
call sub.FLTMGR.SYS_FltRegisterFilter
mov ebx, eax
test eax, eax
js 0x14000a0de
call fcn.140002b00
mov ebx, eax
test eax, eax
js 0x14000a0de
call fcn.140002b6c
mov ebx, eax
test eax, eax
js 0x14000a0de
call fcn.140002a28
mov ebx, eax
test eax, eax
js 0x14000a0de
call fcn.140002a94
mov ebx, eax
test eax, eax
js 0x14000a0de
call fcn.1400029bc
mov ebx, eax
test eax, eax
js 0x14000a0de
lea rcx, [0x1400071e0]
call fcn.140004190
mov ebx, eax
test eax, eax
js 0x14000a0de
mov rcx, qword [0x1400071e0]
call sub.FLTMGR.SYS_FltStartFiltering
mov ebx, eax
test eax, eax
js 0x14000a0de
mov byte [0x140007080], sil
mov qword [0x140007178], rdi
jmp 0x14000a100
lea rcx, [0x1400070c0]
call qword [sym.imp.ntoskrnl.exe_ExDeleteNPagedLookasideList]
test ebx, ebx
jns 0x14000a100
mov rcx, qword [0x1400071e0]
test rcx, rcx
je 0x14000a100
call sub.FLTMGR.SYS_FltUnregisterFilter
mov rsi, qword [rsp + 0x58]
mov eax, ebx
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x14000a114
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x3f], rax
xor esi, esi
mov rdi, rdx
cmp dword [0x1400071d8], esi
mov rbx, rcx
jne 0x14000a2f1
mov qword [rbp + 7], rcx
lea r8, [rbp - 9]
xorps xmm0, xmm0
mov dword [rbp - 9], 0x30
lea rcx, [rbp - 0x39]
mov qword [rbp - 1], rsi
mov edx, 0x20019
mov dword [rbp + 0xf], 0x240
movdqu xmmword [rbp + 0x17], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
js 0x14000a2f1
lea rdx, [0x14000a370]
lea rcx, [rbp - 0x19]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rbp - 0x39]
lea rax, [rbp - 0x31]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x27]
lea r8d, [rsi + 2]
mov dword [rsp + 0x20], 0x14
lea rdx, [rbp - 0x19]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
test eax, eax
js 0x14000a1c8
mov eax, dword [rbp + 0x33]
mov dword [0x1400071d8], eax
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
mov edx, 0x200
mov qword [rbp - 0x39], rsi
mov ecx, 0x401
mov dword [rbp - 0x29], 0x20001fe
mov r8d, 0x74537843
call qword [sym.imp.ntoskrnl.exe_ExAllocatePoolWithTag]
mov qword [rbp - 0x21], rax
test rax, rax
je 0x14000a2f1
movzx r8d, word [rbx]
mov rcx, rax
mov rdx, qword [rbx + 8]
call fcn.140004fc0
lea rdx, [0x14000a390]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], si
jne 0x14000a21b
movzx ecx, word [rbx]
add r8, r8
mov rax, qword [rbp - 0x21]
shr rcx, 1
lea rcx, [rax + rcx*2]
call fcn.140004fc0
lea rax, [rbp - 0x29]
mov dword [rbp - 9], 0x30
xorps xmm0, xmm0
mov qword [rbp + 7], rax
lea r8, [rbp - 9]
mov qword [rbp - 1], rsi
mov edx, 0x20019
mov dword [rbp + 0xf], 0x240
lea rcx, [rbp - 0x39]
movdqu xmmword [rbp + 0x17], xmm0
call qword [sym.imp.ntoskrnl.exe_ZwOpenKey]
test eax, eax
jns 0x14000a27b
mov edx, 0x74537843
jmp 0x14000a2e7
lea rdx, [0x14000a3d0]
lea rcx, [rbp - 0x19]
call qword [sym.imp.ntoskrnl.exe_RtlInitUnicodeString]
mov rcx, qword [rbp - 0x39]
lea rax, [rbp - 0x31]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x27]
mov r8d, 2
mov dword [rsp + 0x20], 0x14
lea rdx, [rbp - 0x19]
call qword [sym.imp.ntoskrnl.exe_ZwQueryValueKey]
test eax, eax
js 0x14000a2db
test rdi, rdi
je 0x14000a2db
mov eax, dword [rbp + 0x33]
lea rdx, [rbp - 0x19]
mov rcx, qword [rbp - 0x39]
mov dword [rdi], eax
call qword [sym.imp.ntoskrnl.exe_ZwDeleteValueKey]
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ntoskrnl.exe_ZwFlushKey]
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ntoskrnl.exe_ZwClose]
xor edx, edx
mov rcx, qword [rbp - 0x21]
call qword [sym.imp.ntoskrnl.exe_ExFreePoolWithTag]
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.140004b30
mov rbx, qword [rsp + 0xe0]
add rsp, 0xb0
pop rdi
pop rsi
pop rbp
ret
Function at 0x140007204
Capabilities:
Terminate thread

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
call fcn.140007194
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateThread]
lea rcx, [0x140021200]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbx, qword [0x140020630]
jmp 0x140007240
cmp qword [rbx + 0x18], rdi
je 0x140007247
mov rbx, qword [rbx]
test rbx, rbx
jne 0x140007237
jmp 0x140007261
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [rbx + 0x10]
lea rcx, [0x140020630]
call fcn.1400123b8
lea rcx, [0x140021200]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
popfq
invalid
jg 0x14003f643
fnsave dword [rcx + 0x6f]
outsd dx, dword [rsi]
mov word [rdi], es
invalid
mov dword [rcx + rdi*2], eax
xchg esi, eax
cmc
rcl dword [rax + 0x1dd46a22]
sbb rdi, qword [r14 - 0x11ed5464]
scasd eax, dword [rdi]
and eax, dword [rsi]
or bl, bh
mov esp, 0x44d23532
jrcxz 0x14003f5e5
jnp 0x14003f635
cli
test byte [rsi + 0x5673688], al
invalid
fmul st(6)
sahf
adc ebx, esp
xchg ebp, eax
out 0x85, eax
mov ch, 0x3e
wait
xor ebx, dword [rbp + 0x79]
invalid
pop rbp
jns 0x14003f5f2
and dword [rdi + 0x4a10830c], esp
neg dh
invalid
fiadd word [rdx - 0x56a27e2e]
js 0x14003f5e1
nop
add eax, 0xdfd7b8c6
je 0x14003f5d0
test dword [rax + 0x49d1a4d5], edx
test al, 0x66
and byte [rax], dl
add byte [rdx + 0x1e479864], cl
imul ebp, dword [rax + 0x53], 0xffffff86
invalid
lodsb al, byte [rsi]
mov ch, 0xfc
or al, 0xb9
xor byte [rax + 0x28], al
int3
cmc
jb 0x14003f62b
adc byte [rax + 1], ah
invalid
add dword [rsi], ebp
invalid
add byte [rcx - 0x58], bl
loopne 0x14003f6d5
ja 0x14003f61e
pushfq
invalid
sbb byte [rcx + 0x47], 0x19
outsb dx, byte [rsi]
invalid
movabs dword [0x2d232e8709780fb1], eax
jrcxz 0x14003f671
and ebp, dword cs:[0x111e7b598]
jrcxz 0x14003f686
cmp dh, 0x75
wait
in eax, dx
fstp qword [rsp + rax*8 + 0x25]
sbb al, ch
invalid
xchg byte [rdi], dl
int1
or al, 0x14
and eax, 0x54e53173
in eax, 0x54
in eax, 0x54
jns 0x14003f6ae
fcom dword [rbx - 0x1552bb73]
xchg ebx, eax
lea eax, [rbp + rbp*4 - 0x16]
lodsd eax, dword [rsi]
invalid
js 0x14003f760
pop rsp
or al, byte [rdi]
xchg esi, eax
invalid
push rax
mov esp, edx
popfq
invalid
xchg esi, eax
sub al, dh
cwde
invalid
Function at 0x140005e60
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rax, qword [0x1402fa080]
xor rax, rsp
mov qword [rsp + 0x30], rax
mov rbx, rdx
mov rdi, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x28], rdx
mov rsi, qword [rdx + 0x10]
lea rcx, [rsi + 2]
movabs rax, 0xaaaaaaaaaaaaaaab
mul rcx
shr rdx, 1
shl rdx, 2
xor r8d, r8d
mov rcx, rdi
call fcn.14000d6a0
mov r8, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x140005ec2
mov r8, qword [rdi]
xor edx, edx
lea r9, [rsi - 2]
lea r10, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
test r9, r9
je 0x140005f9e
nop dword [rax + rax]
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140005eed
mov rax, qword [rbx]
movzx eax, byte [rax + rdx]
shr rax, 2
movzx eax, byte [rax + r10]
mov byte [r8], al
cmp qword [rbx + 0x18], 0xf
jbe 0x140005f0d
mov rax, qword [rbx]
lea rcx, [rdx + rax]
jmp 0x140005f14
lea rcx, [rbx + rdx]
mov rax, rbx
movsx rcx, byte [rcx]
and ecx, 3
shl rcx, 4
movzx eax, byte [rax + rdx + 1]
shr rax, 4
or rcx, rax
movzx eax, byte [rcx + r10]
mov byte [r8 + 1], al
cmp qword [rbx + 0x18], 0xf
jbe 0x140005f44
mov rax, qword [rbx]
lea rcx, [rax + 1]
jmp 0x140005f4b
lea rcx, [rbx + 1]
mov rax, rbx
add rcx, rdx
movsx rcx, byte [rcx]
and ecx, 0xf
shl rcx, 2
movzx eax, byte [rax + rdx + 2]
shr rax, 6
or rcx, rax
movzx eax, byte [rcx + r10]
mov byte [r8 + 2], al
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140005f7b
mov rax, qword [rbx]
movsx rax, byte [rax + rdx + 2]
and eax, 0x3f
movzx eax, byte [rax + r10]
mov byte [r8 + 3], al
add r8, 4
add rdx, 3
cmp rdx, r9
jb 0x140005ee0
cmp rdx, rsi
jae 0x140006054
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140005fb4
mov rax, qword [rbx]
movzx eax, byte [rax + rdx]
shr rax, 2
movzx eax, byte [rax + r10]
mov byte [r8], al
lea rax, [rsi - 1]
cmp rdx, rax
jne 0x140005ff6
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x140005fda
mov rax, qword [rbx]
movsx rax, byte [rax + rdx]
and eax, 3
add rax, rax
movzx eax, byte [r10 + rax*8]
mov byte [r8 + 1], al
mov al, 0x3d
add r8, 2
jmp 0x14000604c
cmp qword [rbx + 0x18], 0xf
jbe 0x140006006
mov rax, qword [rbx]
lea rcx, [rdx + rax]
jmp 0x14000600d
lea rcx, [rdx + rbx]
mov rax, rbx
movsx rcx, byte [rcx]
and ecx, 3
shl rcx, 4
movzx eax, byte [rax + rdx + 1]
shr rax, 4
or rcx, rax
movzx eax, byte [rcx + r10]
mov byte [r8 + 1], al
add r8, 2
mov rax, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x14000603e
mov rax, qword [rbx]
movsx rax, byte [rax + rdx + 1]
and eax, 0xf
movzx eax, byte [r10 + rax*4]
mov byte [r8], al
mov byte [r8 + 1], 0x3d
mov rdx, qword [rbx + 0x18]
cmp rdx, 0xf
jbe 0x14000608a
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140006085
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400060bd
mov rcx, r8
call fcn.1400dc104
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], 0
mov rax, rdi
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.1400dbe60
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3