joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14003f384
Capabilities:
Get system information on windows

Disassembly:
push rbp
lea rbp, [rsp - 0x90]
sub rsp, 0x190
mov rax, qword [0x1400b02e8]
xor rax, rsp
mov qword [rbp + 0x80], rax
cmp dword [0x1400b1418], 0
je 0x14003f3ba
mov eax, dword [0x1400b1414]
jmp 0x14003f441
xor edx, edx
lea rcx, [rsp + 0x64]
mov r8d, 0x118
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
nop dword [rax + rax]
xorps xmm0, xmm0
lea rcx, [rsp + 0x30]
movups xmmword [rsp + 0x30], xmm0
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x50], xmm0
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
nop dword [rax + rax]
movzx eax, word [rsp + 0x30]
mov r9b, byte [rbp + 0x7a]
mov edx, dword [rsp + 0x68]
mov ecx, dword [rsp + 0x64]
mov r8d, dword [rsp + 0x70]
mov word [rsp + 0x28], ax
movzx eax, word [rbp + 0x78]
mov word [rsp + 0x20], ax
call fcn.14003f460
mov dword [0x1400b1414], eax
mov dword [0x1400b1418], 1
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140066420
add rsp, 0x190
pop rbp
ret

Function at 0x1400404f8
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x50
mov r14, r8
mov rbx, rdx
mov rsi, rcx
and dword [rbp - 0x20], 0
and dword [rbp + 0x38], 0
cmp qword [rdx + 0x18], 8
jb 0x140040528
mov rdx, qword [rdx]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
and qword [rsp + 0x20], 0
lea r9, [rbp - 0x20]
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400405dd
mov ecx, dword [rbp + 0x38]
test ecx, ecx
je 0x1400405d8
mov eax, dword [rbp - 0x20]
dec eax
cmp eax, 1
ja 0x1400405d8
mov byte [rbp + 0x28], 0
lea rdx, [rcx + 2]
lea r8, [rbp + 0x28]
lea rcx, [rbp - 0x18]
call fcn.140040708
nop
cmp qword [rbx + 0x18], 8
jb 0x140040583
mov rbx, qword [rbx]
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
mov rdi, qword [rbp - 0x18]
mov qword [rsp + 0x20], rdi
lea r9, [rbp - 0x20]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x1400405c0
mov rdx, rdi
mov rcx, r14
call fcn.140003b34
nop
test rdi, rdi
je 0x1400405d4
mov rdx, qword [rbp - 8]
sub rdx, rdi
mov rcx, rdi
call fcn.140003d24
mov eax, ebx
jmp 0x1400405dd
mov eax, 0x65e
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x1400405fc
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x30
and dword [r9], 0
mov rsi, r9
cmp qword [rdx + 0x18], 8
mov rdi, r8
jb 0x14004061c
mov rdx, qword [rdx]
lea rax, [rsp + 0x50]
mov r9d, 0x20019
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
nop dword [rax + rax]
test eax, eax
jne 0x1400406bf
mov rbx, qword [rsp + 0x50]
lea ecx, [rax + 0x18]
call fcn.140066448
lea rcx, vtable.appv::utility::scope_guard_func_impl_class_std::_Binder_struct_std::_Unforced__long_int____cdecl___struct_HKEY______ptr64___struct_HKEY______ptr64____ptr64__.0
mov qword [rsp + 0x68], rax
mov qword [rax], rcx
mov rcx, qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rax + 8], rcx
mov qword [rax + 0x10], rbx
cmp qword [rdi + 0x18], 8
mov qword [rsp + 0x58], rax
mov dword [rsp + 0x70], 4
jb 0x140040688
mov rdi, qword [rdi]
mov rcx, qword [rsp + 0x50]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rsi
mov rdx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
lea rcx, [rsp + 0x58]
mov ebx, eax
call fcn.1400063c4
mov eax, ebx
add rsp, 0x30
pop rdi
pop rsi
pop rbx
ret
Function at 0x140040e8c
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x290
mov rax, qword [0x1400b02e8]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rdi, rcx
xor r14d, r14d
mov esi, r14d
mov dword [rsp + 0x20], r14d
call fcn.14003f384
and eax, 0xffff0000
lea r15d, [r14 + 7]
cmp eax, 0x800000
jl 0x140040f3d
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov word [rsp + 0x28], r14w
lea rdx, str.API_MS_WIN
lea rcx, [rsp + 0x28]
call fcn.140003b34
lea esi, [r14 + 1]
lea rdx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rdx, qword [rsp + 0x28]
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140040f25
mov rcx, qword [rdi]
mov r8, qword [rsp + 0x38]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__wcsnicmp]
nop dword [rax + rax]
test eax, eax
mov bl, sil
je 0x140040f40
mov bl, r14b
test sil, 1
je 0x140040f63
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x140040f63
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
call fcn.140003d24
test bl, bl
je 0x140040fde
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], r14
mov rcx, rdi
cmp qword [rdi + 0x18], 8
jb 0x140040f82
mov rcx, qword [rdi]
lea rdx, [rsp + 0x28]
call fcn.140040d10
mov rsi, rax
mov rbx, r14
test rax, rax
je 0x1400410a8
lea rdx, str.API_MS_WIN_CORE_PROCESSTHREADS_L1_1_0.DLL
mov rdx, qword [rbx + rdx]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__stricmp]
nop dword [rax + rax]
test eax, eax
je 0x140041096
add rbx, 8
cmp rbx, 0x30
jb 0x140040f9b
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x140040fde
mov rdx, qword [rsp + 0x38]
sub rdx, rcx
call fcn.140003d24
mov edx, 0x104
lea rcx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
nop dword [rax + rax]
dec eax
cmp eax, 0x103
ja 0x1400410c4
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov word [rsp + 0x28], r14w
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x28]
call fcn.140003b34
nop
mov r8, rdi
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x48]
call fcn.140041390
cmp qword [rax + 0x18], 8
jb 0x14004103d
mov rax, qword [rax]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
nop dword [rax + rax]
mov rbx, rax
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x14004106c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
call fcn.140003d24
mov qword [rsp + 0x58], r14
mov qword [rsp + 0x60], r15
mov word [rsp + 0x48], r14w
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400410bf
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
jmp 0x1400410ba
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
nop dword [rax + rax]
mov rbx, rax
mov rcx, qword [rsp + 0x28]
test rcx, rcx
je 0x1400410bf
mov rdx, qword [rsp + 0x38]
sub rdx, rcx
call fcn.140003d24
mov rax, rbx
jmp 0x1400410c6
xor eax, eax
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140066420
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x140041b20
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x40
mov rsi, rdx
mov rbx, rcx
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x140041b47
mov rcx, qword [rdx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
lea edi, [rax + 1]
xor ebp, ebp
mov word [rsp + 0x58], bp
mov edx, edi
lea r8, [rsp + 0x58]
lea rcx, [rsp + 0x20]
call fcn.14004079c
nop
cmp qword [rsi + 0x18], 8
jb 0x140041b7e
mov rsi, qword [rsi]
mov r8d, edi
mov rdi, qword [rsp + 0x20]
mov rdx, rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
mov qword [rbx + 0x10], rbp
mov qword [rbx + 0x18], 7
mov word [rbx], bp
test eax, eax
je 0x140041bc2
lea rdx, [0x140089d18]
test rdi, rdi
cmovne rdx, rdi
mov rcx, rbx
call fcn.140003b34
nop
test rdi, rdi
je 0x140041bdd
mov rdx, qword [rsp + 0x30]
sub rdx, rdi
sar rdx, 1
add rdx, rdx
mov rcx, rdi
call fcn.140003d24
mov rax, rbx
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
ret

Function at 0x14004589c
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x30
and dword [rsp + 0x58], 0
mov ebx, edx
lea rdx, [rcx + 0x40]
mov dword [rsp + 0x40], r9d
cmp qword [rdx + 0x18], 8
jb 0x1400458c0
mov rdx, qword [rdx]
mov rcx, qword [rcx + 0x60]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x58]
mov qword [rsp + 0x20], r8
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov edi, eax
test eax, eax
je 0x14004593b
mov edx, 0x5c
lea rcx, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x14004590f
inc rax
jmp 0x140045916
lea rax, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
mov rdx, rax
lea rcx, [0x1400b1690]
call fcn.140013934
shl rax, 0x34
movabs rcx, 0x342500000000
or rax, rdi
or rax, rcx
jmp 0x140045993
cmp ebx, dword [rsp + 0x58]
je 0x140045989
mov edx, 0x5c
lea rcx, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x140045963
inc rax
jmp 0x14004596a
lea rax, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
mov rdx, rax
lea rcx, [0x1400b1690]
call fcn.140013934
shl rax, 0x34
movabs rcx, 0x350500040002
jmp 0x140045936
movabs rax, 0x8000000000
mov rbx, qword [rsp + 0x48]
add rsp, 0x30
pop rdi
ret
Function at 0x140045ac8
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
push rdi
sub rsp, 0x30
and dword [rax + 0x20], 0
mov esi, edx
and dword [rax + 8], 0
lea rdx, [rcx + 0x40]
cmp qword [rdx + 0x18], 8
mov rdi, r8
jb 0x140045af3
mov rdx, qword [rdx]
mov rcx, qword [rcx + 0x60]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea r9, [rsp + 0x40]
and qword [rsp + 0x20], 0
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 0xea
je 0x140045b79
test eax, eax
je 0x140045b79
mov edx, 0x5c
lea rcx, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x140045b4a
inc rax
jmp 0x140045b51
lea rax, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
mov rdx, rax
lea rcx, [0x1400b1690]
call fcn.140013934
shl rax, 0x34
movabs rcx, 0x312500000000
or rax, rbx
or rax, rcx
jmp 0x140045c29
cmp esi, dword [rsp + 0x40]
je 0x140045bc7
mov edx, 0x5c
lea rcx, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x140045ba1
inc rax
jmp 0x140045ba8
lea rax, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
mov rdx, rax
lea rcx, [0x1400b1690]
call fcn.140013934
shl rax, 0x34
movabs rcx, 0x320500040002
jmp 0x140045b71
mov eax, dword [rsp + 0x58]
cmp eax, 0x4000
jb 0x140045c1d
mov edx, 0x5c
lea rcx, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_strrchr]
nop dword [rax + rax]
test rax, rax
je 0x140045bf4
inc rax
jmp 0x140045bfb
lea rax, str.admin_appman_appv_sharedclientconfigurationRegistryValue.h
mov rdx, rax
lea rcx, [0x1400b1690]
call fcn.140013934
shl rax, 0x34
movabs rcx, 0x330500040003
jmp 0x140045b71
mov dword [rdi], eax
movabs rax, 0x8000000000
mov rbx, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x30
pop rdi
ret
Function at 0x14006397c
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
push rsi
sub rsp, 0x50
mov rbp, rdx
mov rbx, rcx
mov rdx, rcx
mov rcx, rbp
call fcn.14003642c
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400639a9
mov rcx, qword [rbx]
mov qword [rsp + 0x20], 1
lea r9, [0x14008c22c]
xor r8d, r8d
mov rdx, qword [rbx + 0x10]
call fcn.140041e48
cmp rax, 0xffffffffffffffff
jne 0x1400639d2
mov al, 1
jmp 0x140063a5e
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400639df
mov rcx, qword [rbx]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
mov esi, eax
test eax, eax
je 0x140063a5e
mov rdx, rsi
lea rcx, [rsp + 0x30]
call fcn.14001c8dc
nop
cmp qword [rbx + 0x18], 8
jb 0x140063a0e
mov rbx, qword [rbx]
mov r8d, esi
mov rdx, qword [rsp + 0x30]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
nop dword [rax + rax]
cmp esi, eax
sete bl
jne 0x140063a3a
mov rdx, qword [rsp + 0x30]
mov rcx, rbp
call fcn.140003b34
nop
cmp qword [rsp + 0x30], 0
je 0x140063a5c
mov rdx, qword [rsp + 0x40]
sub rdx, qword [rsp + 0x30]
sar rdx, 1
add rdx, rdx
mov rcx, qword [rsp + 0x30]
call fcn.140003d24
mov al, bl
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x50
pop rsi
ret
Function at 0x140065f40
Capabilities:
Get hostname

