joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400092e0
Capabilities:
Get common file path

Disassembly:
push rbx
sub rsp, 0x250
mov rax, qword [0x1400a8378]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rbx, rcx
mov qword [rsp + 0x28], rcx
xor eax, eax
mov dword [rsp + 0x20], eax
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], 7
mov word [rcx], ax
mov dword [rsp + 0x20], 1
xor edx, edx
mov r8d, 0x208
lea rcx, [rsp + 0x30]
call fcn.140055870
mov edx, 0x104
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14000936a
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x140009352
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14000b390
mov rax, rbx
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140036fa0
add rsp, 0x250
pop rbx
ret

Function at 0x140010d90
Capabilities:
Query or enumerate registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x10], rbp
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
push r14
sub rsp, 0x50
mov rbp, r9
mov rbx, r8
mov rdi, rdx
mov rsi, rcx
xor r14d, r14d
mov qword [r11 - 0x20], r14
lea rax, [r11 - 0x20]
mov qword [r11 - 0x38], rax
mov r9d, 0x20119
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140010e15
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140010e15
mov rdx, qword [rsp + 0x80]
mov rcx, rsi
call fcn.140002e30
jmp 0x140010ec9
mov dword [rsp + 0x34], r14d
mov dword [rsp + 0x30], 0x400
mov ecx, 0x800
call fcn.140036998
mov rdi, rax
mov qword [rsp + 0x40], rax
mov r8d, dword [rsp + 0x30]
add r8, r8
xor edx, edx
mov rcx, rax
call fcn.140055870
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x34]
xor r8d, r8d
mov rdx, rbp
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x140010e8e
mov rdx, qword [rsp + 0x80]
mov rcx, rsi
call fcn.140002e30
jmp 0x140010ebc
mov qword [rsi + 0x10], r14
mov qword [rsi + 0x18], 7
mov word [rsi], r14w
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], 0
jne 0x140010ea5
mov rdx, rdi
mov rcx, rsi
call fcn.14000b390
nop
test rdi, rdi
je 0x140010ec9
mov rcx, rdi
call fcn.140036990
mov rax, rsi
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret
Function at 0x140010ef0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x250
mov rax, qword [0x1400a8378]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov rax, qword gs:[0x58]
mov rbx, rcx
mov qword [rsp + 0x20], rcx
mov ecx, dword [0x1400ac6a8]
mov edx, 4
mov rax, qword [rax + rcx*8]
mov ecx, dword [rdx + rax]
cmp dword [0x1400abd40], ecx
jg 0x140011089
cmp qword [0x1400a8010], 0
lea rdi, [section..data]
jne 0x140010fcb
lea rdx, [rsp + 0x30]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x140010fcb
lea rax, [rsp + 0x30]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], 0
jne 0x140010f70
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.14000b390
mov rax, qword [0x1400a8010]
lea rcx, [rax - 1]
cmp rax, rcx
jbe 0x140011083
cmp qword [0x1400a8018], 8
mov rax, rdi
cmovae rax, qword [section..data]
cmp word [rax + rcx*2], 0x5c
je 0x140010fcb
mov r8d, 1
lea rdx, [0x14007dd14]
mov rcx, rdi
call fcn.14000b0b0
xor eax, eax
mov qword [rsp + 0x268], rbp
mov qword [rbx + 0x10], rax
mov qword [rbx + 0x18], rax
cmp qword [0x1400a8018], 8
mov rbp, qword [0x1400a8010]
cmovae rdi, qword [section..data]
mov qword [rsp + 0x270], rsi
cmp rbp, 8
jae 0x14001100d
movups xmm0, xmmword [rdi]
lea esi, [rax + 7]
movups xmmword [rbx], xmm0
jmp 0x140011047
movabs rax, 0x7ffffffffffffffe
mov rsi, rbp
or rsi, 7
mov rcx, rbx
cmp rsi, rax
cmova rsi, rax
lea rdx, [rsi + 1]
call fcn.14000afb0
lea r8, [rbp*2 + 2]
mov qword [rbx], rax
mov rdx, rdi
mov rcx, rax
call fcn.140055460
mov qword [rbx + 0x10], rbp
mov rax, rbx
mov qword [rbx + 0x18], rsi
mov rsi, qword [rsp + 0x270]
mov rbp, qword [rsp + 0x268]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140036fa0
mov rbx, qword [rsp + 0x278]
add rsp, 0x250
pop rdi
ret
call fcn.14000af90
int3
lea rcx, [0x1400abd40]
call fcn.140036d78
cmp dword [0x1400abd40], 0xffffffff
jne 0x140010f3e
lea rcx, [0x14007b910]
call fcn.140036bd8
lea rcx, [0x1400abd40]
call fcn.140036d18
jmp 0x140010f3e
Function at 0x1400180d0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push r14
sub rsp, 0x20
mov r14, r8
mov rsi, rdx
mov rbx, rcx
test r8, r8
jg 0x140018101
xor eax, eax
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp qword [rcx + 0x68], 0
mov qword [rsp + 0x30], rbp
mov qword [rsp + 0x38], rdi
je 0x14001817b
mov rdi, r14
mov rcx, rbx
call fcn.14000a0d0
test rax, rax
jle 0x140018153
mov rdx, qword [rbx + 0x38]
cmp rdi, rax
mov rbp, rdi
mov rcx, rsi
cmovge rbp, rax
mov r8, rbp
mov rdx, qword [rdx]
call fcn.140055460
mov rax, qword [rbx + 0x50]
sub rdi, rbp
sub dword [rax], ebp
mov rcx, qword [rbx + 0x38]
movsxd rax, ebp
add qword [rcx], rax
jmp 0x14001816b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x38]
cmp eax, 0xffffffff
je 0x140018173
mov byte [rsi], al
dec rdi
mov ebp, 1
add rsi, rbp
test rdi, rdi
jg 0x140018115
sub r14, rdi
jmp 0x140018268
mov rax, qword [rcx + 0x38]
mov rbp, r14
mov rdx, qword [rax]
test rdx, rdx
je 0x140018192
mov rax, qword [rcx + 0x50]
mov ecx, dword [rax]
jmp 0x140018194
xor ecx, ecx
movsxd rax, ecx
test ecx, ecx
je 0x1400181c9
cmp rax, r14
mov rdi, r14
mov rcx, rsi
cmovb rdi, rax
mov r8, rdi
call fcn.140055460
mov rax, qword [rbx + 0x50]
sub rbp, rdi
add rsi, rdi
mov r8, rbp
sub dword [rax], edi
mov rcx, qword [rbx + 0x38]
movsxd rax, edi
add qword [rcx], rax
cmp qword [rbx + 0x80], 0
je 0x140018265
mov r9, qword [rbx + 0x18]
lea rax, [rbx + 0x70]
cmp qword [r9], rax
jne 0x140018204
mov rcx, qword [rbx + 0x88]
mov rdx, qword [rbx + 0x90]
mov qword [r9], rcx
sub edx, ecx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
mov rdi, r8
cmp r8, 0xfff
jbe 0x140018240
mov r9, qword [rbx + 0x80]
mov edx, 1
mov r8d, 0xfff
mov rcx, rsi
call fcn.14005f3d8
sub rbp, rax
add rsi, rax
mov rdi, rbp
cmp rax, 0xfff
jne 0x140018286
cmp rbp, rax
ja 0x140018210
mov r8, rdi
test rdi, rdi
je 0x140018265
mov r9, qword [rbx + 0x80]
mov r8, rbp
mov edx, 1
mov rcx, rsi
call fcn.14005f3d8
mov r8, rdi
sub r8, rax
sub r14, r8
mov rbp, qword [rsp + 0x30]
mov rax, r14
mov rdi, qword [rsp + 0x38]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
sub r14, rbp
jmp 0x140018268
Function at 0x140018340
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
cmp qword [rcx + 0x68], 0
mov r14, r8
mov rbp, rdx
mov rdi, rcx
je 0x1400183da
mov rbx, r8
test r8, r8
jle 0x1400183d2
mov rcx, rdi
call fcn.14000add0
test rax, rax
jle 0x1400183b0
mov rcx, qword [rdi + 0x40]
cmp rbx, rax
mov rsi, rbx
mov rdx, rbp
cmovge rsi, rax
mov r8, rsi
mov rcx, qword [rcx]
call fcn.140055460
mov rax, qword [rdi + 0x58]
sub rbx, rsi
sub dword [rax], esi
mov rcx, qword [rdi + 0x40]
movsxd rax, esi
add qword [rcx], rax
jmp 0x1400183ca
mov rax, qword [rdi]
mov rcx, rdi
movzx edx, byte [rbp]
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400183d2
dec rbx
mov esi, 1
add rbp, rsi
test rbx, rbx
jg 0x140018372
sub r14, rbx
mov rax, r14
jmp 0x140018451
mov rax, qword [rcx + 0x40]
mov rsi, r14
mov r9, qword [rax]
test r9, r9
je 0x1400183f1
mov rax, qword [rcx + 0x58]
mov ecx, dword [rax]
jmp 0x1400183f3
xor ecx, ecx
movsxd rbx, ecx
test r14, r14
jle 0x14001844b
test ecx, ecx
jle 0x140018427
cmp r14, rbx
mov rcx, r9
cmovl rbx, r14
mov r8, rbx
call fcn.140055460
mov rax, qword [rdi + 0x58]
add rbp, rbx
sub r14, rbx
sub dword [rax], ebx
mov rcx, qword [rdi + 0x40]
movsxd rax, ebx
add qword [rcx], rax
test r14, r14
jle 0x14001844b
mov r9, qword [rdi + 0x80]
test r9, r9
je 0x14001844b
mov r8, r14
mov edx, 1
mov rcx, rbp
call fcn.14005f940
sub r14, rax
sub rsi, r14
mov rax, rsi
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
Function at 0x14001f980
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
push rdi
push r14
sub rsp, 0x50
mov rbx, r9
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
xor r14d, r14d
mov qword [rsp + 0x38], r14
mov rdx, r8
cmp qword [r8 + 0x18], 8
jb 0x14001f9b3
mov rdx, qword [r8]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20119
xor r8d, r8d
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x14001fa0f
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rsi + 0x18], 8
jb 0x14001f9e8
mov rsi, qword [rsi]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0x20219
xor r8d, r8d
mov rdx, rsi
mov rcx, rbp
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001fb15
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x80], r14d
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14001fa29
mov rdx, qword [rbx]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001fb15
cmp dword [rsp + 0x30], 1
jne 0x14001fb15
mov eax, dword [rsp + 0x80]
test eax, eax
je 0x14001fb15
mov ecx, eax
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140036998
mov rsi, rax
mov qword [rsp + 0x40], rax
mov r8d, dword [rsp + 0x80]
add r8, r8
xor edx, edx
mov rcx, rax
call fcn.140055870
cmp qword [rbx + 0x18], 8
jb 0x14001fab4
mov rbx, qword [rbx]
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x30]
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x14001fb08
mov rdx, rsi
mov rcx, rdi
call fcn.140002ed0
nop
test rsi, rsi
je 0x14001fb30
mov rcx, rsi
call fcn.140036990
jmp 0x14001fb30
test rsi, rsi
je 0x14001fb15
mov rcx, rsi
call fcn.140036990
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdx, qword [rsp + 0x90]
mov rcx, rdi
call fcn.140002e30
mov rax, rdi
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
add rsp, 0x50
pop r14
pop rdi
pop rsi
ret
Function at 0x140020080
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 8
jb 0x14002008e
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400200a4
test al, 0x10
je 0x1400200a4
mov al, 1
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret

