joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140002570
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push r12
lea rbp, [rsp - 0x590]
sub rsp, 0x690
mov rax, qword [0x14002b008]
xor rax, rsp
mov qword [rbp + 0x570], rax
xor r12d, r12d
mov rsi, rcx
mov dword [rsp + 0x4c], r12d
mov qword [rsp + 0x50], r12
test rdx, rdx
jne 0x1400025cd
mov rcx, qword [rcx + 0x28]
lea r9, [rsp + 0x40]
lea r8d, [r12 + 4]
mov qword [rsp + 0x20], r12
lea rdx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1400027e0
mov qword [rsp + 0x6c0], rbx
call fcn.140002420
mov rbx, rax
test rax, rax
jne 0x140002604
mov rcx, qword [rsi + 0x28]
lea r9, [rsp + 0x40]
lea r8d, [rax + 4]
mov qword [rsp + 0x20], r12
lea rdx, [rsp + 0x4c]
call qword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x1400027d8
mov rax, qword [rax]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x70]
mov qword [rsp + 0x6c8], rdi
lea rdx, [rsp + 0x50]
mov rcx, rbx
mov qword [rsp + 0x688], r14
xor r9d, r9d
mov qword [rsp + 0x680], r15
call qword [rax + 0x30]
mov rax, qword [rbx]
lea r8, [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
mov rcx, rbx
call qword [rax + 0x20]
mov rcx, qword [rsi + 0x28]
lea r9, [rsp + 0x40]
mov r8d, 4
mov qword [rsp + 0x20], r12
lea rdx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WriteFile]
nop
mov rax, qword [rbx]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x20], rcx
lea r8, [rsp + 0x70]
mov rcx, rbx
lea rdx, [rsp + 0x50]
mov r9d, 0x100
call qword [rax + 0x30]
mov r14d, r12d
mov r15d, eax
cmp dword [rsp + 0x48], r12d
jbe 0x1400027a9
nop dword [rax]
nop dword [rax + rax]
mov ecx, r14d
lea rdi, [rsp + 0x70]
lea r9, [rsp + 0x40]
mov qword [rsp + 0x20], r12
mov r8d, 4
lea rdi, [rdi + rcx*4]
mov rcx, qword [rsi + 0x28]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov edx, dword [rdi]
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x30], rcx
lea r8, [rbp + 0x370]
lea rcx, [rsp + 0x5c]
mov dword [rsp + 0x44], r12d
mov rax, qword [rbx]
mov r9d, 0xff
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x44]
mov qword [rsp + 0x20], rcx
mov rcx, rbx
call qword [rax + 0x60]
mov eax, dword [rsp + 0x44]
lea r9, [rsp + 0x40]
mov rcx, qword [rsi + 0x28]
lea rdx, [rsp + 0x44]
add eax, eax
mov qword [rsp + 0x20], r12
mov r8d, 4
mov dword [rsp + 0x44], eax
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov r8d, dword [rsp + 0x44]
lea r9, [rsp + 0x40]
mov rcx, qword [rsi + 0x28]
lea rdx, [rbp + 0x370]
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsi + 0x28]
lea r9, [rsp + 0x40]
mov r8d, 4
mov qword [rsp + 0x20], r12
lea rdx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, qword [rsi + 0x28]
lea r9, [rsp + 0x40]
mov r8d, 4
mov qword [rsp + 0x20], r12
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_WriteFile]
inc r14d
cmp r14d, dword [rsp + 0x48]
jb 0x1400026b0
test r15d, r15d
je 0x140002670
mov rax, qword [rbx]
mov rcx, rbx
mov rdx, qword [rsp + 0x50]
call qword [rax + 0x18]
mov r15, qword [rsp + 0x680]
mov r14, qword [rsp + 0x688]
mov rdi, qword [rsp + 0x6c8]
mov rbx, qword [rsp + 0x6c0]
mov rcx, qword [rbp + 0x570]
xor rcx, rsp
call fcn.1400056d0
add rsp, 0x690
pop r12
pop rsi
pop rbp
ret
Function at 0x140002800
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x60
mov rax, qword [rdx]
mov r9d, r8d
mov r10, rdx
lea r8, [rbp - 0x18]
mov rsi, rcx
xor r14d, r14d
mov edx, r9d
mov qword [rbp - 0x10], r14
mov rcx, r10
mov dword [rbp + 0x28], r14d
call qword [rax + 0x58]
test eax, eax
jne 0x140002906
mov rcx, qword [rbp - 0x18]
lea r8, [rbp - 0x28]
mov qword [rbp - 0x28], r14
lea rdx, [0x14001f8e0]
mov rax, qword [rcx]
call qword [rax]
test eax, eax
jne 0x1400028fc
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1400028fc
lea rdx, [rbp - 0x20]
mov qword [rbp - 0x20], r14
mov rax, qword [rcx]
xor r9d, r9d
mov qword [rsp + 0x20], rdx
xor r8d, r8d
lea edx, [r14 + 0x12]
call qword [rax + 0x18]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x1400028f2
mov qword [rbp - 0x30], r14
lea rdx, [rbp - 0x30]
mov rax, qword [rcx]
call qword [rax + 0x38]
test eax, eax
jne 0x1400028f2
mov rcx, qword [rbp - 0x30]
test rcx, rcx
je 0x1400028f2
mov rax, qword [rcx]
lea rdx, [rbp + 0x38]
call qword [rax + 0x20]
test eax, eax
jne 0x1400028e8
mov rcx, qword [rbp + 0x38]
test rcx, rcx
je 0x1400028e8
mov rax, qword [rcx]
lea rdx, [rbp + 0x28]
call qword [rax + 0x20]
mov rcx, qword [rbp + 0x38]
lea rdx, [rbp - 0x10]
mov rax, qword [rcx]
call qword [rax + 0x18]
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x30]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x28]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rax, qword [rbp - 0x10]
lea rdi, [rbp - 0x20]
mov qword [rbp - 0x20], rax
mov ebx, r14d
nop word [rax + rax]
mov rcx, qword [rsi + 0x28]
lea r9, [rbp + 0x38]
mov r8d, 8
mov qword [rsp + 0x20], r14
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400029a2
mov eax, dword [rbp + 0x38]
add ebx, eax
add rdi, rax
cmp ebx, 8
jb 0x140002920
mov eax, dword [rbp + 0x28]
lea rdi, [rbp + 0x38]
mov dword [rbp + 0x38], eax
mov ebx, r14d
nop word [rax + rax]
mov rcx, qword [rsi + 0x28]
lea r9, [rbp - 0x30]
mov r8d, 4
mov qword [rsp + 0x20], r14
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x1400029be
mov eax, dword [rbp - 0x30]
add ebx, eax
add rdi, rax
cmp ebx, 4
jb 0x140002960
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
lea rax, str.Write_Error
lea rdx, [0x14002a430]
mov qword [rbp - 0x28], rax
lea rcx, [rbp - 0x28]
call fcn.140006fb8
int3
lea rax, str.Write_Error
lea rdx, [0x14002a430]
mov qword [rbp - 0x20], rax
lea rcx, [rbp - 0x20]
call fcn.140006fb8
int3
Function at 0x1400130c0
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x140012e24
Function at 0x14000631c
Capabilities:
Terminate process

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push r15
sub rsp, 0xb0
xor r14d, r14d
mov dword [rsp + 0x20], r14d
lea rcx, [rax - 0x78]
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetStartupInfoW]
nop
mov rax, qword gs:[0x30]
mov rbx, qword [rax + 8]
mov esi, r14d
xor eax, eax
lock cmpxchg qword [0x140010960], rbx
je 0x140006383
cmp rax, rbx
jne 0x140006376
mov ebx, 1
mov esi, ebx
jmp 0x140006388
mov ecx, 0x3e8
call qword [sym.imp.api_ms_win_core_synch_l1_2_0.dll_Sleep]
jmp 0x14000635b
mov ebx, 1
mov eax, dword [0x140010968]
cmp eax, ebx
jne 0x1400063a0
mov edi, 0x1f
mov ecx, edi
call fcn.140152000
jmp 0x14000640c
mov eax, dword [0x140010968]
test eax, eax
jne 0x140006401
mov dword [0x140010968], ebx
lea r15, [0x1400089c8]
lea rdi, [0x1400089b0]
mov qword [rsp + 0x30], rdi
mov eax, r14d
mov dword [rsp + 0x24], eax
cmp rdi, r15
jae 0x1400063f3
test eax, eax
jne 0x1400063f7
cmp qword [rdi], r14
je 0x1400063e8
mov rax, qword [rdi]
mov rcx, qword [0x140008930]
call rcx
mov dword [rsp + 0x24], eax
add rdi, 8
mov qword [rsp + 0x30], rdi
jmp 0x1400063ca
test eax, eax
je 0x140006407
mov eax, 0xff
jmp 0x140006562
mov dword [0x14000e3e4], ebx
mov edi, 0x1f
mov eax, dword [0x140010968]
cmp eax, ebx
jne 0x140006433
lea rdx, [0x1400089a8]
lea rcx, [0x140008938]
call sub.msvcrt.dll__initterm
mov dword [0x140010968], 2
test esi, esi
jne 0x140006441
mov rax, r14
xchg qword [0x140010960], rax
cmp qword [0x140010970], r14
je 0x140006474
lea rcx, [0x140010970]
call fcn.140006730
test eax, eax
je 0x140006474
xor r8d, r8d
lea edx, [r8 + 2]
xor ecx, ecx
mov rax, qword [0x140010970]
mov r9, qword [0x140008930]
call r9
mov rax, qword [sym.imp.msvcrt.dll__wcmdln]
mov rcx, qword [rax]
test rcx, rcx
jne 0x14000648d
mov eax, 0xff
jmp 0x140006562
mov qword [rsp + 0x28], rcx
mov edx, dword [rsp + 0x20]
movzx eax, word [rcx]
cmp ax, 0x20
ja 0x140006513
test ax, ax
je 0x1400064a8
test edx, edx
jne 0x140006513
sub ax, bx
cmp ax, di
ja 0x1400064be
add rcx, 2
mov qword [rsp + 0x28], rcx
movzx eax, word [rcx]
jmp 0x1400064a8
test byte [rsp + 0x7c], bl
movzx eax, word [rsp + 0x80]
mov r9d, 0xa
cmovne r9d, eax
mov r8, rcx
xor edx, edx
lea rcx, [0x140000000]
call fcn.140001394
mov dword [0x14000e3e0], eax
cmp dword [0x14000e400], r14d
jne 0x1400064fc
mov ecx, eax
call qword [sym.imp.msvcrt.dll_exit]
cmp dword [0x14000e3e4], r14d
jne 0x140006511
call qword [sym.imp.msvcrt.dll__cexit]
mov eax, dword [0x14000e3e0]
jmp 0x140006562
cmp ax, 0x22
jne 0x140006527
mov eax, r14d
test edx, edx
sete al
mov edx, eax
mov dword [rsp + 0x20], eax
add rcx, 2
mov qword [rsp + 0x28], rcx
jmp 0x140006496
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
sub rsp, 0x28
call fcn.1400067b0
add rsp, 0x28
jmp 0x14000631c
Function at 0x14000f0b0
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1402f3ee8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov eax, dword [rcx + 0x10]
xor r10b, r10b
mov rbx, rcx
mov edx, 0x5f5e0ff
test eax, eax
jle 0x14000f0ff
lea r8, [rcx + 0x38]
mov r9d, eax
nop
mov eax, dword [r8]
cmp eax, edx
jge 0x14000f0f0
test eax, eax
jle 0x14000f0f0
mov r10b, 1
mov edx, eax
add r8, 4
sub r9, 1
jne 0x14000f0e0
test r10b, r10b
jne 0x14000f11b
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rdx, qword [rsp + 0x40]
shr rdx, 0x14
cmp edx, dword [rbx + 0x34]
jge 0x14000f123
mov dword [rbx + 0x34], edx
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400d6ae0
add rsp, 0x70
pop rbx
ret