Disassembly:
mov qword [rsp + 0x10], rbx
mov dword [rsp + 8], ecx
push rbp
push rsi
push rdi
mov rbp, rsp
sub rsp, 0x40
mov rbx, 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]
nop dword [rax + rax]
test eax, eax
je 0x140065f88
lea edi, [rsi + 0xd]
jmp 0x140066043
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
cmp eax, 0xea
jne 0x140066043
mov word [rbp + 0x20], si
mov edx, dword [rbp + 0x30]
mov r8, qword [rbp - 0x18]
mov rcx, r8
mov rdi, qword [rbp - 0x20]
sub rcx, rdi
sar rcx, 1
cmp rdx, rcx
jae 0x140065fc8
lea rax, [rdi + rdx*2]
mov qword [rbp - 0x18], rax
jmp 0x140066009
jbe 0x140066009
mov rax, qword [rbp - 0x10]
sub rax, rdi
sar rax, 1
cmp rdx, rax
jbe 0x140065fec
lea r8, [rbp + 0x20]
lea rcx, [rbp - 0x20]
call fcn.140040958
mov rdi, qword [rbp - 0x20]
jmp 0x140066009
sub rdx, rcx
je 0x140066005
movzx eax, si
mov rdi, r8
mov rcx, rdx
rep stosw word [rdi], ax
lea r8, [r8 + rdx*2]
mov rdi, qword [rbp - 0x20]
mov qword [rbp - 0x18], r8
lea r8, [rbp + 0x30]
mov rdx, rdi
mov ecx, 3
call qword [sym.imp.KERNEL32.dll_GetComputerNameExW]
nop dword [rax + rax]
test eax, eax
jne 0x140066035
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
mov edi, eax
jmp 0x140066043
mov rdx, qword [rbp - 0x20]
mov rcx, rbx
call fcn.140003b34
mov edi, esi
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x14006605e
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
call fcn.140003d24
mov eax, edi
mov rbx, qword [rsp + 0x68]
add rsp, 0x40
pop rdi
pop rsi
pop rbp
ret
Function at 0x140130db9
Capabilities:
Execute anti-debugging instructions

