joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140014430
Capabilities:
Create directory

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rdi, rcx
mov dword [rsp + 0x50], 0
mov rax, qword [0x14005a978]
cmp dword [rax - 0x10], 0
jne 0x14001450c
lea rcx, [rsp + 0x50]
call fcn.140014260
nop
mov rax, qword [rsp + 0x50]
or ebx, 0xffffffff
cmp dword [rax - 0x10], 0
je 0x1400144ef
lea rcx, [rsp + 0x58]
call fcn.140014060
nop
mov rax, qword [rax]
mov qword [rsp + 0x20], rax
lea r9, [0x140044fa0]
mov r8, qword [rsp + 0x50]
lea rdx, str._s_s_s
lea rcx, [0x14005a978]
call fcn.14000c330
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400144cb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [0x14005a978]
call qword [0x140041530]
test eax, eax
jne 0x1400144ef
xor r8d, r8d
mov rdx, qword [0x14005a978]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x14001450c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [0x14005a978]
mov rcx, rdi
call fcn.14000a610
mov rax, rdi
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140014530
Capabilities:
Create directory
Get common file path
Get startup folder

Disassembly:
push rbx
sub rsp, 0x260
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov rax, qword [0x140054100]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rbx, rcx
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x20], 0
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov dword [rsp + 0x20], 1
mov r9d, 1
lea r8d, [r9 + 0x22]
lea rdx, [rsp + 0x40]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1400145d5
lea r9, [0x140057980]
lea r8, [rsp + 0x40]
lea rdx, str._s_s
mov rcx, rbx
call fcn.14000c330
mov rcx, qword [rbx]
call qword [0x140041530]
test eax, eax
jne 0x1400145d5
xor r8d, r8d
mov rdx, qword [rbx]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov rax, rbx
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140026aa0
add rsp, 0x260
pop rbx
ret
Function at 0x140014600
Capabilities:
Create directory

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x60], rbx
mov rdi, rcx
mov dword [rsp + 0x50], 0
mov rax, qword [0x14005aa10]
cmp dword [rax - 0x10], 0
jne 0x1400146ec
lea rcx, [rsp + 0x50]
call fcn.140014530
nop
mov rax, qword [rsp + 0x50]
or ebx, 0xffffffff
cmp dword [rax - 0x10], 0
je 0x1400146cf
lea rcx, [rsp + 0x58]
call fcn.140014060
nop
mov rax, qword [rax]
mov qword [rsp + 0x28], rax
lea rax, [0x140044f70]
mov qword [rsp + 0x20], rax
lea r9, [0x140044fa0]
mov r8, qword [rsp + 0x50]
lea rdx, str._s_s_s_s
lea rcx, [0x14005aa10]
call fcn.14000c330
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400146ab
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [0x14005aa10]
call qword [0x140041530]
test eax, eax
jne 0x1400146cf
xor r8d, r8d
mov rdx, qword [0x14005aa10]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
dec ebx
test ebx, ebx
jg 0x1400146ec
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [0x14005aa10]
mov rcx, rdi
call fcn.14000a610
mov rax, rdi
mov rbx, qword [rsp + 0x60]
add rsp, 0x40
pop rdi
ret