Function at 0x14000f140
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1402f3ee8]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x40]
shr rax, 0x14
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400d6ae0
add rsp, 0x78
ret

Function at 0x14000f190
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1402f3ee8]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x30]
shr rax, 0x14
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400d6ae0
add rsp, 0x78
ret

Function at 0x14000f430
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1402f3ee8]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x28]
shr rax, 0x14
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400d6ae0
add rsp, 0x78
ret

Function at 0x14000f480
Capabilities:
Get memory capacity

Disassembly:
sub rsp, 0x78
mov rax, qword [0x1402f3ee8]
xor rax, rsp
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x38]
shr rax, 0x14
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400d6ae0
add rsp, 0x78
ret

Function at 0x14000f620
Capabilities:
Get memory capacity

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x1402f3ee8]
xor rax, rsp
mov qword [rsp + 0x60], rax
mov rbx, rcx
mov rcx, qword [rcx + 0x28]
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QTimer::stop_void____ptr64]
mov rcx, qword [rbx + 0x28]
mov edx, 0x15f90
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QTimer::start_int____ptr64]
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x40
call qword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov rax, qword [rsp + 0x40]
shr rax, 0x14
mov dword [rbx + 0x30], eax
mov dword [rbx + 0x34], eax
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.1400d6ae0
add rsp, 0x70
pop rbx
ret
Function at 0x140013d30
Capabilities:
Log keystrokes via polling

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0xd0
mov rax, qword [0x1402f3ee8]
xor rax, rsp
mov qword [rsp + 0xc0], rax
mov edi, edx
mov ebx, ecx
lea rdx, str.const_wchar_t___cdecl_getModSpecialKey_unsigned_int_int_
lea rcx, [rsp + 0x30]
call fcn.1400c5970
nop
lea eax, [rbx - 0xa0]
cmp eax, 1
jbe 0x140013e0f
mov ecx, ebx
call fcn.140013e70
mov rbx, rax
cmp dword [0x1402ee030], 0
jne 0x140013dbf
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x140013dbf
movzx r9d, word [0x1402ee03e]
mov qword [rsp + 0x20], rbx
lea r8, str.Shift__c__s
mov edx, 0x40
lea rcx, [rsp + 0x40]
call fcn.140014030
lea rbx, [rsp + 0x40]
test edi, edi
jne 0x140013def
cmp byte [rbx + 1], dil
jne 0x140013def
mov r9, rbx
lea r8, [0x1401a1b50]
lea edx, [rdi + 0x40]
lea rbx, [0x1402f8130]
mov rcx, rbx
call fcn.140014030
mov rcx, rbx
call fcn.140013c70
jmp 0x140013e34
mov r9, rbx
lea r8, [0x1401a1b50]
mov edx, 0x40
lea rbx, [0x1402f8130]
mov rcx, rbx
call fcn.140014030
jmp 0x140013e34
test edi, edi
jne 0x140013e17
xor ebx, ebx
jmp 0x140013e34
lea r8, [0x1401a1318]
mov edx, 0x40
lea rbx, [0x1402f8130]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
nop
lea rcx, [rsp + 0x30]
call fcn.1400c5ae0
mov rax, rbx
mov rcx, qword [rsp + 0xc0]
xor rcx, rsp
call fcn.1400d6ae0
mov rbx, qword [rsp + 0xe8]
add rsp, 0xd0
pop rdi
ret

