joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140011060
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
call fcn.1400023d0
mov rcx, rax
lea r9, [0x14007635c]
lea r8, str.ServiceUtils::CheckAirplaneMode
xor edx, edx
call fcn.14001c1e0
xor ebx, ebx
mov qword [rsp + 0x78], rbx
call fcn.1400023d0
cmp byte [rax + 0x64], bl
je 0x1400110ce
lea ecx, [rbx + 0x28]
call fcn.14001e180
mov rbx, rax
mov qword [rsp + 0x60], rax
call fcn.1400023d0
mov rdx, rax
lea r8, str.ServiceUtils::CheckAirplaneMode
mov rcx, rbx
call fcn.140017870
mov rbx, rax
mov qword [rsp + 0x78], rax
xor sil, sil
mov qword [rsp + 0x70], 0
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetControlRadioManagementSystemRadioState
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
test eax, eax
jne 0x1400111ab
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x68], 4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x140011150
cmp dword [rsp + 0x60], 1
jne 0x140011174
mov sil, 1
jmp 0x140011174
call fcn.1400023d0
mov dword [rsp + 0x20], edi
lea r9, str.RegQueryValueEx__HotkeyAirplaneModeRegistry__failed_with_error:__u
lea r8, str.ServiceUtils::CheckAirplaneMode
mov edx, 5
mov rcx, rax
call fcn.14001c1e0
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
test eax, eax
je 0x1400111d0
call fcn.1400023d0
mov dword [rsp + 0x20], edi
lea r9, str.RegCloseKey__HotkeyAirplaneModeRegistry__failed_with_error:__u
lea r8, str.ServiceUtils::CheckAirplaneMode
mov edx, 5
mov rcx, rax
call fcn.14001c1e0
jmp 0x1400111d0
call fcn.1400023d0
mov dword [rsp + 0x20], edi
lea r9, str.RegOpenKeyEx__HotkeyAirplaneModeRegistry__failed_with_error:__u
lea r8, str.ServiceUtils::CheckAirplaneMode
mov edx, 5
mov rcx, rax
call fcn.14001c1e0
nop
movzx edi, sil
call fcn.1400023d0
mov rcx, rax
mov dword [rsp + 0x20], edi
lea r9, str.Airplane_Mode_Status:__u
lea r8, str.ServiceUtils::CheckAirplaneMode
mov edx, 1
call fcn.14001c1e0
nop
test rbx, rbx
je 0x140011213
mov rcx, rbx
call fcn.140018310
mov edx, 0x28
mov rcx, rbx
call fcn.14001e178
movzx eax, sil
add rsp, 0x40
pop rdi
pop rsi
pop rbx
ret
Function at 0x140019710
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov eax, dword [rcx + 0x220]
cmp eax, 0xffffffff
jne 0x14001989d
xor r14d, r14d
mov dword [rbp + 0x20], r14d
mov dword [rbp - 0x30], 4
test r9, r9
je 0x14001975f
cmp word [r9], r14w
jne 0x140019766
lea r9, str.MaxLogSize
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x14007f2b0]
movdqu xmmword [rbp - 0x10], xmm1
mov word [rbp - 0x20], r14w
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [r9 + r8*2], r14w
jne 0x140019790
mov rdx, r9
lea rcx, [rbp - 0x20]
call fcn.140006690
nop
test rsi, rsi
je 0x1400197f3
mov dword [rbp - 0x2c], r14d
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x2c]
xor r8d, r8d
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400197f3
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x1400197f3
mov dword [rbx + 0x220], eax
jmp 0x140019849
test rdi, rdi
je 0x14001983f
mov dword [rbp - 0x2c], r14d
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rdx, qword [rbp - 0x20]
lea rax, [rbp - 0x30]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x2c]
xor r8d, r8d
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001983f
mov eax, dword [rbp + 0x20]
test eax, eax
je 0x14001983f
mov dword [rbx + 0x220], eax
jmp 0x140019849
mov dword [rbx + 0x220], 0x800
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140019885
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019880
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400198b2
call fcn.14001e178
movdqa xmm0, xmmword [0x14007f2b0]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r14w
mov eax, dword [rbx + 0x220]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400416f8
int3
Function at 0x140019a10
Capabilities:
Get file version info

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x98], rbx
mov r14, rdx
mov rdi, rcx
xor r15d, r15d
mov dword [rbp - 0x40], r15d
mov qword [rcx + 0x10], r15
mov qword [rcx + 0x18], 7
mov word [rcx], r15w
mov dword [rbp - 0x40], 1
lea rdx, [rbp + 0x48]
mov rcx, r14
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test eax, eax
je 0x140019c14
mov ecx, esi
call fcn.14001e1bc
mov rbx, rax
mov qword [rbp - 0x28], rax
test rax, rax
je 0x140019c07
mov r9, rax
mov r8d, esi
mov edx, dword [rbp + 0x48]
mov rcx, r14
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x140019c07
mov qword [rbp - 0x38], r15
mov dword [rbp + 0x40], r15d
lea r9, [rbp + 0x40]
lea r8, [rbp - 0x38]
lea rdx, str.StringFileInfo040904E4ProductName
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140019b4f
mov eax, dword [rbp + 0x40]
test eax, eax
je 0x140019b4f
mov r8d, eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x14007f2b0]
movdqu xmmword [rbp - 0x10], xmm1
mov word [rbp - 0x20], r15w
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x20]
call fcn.140006690
nop
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140006540
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140019bf5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019bf0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019c31
jmp 0x140019bf0
mov qword [rbp - 0x38], r15
mov dword [rbp + 0x40], r15d
lea r9, [rbp + 0x40]
lea r8, [rbp - 0x38]
lea rdx, str.StringFileInfo040904B0ProductName
mov rcx, rbx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x140019c07
mov eax, dword [rbp + 0x40]
test eax, eax
je 0x140019c07
mov r8d, eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x10], xmm0
movdqa xmm1, xmmword [0x14007f2b0]
movdqu xmmword [rbp - 0x10], xmm1
mov word [rbp - 0x20], r15w
mov rdx, qword [rbp - 0x38]
lea rcx, [rbp - 0x20]
call fcn.140006690
nop
lea rdx, [rbp - 0x20]
mov rcx, rdi
call fcn.140006540
nop
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x140019bf5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140019bf0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140019c2b
call fcn.14001e178
movdqa xmm0, xmmword [0x14007f2b0]
mov word [rbp - 0x20], r15w
movdqu xmmword [rbp - 0x10], xmm0
test rbx, rbx
je 0x140019c14
mov rcx, rbx
call fcn.14001e178
mov rax, rdi
mov rbx, qword [rsp + 0x98]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400416f8
int3
call fcn.1400416f8
int3
Function at 0x14001b440
Capabilities:
Print debug messages

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rsi
mov rdi, rdx
mov rsi, qword [rdx + 0x18]
mov rax, qword [rdx + 0x38]
add rax, 0xa
add rsi, rax
mov eax, 2
mul rsi
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.14001e1bc
mov rbx, rax
mov qword [rsp + 0x58], rax
test rax, rax
je 0x14001b4d0
lea rax, [rdi + 0x28]
cmp qword [rax + 0x18], 8
jb 0x14001b4a1
mov rax, qword [rax]
lea r9, [rdi + 8]
cmp qword [r9 + 0x18], 0x10
jb 0x14001b4af
mov r9, qword [r9]
mov qword [rsp + 0x20], rax
lea r8, str._S_:__s_r_n
mov rdx, rsi
mov rcx, rbx
call fcn.140010160
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
nop
test rbx, rbx
je 0x14001b4dd
mov rcx, rbx
call fcn.14001e178
mov rbx, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x14001b4f0
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x50
mov eax, dword [rdx + 0x48]
mov rbx, rdx
mov rdi, rcx
cmp eax, dword [rcx + 8]
jl 0x14001b58c
cmp eax, 5
jg 0x14001b58c
mov rcx, rdx
call fcn.1400192d0
cmp qword [rax + 0x18], 8
jb 0x14001b523
mov rax, qword [rax]
mov r9d, dword [rbx + 0x48]
mov r10d, 1
mov qword [rsp + 0x60], rax
cmp r9d, 2
jl 0x14001b557
cmp r9d, 3
jle 0x14001b557
cmp r9d, 4
je 0x14001b550
cmp r9d, 5
jne 0x14001b557
movzx eax, r10w
jmp 0x14001b55c
mov eax, 2
jmp 0x14001b55c
mov eax, 4
xor edx, edx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x40], rdx
xor r8d, r8d
mov qword [rsp + 0x38], rcx
mov rcx, qword [rdi + 0x18]
mov dword [rsp + 0x30], edx
mov word [rsp + 0x28], r10w
mov qword [rsp + 0x20], rdx
movzx edx, ax
call qword [sym.imp.ADVAPI32.dll_ReportEventW]
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x14001b5a0
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
sub rsp, 0x38
cmp word [rcx + 0x18], 0
mov rsi, rdx
mov rdi, rcx
je 0x14001b69b
mov qword [rsp + 0x58], rbx
mov rbx, qword [rcx + 0x248]
test rbx, rbx
je 0x14001b6a2
cmp byte [rcx + 0x228], 0
je 0x14001b6a2
mov qword [rsp + 0x60], rbp
lea rcx, [rbx + 0x28]
mov qword [rsp + 0x30], r14
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
mov rax, qword [rbx]
mov r9, rsi
mov rcx, rbx
mov rdi, qword [rax]
mov rdx, rdi
mov r14, qword [rdi + 8]
mov r8, r14
call fcn.140016e90
mov rdx, rax
movabs rcx, 0x1745d1745d1745c
mov rax, qword [rbx + 8]
sub rcx, rax
cmp rcx, 1
jb 0x14001b6c9
inc rax
mov qword [rbx + 8], rax
mov qword [rdi + 8], rdx
mov qword [r14], rdx
cmp byte [rbx + 0x18], 0
jne 0x14001b682
mov rcx, qword [rbx + 0x20]
xor edi, edi
test rcx, rcx
je 0x14001b650
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x20], rdi
lea rax, [rsp + 0x50]
mov dword [rsp + 0x50], edi
mov qword [rsp + 0x28], rax
lea r8, [0x14001bf70]
mov r9, rbx
mov dword [rsp + 0x20], edi
xor edx, edx
xor ecx, ecx
call fcn.140046850
test rax, rax
mov qword [rbx + 0x20], rax
setne al
mov byte [rbx + 0x18], al
lea rcx, [rbx + 0x28]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
mov rbp, qword [rsp + 0x60]
mov r14, qword [rsp + 0x30]
mov rbx, qword [rsp + 0x58]
add rsp, 0x38
pop rdi
pop rsi
ret
call fcn.14001b340
test eax, eax
je 0x14001b696
mov rdx, rsi
mov rcx, rdi
call fcn.14001c440
mov rcx, rdi
mov rbx, qword [rsp + 0x58]
add rsp, 0x38
pop rdi
pop rsi
jmp fcn.140018b50
lea rcx, str.list_T__too_long
call fcn.1400147b0
int3