Function at 0x140014710
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rsi
movzx esi, r8b
mov rbx, rdx
mov rdi, rcx
mov dword [rsp + 0x58], 0
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rdi], rax
mov dword [rsp + 0x58], 1
lea rcx, [rsp + 0x20]
call fcn.140014330
nop
mov r9, rbx
mov r8, qword [rax]
lea rdx, str._swidgets_s_
mov rcx, rdi
call fcn.14000c330
nop
mov rdx, qword [rsp + 0x20]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x1400147a0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
test sil, sil
je 0x1400147c0
mov rcx, qword [rdi]
call qword [0x140041530]
test eax, eax
jne 0x1400147c0
xor r8d, r8d
mov rdx, qword [rdi]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140014870
Capabilities:
Create directory

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov rdi, rcx
mov rcx, qword [rcx]
call qword [0x140041530]
test eax, eax
je 0x140014898
mov al, 1
jmp 0x1400149d8
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov edx, 0x5c
mov rcx, qword [rdi]
call fcn.14002888c
test rax, rax
je 0x140014968
sub rax, qword [rdi]
sar rax, 1
cmp eax, 0xffffffff
je 0x140014968
mov r8d, eax
lea rdx, [rsp + 0x58]
mov rcx, rdi
call fcn.14000fd10
nop
mov rcx, qword [rax]
sub rcx, 0x18
call fcn.14000bac0
lea rbx, [rax + 0x18]
mov qword [rsp + 0x60], rbx
or rsi, 0xffffffffffffffff
test rbx, rbx
jne 0x14001490a
xor ecx, ecx
jmp 0x14001491b
xor eax, eax
mov rcx, rsi
mov rdi, rbx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.14000b480
nop
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140014947
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
dec eax
test eax, eax
jg 0x140014996
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x140014996
mov rdx, qword [rdi]
or rsi, 0xffffffffffffffff
test rdx, rdx
jne 0x140014978
xor ecx, ecx
jmp 0x140014989
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
dec rcx
mov r8d, ecx
lea rcx, [rsp + 0x50]
call fcn.14000b480
xor bl, bl
xor r8d, r8d
mov rdi, qword [rsp + 0x50]
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
test eax, eax
je 0x1400149bb
cmp eax, 0xb7
je 0x1400149bb
cmp eax, 0x50
jne 0x1400149bd
mov bl, 1
lea rdx, [rdi - 0x18]
lock xadd dword [rdx + 0x10], esi
dec esi
test esi, esi
jg 0x1400149d5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
movzx eax, bl
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x140015150
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x270
mov rax, qword [0x140054100]
xor rax, rsp
mov qword [rsp + 0x260], rax
lea rax, [rsp + 0x48]
xor esi, esi
mov r9d, 0x20019
xor r8d, r8d
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x48], rsi
mov dword [rsp + 0x40], esi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140015256
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x14001523f
nop word [rax + rax]
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x60]
call fcn.140015150
test eax, eax
jne 0x140015256
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
lea r8, [rsp + 0x60]
xor edx, edx
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x40], 0x100
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1400151f0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, rdi
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140026aa0
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x140016570
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rbx, rcx
mov rdx, rcx
lea rcx, [0x14005a9f0]
xor esi, esi
mov r8b, 1
mov dword [rsp + 0x48], esi
call fcn.14000dff0
mov rdi, rax
test rax, rax
je 0x1400165d4
lea rax, [rsp + 0x48]
lea r9d, [rsi + 4]
lea rdx, str.dailyPages
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.dailyPages
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call fcn.140015a80
lea rcx, [0x14005a9f0]
mov r8b, 1
mov rdx, rbx
mov dword [rsp + 0x48], esi
call fcn.14000dff0
mov rdi, rax
test rax, rax
je 0x14001663b
lea rax, [rsp + 0x48]
lea rdx, str.weeklyPages
mov r9d, 4
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.weeklyPages
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call fcn.140015a80
lea rcx, [0x14005a9f0]
mov r8b, 1
mov rdx, rbx
mov dword [rsp + 0x48], esi
call fcn.14000dff0
mov rdi, rax
test rax, rax
je 0x1400166a2
lea rax, [rsp + 0x48]
lea rdx, str.monthlyPages
mov r9d, 4
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.monthlyPages
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call fcn.140015a80
lea rcx, [0x14005a9f0]
mov r8b, 1
mov rdx, rbx
mov dword [rsp + 0x48], esi
call fcn.14000dff0
mov rdi, rax
test rax, rax
je 0x140016709
lea rax, [rsp + 0x48]
lea rdx, str.yearlyPages
mov r9d, 4
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.yearlyPages
xor r9d, r9d
xor r8d, r8d
mov rcx, rbx
call fcn.140015a80
lea rcx, [0x14005a9f0]
mov r8b, 1
mov rdx, rbx
call fcn.14000dff0
lea rsi, [0x14004616c]
mov rdi, rax
test rax, rax
je 0x140016777
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea rdx, str.prevMonthPages
mov r9d, 1
lea eax, [rax + rax + 2]
xor r8d, r8d
mov rcx, rdi
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, str.prevMonthPages
xor r9d, r9d
mov r8, rsi
mov rcx, rbx
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp fcn.140015990
Function at 0x1400192c0
Capabilities:
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x30
mov rsi, rdx
mov rdi, rcx
mov rdx, rcx
mov rbx, r8
lea rcx, [0x14005a9f0]
mov r8b, 1
call fcn.14000dff0
mov rbp, rax
test rax, rax
je 0x14001932b
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov r9d, 1
xor r8d, r8d
lea eax, [rax + rax + 2]
mov rdx, rsi
mov rcx, rbp
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor r9d, r9d
mov r8, rbx
mov rdx, rsi
mov rcx, rdi
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
jmp fcn.140015990
Function at 0x140021800
Capabilities:
Create process on windows
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x30
cmp qword [rcx + 0x80], 0
mov ebx, edx
mov rdi, rcx
jne 0x140021826
xor eax, eax
mov rbx, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
add rcx, 0x50
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea rcx, str.Winamp_v1.x
xor edx, edx
or esi, 0xffffffff
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x14002185a
mov qword [rdi + 0x48], rax
jmp 0x1400218f6
mov rcx, rdi
call fcn.140022490
test eax, eax
je 0x1400218f6
xor esi, esi
test ebx, ebx
je 0x1400218f6
mov r8, qword [rdi + 0x98]
lea rax, [0x1400468b8]
lea rdx, str.open
xor r9d, r9d
xor ecx, ecx
mov dword [rsp + 0x28], 8
mov qword [rsp + 0x20], rax
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
lea rcx, str.Winamp_v1.x
xor edx, edx
call qword [sym.imp.USER32.dll_FindWindowW]
mov qword [rdi + 0x48], rax
test rax, rax
jne 0x1400218f6
lea rax, [rsp + 0x40]
lea r8, [0x140021770]
mov r9, rdi
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], esi
mov dword [rdi + 0x78], ebx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rcx, rax
or edx, 0xffffffff
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x48]
call qword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x140021931
mov rcx, qword [rdi + 0x48]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x400
mov esi, 1
call qword [sym.imp.USER32.dll_SendMessageW]
cmp eax, dword [rdi + 0xa0]
jae 0x140021931
mov qword [rdi + 0x48], 0
or esi, 0xffffffff
lea rcx, [rdi + 0x50]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rbp, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x58]
mov eax, esi
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x140022490
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
sub rsp, 0x260
mov rax, qword [0x140054100]
xor rax, rsp
mov qword [rsp + 0x250], rax
lea rbx, [rcx + 0x98]
mov rax, qword [rbx]
cmp dword [rax - 0x10], 0
jne 0x140022584
xor eax, eax
lea r8, [rsp + 0x38]
lea rdx, str.SoftwareWinamp
mov rcx, 0xffffffff80000001
mov word [rsp + 0x40], ax
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x140022522
mov rcx, qword [rsp + 0x38]
lea rax, [rsp + 0x30]
lea rdx, [0x140045804]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
xor r9d, r9d
xor r8d, r8d
mov dword [rsp + 0x30], 0x104
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
test eax, eax
je 0x140022584
lea rdx, str.winamp.exe
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
lea rcx, [rsp + 0x40]
call qword [0x140041530]
test eax, eax
je 0x140022584
or rcx, 0xffffffffffffffff
mov qword [rsp + 0x278], rdi
xor eax, eax
lea rdi, [rsp + 0x40]
lea rdx, [rsp + 0x40]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
mov rcx, rbx
call fcn.14000b480
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rbx]
call qword [0x140041530]
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140026aa0
add rsp, 0x260
pop rbx
ret
Function at 0x140023720
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x20], r9
push rdi
push r12
push r14
sub rsp, 0x30
xor eax, eax
mov r12, rcx
mov rdi, rdx
or rcx, 0xffffffffffffffff
mov r10, rdx
xor r14d, r14d
repne scasb al, byte [rdi]
mov r11, r8
not rcx
lea rax, [rcx - 1]
cdq
and edx, 7
add eax, edx
sar eax, 3
lea eax, [rax*8 + 9]
cmp dword [r9], eax
jge 0x14002376e
or eax, 0xffffffff
add rsp, 0x30
pop r14
pop r12
pop rdi
ret
movzx eax, byte [r10]
test al, al
je 0x140023935
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r15
inc r10
mov byte [rsp + 0xb], al
movzx eax, byte [r10]
test al, al
je 0x1400237ab
mov byte [rsp + 0xa], al
inc r10
jmp 0x1400237b0
mov byte [rsp + 0xa], 0
movzx eax, byte [r10]
test al, al
je 0x1400237c1
mov byte [rsp + 9], al
inc r10
jmp 0x1400237c6
mov byte [rsp + 9], 0
movzx eax, byte [r10]
test al, al
je 0x1400237d7
mov byte [rsp + 8], al
inc r10
jmp 0x1400237dc
mov byte [rsp + 8], 0
movzx eax, byte [r10]
test al, al
je 0x1400237ed
mov byte [rsp + 0x13], al
inc r10
jmp 0x1400237f2
mov byte [rsp + 0x13], 0
movzx eax, byte [r10]
test al, al
je 0x140023803
mov byte [rsp + 0x12], al
inc r10
jmp 0x140023808
mov byte [rsp + 0x12], 0
movzx eax, byte [r10]
test al, al
je 0x140023819
mov byte [rsp + 0x11], al
inc r10
jmp 0x14002381e
mov byte [rsp + 0x11], 0
movzx eax, byte [r10]
test al, al
je 0x14002382f
mov byte [rsp + 0x10], al
inc r10
jmp 0x140023834
mov byte [rsp + 0x10], 0
mov r9d, dword [rsp + 8]
mov r13d, dword [rsp + 0x10]
mov rbx, r12
mov esi, 0x10
mov r15d, 0xff
nop dword [rax]
xor r9d, dword [rbx]
add rbx, 4
mov ecx, r9d
movzx r8d, r9w
mov ebp, r9d
shr ecx, 8
and r8w, r15w
movzx edi, cx
shr ecx, 8
mov eax, ecx
and di, r15w
shr eax, 8
movzx edx, al
movzx eax, cx
mov r9d, dword [r12 + rdx*4 + 0x48]
movzx ecx, al
movzx eax, di
add r9d, dword [r12 + rcx*4 + 0x448]
xor r9d, dword [r12 + rax*4 + 0x848]
movzx eax, r8w
add r9d, dword [r12 + rax*4 + 0xc48]
xor r9d, r13d
dec rsi
mov r13d, ebp
jne 0x140023850
mov ecx, dword [r12 + 0x44]
mov edx, dword [r12 + 0x40]
add r11, 8
xor ecx, ebp
xor edx, r9d
add r14d, 8
mov dword [rsp], ecx
movzx eax, byte [rsp + 3]
mov dword [rsp + 4], edx
mov byte [r11 - 8], al
movzx eax, byte [rsp + 2]
mov byte [r11 - 7], al
movzx eax, byte [rsp + 1]
mov byte [r11 - 6], al
movzx eax, byte [rsp + 7]
mov byte [r11 - 5], cl
mov byte [r11 - 4], al
movzx eax, byte [rsp + 6]
mov byte [r11 - 3], al
movzx eax, byte [rsp + 5]
mov byte [r11 - 2], al
mov byte [r11 - 1], dl
movzx eax, byte [r10]
test al, al
jne 0x140023793
mov r9, qword [rsp + 0x68]
mov r15, qword [rsp + 0x20]
mov r13, qword [rsp + 0x28]
mov rsi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov byte [r11], 0
mov dword [r9], r14d
xor eax, eax
add rsp, 0x30
pop r14
pop r12
pop rdi
ret
Function at 0x140023950
Capabilities:
Encode data using base64

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x20
movsxd rdi, edx
mov rsi, rcx
lea eax, [rdi + rdi]
movsxd rcx, eax
call fcn.140027094
mov rbx, rax
test rax, rax
je 0x140023ae4
xor r9d, r9d
mov byte [rax], r9b
test edi, edi
jle 0x140023ae4
mov qword [rsp + 0x48], r12
mov qword [rsp + 0x50], r13
mov r10d, r9d
lea r13, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov qword [rsp + 0x40], rbp
mov r11d, 1
movzx edx, byte [r10 + rsi]
cmp r11d, edi
jl 0x1400239b1
xor r8b, r8b
jmp 0x1400239b7
movzx r8d, byte [r10 + rsi + 1]
lea eax, [r11 + 1]
cmp eax, edi
jl 0x1400239c4
xor bpl, bpl
jmp 0x1400239ca
movzx ebp, byte [r10 + rsi + 2]
movsxd rcx, r9d
inc r9d
cmp eax, edi
movzx eax, dl
movzx edx, dl
jge 0x140023a3d
shr rax, 2
and edx, 3
movzx r8d, r8b
movzx eax, byte [rax + r13]
shl rdx, 4
mov byte [rcx + rbx], al
mov ecx, r8d
and r8d, 0xf
shr ecx, 4
add rdx, rcx
movsxd rcx, r9d
inc r9d
movzx eax, byte [rdx + r13]
mov byte [rcx + rbx], al
movsxd rcx, r9d
inc r9d
movzx eax, bpl
shr rax, 6
lea rdx, [rax + r8*4]
movzx eax, byte [rdx + r13]
mov byte [rcx + rbx], al
movzx eax, bpl
movsxd rcx, r9d
and eax, 0x3f
movzx eax, byte [rax + r13]
mov byte [rcx + rbx], al
jmp 0x140023ab7
shr rax, 2
and edx, 3
movzx eax, byte [rax + r13]
shl rdx, 4
mov byte [rcx + rbx], al
cmp r11d, edi
jge 0x140023a8d
movzx r8d, r8b
mov ecx, r8d
and r8d, 0xf
shr ecx, 4
add rdx, rcx
movsxd rcx, r9d
inc r9d
movzx eax, byte [rdx + r13]
mov byte [rcx + rbx], al
movzx eax, bpl
movsxd rcx, r9d
shr rax, 6
lea rdx, [rax + r8*4]
movzx eax, byte [rdx + r13]
mov byte [rcx + rbx], al
jmp 0x140023aad
movsxd rcx, r9d
movzx eax, r8b
shr rax, 4
add rdx, rax
inc r9d
movzx eax, byte [rdx + r13]
mov byte [rcx + rbx], al
movsxd rax, r9d
mov byte [rax + rbx], 0x3d
inc r9d
movsxd rax, r9d
mov byte [rax + rbx], 0x3d
add r10, 3
inc r9d
add r11d, 3
cmp r10, rdi
jl 0x1400239a2
mov r13, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x40]
mov r12, qword [rsp + 0x48]
movsxd rax, r9d
mov byte [rax + rbx], 0
mov rax, rbx
add rsp, 0x20
pop rdi
pop rsi
pop rbx
ret
Function at 0x14002612c
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rcx, qword [0x1400583e0]
test rcx, rcx
jne 0x140026083
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 0x60]
mov rcx, qword [rbx + 0x40]
test rcx, rcx
jne 0x14002607c
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
xor edx, edx
lea r8d, [rdx + 0x10]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov rdi, rax
test rax, rax
je 0x1400260ae
and qword [rax], 0
and qword [rax + 8], 0
xor eax, eax
lock cmpxchg qword [rbx + 0x40], rdi
je 0x140026078
call qword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov r8, rdi
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, qword [rbx + 0x40]
mov qword [0x1400583e0], rcx
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
test rax, rax
jne 0x140026121
mov edx, 0x1000
lea r9d, [rax + 0x40]
xor ecx, ecx
mov r8d, edx
call qword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov rbx, rax
test rax, rax
jne 0x1400260d1
xor edx, edx
lea r9, [rsp + 0x30]
mov ecx, 0xc0000017
lea r8d, [rdx + 1]
mov qword [rsp + 0x30], 0x20
call qword [sym.imp.KERNEL32.dll_RaiseException]
mov eax, dword [rax]
mov rcx, qword [0x1400583e0]
call qword [sym.imp.KERNEL32.dll_InterlockedPopEntrySList]
mov rdi, rax
test rax, rax
je 0x1400260fe
xor edx, edx
mov r8d, 0x8000
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualFree]
mov rax, rdi
jmp 0x140026121
lea rdi, [rbx + 0xfe0]
mov rcx, qword [0x1400583e0]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_InterlockedPushEntrySList]
add rbx, 0x20
cmp rbx, rdi
jb 0x140026105
mov rax, rbx
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
jmp 0x140026008
Function at 0x14002aeab
Capabilities:
Terminate process