Function at 0x140013f00
Capabilities:
Log keystrokes via application hook

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
lea rdx, str.bool___cdecl_KeyboardWin::init_void_
lea rcx, [rsp + 0x38]
call fcn.1400c5970
nop
cmp qword [0x1402f8018], 0
je 0x140013f2e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor r9d, r9d
mov r8, rax
lea rdx, [0x140013650]
lea ecx, [r9 + 0xd]
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov qword [0x1402f8018], rax
test rax, rax
setne bl
lea rcx, [rsp + 0x38]
call fcn.1400c5ae0
movzx eax, bl
add rsp, 0x20
pop rbx
ret

Function at 0x1400c9e00
Capabilities:
Encode data using xor

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
mov rbp, rcx
movzx ebx, dl
mov rcx, qword [rcx + 0x38]
mov r14, r8
call qword [sym.imp.Qt5Core.dll_public:_char____ptr64___cdecl_QByteArray::begin_void____ptr64]
xor edi, edi
mov rsi, rax
shl ebx, 2
nop word [rax + rax]
mov edx, edi
mov eax, edi
shr edx, 2
and eax, 3
add edx, ebx
mov rcx, r14
imul edx, dword [rbp + 0x10]
add edx, eax
call qword [sym.imp.Qt5Core.dll_public:_char___cdecl_QByteArray::at_int_const___ptr64]
xor byte [rsi], al
inc edi
lea rsi, [rsi + 1]
cmp edi, 0x10
jl 0x1400c9e40
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 0x1400c9e90
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
push rdi
push r14
push r15
sub rsp, 0x30
mov r15, r9
mov rbp, r8
mov rsi, rdx
xor edi, edi
mov dword [rsp + 0x20], edi
mov rcx, r8
call qword [sym.imp.Qt5Core.dll_public:_char_const____ptr64___cdecl_QByteArray::begin_void_const___ptr64]
mov rbx, rax
mov rcx, r15
call qword [sym.imp.Qt5Core.dll_public:_char_const____ptr64___cdecl_QByteArray::begin_void_const___ptr64]
mov r14, rax
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_void___cdecl_QByteArray::constructor_void____ptr64]
mov dword [rsp + 0x20], 1
mov rcx, qword [r15]
mov r8d, dword [rcx + 4]
mov rcx, qword [rbp]
mov edx, dword [rcx + 4]
cmp r8d, edx
cmovl edx, r8d
test edx, edx
jle 0x1400c9f30
sub r14, rbx
movzx r8d, byte [r14 + rbx]
xor r8b, byte [rbx]
mov edx, edi
mov rcx, rsi
call qword [sym.imp.Qt5Core.dll_public:_class_QByteArray____ptr64___cdecl_QByteArray::insert_int__char____ptr64]
inc edi
lea rbx, [rbx + 1]
mov rax, qword [r15]
mov edx, dword [rax + 4]
mov rax, qword [rbp]
mov ecx, dword [rax + 4]
cmp edx, ecx
cmovl ecx, edx
cmp edi, ecx
jl 0x1400c9f01
mov rax, rsi
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret
Function at 0x1400d7fa0
Capabilities:
Accept command line arguments

