joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002610
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140009740]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x140002630
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x140002638
ret
cmp word [r8 + 0x18], 0x20b
jne 0x140002630
movzx eax, word [r8 + 0x14]
sub rcx, rdx
lea rax, [r8 + rax + 0x18]
movzx r8d, word [r8 + 6]
test r8w, r8w
je 0x14000268d
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea r9, [rax + rdx*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rax + 0xc]
mov rdx, r8
cmp rcx, r8
jb 0x140002684
add edx, dword [rax + 8]
cmp rcx, rdx
jb 0x140002630
add rax, 0x28
cmp rax, r9
jne 0x140002670
xor eax, eax
ret

Function at 0x140002690
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009740]
xor ecx, ecx
cmp word [rax], 0x5a4d
jne 0x1400026af
movsxd rdx, dword [rax + 0x3c]
add rax, rdx
cmp dword [rax], 0x4550
je 0x1400026b8
mov eax, ecx
ret
cmp word [rax + 0x18], 0x20b
jne 0x1400026af
movzx ecx, word [rax + 6]
mov eax, ecx
ret

Function at 0x140002750
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140009740]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000276f
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x140002778
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret
Function at 0x18000648c
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x180106010]
xor rax, rsp
mov qword [rsp + 0x80], rax
mov rax, qword [rcx]
lea r8, [0x1801072d0]
lea rdx, [0x18004ff28]
mov rbx, rcx
call qword [rax + 0x38]
test eax, eax
js 0x18000662e
mov rcx, qword [0x1801072d0]
lea rdx, [0x1801072f8]
mov rax, qword [rcx]
call qword [rax + 0x140]
mov rax, qword [rbx]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call qword [rax + 0x60]
mov rax, qword [rsp + 0x60]
lea r9, [rsp + 0x20]
mov qword [0x1801072e8], rax
lea r8, [0x18004ff40]
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax + 0x48]
mov rcx, qword [0x1801072d0]
lea r9, [0x1801072e0]
mov rdx, qword [rsp + 0x20]
xor r8d, r8d
mov rax, qword [rcx]
call qword [rax + 0x48]
mov rcx, qword [rsp + 0x20]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [0x180107388]
test rax, rax
jne 0x1800065e3
mov rax, qword gs:[0x60]
mov rcx, qword [rax + 0x18]
mov rax, qword [rcx + 0x10]
mov rbx, qword [rax]
mov r10, rbx
mov r8, qword [r10 + 0x30]
movsxd rax, dword [r8 + 0x3c]
mov r9d, dword [rax + r8 + 0x88]
add r9, r8
cmp r9, r8
je 0x1800065c8
mov edx, dword [r9 + 0x18]
test edx, edx
je 0x1800065c8
mov esi, dword [r9 + 0x20]
dec edx
mov r11d, 0x811c9dc5
lea rax, [rsi + rdx*4]
mov ecx, dword [rax + r8]
add rcx, r8
mov al, byte [rcx]
inc rcx
test al, al
je 0x1800065c4
movsx eax, al
xor eax, r11d
imul r11d, eax, 0x1000193
mov al, byte [rcx]
inc rcx
test al, al
jne 0x1800065a5
cmp r11d, 0xb652e838
je 0x180006614
test edx, edx
jne 0x180006589
mov rax, qword [r10]
mov r10, rax
cmp rax, rbx
je 0x1800065da
cmp qword [rax + 0x30], 0
jne 0x180006565
xor eax, eax
mov qword [0x180107388], rax
mov rcx, qword [0x1801072e8]
lea r8, [0x180006354]
mov edx, 0xfffffffc
call rax
mov qword [0x1801072d8], rax
call fcn.180005fd0
mov byte [0x180106302], 0
call fcn.180045a6c
mov al, 1
jmp 0x180006630
mov ecx, dword [r9 + 0x24]
add rcx, r8
movzx edx, word [rcx + rdx*2]
mov ecx, dword [r9 + 0x1c]
add rcx, r8
mov eax, dword [rcx + rdx*4]
add rax, r8
jmp 0x1800065dc
xor al, al
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.18004c060
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x18000c31c
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
not r8d
mov r10, rcx
mov r9d, r8d
test rdx, rdx
je 0x18000c376
mov r11b, 0x23
lea rdi, [0x1800c24e0]
movzx ebx, byte [r10]
dec rdx
inc r10
cmp bl, r11b
jne 0x18000c360
cmp rdx, 2
jb 0x18000c360
cmp byte [r10], r11b
jne 0x18000c360
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
xor rcx, rbx
shr r9d, 8
xor r9d, dword [rdi + rcx*4]
test rdx, rdx
jne 0x18000c33e
jmp 0x18000c3b7
mov dl, byte [rcx]
inc r10
test dl, dl
je 0x18000c3b7
mov r11b, 0x23
lea rdi, [0x1800c24e0]
cmp dl, r11b
jne 0x18000c39b
cmp byte [r10], r11b
jne 0x18000c39b
cmp byte [r10 + 1], r11b
cmove r9d, r8d
movzx ecx, r9b
movzx eax, dl
mov dl, byte [r10]
xor rcx, rax
shr r9d, 8
inc r10
xor r9d, dword [rdi + rcx*4]
test dl, dl
jne 0x18000c389
mov rbx, qword [rsp + 8]
not r9d
mov rdi, qword [rsp + 0x10]
mov eax, r9d
ret