Disassembly:
add al, 0x8a
neg al
add al, dl
mov byte [r9], al
xchg rcx, r13
mov r13, qword [rbp + 0x120]
xchg r13, rcx
int 0xe9
invalid
invalid
invalid
invalid
je 0x140130dc0
movzx eax, byte [r9]
mov dh, 1
inc al
mov byte [r9], al
inc ecx
jne 0x140130de1
je 0x140130de1
call rax
mov esi, 0x31543277
jmp 0x140130ebc
movzx eax, byte [r9]
test al, al
jmp 0x140130db1
movsxd rax, ecx
cmp rax, rdx
jb 0x140130eb1
movzx eax, byte [r9]
neg al
jne 0x140130eec
je 0x140130eec
lea r11d, [rbp + 0x461b]
lea r15d, [rcx - 0x9fe0]
call rcx
jmp rcx
jmp 0x140130d3b

Function at 0x140132293
Capabilities:
Access peb ldr_data
Execute anti-debugging instructions
Execute syscall
Get kernel32 base address
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
add byte [rax], al
mov r13d, 0xb984e15e
sub r15d, 0x3347d69f
popfq
Function at 0x1412d61d4
Capabilities:
Encode data using base64

Disassembly:
xor word [rsp + 0x1d], 0x4bf
jb 0x1412e8205
rol cl, 1
xor r11b, cl
sal dword [rsp + 0x1e], 2
jnp 0x1412dde89
mov qword [rsp], 0xffffffffe20930b5
mov qword [rsp], rdi
push rsi
jmp 0x1412f9171
jb 0x1412eca85
lea rcx, [rsp + rcx + 0x30]
jae 0x1412fb6ff
jnp 0x1412d8001
push r15
push rax
push r10
mov edi, 0x6a321032
push rbx
call fcn.1412c728d
push 0x2ab5990c
shr word [rsp + 0x24], 0x21
sbb cl, 0x3d
jmp 0x1412c048b