Function at 0x14001bc10
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x230
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
test rcx, rcx
je 0x14001bcc8
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x200
call fcn.14003c660
lea rax, [rsp + 0x258]
mov dword [rsp + 0x258], 0x100
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x240]
lea rax, [rsp + 0x30]
mov dword [rsp + 0x240], 0
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001bcc8
cmp dword [rsp + 0x240], 1
jne 0x14001bcc8
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14001bca4
test r8, r8
je 0x14001bcc8
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.140006690
mov eax, 1
jmp 0x14001bcca
xor eax, eax
lea r11, [rsp + 0x230]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x14001c440
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x230], 0
mov rbx, rdx
mov rdi, rcx
je 0x14001c514
mov r9d, dword [rcx + 0x224]
mov eax, dword [rcx + 0x220]
mov qword [rsp + 0x30], rsi
lea r8d, [rax + rax*4]
add r8d, r8d
lea eax, [r9 + 1]
mov dword [rcx + 0x224], eax
cmp r9d, r8d
jle 0x14001c4ae
xor edx, edx
call fcn.140019c40
test al, al
je 0x14001c49d
mov dword [rdi + 0x224], 0
jmp 0x14001c4ae
mov eax, dword [rdi + 0x224]
cdq
sub eax, edx
sar eax, 1
mov dword [rdi + 0x224], eax
mov rcx, rbx
call fcn.1400192d0
mov rcx, rbx
mov rsi, qword [rax + 0x10]
call fcn.1400192d0
cmp qword [rax + 0x18], 8
jb 0x14001c4cc
mov rax, qword [rax]
mov r9, qword [rdi + 0x230]
mov r8, rsi
mov edx, 2
mov rcx, rax
call fcn.1400465e0
mov r9, qword [rdi + 0x230]
mov edx, 2
mov rcx, qword [0x1400900c0]
mov rbx, rax
lea r8d, [rdx - 1]
call fcn.1400465e0
mov rsi, qword [rsp + 0x30]
add eax, ebx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
mov rbx, qword [rsp + 0x38]
xor eax, eax
add rsp, 0x20
pop rdi
ret
Function at 0x14001d5e0
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x260
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rsp + 0x288], rbx
mov rsi, rdx
mov rdi, rcx
xor ebp, ebp
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x48], ebp
mov qword [rsp + 0x50], rbp
mov r9d, dword [rcx + 8]
or r9d, 0x2001f
mov r8, rdx
mov rdx, qword [rcx]
lea rcx, [rsp + 0x40]
call fcn.14001d1b0
mov ebx, eax
test eax, eax
jne 0x14001d76c
mov dword [rsp + 0x280], 0x100
lea rax, [rsp + 0x290]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x280]
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
jne 0x14001d6de
nop dword [rax]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.14001d5e0
mov ebx, eax
test eax, eax
jne 0x14001d76c
mov dword [rsp + 0x280], 0x100
lea rax, [rsp + 0x290]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x28], rbp
mov qword [rsp + 0x20], rbp
lea r9, [rsp + 0x280]
lea r8, [rsp + 0x60]
xor edx, edx
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumKeyExW]
test eax, eax
je 0x14001d680
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001d6f3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rbp
mov dword [rsp + 0x48], ebp
mov rbx, qword [rdi + 0x10]
test rbx, rbx
je 0x14001d79a
mov rdi, qword [rdi]
cmp qword [rbx], 0
je 0x14001d758
lea rcx, str.Advapi32.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
jne 0x14001d726
mov ebx, 1
jmp 0x14001d76c
lea rdx, str.RegDeleteKeyTransactedW
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
test rax, rax
je 0x14001d71f
mov qword [rsp + 0x28], rbp
mov rdx, qword [rbx]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call rax
jmp 0x14001d76a
cmp dword [rbx + 8], 0
je 0x14001d71f
mov rcx, rdi
mov rdx, rsi
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ebx, eax
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001d781
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rbp
mov eax, ebx
mov dword [rsp + 0x48], ebp
mov rbx, qword [rsp + 0x288]
add rsp, 0x260
pop rdi
pop rsi
pop rbp
ret
cmp byte [0x140093440], 0
jne 0x14001d7e5
lea rcx, str.Advapi32.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleHandleW]
test rax, rax
je 0x14001d7d5
lea rdx, str.RegDeleteKeyExW
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [0x140093438], rax
mov byte [0x140093440], 1
jmp 0x14001d7ec
mov rax, qword [0x140093438]
mov byte [0x140093440], 1
jmp 0x14001d7ec
mov rax, qword [0x140093438]
mov rcx, qword [rdi]
test rax, rax
je 0x14001d761
xor r9d, r9d
mov r8d, dword [rdi + 8]
mov rdx, rsi
call rax
jmp 0x14001d76a
Function at 0x14001d810
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push r14
sub rsp, 0x60
mov qword [rax - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rbx, r9
mov rsi, r8
xor r14d, r14d
mov qword [rax - 0x20], r14
mov dword [rax - 0x18], r14d
mov qword [rax - 0x10], r14
mov eax, dword [rsp + 0x90]
sub eax, 1
je 0x14001d861
cmp eax, 1
je 0x14001d85a
mov eax, 0x2001f
jmp 0x14001d866
mov eax, 0x2021f
jmp 0x14001d866
mov eax, 0x2011f
cmp qword [rdx + 0x18], 8
jb 0x14001d870
mov rdx, qword [rdx]
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], r14d
xor r9d, r9d
mov r8, rdx
mov rdx, qword [rcx]
lea rcx, [rsp + 0x48]
call fcn.14001cf90
mov edi, eax
test eax, eax
jne 0x14001d8f5
cmp qword [rbx + 0x18], 8
jb 0x14001d8a6
mov rbx, qword [rbx]
cmp qword [rsi + 0x18], 8
jb 0x14001d8b0
mov rsi, qword [rsi]
test rbx, rbx
jne 0x14001d8ba
lea edi, [rbx + 0xd]
jmp 0x14001d8f5
mov rax, 0xffffffffffffffff
lea rax, [rax + 1]
cmp word [rbx + rax*2], 0
jne 0x14001d8c1
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, 1
xor r8d, r8d
mov rdx, rsi
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov edi, eax
cmp qword [rsp + 0x48], 0
je 0x14001d90d
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x48], r14
mov eax, edi
mov dword [rsp + 0x50], r14d
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
mov rdi, qword [rsp + 0x80]
add rsp, 0x60
pop r14
ret