Function at 0x18000c56c
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rcx, rcx
jne 0x18000c5a5
mov r8d, 0x647
lea rdx, str.C:Users_vboxuserDesktopNeuer_Ordner__2_imguiimgui.cpp
lea rcx, str.filename__mode
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
test rdi, rdi
je 0x18000c5ae
and qword [rdi], 0
lea rdx, [0x1800fc158]
mov rcx, rbx
call fcn.18000c3c8
mov rbx, rax
test rax, rax
je 0x18000c6a2
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov ebp, eax
cmp eax, 0xffffffff
je 0x18000c699
xor edx, edx
mov rcx, rbx
lea r8d, [rdx + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18000c699
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
movsxd rsi, eax
cmp esi, 0xffffffff
je 0x18000c699
xor r8d, r8d
mov edx, ebp
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
test eax, eax
jne 0x18000c699
mov rbp, rsi
cmp rsi, 0xffffffffffffffff
je 0x18000c699
mov rax, qword [0x180106e88]
test rax, rax
je 0x18000c636
inc dword [rax + 0x3b0]
mov rcx, rbp
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
je 0x18000c699
mov r9, rbx
mov r8, rbp
mov edx, 1
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fread]
mov rcx, rbx
cmp rax, rbp
je 0x18000c686
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rax, qword [0x180106e88]
test rax, rax
je 0x18000c67b
dec dword [rax + 0x3b0]
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x18000c6a2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test rdi, rdi
je 0x18000c694
mov qword [rdi], rbp
mov rax, rsi
jmp 0x18000c6a4
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
xor eax, eax
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret
Function at 0x18000e15c
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov dword [rsp + 0x10], edx
push rbx
sub rsp, 0x20
cmp dword [rcx + 0xc8], 0
mov rbx, rcx
jg 0x18000e18b
mov r8d, 0x6c1
lea rdx, str.C:Users_vboxuserDesktopNeuer_Ordner__2_imguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rdx, dword [rbx + 0xc8]
mov r9d, 4
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rax + rdx*4 - 4]
lea rdx, [rsp + 0x38]
not r8d
movzx eax, byte [rdx]
inc rdx
movzx ecx, r8b
xor rcx, rax
shr r8d, 8
lea rax, [0x1800c24e0]
xor r8d, dword [rax + rcx*4]
sub r9, 1
jne 0x18000e1ac
not r8d
mov ecx, r8d
call fcn.18000e4b0
mov eax, r8d
add rsp, 0x20
pop rbx
ret