Function at 0x1412eb7a4
Capabilities:
Encode data using base64

Disassembly:
lea rsp, [rsp + 0x28]
jae fcn.1412dd80e
jl 0x1412d11d2

Function at 0x1412fdb9d
Capabilities:
Encode data using base64

Disassembly:
xor di, bx
call fcn.1412db8bd
mov r9d, 0xdbb6520
bt r9d, r9d
lea r11, [r11 + r9*2 - 0x1b76ca41]
movzx eax, byte [r11 + r9*2 - 0x1b76ca40]
call fcn.1412faefa
xor cx, di
mov qword [rsp], 0xffffffffe937aa96
push 0xffffffff9d2d0cae
sub byte [rsp + 0xd], 0x29
not cx
not word [rsp + 0xb]
inc cx
sar byte [rsp + 2], 5
rol cx, 1
not cx
add cx, 0xd6ab
jmp 0x1412e54a0
bts ecx, 0xba
bt rcx, 0x3d
mov cl, byte [rcx + r10 - 0x1fa4368a]
jae 0x1412ddbe2
push rcx
call fcn.141305aba
mov ebx, 0xec81e6a2
mov r11d, dword [r8 + riz]
movsx ecx, bl
mov ebx, dword [r8 + riz + 4]
ror cl, cl
sbb ecx, 0x739f2b10
mov cl, byte [r8 + riz + 8]
push 0x7239f80e
call fcn.141303a3e
jl 0x1412d73dc
jne 0x1412c5fba
mov byte [rcx], r8b
je 0x1412ea86a
lea rsp, [rsp + 0x18]
jle fcn.1412d3e73
not word [rsp + 0xc]
call fcn.1412da754
call fcn.1412ca477
rol cx, 1
neg cx
inc cx
sal edi, 0xb0
sal di, 6
xor r11w, cx
add rcx, rsp
ror di, 0x24
adc edi, dword [rdi + rcx]
push 0xffffffffd9893196
neg dword [rsp + 1]
sbb rbp, 3
call fcn.1412e8c55
rol cx, 1
xor dword [rsp + 7], 0x1b30e094
xor di, cx
neg dword [rsp + 7]
lea rcx, [rsp + rcx + 0x18]
jne 0x1412d73bb
push 0x2d96470f
mov qword [r8], rbp
jmp 0x1412f3927
shl esi, 0xbe
mov word [rsp + rsi*4 + 6], si
shr byte [rsp + rsi*4], 0xe1
neg cx
push rsi
and dword [rsp + rsi + 0xa], 0x42807ba0
sbb esi, 0x1a2a0799
adc cx, 0x4f7f
sar sil, 0x24
sal esi, 3
not cx
xor r8w, cx
rol si, 0x89
jb 0x1412ce4cd
jb 0x1412e50a5
lea rcx, [rsp + rcx + 0x10]
push rsi
xor esi, 0xa3b77511
mov esi, dword [rcx + riz]
js 0x1412d855c
lea rsp, [rsp + 0x10]
jmp fcn.1412e8d67
push 0xffffffffe081c39f
lea rsp, [rsp + 0x18]
jmp fcn.1413058fb
mov qword [rsp + 8], 0xffffffffa636f690
jmp 0x1412cdd5d