Function at 0x140020270
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x48
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_TlsSetValue]
test eax, eax
je 0x140020283
add rsp, 0x48
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx edx, ax
lea rcx, [rsp + 0x20]
or edx, 0x80070000
test eax, eax
cmovle edx, eax
call fcn.140020890
lea rdx, [0x14008d5b0]
lea rcx, [rsp + 0x20]
call fcn.14003c0f8
int3

Function at 0x14002bfe0
Capabilities:
Set thread local storage value

Disassembly:
mov ecx, dword [0x140093b18]
xor edx, edx
jmp fcn.140020270

Function at 0x14002c978
Capabilities:
Set thread local storage value

Disassembly:
mov rdx, rcx
mov ecx, dword [0x140093b18]
jmp fcn.140020270

Function at 0x1400385c8
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x140038684]
mov r9, qword [r9 + 8]
jmp fcn.1400284b4

Function at 0x14003865c
Capabilities:
Get thread local storage value

Disassembly:
mov qword [rcx + 0x98], rdx
mov r8, rcx
mov r9, qword [rdx + 0x1a8]
add rcx, 0x40
lea rdx, [0x140038694]
mov r9, qword [r9 + 8]
jmp fcn.1400284b4
Function at 0x140064d5c
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov dword [rax + 8], ecx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov rdi, rdx
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
xor esi, esi
mov qword [rbp - 0x10], rsi
mov dword [rbp + 0x30], esi
lea r8, [rbp + 0x30]
xor edx, edx
lea ecx, [rsi + 3]
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
je 0x140064da4
lea ebx, [rsi + 0xd]
jmp 0x140064e1d
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xea
jne 0x140064e1d
mov word [rbp + 0x20], si
mov edx, dword [rbp + 0x30]
lea rax, [rbp - 0x20]
mov qword [rbp - 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rbp - 0x28], rax
movaps xmm0, xmmword [rbp - 0x30]
movdqa xmmword [rbp - 0x30], xmm0
lea r8, [rbp - 0x30]
lea rcx, [rbp - 0x20]
call fcn.14003e9a8
lea r8, [rbp + 0x30]
mov rdx, qword [rbp - 0x20]
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
test eax, eax
jne 0x140064e01
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x140064e1d
mov rdx, qword [rbp - 0x20]
or r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], si
jne 0x140064e09
mov rcx, rdi
call fcn.1400030f0
mov ebx, esi
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140064e3b
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
sar rdx, 1
mov r8d, 2
call fcn.140002ec0
mov eax, ebx
mov rbx, qword [rsp + 0x88]
add rsp, 0x60
pop rdi
pop rsi
pop rbp
ret