Function at 0x1400200b0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x28
cmp qword [rcx + 0x18], 8
jb 0x1400200be
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400200d4
test al, 0x10
jne 0x1400200d4
mov al, 1
add rsp, 0x28
ret
xor al, al
add rsp, 0x28
ret

Function at 0x140020260
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x1400a8378]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
cmp qword [rcx + 0x10], 0
je 0x1400203d3
cmp qword [rcx + 0x18], 8
jb 0x14002028d
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400202a0
test al, 0x10
jne 0x140020380
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400202ad
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x140020380
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400202c9
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140020380
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x140020380
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140002e30
nop
lea rcx, [rsp + 0x20]
call fcn.14001f7e0
cmp qword [rsp + 0x30], 0
je 0x140020395
lea rcx, [rsp + 0x20]
call fcn.140020260
test al, al
je 0x140020395
cmp qword [rbx + 0x18], 8
jb 0x140020326
mov rbx, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140020342
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140020395
mov rax, qword [rsp + 0x38]
cmp rax, 8
jb 0x140020380
lea rdx, [rax*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002037b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400203e8
call fcn.140036990
mov al, 1
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140036fa0
add rsp, 0x50
pop rbx
ret
mov rax, qword [rsp + 0x38]
cmp rax, 8
jb 0x1400203d3
lea rdx, [rax*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400203ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400203e8
call fcn.140036990
xor al, al
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.140036fa0
add rsp, 0x50
pop rbx
ret
call fcn.140059e3c
int3
Function at 0x1400280b0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1400a8378]
xor rax, rsp
mov qword [rbp - 0x10], rax
xor edi, edi
mov qword [rbp - 0x18], 7
mov rsi, r8
mov qword [rbp - 0x20], rdi
mov word [rbp - 0x30], di
mov r14, r9
mov rbx, rcx
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rdx + r8*2], di
jne 0x1400280f0
lea rcx, [rbp - 0x30]
call fcn.14000b390
cmp qword [rbp - 0x18], 8
lea rax, [rbp - 0x40]
lea rdx, [rbp - 0x30]
mov qword [rbp - 0x40], rdi
cmovae rdx, qword [rbp - 0x30]
mov r9d, 0x20219
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140028177
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp qword [rbp - 0x18], 8
lea rax, [rbp - 0x40]
lea rdx, [rbp - 0x30]
mov qword [rsp + 0x20], rax
cmovae rdx, qword [rbp - 0x30]
mov r9d, 0x20119
xor r8d, r8d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x140028177
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1400281be
mov eax, dword [rbp + 0x50]
lea r9, [rbp - 0x38]
mov rcx, qword [rbp - 0x40]
add eax, eax
mov dword [rbp - 0x34], eax
xor r8d, r8d
lea rax, [rbp - 0x34]
mov dword [rbp - 0x38], edi
mov qword [rsp + 0x28], rax
mov rdx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x40]
mov ebx, eax
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
jne 0x1400281be
mov eax, dword [rbp - 0x38]
dec eax
cmp eax, 1
jbe 0x1400281c3
mov edi, 0x80004005
mov rdx, qword [rbp - 0x18]
cmp rdx, 8
jb 0x1400281ff
mov rcx, qword [rbp - 0x30]
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400281fa
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140028218
call fcn.140036990
mov eax, edi
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140036fa0
add rsp, 0x70
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.140059e3c
int3
Function at 0x140029b40
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
push r15
mov esi, r8d
mov r14, rdx
mov rbx, rcx
test rcx, rcx
je 0x140029d77
test r8d, r8d
je 0x140029d77
test sil, 3
jne 0x140029d77
xor r15d, r15d
lea eax, [r8 - 1]
cmp byte [rax + rcx], 0x3d
mov r11d, r15d
jne 0x140029baa
nop dword [rax]
inc r11d
cmp r11d, 2
ja 0x140029d77
mov eax, esi
sub eax, r11d
dec eax
cmp byte [rax + rcx], 0x3d
je 0x140029b90
shr esi, 2
mov edi, r15d
mov ebp, r15d
test esi, esi
je 0x140029d70
nop dword [rax + rax]
lea edx, [rbp*4]
movzx r9d, byte [rdx + rbx]
lea eax, [r9 - 0x41]
cmp al, 0x19
ja 0x140029bda
sub r9b, 0x41
jmp 0x140029c1d
lea eax, [r9 - 0x61]
cmp al, 0x19
ja 0x140029be8
sub r9b, 0x47
jmp 0x140029c1d
lea eax, [r9 - 0x30]
cmp al, 9
ja 0x140029bf6
add r9b, 4
jmp 0x140029c1d
cmp r9b, 0x2b
jne 0x140029c01
mov r9b, 0x3e
jmp 0x140029c1d
cmp r9b, 0x2f
jne 0x140029c0c
mov r9b, 0x3f
jmp 0x140029c1d
cmp r9b, 0x3d
mov eax, 0xff
cmove eax, r15d
movzx r9d, al
lea eax, [rdx + 1]
movzx r10d, byte [rax + rbx]
lea eax, [r10 - 0x41]
cmp al, 0x19
ja 0x140029c33
sub r10b, 0x41
jmp 0x140029c76
lea eax, [r10 - 0x61]
cmp al, 0x19
ja 0x140029c41
sub r10b, 0x47
jmp 0x140029c76
lea eax, [r10 - 0x30]
cmp al, 9
ja 0x140029c4f
add r10b, 4
jmp 0x140029c76
cmp r10b, 0x2b
jne 0x140029c5a
mov r10b, 0x3e
jmp 0x140029c76
cmp r10b, 0x2f
jne 0x140029c65
mov r10b, 0x3f
jmp 0x140029c76
cmp r10b, 0x3d
mov eax, 0xff
cmove eax, r15d
movzx r10d, al
lea eax, [rdx + 2]
movzx eax, byte [rax + rbx]
lea ecx, [rax - 0x41]
cmp cl, 0x19
ja 0x140029c89
sub al, 0x41
jmp 0x140029cbf
lea ecx, [rax - 0x61]
cmp cl, 0x19
ja 0x140029c95
sub al, 0x47
jmp 0x140029cbf
lea ecx, [rax - 0x30]
cmp cl, 9
ja 0x140029ca1
add al, 4
jmp 0x140029cbf
cmp al, 0x2b
jne 0x140029ca9
mov al, 0x3e
jmp 0x140029cbf
cmp al, 0x2f
jne 0x140029cb1
mov al, 0x3f
jmp 0x140029cbf
cmp al, 0x3d
mov ecx, 0xff
cmove ecx, r15d
movzx eax, cl
lea ecx, [rdx + 3]
movzx r8d, byte [rcx + rbx]
lea ecx, [r8 - 0x41]
cmp cl, 0x19
ja 0x140029cd6
sub r8b, 0x41
jmp 0x140029d1b
lea ecx, [r8 - 0x61]
cmp cl, 0x19
ja 0x140029ce5
sub r8b, 0x47
jmp 0x140029d1b
lea ecx, [r8 - 0x30]
cmp cl, 9
ja 0x140029cf4
add r8b, 4
jmp 0x140029d1b
cmp r8b, 0x2b
jne 0x140029cff
mov r8b, 0x3e
jmp 0x140029d1b
cmp r8b, 0x2f
jne 0x140029d0a
mov r8b, 0x3f
jmp 0x140029d1b
cmp r8b, 0x3d
mov ecx, 0xff
cmove ecx, r15d
movzx r8d, cl
cmp r9b, 0xff
je 0x140029d77
cmp r10b, 0xff
je 0x140029d77
cmp al, 0xff
je 0x140029d77
cmp r8b, 0xff
je 0x140029d77
mov ecx, edi
movzx edx, r10b
shr dl, 4
inc edi
shl r9b, 2
inc ebp
or dl, r9b
shl r10b, 4
mov byte [rcx + r14], dl
movzx edx, al
shr dl, 2
or dl, r10b
shl al, 6
mov byte [rdi + r14], dl
or al, r8b
inc edi
mov byte [rdi + r14], al
inc edi
cmp ebp, esi
jb 0x140029bc0
sub edi, r11d
mov eax, edi
jmp 0x140029d79
xor eax, eax
mov rbx, qword [rsp + 0x18]
mov rbp, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
pop r15
pop r14
ret
Function at 0x14002a2b0
Capabilities:
Encode data using base64