Disassembly:
cmp rcx, qword [0x140054100]
jne 0x140026aba
rol rcx, 0x10
test cx, 0xffff
jne 0x140026ab6
repz ret
ror rcx, 0x10
jmp 0x14002ae04
mov qword [rsp + 8], rcx
sub rsp, 0x88
lea rcx, [0x1400585e0]
call qword [sym.imp.KERNEL32.dll_RtlCaptureContext]
mov rax, qword [0x1400586d8]
mov qword [rsp + 0x58], rax
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x58]
call sub.KERNEL32.dll_RtlLookupFunctionEntry
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x14002ae89
mov qword [rsp + 0x38], 0
lea rax, [rsp + 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [0x1400585e0]
mov qword [rsp + 0x20], rax
mov r9, qword [rsp + 0x50]
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x60]
xor ecx, ecx
call sub.KERNEL32.dll_RtlVirtualUnwind
jmp 0x14002aeab
mov rax, qword [rsp + 0x88]
mov qword [0x1400586d8], rax
lea rax, [rsp + 0x88]
add rax, 8
mov qword [0x140058678], rax
mov rax, qword [0x1400586d8]
mov qword [0x140058550], rax
mov rax, qword [rsp + 0x90]
mov qword [0x140058660], rax
mov dword [0x140058540], 0xc0000409
mov dword [0x140058544], 1
mov rax, qword [0x140054100]
mov qword [rsp + 0x68], rax
mov rax, qword [0x140054108]
mov qword [rsp + 0x70], rax
call qword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
mov dword [0x1400585d8], eax
mov ecx, 1
call fcn.140034b4c
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x140041b00]
call qword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
cmp dword [0x1400585d8], 0
jne 0x14002af32
mov ecx, 1
call fcn.140034b4c
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov edx, 0xc0000409
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
add rsp, 0x88
ret

Function at 0x14002d640
Capabilities:
Terminate process

Disassembly:
xor r8d, r8d
xor edx, edx
jmp fcn.14002d4b0