Function at 0x140065968
Capabilities:
Terminate process

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov ecx, 1
mov dword [0x1400c20c0], eax
call fcn.140065c10
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400c20c0], 0
jne case.default.0x1400659be
mov ecx, 1
call fcn.140065c10
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
mov edx, 0xc0000409
add rsp, 0x20
pop rbx
jmp qword [sym.imp.KERNEL32.dll_TerminateProcess]
lodsd eax, dword [rsi]
int 0xaf
leave
jnp 0x140131093
ret
invalid
Function at 0x14000c020
Capabilities:
Encode data using base64

Disassembly:
push r15
push r14
push rsi
push rdi
push rbp
push rbx
test rcx, rcx
je 0x14000c16d
test r8, r8
je 0x14000c16d
mov byte [r8], 0
test edx, edx
je 0x14000c162
xor r11d, r11d
lea rax, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
xor r10d, r10d
xor r9d, r9d
nop word cs:[rax + rax]
mov ebx, r11d
lea r14, [rbx + 1]
cmp r14d, edx
jae 0x14000c090
mov r15, rbx
add r15, 2
movzx esi, byte [rcx + r14]
cmp r15d, edx
jae 0x14000c0a0
add r11d, 3
movzx edi, byte [rcx + r15]
jmp 0x14000c0ab
mov r9d, 2
xor edi, edi
xor esi, esi
mov r11d, r14d
jmp 0x14000c0ab
mov r9d, 1
xor edi, edi
mov r11d, r15d
movzx r14d, byte [rcx + rbx]
mov ebx, r14d
shr ebx, 2
mov ebp, esi
shr bpl, 4
shl r14b, 4
or r14b, bpl
and r14b, 0x3f
movzx ebp, byte [rbx + rax]
mov ebx, r10d
mov byte [r8 + rbx], bpl
movzx r14d, r14b
movzx ebp, byte [r14 + rax]
mov byte [r8 + rbx + 1], bpl
lea r14, [rbx + 2]
cmp r9d, 2
je 0x14000c120
mov ebp, edi
shr bpl, 6
shl sil, 2
or sil, bpl
and sil, 0x3f
cmp r9d, 1
je 0x14000c130
test r9d, r9d
jne 0x14000c14b
movzx edi, dil
and edi, 0x3f
movzx esi, sil
movzx esi, byte [rsi + rax]
mov byte [r8 + r14], sil
movzx esi, byte [rdi + rax]
jmp 0x14000c13f
mov byte [r8 + r14], 0x3d
jmp 0x14000c13c
movzx esi, sil
movzx esi, byte [rsi + rax]
mov byte [r8 + r14], sil
mov sil, 0x3d
add r10d, 4
mov byte [rbx + r8 + 3], sil
mov r14d, r10d
cmp r11d, edx
jae 0x14000c165
mov r10d, r14d
cmp r14d, 0xf8
jb 0x14000c060
jmp 0x14000c165
xor r14d, r14d
mov eax, r14d
mov byte [r8 + rax], 0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
pop r15
ret