Disassembly:
push rbp
push r14
sub rsp, 8
mov r14d, r8d
mov r11, rdx
mov rbp, rcx
test rcx, rcx
je 0x14002a493
test r8d, r8d
je 0x14002a493
mov qword [rsp + 0x20], rbx
mov eax, 0xaaaaaaab
mul r14d
mov qword [rsp + 0x28], rsi
mov ecx, 0
mov qword [rsp + 0x30], rdi
mov ebx, ecx
mov edi, edx
mov esi, r8d
shr edi, 1
lea eax, [rdi + rdi*2]
sub esi, eax
setne bl
add ebx, edi
shl ebx, 2
test r11, r11
jne 0x14002a323
mov eax, ebx
mov rsi, qword [rsp + 0x28]
mov rbx, qword [rsp + 0x20]
mov rdi, qword [rsp + 0x30]
add rsp, 8
pop r14
pop rbp
ret
mov qword [rsp + 0x38], r12
lea r12, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
mov qword [rsp], r15
mov r15d, ecx
test edi, edi
je 0x14002a3cd
nop
lea r9d, [r15 + r15*2]
mov edx, ecx
movzx eax, byte [r9 + rbp]
inc ecx
shr rax, 2
inc r15d
movzx eax, byte [rax + r12]
mov byte [rdx + r11], al
lea eax, [r9 + 1]
movzx r8d, byte [r9 + rbp]
mov r10d, eax
and r8d, 3
movzx eax, byte [rax + rbp]
shr rax, 4
shl r8, 4
or r8, rax
movzx eax, byte [r8 + r12]
mov byte [rcx + r11], al
inc ecx
movzx r8d, byte [r10 + rbp]
lea eax, [r9 + 2]
mov r9d, eax
and r8d, 0xf
movzx eax, byte [rax + rbp]
shr rax, 6
shl r8, 2
or r8, rax
movzx eax, byte [r8 + r12]
mov byte [rcx + r11], al
inc ecx
movzx eax, byte [r9 + rbp]
and eax, 0x3f
movzx eax, byte [rax + r12]
mov byte [rcx + r11], al
inc ecx
cmp r15d, edi
jb 0x14002a340
mov r15, qword [rsp]
sub esi, 1
je 0x14002a449
cmp esi, 1
jne 0x14002a487
mov edx, ecx
lea eax, [r14 - 2]
mov r8d, eax
inc ecx
movzx eax, byte [rax + rbp]
shr rax, 2
movzx eax, byte [rax + r12]
mov byte [rdx + r11], al
lea eax, [r14 - 1]
movzx r8d, byte [r8 + rbp]
mov r9d, eax
and r8d, 3
movzx eax, byte [rax + rbp]
shr rax, 4
shl r8, 4
or r8, rax
movzx eax, byte [r8 + r12]
mov byte [rcx + r11], al
inc ecx
movzx eax, byte [r9 + rbp]
and eax, 0xf
movzx eax, byte [r12 + rax*4]
mov r12, qword [rsp + 0x38]
mov byte [rcx + r11], al
inc ecx
mov eax, ebx
mov byte [rcx + r11], 0x3d
jmp 0x14002a30c
mov edx, ecx
lea eax, [r14 - 1]
mov r8d, eax
inc ecx
movzx eax, byte [rax + rbp]
shr rax, 2
movzx eax, byte [rax + r12]
mov byte [rdx + r11], al
movzx eax, byte [r8 + rbp]
and eax, 3
add rax, rax
movzx eax, byte [r12 + rax*8]
mov byte [rcx + r11], al
inc ecx
mov byte [rcx + r11], 0x3d
inc ecx
mov byte [rcx + r11], 0x3d
mov r12, qword [rsp + 0x38]
mov eax, ebx
jmp 0x14002a30c
xor eax, eax
add rsp, 8
pop r14
pop rbp
ret
Function at 0x14002a7b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x50
mov rax, qword [0x1400a8378]
xor rax, rsp
mov qword [rbp - 8], rax
mov ecx, dword [0x1400ac6a8]
mov rax, qword gs:[0x58]
mov edx, 4
mov rcx, qword [rax + rcx*8]
mov eax, dword [rdx + rcx]
cmp dword [0x1400abe40], eax
jg 0x14002a877
lea rax, [0x1400abe20]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140036fa0
mov rbx, qword [rsp + 0x60]
add rsp, 0x50
pop rbp
ret
inc r8
cmp byte [rax + r8], 0
je 0x14002a846
jmp 0x14002a810
mov qword [0x1400abe30], 0
mov qword [0x1400abe38], 0xf
mov byte [0x1400abe20], 0
lea rax, [rbp - 0x30]
mov r8, 0xffffffffffffffff
jmp 0x14002a810
lea rdx, [rbp - 0x30]
lea rbx, [0x1400abe20]
mov rcx, rbx
call fcn.14000b230
lea rcx, [0x14007bab0]
call fcn.140036bd8
nop
lea rcx, [0x1400abe40]
call fcn.140036d18
mov rax, rbx
jmp 0x14002a7f9
lea rcx, [0x1400abe40]
call fcn.140036d78
cmp dword [0x1400abe40], 0xffffffff
jne 0x14002a7f2
mov byte [rbp - 0x30], 0x69
mov byte [rbp - 0x2f], 0x6f
mov byte [rbp - 0x2e], 0x4e
mov byte [rbp - 0x2d], 0x69
mov byte [rbp - 0x2c], 0x2c
mov byte [rbp - 0x2b], 0x11
mov byte [rbp - 0x2a], 0x25
mov byte [rbp - 0x29], 0x4e
mov byte [rbp - 0x28], 0x7d
mov byte [rbp - 0x27], 0x2c
mov byte [rbp - 0x26], 0x11
mov byte [rbp - 0x25], 0x2c
mov byte [rbp - 0x24], 0x54
mov byte [rbp - 0x23], 0x26
mov byte [rbp - 0x22], 0x18
mov byte [rbp - 0x21], 0x68
mov byte [rbp - 0x20], 0x3a
mov byte [rbp - 0x1f], 0x18
mov byte [rbp - 0x1e], 4
mov byte [rbp - 0x1d], 0x3a
mov byte [rbp - 0x1c], 0x25
mov byte [rbp - 0x1b], 0x4e
mov byte [rbp - 0x1a], 0x6f
mov byte [rbp - 0x19], 0x6f
mov byte [rbp - 0x18], 0x12
mov byte [rbp - 0x17], 4
mov byte [rbp - 0x16], 0x3a
mov byte [rbp - 0x15], 0x18
mov byte [rbp - 0x14], 0x7c
mov byte [rbp - 0x13], 4
mov byte [rbp - 0x12], 0x6f
mov byte [rbp - 0x11], 0x25
mov byte [rbp - 0x10], 0
movzx eax, byte [rbp - 0x30]
mov byte [rbp - 0xf], 0
movzx eax, byte [rbp - 0xf]
test al, al
jne 0x14002a81c
mov byte [rbp - 0xf], 1
xor r9d, r9d
nop
movsx ecx, byte [rbp + r9 - 0x30]
sub ecx, 0x6c
imul r8d, ecx, 0x13
mov eax, 0x81020409
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
add r8d, 0x7f
mov eax, 0x81020409
imul r8d
add edx, r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul eax, edx, 0x7f
sub r8d, eax
mov byte [rbp + r9 - 0x30], r8b
inc r9
cmp r9, 0x20
jb 0x14002a930
jmp 0x14002a81c