Function at 0x1412fde6b
Capabilities:
Encode data using base64

Disassembly:
mov byte [r9], al
jae 0x1412b7add
jp 0x1412ba695
mov eax, 0x142cd51b
lea rax, [rax + rax*4 - 0x22406edb]
lea r11, [rax + r11 - 0x429fbaad]
movzx eax, byte [rax + r11 - 0x429fbaac]
mov ecx, 0x3cbf9e37
btc rcx, rcx
xor al, r8b
inc al
neg ecx
xor al, 0xbd
bts rcx, 0xbe
ror ecx, 0x57
bswap rcx
neg al
rol al, 1
or ecx, 0x5aad61b0
ja 0x1412fdcaf
rol byte [rsp + 0xe], 0x22
lea r9, [rsp + r9 + 0x18]
push 0xffffffffca2ea106
jne 0x1412b78ab
Function at 0x140028974
Capabilities:
Clear file content

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r14
push r15
sub rsp, 0x20
mov rbx, rdx
mov rsi, r8
xor edx, edx
mov r14d, ecx
lea r8d, [rdx + 1]
call fcn.14001c284
xor edx, edx
mov ecx, r14d
mov r12, rax
lea r8d, [rdx + 2]
call fcn.14001c284
mov rbp, rbx
sub rbp, rax
cmp r12, 0xffffffffffffffff
je 0x140028ac4
cmp rax, 0xffffffffffffffff
je 0x140028ac4
xor edi, edi
test rbp, rbp
jle 0x140028a6f
lea edx, [rdi + 1]
mov ecx, 0x1000
call fcn.14001eb98
mov rbx, rax
test rax, rax
jne 0x1400289fc
lea edi, [rax + 0xc]
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], edi
jmp 0x140028a65
mov edx, 0x8000
mov ecx, r14d
call fcn.140019be8
mov r15d, eax
mov eax, 0x1000
mov r8d, ebp
cmp rbp, rax
mov r9, rsi
mov rdx, rbx
mov ecx, r14d
cmovge r8d, eax
call fcn.14001cf60
cmp eax, 0xffffffff
je 0x140028a45
cdqe
sub rbp, rax
test rbp, rbp
jg 0x140028a0c
mov edx, r15d
mov ecx, r14d
call fcn.140019be8
jmp 0x140028a65
cmp byte [rsi + 0x38], dil
je 0x140028a5c
cmp dword [rsi + 0x34], 5
jne 0x140028a5c
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
cmp byte [rsi + 0x30], dil
je 0x140028a65
mov edi, dword [rsi + 0x2c]
mov rcx, rbx
call fcn.14001a948
jmp 0x140028ad8
jns 0x140028ad8
xor r8d, r8d
mov rdx, rbx
mov ecx, r14d
call fcn.14001c284
cmp rax, 0xffffffffffffffff
jne 0x140028a90
cmp byte [rsi + 0x30], dil
je 0x140028ad8
mov edi, dword [rsi + 0x2c]
jmp 0x140028ad8
mov ecx, r14d
call fcn.14001871c
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x140028ad8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov byte [rsi + 0x38], 1
mov edi, 0xd
mov dword [rsi + 0x34], eax
mov byte [rsi + 0x30], 1
mov dword [rsi + 0x2c], 0xd
jmp 0x140028ad8
xor edi, edi
cmp byte [rsi + 0x30], dil
je 0x140028ad1
mov eax, dword [rsi + 0x2c]
jmp 0x140028ad6
mov eax, 0x16
mov edi, eax
xor r8d, r8d
mov rdx, r12
mov ecx, r14d
call fcn.14001c284
mov rbx, qword [rsp + 0x40]
mov eax, edi
mov rdi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x50]
add rsp, 0x20
pop r15
pop r14
pop r12
ret