Disassembly:
push rbx
push rdi
push r15
sub rsp, 0x70
xor ebx, ebx
mov dword [rsp + 0x40], ebx
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov rcx, rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov qword [rsp + 0x50], rax
mov rdi, rax
test rax, rax
jne 0x1400d7fdd
lea rax, [rbx - 1]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
mov eax, dword [rsp + 0x40]
mov r15, 0xffffffffffffffff
inc eax
mov qword [rsp + 0x98], rsi
movsxd rcx, eax
mov eax, 8
mul rcx
mov qword [rsp + 0x60], r14
cmovo rax, r15
mov rcx, rax
call fcn.1400d7218
mov r14, rax
mov qword [rsp + 0x48], rax
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x1400d80dc
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0xa0], r12
mov r12, r14
mov qword [rsp + 0x68], r13
mov r13, rdi
sub r13, r14
mov r14d, ebx
nop dword [rax]
nop word [rax + rax]
mov rbp, qword [r12 + r13]
mov r9d, r15d
mov qword [rsp + 0x38], rbx
mov r8, rbp
mov qword [rsp + 0x30], rbx
xor edx, edx
mov dword [rsp + 0x28], ebx
xor ecx, ecx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rdi, eax
mov rcx, rdi
call fcn.1400d7218
mov qword [rsp + 0x38], rbx
mov r9d, r15d
mov qword [rsp + 0x30], rbx
mov r8, rbp
mov dword [rsp + 0x28], edi
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov qword [r12], rsi
lea r12, [r12 + 8]
mov eax, dword [rsp + 0x40]
inc r14d
cmp r14d, eax
jne 0x1400d8050
mov r14, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x50]
mov r13, qword [rsp + 0x68]
mov r12, qword [rsp + 0xa0]
mov rbp, qword [rsp + 0x90]
cdqe
mov rcx, rdi
mov qword [r14 + rax*8], rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [rsp + 0x40]
mov rdx, r14
call fcn.1400acdd0
mov esi, eax
cmp dword [rsp + 0x40], ebx
je 0x1400d811b
mov rdi, r14
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400d811b
call fcn.1400d6a40
inc ebx
add rdi, 8
cmp ebx, dword [rsp + 0x40]
jne 0x1400d8102
mov rcx, r14
call fcn.1400d6a40
mov r14, qword [rsp + 0x60]
mov eax, esi
mov rsi, qword [rsp + 0x98]
add rsp, 0x70
pop r15
pop rdi
pop rbx
ret
Function at 0x14030a6e0
Capabilities:
Encode data using base64

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x50
mov r12, r9
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
test r8, r8
jne 0x14030a70d
xor al, al
jmp 0x14030a86f
mov rax, qword [0x14032b6c0]
lea rcx, [rsp]
xor r11d, r11d
mov qword [rcx], rax
mov rax, qword [0x14032b6c8]
mov qword [rsp + 0x60], rbp
mov qword [rcx + 8], rax
mov rax, qword [0x14032b6d0]
mov rdx, r11
mov qword [rcx + 0x10], rax
mov rax, qword [0x14032b6d8]
mov qword [rcx + 0x18], rax
mov rax, qword [0x14032b6e0]
mov qword [rcx + 0x20], rax
mov rax, qword [0x14032b6e8]
mov qword [rcx + 0x28], rax
mov rax, qword [0x14032b6f0]
mov qword [rcx + 0x30], rax
mov rax, qword [0x14032b6f8]
mov qword [rcx + 0x38], rax
movzx eax, byte [0x14032b700]
mov byte [rcx + 0x40], al
mov rax, qword [r9]
mov rcx, r8
lea rbp, [r8 + rax]
test rbx, rbx
je 0x14030a861
add r8, 4
nop word [rax + rax]
movzx r9d, byte [rdx + rdi]
inc rdx
shl r9d, 0x10
cmp rdx, rbx
jne 0x14030a7b9
mov r11d, 2
jmp 0x14030a7dd
movzx eax, byte [rdx + rdi]
inc rdx
shl eax, 8
or r9d, eax
cmp rdx, rbx
jne 0x14030a7d3
mov r11d, 1
jmp 0x14030a7dd
movzx eax, byte [rdx + rdi]
or r9d, eax
inc rdx
mov r10d, r9d
and r9d, 0x3f
cmp r8, rbp
ja 0x14030a885
mov rax, r10
shr rax, 0x12
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx], al
mov rax, r10
shr rax, 0xc
and eax, 0x3f
movzx eax, byte [rsp + rax]
mov byte [rcx + 1], al
cmp r11, 1
jbe 0x14030a822
mov byte [rcx + 2], 0x3d
add rcx, 3
add r8, 3
jmp 0x14030a83a
shr r10, 6
add rcx, 3
and r10d, 0x3f
add r8, 3
movzx eax, byte [rsp + r10]
mov byte [rcx - 1], al
test r11, r11
je 0x14030a84a
mov byte [rcx], 0x3d
inc rcx
inc r8
jmp 0x14030a858
movzx eax, byte [rsp + r9]
inc rcx
inc r8
mov byte [rcx - 1], al
cmp rdx, rbx
jb 0x14030a7a0
sub rcx, rsi
mov al, 1
mov qword [r12], rcx
mov rbp, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r12
ret
xor al, al
jmp 0x14030a86a
Function at 0x10025c7f8
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x50
rdtsc
shl rdx, 0x20
or rax, rdx
cdqe
mov qword [0x100346e50], rax
call qword [sym.imp.KERNEL32.dll_GetVersion]
lea rbp, [0x100000000]
xor ebx, ebx
and eax, 0x80000000
mov dword [0x1003470d0], eax
cmp dword [0x100348190], ebx
jne 0x10025c856
lea rcx, [0x1003475c0]
call fcn.100309998
cmp eax, ebx
jl 0x10025ca45
mov dword [0x100348190], 1
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov rdi, qword [rsp + 0x28]
mov r8d, 0x80000000
movsxd rdx, dword [0x10000003c]
lea rax, [rdi + r8]
lea rcx, [0x100000000]
mov edx, dword [rdx + rbp + 0x50]
add rdx, rcx
cmp rdx, rax
jb 0x10025c891
lea rdi, [rdx - 0x80000000]
lea rdx, [rdi + 0xffff]
mov rdi, qword [rsp + 0x30]
lea rax, [rdi - 0x80000000]
and rdx, 0xffffffffffff0000
mov qword [0x1003475b0], rdx
cmp rcx, rax
jbe 0x10025c8c0
mov qword [0x100348140], rdi
jmp 0x10025c8ca
add rcx, r8
mov qword [0x100348140], rcx
mov word [0x100348140], bx
mov rax, qword [0x100348140]
sub rax, rdx
shr rax, 0x10
mov qword [0x100348890], rax
mov eax, ebx
cmp eax, ebx
jl 0x10025ca45
mov rax, qword [0x100347a90]
cmp rax, 1
jae 0x10025c936
lea rax, [rax + rax*4]
lea rcx, [rbp + rax*8 + 0x331b50]
call fcn.100309998
mov edx, eax
cmp eax, ebx
jl 0x10025c92f
mov rax, qword [0x100347a90]
inc rax
mov qword [0x100347a90], rax
cmp rax, 1
jb 0x10025c8fd
cmp edx, ebx
jge 0x10025c936
mov eax, edx
jmp 0x10025ca45
mov eax, dword [0x100172988]
cmp eax, ebx
je 0x10025c9d0
lea rsi, section..data
lea r9, [rsp + 0x78]
mov r8d, 0x40
mov eax, dword [0x100172988]
mov edx, dword [0x1000d5e38]
mov rcx, rsi
imul edx, eax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
cmp eax, ebx
jne 0x10025c992
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, ebx
mov ecx, 0x54f
cmove eax, ecx
movzx ecx, ax
or ecx, 0x80070000
cmp eax, ebx
cmovle ecx, eax
jmp 0x10025c9d2
mov r8, rbx
mov eax, dword [0x100172988]
cmp eax, ebx
jbe 0x10025c9d0
xor eax, eax
mov ecx, dword [0x1000d5e38]
mov edi, dword [0x1000d5e38]
mov dword [rbp + r8*4 + 0x349c90], 0xcb65
imul rdi, r8
add rdi, rsi
rep stosb byte [rdi], al
mov eax, dword [0x100172988]
inc r8
cmp r8, rax
jb 0x10025c99f
mov ecx, ebx
cmp ecx, ebx
jge 0x10025c9da
mov eax, ecx
jmp 0x10025ca45
mov ecx, dword [0x100348730]
cmp ecx, ebx
je 0x10025ca2c
lea rdi, [0x100348758]
mov edx, dword [0x100348728]
lea rax, [rdx + rbp + 0x348758]
mov qword [0x100348738], rdi
mov qword [0x100348740], rax
mov eax, dword [0x10034872c]
add rdx, rax
lea rax, [rdx + rbp + 0x348758]
mov qword [0x100348748], rax
add rcx, rdx
add rcx, rdi
mov qword [0x100348750], rcx
mov dword [rsp + 0x70], ebx
lea rcx, [rsp + 0x70]
mov eax, 0x3c7cbac1
cmp dword [rsp + 0x70], ebx
cmovl ebx, dword [rsp + 0x70]
mov eax, ebx
mov rbx, qword [rsp + 0x80]
add rsp, 0x50
pop rdi
pop rsi
pop rbp
ret