Function at 0x18000e1e4
Capabilities:
Hash data with crc32

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
cmp dword [rcx + 0xc8], 0
mov rdi, rdx
mov rbx, rcx
jg 0x18000e217
mov r8d, 0x6c1
lea rdx, str.C:Users_vboxuserDesktopNeuer_Ordner__2_imguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd r8, dword [rbx + 0xc8]
xor edx, edx
mov rax, qword [rbx + 0xd0]
mov rcx, rdi
mov r8d, dword [rax + r8*4 - 4]
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
jmp fcn.18000c31c

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

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rax, qword [0x180106010]
xor rax, rsp
mov qword [rsp + 0x30], rax
cmp dword [rcx + 0xc8], 0
mov rdi, rdx
mov rbx, rcx
jg 0x18000e282
mov r8d, 0x6c1
lea rdx, str.C:Users_vboxuserDesktopNeuer_Ordner__2_imguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movss xmm0, dword [rdi]
lea r8, [rsp + 0x20]
subss xmm0, dword [rbx + 0x10]
movss xmm1, dword [rdi + 8]
mov r9d, 0x10
subss xmm1, dword [rbx + 0x10]
movsxd rcx, dword [rbx + 0xc8]
cvttss2si eax, xmm0
movss xmm0, dword [rdi + 4]
subss xmm0, dword [rbx + 0x14]
mov dword [rsp + 0x20], eax
cvttss2si eax, xmm0
movss xmm0, dword [rdi + 0xc]
subss xmm0, dword [rbx + 0x14]
mov dword [rsp + 0x24], eax
cvttss2si eax, xmm1
mov dword [rsp + 0x28], eax
cvttss2si eax, xmm0
mov dword [rsp + 0x2c], eax
mov rax, qword [rbx + 0xd0]
mov edx, dword [rax + rcx*4 - 4]
not edx
movzx eax, byte [r8]
inc r8
movzx ecx, dl
xor rcx, rax
shr edx, 8
lea rax, [0x1800c24e0]
xor edx, dword [rax + rcx*4]
sub r9, 1
jne 0x18000e2e8
not edx
mov ecx, edx
call fcn.18000e4b0
mov eax, edx
mov rcx, qword [rsp + 0x30]
xor rcx, rsp
call fcn.18004c060
mov rbx, qword [rsp + 0x50]
add rsp, 0x40
pop rdi
ret
Function at 0x180018800
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push rbx
sub rsp, 0x30
mov rax, qword [0x180106010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov rax, qword [0x180106e88]
mov dword [rsp + 0x20], ecx
mov rbx, qword [rax + 0x1c10]
cmp dword [rbx + 0xc8], 0
jg 0x18001884a
mov r8d, 0x6c1
lea rdx, str.C:Users_vboxuserDesktopNeuer_Ordner__2_imguiimgui.h
lea rcx, str.Size___0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__wassert]
movsxd rcx, dword [rbx + 0xc8]
mov r9d, 4
mov rax, qword [rbx + 0xd0]
mov r8d, dword [rax + rcx*4 - 4]
lea rcx, [rsp + 0x20]
not r8d
movzx eax, byte [rcx]
inc rcx
movzx edx, r8b
xor rdx, rax
shr r8d, 8
lea rax, [0x1800c24e0]
xor r8d, dword [rax + rdx*4]
sub r9, 1
jne 0x18001886b
not r8d
lea rdx, [rsp + 0x20]
lea rcx, [rbx + 0xc8]
mov dword [rsp + 0x20], r8d
call fcn.180020974
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18004c060
add rsp, 0x30
pop rbx
ret

Function at 0x18001ec68
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx + 0x30f8], 0
lea rbx, [rcx + 0x3100]
mov rsi, r8
mov rbp, rdx
mov rdi, rcx
je 0x18001ed01
mov r9d, dword [rbx + 4]
test r9d, r9d
jns 0x18001ecb9
mov eax, r9d
mov rcx, rbx
cdq
sub eax, edx
xor edx, edx
sar eax, 1
add eax, r9d
test eax, eax
cmovg edx, eax
call fcn.180020cd4
and dword [rbx], 0
mov r8, rsi
mov rdx, rbp
mov rcx, rbx
call fcn.18000cf8c
mov eax, dword [rbx]
mov edx, 1
mov r9, qword [rdi + 0x30f8]
lea ecx, [rax - 1]
neg eax
sbb eax, eax
and eax, ecx
lea rcx, [0x180106e79]
movsxd r8, eax
mov rax, qword [rdi + 0x3108]
test rax, rax
cmovne rcx, rax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
jmp 0x18001ed09
mov rcx, rbx
call fcn.18000cf8c
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
add rsp, 0x20
pop rdi
ret

Function at 0x18001f5a8
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x20
mov rax, qword [0x180106e88]
mov rbx, rcx
and dword [rax + 0x3094], 0
test rcx, rcx
je 0x18001f611
and qword [rsp + 0x30], 0
lea rcx, [rsp + 0x30]
call fcn.18001f61c
lea rdx, [0x1800fc15c]
mov rcx, rbx
mov rdi, rax
call fcn.18000c3c8
mov rbx, rax
test rax, rax
je 0x18001f611
mov r8, qword [rsp + 0x30]
mov r9, rax
mov edx, 1
mov rcx, rdi
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rbx, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x18004b724
Capabilities:
Resume thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
cmp qword [rcx], 0
mov rbx, rcx
je 0x18004b788
xor edi, edi
cmp dword [rcx + 0xc], edi
jbe 0x18004b776
mov rax, qword [rbx]
xor edx, edx
mov r8d, dword [rax + rdi*4]
lea ecx, [rdx + 0x5a]
call qword [sym.imp.KERNEL32.dll_OpenThread]
mov rsi, rax
test rax, rax
je 0x18004b76f
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_ResumeThread]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
inc edi
cmp edi, dword [rbx + 0xc]
jb 0x18004b743
mov r8, qword [rbx]
xor edx, edx
mov rcx, qword [0x180106ea0]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rbx, qword [rsp + 0x30]
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret

Function at 0x18004b798
Capabilities:
Allocate or change rwx memory

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x30
mov rax, qword [0x180106010]
xor rax, rsp
mov qword [rsp + 0x28], rax
mov eax, ecx
imul rdi, rax, 0x38
add rdi, qword [0x180107500]
mov rdx, qword [rdi]
mov cl, byte [rdi + 0x20]
mov rsi, rdx
lea rbx, [rdx - 5]
and cl, 1
je 0x18004b7dd
mov rsi, rbx
movzx eax, cl
lea r9, [rsp + 0x20]
test cl, cl
mov r8d, 0x40
cmove rbx, rdx
lea rbp, [rax*2 + 5]
mov rcx, rbx
mov rdx, rbp
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x18004b810
mov eax, 0xa
jmp 0x18004b85d
mov byte [rbx], 0xe9
mov eax, dword [rdi + 8]
sub eax, esi
sub eax, 5
mov dword [rbx + 1], eax
test byte [rdi + 0x20], 1
je 0x18004b82c
mov rax, qword [rdi]
mov word [rax], 0xf9eb
mov r8d, dword [rsp + 0x20]
lea r9, [rsp + 0x20]
mov rdx, rbp
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov r8, rbp
mov rdx, rbx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FlushInstructionCache]
or byte [rdi + 0x20], 6
xor eax, eax
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.18004c060
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret

Function at 0x18004bc6c
Capabilities:
Check for software breakpoints

Disassembly:
mov r8b, byte [rcx]
mov r9d, edx
test r8b, r8b
je 0x18004bc83
cmp r8b, 0x90
je 0x18004bc83
cmp r8b, 0xcc
jne 0x18004bca5
mov r10d, 1
mov edx, r10d
cmp r9d, r10d
jbe 0x18004bca1
mov eax, edx
cmp byte [rax + rcx], r8b
jne 0x18004bca5
add edx, r10d
cmp edx, r9d
jb 0x18004bc91
mov eax, r10d
ret
xor eax, eax
ret
Function at 0x1400364f0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x30
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
xor eax, eax
mov dword [rsp + 0x20], eax
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rax
mov qword [rcx + 0x18], send
mov byte [rcx], al
mov dword [rsp + 0x20], 1
lea rcx, [r8 + 2]
movabs rbp, 0xaaaaaaaaaaaaaaab
mov rax, rbp
mul rcx
shr rdx, 1
shl rdx, 2
xor r8d, r8d
mov rcx, rdi
call fcn.140038460
mov r10, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x140036567
mov r10, qword [rdi]
mov rcx, r10
mov rax, rbp
mul rsi
mov r8, rdx
shr r8, 1
mov r9, r8
lea r11, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_
je 0x1400365e1
movzx eax, byte [rbx]
shr rax, 2
movzx eax, byte [rax + r11]
mov byte [rcx], al
movsx edx, byte [rbx]
and edx, 3
shl edx, 4
movzx eax, byte [rbx + 1]
shr eax, 4
add edx, eax
movzx eax, byte [rdx + r11]
mov byte [rcx + 1], al
movsx edx, byte [rbx + 1]
and edx, 0xf
movzx eax, byte [rbx + 2]
shr eax, 6
lea eax, [rax + rdx*4]
movzx eax, byte [rax + r11]
mov byte [rcx + 2], al
movsx rax, byte [rbx + 2]
and eax, 0x3f
movzx eax, byte [rax + r11]
mov byte [rcx + 3], al
add rcx, 4
add rbx, 3
sub r9, 1
jne 0x140036582
lea rax, [r8 + r8*2]
sub rsi, rax
sub rsi, 1
je 0x140036632
cmp rsi, 1
jne 0x14003665c
movzx eax, byte [rbx]
shr rax, 2
movzx eax, byte [rax + r11]
mov byte [rcx], al
movsx edx, byte [rbx]
and edx, 3
shl edx, 4
movzx eax, byte [rbx + 1]
shr eax, 4
add edx, eax
movzx eax, byte [rdx + r11]
mov byte [rcx + 1], al
movsx rax, byte [rbx + 1]
and eax, 0xf
movzx eax, byte [r11 + rax*4]
mov byte [rcx + 2], al
mov byte [rcx + 3], 0x3d
jmp 0x140036658
movzx eax, byte [rbx]
shr rax, 2
movzx eax, byte [rax + r11]
mov byte [rcx], al
movsx rax, byte [rbx]
and eax, 3
add rax, rax
movzx eax, byte [r11 + rax*8]
mov byte [rcx + 1], al
mov word [rcx + 2], 0x3d3d
add rcx, 4
sub rcx, r10
xor r8d, r8d
mov rdx, rcx
mov rcx, rdi
call fcn.140038460
mov rax, rdi
mov rbx, qword [rsp + 0x48]
mov rbp, qword [rsp + 0x50]
mov rsi, qword [rsp + 0x58]
add rsp, 0x30
pop rdi
ret
Function at 0x140036b50
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x30
mov rbx, rdx
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x20], r12d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r12
mov qword [rcx + 0x18], send
mov byte [rcx], r12b
mov dword [rsp + 0x20], 1
mov rax, qword [rdx + 0x10]
shr rax, 2
lea rdx, [rax + rax*2]
xor r8d, r8d
call fcn.140038460
mov r9, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x140036bb6
mov rbx, qword [rbx]
mov r15, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140036bc3
mov r15, qword [rsi]
mov rdi, r15
mov r8d, r12d
test r9, r9
je 0x140036cd8
mov rdx, r12
lea r13, [0x1401c20b0]
mov eax, dword [rsp + 0x78]
movzx r14d, byte [rsp + 0x7b]
movzx r11d, byte [rsp + 0x7a]
movzx ebp, byte [rsp + 0x79]
dec r9
movzx ecx, byte [rbx]
cmp cl, 0x3d
je 0x140036c82
movzx r10d, byte [rcx + r13]
cmp r10b, 0xff
je 0x140036c82
inc rbx
mov byte [rsp + rdx + 0x78], r10b
inc r8d
inc rdx
mov eax, dword [rsp + 0x78]
movzx r14d, byte [rsp + 0x7b]
movzx r11d, byte [rsp + 0x7a]
movzx ebp, byte [rsp + 0x79]
cmp rdx, 4
jne 0x140036c79
movzx r8d, bpl
shr r8b, 4
and r8b, 3
movzx ecx, al
shl cl, 2
add r8b, cl
movzx edx, r11b
shr dl, 2
and dl, 0xf
movzx ecx, bpl
shl cl, 4
add dl, cl
movzx ecx, r11b
shl cl, 6
add cl, r14b
mov byte [rdi], r8b
mov byte [rdi + 1], dl
mov byte [rdi + 2], cl
add rdi, 3
mov r8d, r12d
mov rdx, r12
test r9, r9
jne 0x140036bf1
test r8d, r8d
je 0x140036cd8
movzx ecx, bpl
shr cl, 4
and cl, 3
shl al, 2
add cl, al
mov byte [rsp + 0x78], cl
movzx eax, r11b
shr al, 2
and al, 0xf
shl bpl, 4
add al, bpl
mov byte [rsp + 0x79], al
shl r11b, 6
add r11b, r14b
mov byte [rsp + 0x7a], r11b
lea eax, [r8 - 1]
movsxd rbx, eax
test eax, eax
jle 0x140036cd8
mov r8, rbx
lea rdx, [rsp + 0x78]
mov rcx, rdi
call fcn.1400f53a0
add rdi, rbx
sub rdi, r15
xor r8d, r8d
mov rdx, rdi
mov rcx, rsi
call fcn.140038460
mov rax, rsi
mov rbx, qword [rsp + 0x80]
add rsp, 0x30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
Function at 0x14003e730
Capabilities:
Encrypt data using dpapi

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0xa0
mov rax, qword [0x1401d9bd0]
xor rax, rsp
mov qword [rbp + 0x37], rax
mov rdi, rcx
mov qword [rbp - 0x11], rcx
xor esi, esi
mov dword [rbp - 0x15], esi
mov qword [rbp + 0xf], rdx
mov dword [rbp + 7], r8d
lea rax, [rbp - 9]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rbp + 7]
call qword [sym.imp.CRYPT32.dll_CryptUnprotectData]
test eax, eax
je 0x14003e85c
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], rsi
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], send
mov byte [rbp + 0x17], sil
mov ebx, dword [rbp - 9]
test rbx, rbx
jne 0x14003e7c7
mov qword [rbp + 0x27], rbx
mov byte [rbp + rbx + 0x17], bl
jmp 0x14003e7fb
lea rcx, [rbp + 0x17]
cmp rbx, 0xf
ja 0x14003e7e6
mov qword [rbp + 0x27], rbx
mov r8, rbx
xor edx, edx
call fcn.1400f4fe0
mov byte [rbp + rbx + 0x17], 0
jmp 0x14003e7fb
mov byte [rsp + 0x20], 0
mov r9, rbx
movzx r8d, byte [rbp - 0x19]
mov rdx, rbx
call fcn.140038f40
lea rcx, [rbp + 0x17]
cmp qword [rbp + 0x2f], 0x10
cmovae rcx, qword [rbp + 0x17]
mov r8d, dword [rbp - 9]
mov rdx, qword [rbp - 1]
call fcn.1400f53a0
mov rcx, qword [rbp - 1]
call qword [sym.imp.KERNEL32.dll_LocalFree]
movups xmm0, xmmword [rbp + 0x17]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [rbp + 0x27]
movups xmmword [rdi + 0x10], xmm1
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], send
mov byte [rbp + 0x17], 0
mov byte [rdi + 0x20], 1
mov dword [rbp - 0x15], 1
mov qword [rbp + 0x27], rsi
mov qword [rbp + 0x2f], send
mov byte [rbp + 0x17], 0
jmp 0x14003e867
mov byte [rdi + 0x20], sil
mov dword [rbp - 0x15], 1
mov rax, rdi
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400f2d90
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop rdi
pop rsi
pop rbp
ret
Function at 0x1400a9db0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov dword [rcx + 0x1384], 0xffffffff
lea r9, [rcx + 8]
mov dword [rcx + 4], edx
mov r8d, 1
nop word [rax + rax]
mov eax, edx
lea r9, [r9 + 4]
shr eax, 0x1e
xor eax, edx
imul edx, eax, 0x6c078965
add edx, r8d
inc r8
mov dword [r9 - 4], edx
cmp r8, 0x270
jb 0x1400a9dd0
mov dword [rcx], 0x270
mov rax, rcx
ret
Function at 0x1400b3da0
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
push rbx
push rbp
push rdi
mov eax, 0x13c0
call fcn.1400f3d80
sub rsp, rax
mov rax, qword [0x1401d9bd0]
xor rax, rsp
mov qword [rsp + 0x13b0], rax
mov rdi, rcx
call fcn.14012db9c
mov dword [rsp + 0x24], eax
mov edx, 1
mov dword [rsp + 0x13a4], 0xffffffff
nop
mov ecx, eax
shr ecx, 0x1e
xor ecx, eax
imul eax, ecx, 0x6c078965
add eax, edx
mov dword [rsp + rdx*4 + 0x24], eax
inc rdx
cmp rdx, 0x270
jb 0x1400b3de0
mov rdx, qword [rdi + 8]
lea r8, [rsp + 0x20]
mov rcx, qword [rdi]
mov dword [rsp + 0x20], 0x270
call fcn.1400b3ee0
mov rbx, qword [rdi]
mov rbp, qword [rdi + 8]
cmp rbx, rbp
je 0x1400b3ebe
mov qword [rsp + 0x13e8], rsi
mov qword [rsp + 0x13f0], r14
mov r14d, 0x80000000
nop
lea rcx, [rsp + 0x20]
call fcn.14003e9a0
mov ecx, eax
imul rax, rcx, 7
cmp eax, 3
ja 0x1400b3e6a
lea rcx, [rsp + 0x20]
call fcn.14003e9a0
mov ecx, eax
imul rax, rcx, 7
cmp eax, 4
jb 0x1400b3e55
shr rax, 0x20
lea ecx, [rax - 0x7ffffffb]
cmp ecx, r14d
lea eax, [rcx + r14]
lea esi, [rcx - 0x80000000]
cmovae esi, eax
xor edi, edi
test esi, esi
jle 0x1400b3ea5
nop word [rax + rax]
mov rcx, qword [rbx + 0x38]
test rcx, rcx
je 0x1400b3ed9
mov rax, qword [rcx]
call qword [rax + reloc.WS2_32.dll_recv]
inc edi
cmp edi, esi
jl 0x1400b3e90
add rbx, 0x40
cmp rbx, rbp
jne 0x1400b3e40
mov rsi, qword [rsp + 0x13e8]
mov r14, qword [rsp + 0x13f0]
mov rcx, qword [rsp + 0x13b0]
xor rcx, rsp
call fcn.1400f2d90
add rsp, 0x13c0
pop rdi
pop rbp
pop rbx
ret
call fcn.14012d340
int3
Function at 0x1400b5d20
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x60
mov rax, qword [0x1401d9bd0]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rax, rdx
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor esi, esi
mov dword [rsp + 0x20], esi
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], rsi
mov qword [rcx + 0x18], 7
mov word [rcx], si
mov dword [rsp + 0x20], 1
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x1400b5e35
mov rdx, qword [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400b5d93
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x38], xmm1
lea rcx, [rsp + 0x28]
call fcn.140037540
mov ebx, 5
mov dword [rsp + 0x20], ebx
and ebx, 0xfffffffb
mov dword [rsp + 0x20], ebx
or ebx, 2
mov dword [rsp + 0x20], ebx
lea rdx, [rsp + 0x28]
mov rcx, rdi
call fcn.140034b30
and ebx, 0xfffffffd
mov dword [rsp + 0x20], ebx
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x1400b5e22
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400b5e1d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400b5e62
call fcn.1400f33ac
movdqa xmm0, xmmword [0x1401c4510]
movdqu xmmword [rsp + 0x38], xmm0
mov word [rsp + 0x28], si
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400f2d90
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.1400cebc0
int3