Function at 0x140029bd0
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [rcx], ax
jne 0x140029bf8
movsxd rdx, dword [rcx + 0x3c]
add rdx, rcx
cmp dword [rdx], 0x4550
jne 0x140029bf8
xor eax, eax
mov ecx, 0x20b
cmp word [rdx + 0x18], cx
sete al
ret
xor eax, eax
ret

Function at 0x180001090
Capabilities:
Create thread

Disassembly:
sub rsp, 0x38
cmp edx, 1
jne 0x1800010b8
xor eax, eax
lea r8, [0x180001060]
mov r9, rcx
mov qword [rsp + 0x28], rax
xor edx, edx
mov dword [rsp + 0x20], eax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov eax, 1
add rsp, 0x38
ret
Function at 0x140011244
Capabilities:
Create process on windows

Disassembly:
jmp 0x140020770
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x238]
mov rax, qword [0x140033040]
xor rax, rbp
mov qword [rbp + 0x1e8], rax
lea rcx, [0x14003b0f6]
call fcn.140011a91
nop
mov r8, qword [rbp + 0x210]
lea rdx, [0x14002dd14]
lea rcx, [rbp + 8]
call fcn.140011069
nop
lea rax, [rbp + 0x50]
mov rdi, rax
xor eax, eax
mov ecx, 0x70
rep stosb byte [rdi], al
mov dword [rbp + 0x50], 0x70
mov dword [rbp + 0x54], 0x40
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x60], 0
lea rax, str.cmd.exe
mov qword [rbp + 0x68], rax
lea rcx, [rbp + 8]
call fcn.1400110f0
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x78], 0
mov dword [rbp + 0x80], 0
mov qword [rbp + 0x88], 0
lea rcx, [rbp + 0x50]
call qword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x14002085e
mov dword [rbp + 0x1b4], 0xffffffff
lea rcx, [rbp + 8]
call fcn.1400111c2
mov eax, dword [rbp + 0x1b4]
jmp 0x1400208af
mov edx, 0xffffffff
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
nop
lea rdx, [rbp + 0xd4]
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
nop
mov rcx, qword [rbp + 0xb8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov eax, dword [rbp + 0xd4]
mov dword [rbp + 0x1d4], eax
lea rcx, [rbp + 8]
call fcn.1400111c2
mov eax, dword [rbp + 0x1d4]
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, [0x14002cad0]
call fcn.1400118a7
mov rax, rdi
mov rcx, qword [rbp + 0x1e8]
xor rcx, rbp
call fcn.14001153c
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret