joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400b06c8
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov r11, rsp
push rdi
sub rsp, 0x1c0
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rsp + 0x1b0], rax
mov rbx, rcx
and dword [rsp + 0x20], 0
mov dword [rsp + 0x24], 0x78
lea r9, [rsp + 0x24]
lea r8, [rsp + 0x20]
lea rdx, [0x1402290e0]
lea rcx, [r11 - 0x140]
call fcn.14003fda0
nop
mov rax, qword [rbx]
mov qword [rbx + 8], rax
xor r9d, r9d
mov edx, 0x13d
xor ecx, ecx
lea r8d, [r9 + 0x65]
call qword [sym.imp.KERNEL32.dll_FindResourceExW]
mov rdi, rax
test rax, rax
jne 0x1400b076e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x30], eax
lea rax, str.FindResourceEx
mov qword [rsp + 0x38], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x30]
call fcn.14012ccc0
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_LoadResource]
mov rsi, rax
test rax, rax
jne 0x1400b07a8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
lea rax, [0x140229158]
mov qword [rsp + 0x48], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x40]
call fcn.14012ccc0
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
test eax, eax
jne 0x1400b07e0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x50], eax
lea rax, [0x140229178]
mov qword [rsp + 0x58], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x50]
call fcn.14012ccc0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LockResource]
mov rdx, rax
test rax, rax
jne 0x1400b0818
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x60], eax
lea rax, [0x140229198]
mov qword [rsp + 0x68], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x60]
call fcn.14012ccc0
mov rax, qword [rbx]
mov qword [rbx + 8], rax
xor eax, eax
lea r8, [rdx + rdi]
mov r9b, al
mov rcx, rbx
call fcn.1400af0f0
and dword [rsp + 0x24], 0
mov ebx, 1
mov dword [rsp + 0x20], ebx
jmp 0x1400b0844
lea rcx, [rsp + 0x88]
call fcn.14003fbb0
nop
mov ecx, dword [rsp + 0x24]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
mov rcx, qword [rsp + 0x1b0]
xor rcx, rsp
call fcn.14012a1e0
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x1400cd0d0
Capabilities:
Set environment variable

Disassembly:
sub rsp, 0x28
cmp ecx, 0x2710
je 0x1400cd0e3
call fcn.1400ccaa0
jmp 0x1400cd0e5
xor eax, eax
mov rcx, qword [0x1402d92e8]
mov rdx, rax
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
Function at 0x1400ce2d0
Capabilities:
Get common file path

Disassembly:
jmp 0x1400ce2e0
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x4d0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rsp + 0x4c0], rax
mov rdi, r9
mov r15d, r8d
mov r14, rdx
mov rsi, rcx
mov dword [rsp + 0x20], 0x78
mov rax, qword [r9]
mov rcx, r9
call qword [rax]
nop
mov qword [rsp + 0x80], 7
xor ebx, ebx
mov qword [rsp + 0x78], rbx
mov word [rsp + 0x68], bx
lea rax, vtable.SpeedBit::Utils::Std::StringValueW_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400ce4f0
nop
test eax, eax
jne 0x1400ce38e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.Utils::FileSystem::GetTempPathW
mov qword [rsp + 0x40], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x38]
call fcn.14012ccc0
lea rsi, vtable.SpeedBit::Utils::StackBufferEx_1040_.0
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x4a8], rbx
mov qword [rsp + 0x4b0], rbx
mov edx, 0x208
lea rcx, [rsp + 0x90]
call qword [0x14022f698]
lea rcx, [rsp + 0x90]
mov rax, qword [rsp + 0x90]
call qword [rax + 0x10]
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
mov r9, rax
mov r8d, r15d
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x1400ce421
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
lea rax, [0x14022f700]
mov qword [rsp + 0x50], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x48]
call fcn.14012ccc0
lea rcx, [rsp + 0x90]
mov rax, qword [rsp + 0x90]
call qword [rax + 0x10]
mov r8, qword [rdi]
mov rdx, rax
mov rcx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov edi, 1
mov qword [rsp + 0x90], rsi
lea rax, [rsp + 0x98]
mov rcx, qword [rsp + 0x4a8]
cmp rcx, rax
je 0x1400ce46e
test rcx, rcx
je 0x1400ce46e
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x4a8], rbx
mov qword [rsp + 0x4b0], rbx
lea rax, vtable.SpeedBit::Utils::BaseBuffer.0
mov qword [rsp + 0x90], rax
mov r8, qword [rsp + 0x80]
cmp r8, 8
jb 0x1400ce4ae
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.140007540
nop
jmp 0x1400ce4b8
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rcx, qword [rsp + 0x4c0]
xor rcx, rsp
call fcn.14012a1e0
add rsp, 0x4d0
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400ce2e0
Capabilities:
Get common file path

Disassembly:
jmp 0x1400ce2e0
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x4d0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rsp + 0x4c0], rax
mov rdi, r9
mov r15d, r8d
mov r14, rdx
mov rsi, rcx
mov dword [rsp + 0x20], 0x78
mov rax, qword [r9]
mov rcx, r9
call qword [rax]
nop
mov qword [rsp + 0x80], 7
xor ebx, ebx
mov qword [rsp + 0x78], rbx
mov word [rsp + 0x68], bx
lea rax, vtable.SpeedBit::Utils::Std::StringValueW_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___.0
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rdx, [rsp + 0x28]
mov rcx, rsi
call fcn.1400ce4f0
nop
test eax, eax
jne 0x1400ce38e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
lea rax, str.Utils::FileSystem::GetTempPathW
mov qword [rsp + 0x40], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x38]
call fcn.14012ccc0
lea rsi, vtable.SpeedBit::Utils::StackBufferEx_1040_.0
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x4a8], rbx
mov qword [rsp + 0x4b0], rbx
mov edx, 0x208
lea rcx, [rsp + 0x90]
call qword [0x14022f698]
lea rcx, [rsp + 0x90]
mov rax, qword [rsp + 0x90]
call qword [rax + 0x10]
lea rcx, [rsp + 0x68]
cmp qword [rsp + 0x80], 8
cmovae rcx, qword [rsp + 0x68]
mov r9, rax
mov r8d, r15d
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x1400ce421
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
lea rax, [0x14022f700]
mov qword [rsp + 0x50], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x48]
call fcn.14012ccc0
lea rcx, [rsp + 0x90]
mov rax, qword [rsp + 0x90]
call qword [rax + 0x10]
mov r8, qword [rdi]
mov rdx, rax
mov rcx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov edi, 1
mov qword [rsp + 0x90], rsi
lea rax, [rsp + 0x98]
mov rcx, qword [rsp + 0x4a8]
cmp rcx, rax
je 0x1400ce46e
test rcx, rcx
je 0x1400ce46e
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov qword [rsp + 0x4a8], rbx
mov qword [rsp + 0x4b0], rbx
lea rax, vtable.SpeedBit::Utils::BaseBuffer.0
mov qword [rsp + 0x90], rax
mov r8, qword [rsp + 0x80]
cmp r8, 8
jb 0x1400ce4ae
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.140007540
nop
jmp 0x1400ce4b8
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rcx, qword [rsp + 0x4c0]
xor rcx, rsp
call fcn.14012a1e0
add rsp, 0x4d0
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400ce4f0
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x4a0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rsp + 0x490], rax
mov rdi, rdx
mov dword [rsp + 0x24], 0x78
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax]
nop
lea r15, vtable.SpeedBit::Utils::StackBufferEx_1024_.0
mov qword [rsp + 0x70], r15
xor ebx, ebx
mov qword [rsp + 0x478], rbx
mov qword [rsp + 0x480], rbx
lea rdx, [rsp + 0x20]
mov esi, 1
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x1400ce591
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x28], eax
lea rax, [0x14022f610]
mov qword [rsp + 0x30], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x28]
call fcn.14012ccc0
lea edx, [rax + 1]
add rdx, rdx
lea rcx, [rsp + 0x70]
mov rax, qword [rsp + 0x70]
call qword [rax + 0x18]
lea rcx, [rsp + 0x70]
mov rax, qword [rsp + 0x70]
call qword [rax + 0x30]
test eax, eax
je 0x1400ce5da
mov dword [rsp + 0x38], 8
lea rax, str.Utils::StackBufferEx::resize
mov qword [rsp + 0x40], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x38]
call fcn.14012ccc0
lea rcx, [rsp + 0x70]
mov rax, qword [rsp + 0x70]
call qword [rax + 0x10]
mov r14, rax
lea rcx, [rsp + 0x70]
mov rdx, qword [rsp + 0x70]
call qword [rdx + 0x38]
mov rdx, r14
mov ecx, eax
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov r14d, eax
test eax, eax
jne 0x1400ce630
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
lea rax, [0x14022f610]
mov qword [rsp + 0x50], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x48]
call fcn.14012ccc0
lea rcx, [rsp + 0x70]
mov rax, qword [rsp + 0x70]
call qword [rax + 0x10]
mov r9, qword [rdi]
mov r8, r14
mov rdx, rax
mov rcx, rdi
call qword [r9 + 0x10]
nop
mov qword [rsp + 0x70], r15
lea rax, [rsp + 0x78]
mov rcx, qword [rsp + 0x478]
cmp rcx, rax
je 0x1400ce671
test rcx, rcx
je 0x1400ce671
call qword [sym.imp.KERNEL32.dll_LocalFree]
nop
jmp 0x1400ce67b
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.14012a1e0
lea r11, [rsp + 0x4a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400ce710
Capabilities:
Read file on windows

Disassembly:
push rdi
push r14
push r15
mov eax, 0x11b0
call fcn.14012a8c0
sub rsp, rax
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rsp + 0x11d0], rbx
mov qword [rsp + 0x11e8], rsi
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rsp + 0x11a0], rax
mov rbx, r8
mov r15, rdx
lea rdx, str._Utils::FileSystem::ReadContent_
mov qword [rsp + 0x40], rdx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x38], 0x78
lea r9, [rsp + 0x38]
lea r8, [rsp + 0x30]
lea rcx, [rsp + 0x78]
call fcn.14003fda0
nop
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x20]
mov dword [rsp + 0x34], r14d
mov esi, r14d
nop word [rax + rax]
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x34]
mov r8d, 0x1000
lea rdx, [rsp + 0x1a0]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov edi, eax
mov dword [rsp + 0x30], eax
test eax, eax
je 0x1400ce832
mov eax, dword [rsp + 0x34]
test eax, eax
je 0x1400ce83f
mov edx, eax
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x28]
test eax, eax
jne 0x1400ce807
mov dword [rsp + 0x50], 8
lea rax, str.Utils::BaseBuffer::grow
mov qword [rsp + 0x58], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x50]
call fcn.14012ccc0
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov r8d, dword [rsp + 0x34]
lea rcx, [rax + rsi]
lea rdx, [rsp + 0x1a0]
call fcn.14012c7d0
mov eax, dword [rsp + 0x34]
add rsi, rax
jmp 0x1400ce7a0
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov edi, dword [rsp + 0x30]
mov dword [rsp + 0x38], r14d
jmp 0x1400ce84a
lea rcx, [rsp + 0x78]
call fcn.14003fbb0
nop
mov ecx, dword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, edi
mov rcx, qword [rsp + 0x11a0]
xor rcx, rsp
call fcn.14012a1e0
lea r11, [rsp + 0x11b0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret
Function at 0x1400ce950
Capabilities:
Clear file content
Write file on windows

Disassembly:
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x1d0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov rax, qword [0x1402d9850]
xor rax, rsp
mov qword [rsp + 0x1c0], rax
mov rbx, r9
mov r14, r8
mov rsi, rdx
xor r15d, r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x34], 0x78
lea r9, [rsp + 0x34]
lea r8, [rsp + 0x30]
lea rdx, str._Utils::FileSystem::WriteContent_
lea rcx, [rsp + 0x90]
call fcn.14003fda0
nop
test r14, r14
je 0x1400cea71
test rbx, rbx
je 0x1400cea71
mov dword [rsp + 0x38], r15d
mov edi, r15d
test ebx, ebx
je 0x1400ce9ff
lea rdx, [r14 + rdi]
mov qword [rsp + 0x20], r15
lea r9, [rsp + 0x38]
mov r8d, ebx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov dword [rsp + 0x30], eax
test eax, eax
je 0x1400cea07
mov edx, dword [rsp + 0x38]
add rdi, rdx
sub ebx, edx
jne 0x1400ce9d0
jmp 0x1400cea03
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x1400cea2e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x48], eax
lea rax, [0x14022f7f8]
mov qword [rsp + 0x50], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x48]
call fcn.14012ccc0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FlushFileBuffers]
test eax, eax
jne 0x1400cea62
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
lea rax, [0x14022f800]
mov qword [rsp + 0x60], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x58]
call fcn.14012ccc0
cmp dword [rsp + 0x30], 0
jne 0x1400ceaa5
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x1400ceaa5
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x1400ceaa5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x68], eax
lea rax, [0x14022f808]
mov qword [rsp + 0x70], rax
lea rdx, [0x1402d6470]
lea rcx, [rsp + 0x68]
call fcn.14012ccc0
mov dword [rsp + 0x34], r15d
mov ebx, 1
mov dword [rsp + 0x30], ebx
jmp 0x1400ceab9
lea rcx, [rsp + 0x90]
call fcn.14003fbb0
nop
mov ecx, dword [rsp + 0x34]
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, ebx
mov rcx, qword [rsp + 0x1c0]
xor rcx, rsp
call fcn.14012a1e0
add rsp, 0x1d0
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret
Function at 0x1400d0300
Capabilities:
Decode data using base64 via dword translation table
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov rdi, r8
mov rbx, rcx
test rdx, rdx
je 0x1400d032d
nop word [rax + rax]
cmp byte [rcx + rdx - 1], 0x3d
jne 0x1400d032d
sub rdx, 1
jne 0x1400d0320
mov r11, rdx
lea rsi, [0x14022fbe0]
xor r9d, r9d
shr r11, 2
and edx, 3
mov r10d, r9d
test r11, r11
je 0x1400d03cf
nop dword [rax]
movsx rax, byte [rbx + r10]
movzx r8d, byte [rax + rsi]
movsx rax, byte [rbx + r10 + 1]
shl r8b, 2
movzx ecx, byte [rax + rsi]
sar cl, 4
and cl, 3
or r8b, cl
mov byte [rdi + r9], r8b
movsx rax, byte [rbx + r10 + 2]
movzx r8d, byte [rax + rsi]
movsx rax, byte [rbx + r10 + 1]
sar r8b, 2
and r8b, 0xf
movzx ecx, byte [rax + rsi]
shl cl, 4
or r8b, cl
mov byte [rdi + r9 + 1], r8b
movsx rax, byte [rbx + r10 + 3]
movzx r8d, byte [rax + rsi]
movsx rax, byte [rbx + r10 + 2]
and r8b, 0x3f
add r10, 4
movzx ecx, byte [rax + rsi]
shl cl, 6
or r8b, cl
mov byte [rdi + r9 + 2], r8b
add r9, 3
sub r11, 1
jne 0x1400d0350
sub rdx, 2
je 0x1400d0423
cmp rdx, 1
jne 0x1400d0445
movsx rax, byte [r10 + rbx + 1]
movzx edx, byte [rax + rsi]
movsx rax, byte [r10 + rbx]
sar dl, 4
and dl, 3
movzx ecx, byte [rax + rsi]
shl cl, 2
or dl, cl
mov byte [r9 + rdi], dl
movsx rax, byte [r10 + rbx + 2]
movzx edx, byte [rax + rsi]
movsx rax, byte [r10 + rbx + 1]
sar dl, 2
and dl, 0xf
movzx ecx, byte [rax + rsi]
shl cl, 4
or dl, cl
mov byte [r9 + rdi + 1], dl
jmp 0x1400d0445
movsx rax, byte [r10 + rbx + 1]
movzx edx, byte [rax + rsi]
movsx rax, byte [r10 + rbx]
sar dl, 4
and dl, 3
movzx ecx, byte [rax + rsi]
shl cl, 2
or dl, cl
mov byte [r9 + rdi], dl
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400d0600
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push r14
sub rsp, 0x20
mov rsi, r8
mov rbx, rcx
test rdx, rdx
je 0x1400d0638
lea rax, [rdx - 1]
lea rax, [rcx + rax*2]
cmp word [rax], 0x3d
jne 0x1400d0638
sub rax, 2
sub rdx, 1
jne 0x1400d0628
mov r10, rdx
lea r14, [0x14022fce0]
xor r9d, r9d
shr r10, 2
and edx, 3
mov edi, r9d
test r10, r10
je 0x1400d06ed
lea r11, [rcx + 2]
lea rdi, [r10*4]
nop dword [rax]
nop dword [rax + rax]
movzx eax, word [r11]
lea r11, [r11 + 8]
movzx r8d, byte [r14 + rax*2]
movzx eax, word [r11 - 0xa]
shr r8b, 4
and r8b, 3
movzx ecx, byte [r14 + rax*2]
shl cl, 2
or r8b, cl
mov byte [rsi + r9], r8b
movzx eax, word [r11 - 6]
movzx r8d, byte [r14 + rax*2]
movzx eax, word [r11 - 8]
shr r8b, 2
and r8b, 0xf
movzx ecx, byte [r14 + rax*2]
shl cl, 4
or r8b, cl
mov byte [rsi + r9 + 1], r8b
movzx eax, word [r11 - 4]
movzx r8d, byte [r14 + rax*2]
movzx eax, word [r11 - 6]
and r8b, 0x3f
movzx ecx, byte [r14 + rax*2]
shl cl, 6
or r8b, cl
mov byte [rsi + r9 + 2], r8b
add r9, 3
sub r10, 1
jne 0x1400d0670
sub rdx, 2
je 0x1400d0741
cmp rdx, 1
jne 0x1400d0763
movzx eax, word [rbx + rdi*2 + 2]
movzx edx, byte [r14 + rax*2]
movzx eax, word [rbx + rdi*2]
shr dl, 4
and dl, 3
movzx ecx, byte [r14 + rax*2]
shl cl, 2
or dl, cl
mov byte [r9 + rsi], dl
movzx eax, word [rbx + rdi*2 + 4]
movzx edx, byte [r14 + rax*2]
movzx eax, word [rbx + rdi*2 + 2]
shr dl, 2
and dl, 0xf
movzx ecx, byte [r14 + rax*2]
shl cl, 4
or dl, cl
mov byte [r9 + rsi + 1], dl
jmp 0x1400d0763
movzx eax, word [rbx + rdi*2 + 2]
movzx edx, byte [r14 + rax*2]
movzx eax, word [rbx + rdi*2]
shr dl, 4
and dl, 3
movzx ecx, byte [r14 + rax*2]
shl cl, 2
or dl, cl
mov byte [r9 + rsi], dl
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rsi, qword [rsp + 0x38]
mov rdi, qword [rsp + 0x40]
add rsp, 0x20
pop r14
ret
Function at 0x1400d0ad0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov r9, rdx
lea rdi, str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_A
xor r10d, r10d
movabs rax, 0xaaaaaaaaaaaaaaab
mul rdx
mov r11, r8
mov rbx, rcx
shr rdx, 1
mov r8d, r10d
lea rax, [rdx + rdx*2]
sub r9, rax
test rdx, rdx
je 0x1400d0b88
nop dword [rax]
movzx eax, byte [rbx + r10]
shr rax, 2
movzx eax, byte [rax + rdi]
mov byte [r11 + r8], al
movzx eax, byte [rbx + r10]
and eax, 3
shl eax, 4
movsxd rcx, eax
movzx eax, byte [rbx + r10 + 1]
shr eax, 4
or rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [r11 + r8 + 1], al
movzx eax, byte [rbx + r10 + 1]
and eax, 0xf
shl eax, 2
movsxd rcx, eax
movzx eax, byte [rbx + r10 + 2]
shr eax, 6
or rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [r11 + r8 + 2], al
movzx eax, byte [rbx + r10 + 2]
add r10, 3
and eax, 0x3f
movzx eax, byte [rax + rdi]
mov byte [r11 + r8 + 3], al
add r8, 4
sub rdx, 1
jne 0x1400d0b10
sub r9, 1
je 0x1400d0beb
cmp r9, 1
jne 0x1400d0c1a
movzx eax, byte [r10 + rbx]
shr rax, 2
movzx eax, byte [rax + rdi]
mov byte [r8 + r11], al
movzx eax, byte [r10 + rbx]
and eax, 3
shl eax, 4
movsxd rcx, eax
movzx eax, byte [r10 + rbx + 1]
shr eax, 4
or rcx, rax
movzx eax, byte [rcx + rdi]
mov byte [r8 + r11 + 1], al
movzx eax, byte [r10 + rbx + 1]
and eax, 0xf
shl eax, 2
cdqe
movzx eax, byte [rax + rdi]
mov byte [r8 + r11 + 2], al
mov byte [r8 + r11 + 3], 0x3d
jmp 0x1400d0c1a
movzx eax, byte [r10 + rbx]
shr rax, 2
movzx eax, byte [rax + rdi]
mov byte [r8 + r11], al
movzx eax, byte [r10 + rbx]
and eax, 3
shl eax, 4
cdqe
movzx eax, byte [rax + rdi]
mov byte [r8 + r11 + 1], al
mov word [r8 + r11 + 2], 0x3d3d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x30]
mov eax, 1
add rsp, 0x20
pop rdi
ret
Function at 0x1400d0f80
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
push rdi
sub rsp, 0x20
mov r9, rdx
lea rsi, [0x14022fb60]
xor r10d, r10d
movabs rax, 0xaaaaaaaaaaaaaaab
mul rdx
mov r11, r8
mov rdi, rcx
shr rdx, 1
mov ebx, r10d
lea rax, [rdx + rdx*2]
sub r9, rax
test rdx, rdx
je 0x1400d104b
add r8, 4
lea rbx, [rdx*4]
movzx eax, byte [rdi + r10]
lea r8, [r8 + 8]
shr rax, 2
movzx eax, word [rsi + rax*2]
mov word [r8 - 0xc], ax
movzx eax, byte [rdi + r10]
and eax, 3
shl eax, 4
movsxd rcx, eax
movzx eax, byte [rdi + r10 + 1]
shr eax, 4
or rcx, rax
movzx eax, word [rsi + rcx*2]
mov word [r8 - 0xa], ax
movzx eax, byte [rdi + r10 + 1]
and eax, 0xf
shl eax, 2
movsxd rcx, eax
movzx eax, byte [rdi + r10 + 2]
shr rax, 6
or rcx, rax
movzx eax, word [rsi + rcx*2]
mov word [r8 - 8], ax
movzx eax, byte [rdi + r10 + 2]
add r10, 3
and eax, 0x3f
movzx eax, word [rsi + rax*2]
mov word [r8 - 6], ax
sub rdx, 1
jne 0x1400d0fd1
sub r9, 1
je 0x1400d10b7
cmp r9, 1
jne 0x1400d10e9
movzx eax, byte [r10 + rdi]
shr rax, 2
movzx eax, word [rsi + rax*2]
mov word [r11 + rbx*2], ax
movzx eax, byte [r10 + rdi]
and eax, 3
shl eax, 4
movsxd rcx, eax
movzx eax, byte [r10 + rdi + 1]
shr rax, 4
or rcx, rax
movzx eax, word [rsi + rcx*2]
mov word [r11 + rbx*2 + 2], ax
movzx eax, byte [r10 + rdi + 1]
and eax, 0xf
shl eax, 2
cdqe
movzx eax, word [rsi + rax*2]
mov word [r11 + rbx*2 + 4], ax
mov eax, 0x3d
mov word [r11 + rbx*2 + 6], ax
jmp 0x1400d10e9
movzx eax, byte [r10 + rdi]
shr rax, 2
movzx eax, word [rsi + rax*2]
mov word [r11 + rbx*2], ax
movzx eax, byte [r10 + rdi]
and eax, 3
shl eax, 4
cdqe
movzx eax, word [rsi + rax*2]
mov word [r11 + rbx*2 + 2], ax
mov dword [r11 + rbx*2 + 4], 0x3d003d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rbx, qword [rsp + 0x30]
mov eax, 1
mov rsi, qword [rsp + 0x38]
add rsp, 0x20
pop rdi
ret
Function at 0x1400d73e0
Capabilities:
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x40
mov rax, qword [rcx + 0x40]
lea r15, [0x1400d7620]
mov qword [rsp + 0x30], rax
mov rbx, rcx
mov rax, qword [rcx + 0x48]
xor r12d, r12d
mov qword [rsp + 0x38], rax
movabs r14, 0xaaaaaaaaaaaaaa9
nop
xor r8d, r8d
mov dword [rsp + 0x20], 1
or r9d, 0xffffffff
lea rdx, [rsp + 0x30]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjectsEx]
test eax, eax
je 0x1400d756f
cmp eax, 1
jne 0x1400d7420
cmp qword [rbx + 0x90], r12
je 0x1400d7420
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [rbx + 0x88]
mov rax, qword [rax]
mov rdi, qword [rax + 0x10]
mov rax, qword [rbx + 0x88]
mov rcx, qword [rax]
mov rdx, qword [rcx + 8]
mov rax, qword [rcx]
mov qword [rdx], rax
mov rdx, qword [rcx]
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
dec qword [rbx + 0x90]
call fcn.140129a9c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov rdx, qword [rdi + 0x10]
lea r8, [rsp + 0x70]
mov rcx, qword [rdi + 0x40]
xor r9d, r9d
mov dword [rsp + 0x70], r12d
call qword [sym.imp.KERNEL32.dll_GetOverlappedResult]
test eax, eax
je 0x1400d755d
mov rcx, rbx
mov qword [rsp + 0x78], rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rbp, qword [rbx + 0x98]
lea r9, [rsp + 0x78]
mov rdx, rbp
lea rcx, [rbx + 0x98]
mov r8, qword [rbp + 8]
call fcn.1400d6550
mov rdx, qword [rbx + 0xa0]
mov rcx, r14
sub rcx, rdx
cmp rcx, 1
jb 0x1400d7588
lea rcx, [rdx + 1]
mov qword [rbx + 0xa0], rcx
mov qword [rbp + 8], rax
mov rcx, qword [rax + 8]
mov qword [rcx], rax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r9, qword [rdi + 0x10]
mov r8d, dword [rdi + 0x470]
mov rdx, qword [rdi + 0x460]
mov rcx, qword [rdi + 0x40]
mov qword [rsp + 0x20], r15
call qword [sym.imp.KERNEL32.dll_ReadFileEx]
test eax, eax
jne 0x1400d755d
mov rcx, rdi
call fcn.1400ea1e0
mov rdx, rdi
mov rcx, rbx
call fcn.1400d6fd0
cmp qword [rbx + 0x90], r12
jne 0x1400d7454
jmp 0x1400d7420
lea r11, [rsp + 0x40]
mov rbx, qword [r11 + 0x40]
mov rbp, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret
lea rcx, str.list_T__too_long
call fcn.14010a124
int3