joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14000ba50
Capabilities:
Parse pe header

Disassembly:
mov r8, qword [0x140023f00]
xor eax, eax
cmp word [r8], 0x5a4d
jne 0x14000ba70
movsxd rdx, dword [r8 + 0x3c]
add rdx, r8
cmp dword [rdx], 0x4550
je 0x14000ba78
ret
cmp word [rdx + 0x18], 0x20b
jne 0x14000ba70
movzx eax, word [rdx + 0x14]
movzx r8d, word [rdx + 6]
lea rax, [rdx + rax + 0x18]
test r8w, r8w
je 0x14000bac0
lea edx, [r8 - 1]
lea rdx, [rdx + rdx*4]
lea rdx, [rax + rdx*8 + 0x28]
nop dword [rax]
test byte [rax + 0x27], 0x20
je 0x14000bab7
test rcx, rcx
je 0x14000ba70
sub rcx, 1
add rax, 0x28
cmp rax, rdx
jne 0x14000baa8
xor eax, eax
ret

Function at 0x14000bad0
Capabilities:
Parse pe header

Disassembly:
mov rax, qword [0x140023f00]
xor edx, edx
cmp word [rax], 0x5a4d
jne 0x14000baef
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
je 0x14000baf8
mov rax, rdx
ret
cmp word [rcx + 0x18], 0x20b
cmove rdx, rax
mov rax, rdx
ret

Function at 0x14000bb10
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov rdx, qword [0x140023f00]
xor eax, eax
cmp word [rdx], 0x5a4d
jne 0x14000bb30
movsxd r8, dword [rdx + 0x3c]
add r8, rdx
cmp dword [r8], 0x4550
je 0x14000bb38
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000bb30
sub rcx, rdx
movzx r9d, word [r8 + 6]
movzx edx, word [r8 + 0x14]
lea rdx, [r8 + rdx + 0x18]
test r9w, r9w
je 0x14000bb30
lea eax, [r9 - 1]
lea rax, [rax + rax*4]
lea r9, [rdx + rax*8 + 0x28]
nop word cs:[rax + rax]
mov r8d, dword [rdx + 0xc]
mov rax, r8
cmp rcx, r8
jb 0x14000bb84
add eax, dword [rdx + 8]
cmp rcx, rax
jb 0x14000bb90
add rdx, 0x28
cmp r9, rdx
jne 0x14000bb70
xor eax, eax
ret
mov eax, dword [rdx + 0x24]
not eax
shr eax, 0x1f
ret

Function at 0x14000bba0
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
mov r11, qword [0x140023f00]
xor r9d, r9d
cmp word [r11], 0x5a4d
jne 0x14000bbc2
movsxd r8, dword [r11 + 0x3c]
add r8, r11
cmp dword [r8], 0x4550
je 0x14000bbd0
mov rax, r9
ret
cmp word [r8 + 0x18], 0x20b
jne 0x14000bbc2
mov eax, dword [r8 + 0x90]
test eax, eax
je 0x14000bbc2
movzx edx, word [r8 + 0x14]
movzx r10d, word [r8 + 6]
lea rdx, [r8 + rdx + 0x18]
test r10w, r10w
je 0x14000bbc2
lea r8d, [r10 - 1]
lea r8, [r8 + r8*4]
lea r10, [rdx + r8*8 + 0x28]
nop word cs:[rax + rax]
mov r9d, dword [rdx + 0xc]
mov r8, r9
cmp rax, r9
jb 0x14000bc25
add r8d, dword [rdx + 8]
cmp rax, r8
jb 0x14000bc38
add rdx, 0x28
cmp rdx, r10
jne 0x14000bc10
xor r9d, r9d
mov rax, r9
ret
add rax, r11
jmp 0x14000bc47
sub ecx, 1
add rax, 0x14
mov r8d, dword [rax + 4]
test r8d, r8d
jne 0x14000bc57
mov edx, dword [rax + 0xc]
test edx, edx
je 0x14000bc2e
test ecx, ecx
jg 0x14000bc40
mov r9d, dword [rax + 0xc]
add r9, r11
mov rax, r9
ret
Function at 0x14000bd20
Capabilities:
Allocate thread local storage

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rsi, rcx
mov rbx, rdx
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14000bd50
mov rdx, rbx
mov ecx, eax
mov dword [rsi], eax
add rsp, 0x28
pop rbx
pop rsi
jmp dbg.__mingwthr_key_dtor
add rsp, 0x28
pop rbx
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0x4f2d2067
xor ah, byte [rax]
sbb eax, 0xe91
add byte [rax], al
add byte [rax], al
add byte [rcx + 0x700003e], ch
add byte ds:[rax], al
invalid
add dword [rsi], eax
invalid
jae 0x14005ac8f
jp 0x14005ac8d
pop rdi
je 0x14005ac2b
add esp, dword [rbx]
sub al, 0x8e
add byte [rax], al
add byte [rdi], al
or byte [rdi], al
invalid
insb byte [rdi], dx
outsd dx, dword [rsi]
outsb dx, byte [rsi]
and byte [edi + ebp*2 + 0x6e], ch
and byte [ebp + 0x6e], dh
jae 0x14005acac
outsb dx, byte [esi]
insb byte [rdi], dx
outsd dx, dword [rsi]
outsb dx, byte [rsi]
invalid
add dword [rax], ecx
jne case.0x14000bd56.16
jae 0x14005ad25
add al, 0x6c
add al, 0x35
invalid
push rsp
pop r15
pop rdi
pop rdi
outsb dx, byte [rsi]
imul bp, word [rsi + 0x69], 0x6574
imul ebp, dword [rsi + 0x69], 0x3006574
invalid
imul esi, dword [rbx + rsi*2], 0x54530505
push rdx
push rsp
pop r15
pop rdi
jb 0x14005ad62
invalid
add byte [eax], cl
pop rdi
push rax
outsb dx, byte [rsi]
outsb dx, byte [rsi]
xor al, 2

Function at 0x14000bd90
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov ebx, ecx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, ebx
mov esi, eax
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, esi
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, rbx
add rsp, 0x28
pop rbx
pop rsi
ret

Function at 0x14000bdc0
Capabilities:
Set thread local storage value

Disassembly:
sub rsp, 0x28
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
je 0x14000bdd8
xor eax, eax
add rsp, 0x28
ret
add rsp, 0x28
jmp qword [sym.imp.KERNEL32.dll_GetLastError]

Function at 0x14000c780
Capabilities:
Allocate thread local storage

Disassembly:
sub rsp, 0x28
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov dword [0x14002c180], 0xffffffff
mov r8d, 0xffff
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [0x14002c188], rax
call qword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
je 0x14000c7d0
lea rdx, [0x14000c690]
mov ecx, eax
mov dword [0x14002c178], eax
call dbg.__mingwthr_key_dtor
test eax, eax
jne 0x14000c7d8
add rsp, 0x28
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14000c7c7
call sym.abort
nop
nop
Function at 0x14000c7e0
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x28
mov rsi, qword [0x140023cb0]
mov r11d, dword [rsi]
mov rbx, rcx
test r11d, r11d
jne 0x14000c818
mov rax, qword [rcx + 0x10]
test rax, rax
je 0x14000c880
add rsp, 0x28
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
ret
mov r12, qword [rcx + 0x10]
test r12, r12
je 0x14000c890
mov esi, dword [0x14002c178]
mov r13, qword [sym.imp.KERNEL32.dll_GetLastError]
call r13
mov edi, eax
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov ecx, edi
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rsi, rsi
je 0x14000c900
mov rbp, qword [rsi]
cmp rbp, r12
jb 0x14000c948
sub r12, 1
mov rax, qword [rsi + r12*8 + 8]
test rax, rax
jne 0x14000c807
mov rcx, rbx
call fcn.14000c6e0
mov qword [rsi + r12*8 + 8], rax
jmp 0x14000c807
call fcn.14000c6e0
mov qword [rbx + 0x10], rax
jmp 0x14000c807
mov r10d, dword [rsi]
test r10d, r10d
je 0x14000c9aa
mov r9d, dword [0x140020030]
test r9d, r9d
je 0x14000c9d8
lock add dword [0x14002c180], 1
jne 0x14000ca0c
mov r12, qword [rbx + 0x10]
test r12, r12
je 0x14000c9b7
mov eax, dword [rsi]
test eax, eax
je 0x14000c821
lock sub dword [0x14002c180], 1
js 0x14000c821
mov rcx, qword [0x14002c188]
xor r8d, r8d
mov edx, 1
call qword [sym.imp.KERNEL32.dll_ReleaseSemaphore]
jmp 0x14000c821
lea rcx, [r12 + 0x21]
mov edx, 8
lea rdi, [r12 + 0x20]
call sym.calloc
mov rsi, rax
test rax, rax
je 0x14000ca33
mov qword [rax], rdi
mov ecx, dword [0x14002c178]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x14000c85b
call r13
jmp 0x14000c85b
lea rdi, [rbp + rbp]
lea rax, [r12 + 0x20]
mov rcx, rsi
cmp rdi, r12
cmovb rdi, rax
lea rdx, [rdi*8 + 8]
call sym.realloc
mov rsi, rax
test rax, rax
je 0x14000ca33
mov qword [rax], rdi
sub rdi, rbp
lea rcx, [rax + rbp*8 + 8]
xor edx, edx
lea r8, [rdi*8]
call sym.memset
jmp 0x14000c923
call fcn.14000c780
mov dword [0x140020030], 1
mov edx, dword [rsi]
test edx, edx
jne 0x14000c8ac
mov r12, qword [rbx + 0x10]
test r12, r12
jne 0x14000c821
mov rax, qword [0x14002c170]
lea r12, [rax + 1]
mov qword [0x14002c170], r12
mov qword [rbx + 0x10], r12
jmp 0x14000c8c7
lock add dword [0x140020034], 1
je 0x14000c991
mov r8d, dword [0x140020030]
mov rbp, qword [sym.imp.KERNEL32.dll_Sleep]
lea rdi, [0x140020030]
test r8d, r8d
jne 0x14000c9a0
nop dword [rax]
xor ecx, ecx
call rbp
mov ecx, dword [rdi]
test ecx, ecx
je 0x14000ca00
jmp 0x14000c9a0
mov rcx, qword [0x14002c188]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14000c8ba
lock sub dword [0x14002c180], 1
jmp 0x14000c8ba
call sym.abort
nop
nop dword [rax]
Function at 0x140011a50
Capabilities:
Generate random numbers via rtlgenrandom

Disassembly:
push rsi
push rbx
sub rsp, 0x28
mov rbx, rcx
lea rcx, str.msvcrt.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rsi, qword [sym.imp.KERNEL32.dll_GetProcAddress]
lea rdx, str.rand_s
mov rcx, rax
call rsi
test rax, rax
je 0x140011a98
mov rcx, rbx
mov qword [dbg.init_rand_s], rax
add rsp, 0x28
pop rbx
pop rsi
jmp rax
lea rcx, str.advapi32.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea rdx, str.SystemFunction036
mov rcx, rax
call rsi
mov qword [0x14002cb80], rax
lea rax, [dbg.mingw_rand_s]
jmp 0x140011a7e

Function at 0x1400135d0
Capabilities:
Write file on windows

Disassembly:
push rdi
push rsi
push rbx
sub rsp, 0x30
cmp byte [0x1400201a0], 0
jne 0x1400136d6
mov byte [0x1400201a0], 1
call sym.__cxa_current_exception_type
test rax, rax
je 0x1400136ac
mov rbx, qword [rax + 8]
xor eax, eax
lea r9, [rsp + 0x2c]
cmp byte [rbx], 0x2a
mov dword [rsp + 0x2c], 0xffffffff
sete al
xor r8d, r8d
xor edx, edx
add rbx, rax
mov rcx, rbx
call sym.__cxa_demangle
mov ecx, 2
mov rsi, qword [dbg.__acrt_iob_func]
mov rdi, rax
call rsi
mov edx, 1
lea rcx, str.terminate_called_after_throwing_an_instance_of_
mov r8d, 0x30
mov r9, rax
call sym.fwrite
mov edx, dword [rsp + 0x2c]
mov ecx, 2
test edx, edx
je 0x14001369d
call rsi
mov rcx, rbx
mov rdx, rax
call sym.fputs
mov ecx, 2
call rsi
mov r8d, 2
mov edx, 1
lea rcx, [0x1400212b1]
mov r9, rax
call sym.fwrite
mov eax, dword [rsp + 0x2c]
test eax, eax
jne 0x140013698
mov rcx, rdi
call sym.free
call sym.__cxa_rethrow
call rsi
mov rcx, rdi
mov rdx, rax
call sym.fputs
jmp 0x140013667
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x2d
mov edx, 1
lea rcx, str.terminate_called_without_an_active_exception_n
mov r9, rax
call sym.fwrite
call sym.abort
mov ecx, 2
call qword [dbg.__acrt_iob_func]
mov r8d, 0x1d
mov edx, 1
lea rcx, str.terminate_called_recursively_n
mov r9, rax
call sym.fwrite
call sym.abort
sub rdx, 1
mov rcx, rax
jne 0x14001376b
call sym.__cxa_begin_catch
mov rcx, rax
mov rax, qword [rax]
call qword [rax + 0x10]
mov ecx, 2
mov rbx, rax
call rsi
mov r9, rax
mov r8d, 0xb
mov edx, 1
lea rcx, str.__what__:
call sym.fwrite
mov ecx, 2
call rsi
mov rdx, rax
mov rcx, rbx
call sym.fputs
mov ecx, 2
call rsi
mov rdx, rax
mov ecx, 0xa
call sym.fputc
call sym.__cxa_end_catch
jmp 0x1400136d1
call sym.__cxa_begin_catch
call sym.__cxa_end_catch
jmp 0x1400136d1
Function at 0x14001a630
Capabilities:
Read file on windows

Disassembly:
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x38
mov rax, qword [rcx + 8]
mov rdi, rcx
test rax, rax
je 0x14001a658
mov rcx, qword [rcx]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
jmp rax
mov rbp, qword [sym.imp.msvcrt.dll__errno]
mov ebx, 4
lea rsi, [rsp + 0x2c]
nop dword [rax]
mov ecx, dword [rdi + 0x10]
mov r8d, ebx
mov rdx, rsi
call sym.read
test eax, eax
jle 0x14001a6a0
cdqe
add rsi, rax
sub rbx, rax
jne 0x14001a670
mov eax, dword [rsp + 0x2c]
add rsp, 0x38
pop rbx
pop rsi
pop rdi
pop rbp
ret
cmp eax, 0xffffffff
jne 0x14001a6ac
call rbp
cmp dword [rax], 4
je 0x14001a670
lea rcx, str.random_device_could_not_be_read
call method.std.__throw_runtime_error_char_const_
nop
nop
nop
nop
nop
nop
nop
nop

Function at 0x14001f440
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400201c0]
jmp sym.__emutls_get_address

Function at 0x14001f450
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
lea rcx, [0x1400201c0]
jmp sym.__emutls_get_address
Function at 0x140022a90
Capabilities:
Encode data using base64

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x20
mov rsi, rcx
cmp rdx, 1
je 0x140022ac3
mov rdi, rdx
lea rax, [rdx - 1]
test rdx, rax
jne 0x140022aca
mov rbx, qword [rsi + 8]
cmp rdi, rbx
ja 0x140022bc0
jb 0x140022ad7
add rsp, 0x20
pop rbx
pop rdi
pop rsi
ret
mov edi, 2
jmp 0x140022aac
mov rcx, rdi
call fcn.140068bd0
mov rdi, rax
jmp 0x140022aac
mov rax, qword [rsi + 0x18]
test rax, rax
js 0x140022ae7
cvtsi2ss xmm0, rax
jmp 0x140022afc
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.1400c87f0
cvttss2si rcx, xmm0
mov rdx, rcx
subss xmm0, dword [0x14013a090]
cvttss2si rax, xmm0
sar rdx, 0x3f
and rax, rdx
or rax, rcx
cmp rbx, 3
jb 0x140022ba8
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 0x140022ba8
cmp rax, 2
jb 0x140022bb0
dec rax
bsr rcx, rax
xor ecx, 0x3f
neg cl
mov eax, 1
shl rax, cl
jmp 0x140022bb0
mov rcx, rax
call fcn.140068bd0
cmp rdi, rax
cmovb rdi, rax
cmp rdi, rbx
jae 0x140022abb
mov rcx, rsi
mov rdx, rdi
add rsp, 0x20
pop rbx
pop rdi
pop rsi
jmp 0x1400cc660
Function at 0x140024a10
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 0x140024a6a
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 [0x140177010]
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.140069460
lea rdx, [0x140165a50]
mov rcx, r14
call fcn.140069c70
mov r14, rax
mov rcx, qword [rbp - 0x20]
mov eax, 0xffffffff
lock xadd dword [rcx + 8], eax
test eax, eax
jne 0x140024aaa
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [0x140177010]
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r15, [rbp - 0x20]
mov qword [r15 + 0x10], rax
movaps xmm0, xmmword [0x140136a00]
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 [0x140177010]
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 0x140024b71
test r9b, r9b
mov rbx, r15
cmovs rbx, rcx
test rdi, rdi
je 0x140024b56
mov al, byte [rbx]
movzx eax, al
mov rcx, qword [rdi + 0x30]
cmp rcx, qword [rdi + 0x38]
je 0x140024b5a
lea rdx, [rcx + 1]
mov qword [rdi + 0x30], rdx
mov byte [rcx], al
cmp eax, 0xffffffff
jne 0x140024b2b
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 0x140024b06
jmp 0x140024b71
xor edi, edi
jmp 0x140024b37
mov rcx, qword [rdi]
mov r8, qword [rcx + 0x60]
mov rcx, rdi
mov edx, eax
mov rax, r8
call qword [0x140177010]
jmp 0x140024b24
shr r9b, 7
mov qword [rsi], rdi
test r9b, r9b
je 0x140024a5a
call fcn.14009cfa4
jmp 0x140024a5a

Function at 0x14002d200
Capabilities:
Accept command line arguments

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x50
movaps xmmword [rsp + 0x40], xmm6
mov rax, qword [0x140158018]
xor rax, rsp
mov qword [rsp + 0x38], rax
mov rdi, qword [0x140166788]
test rdi, rdi
jne 0x14002d2a3
mov ecx, 0x48
call fcn.14009cf68
mov rsi, rax
xorps xmm6, xmm6
movups xmmword [rax], xmm6
mov ecx, 0x18
call fcn.14009cf68
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 [0x140166788], rsi
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov qword [rsp + 0x28], rax
test rax, rax
je 0x14002d2c5
mov rcx, rax
call fcn.1400b6258
lea rdx, [rsp + 0x28]
mov qword [rdx + 8], rax
mov rcx, rsi
call fcn.14002d2d0
test rdi, rdi
sete bl
mov rcx, qword [rsp + 0x38]
xor rcx, rsp
call fcn.14009d8b0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x40]
add rsp, 0x50
pop rbx
pop rdi
pop rsi
ret
int3
Function at 0x14002d2d0
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 [0x140158018]
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.140035ed0
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
cmp qword [rsi + 8], 0
je 0x14002d4e8
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 0x14002d51e
lea rdx, [0x14013cf3e]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x14002d531
mov rcx, qword [rsi]
lea rdx, [rsp + 0x4c]
call qword [0x140177010]
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 0x14002d539
test ebp, ebp
js 0x14002d540
shl rbp, 3
lea rsi, [rbp*2]
add rsi, rbp
mov rcx, rsi
call fcn.14009cf68
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.1400b6258
mov rdi, rax
movabs rax, 0x7fffffffffffffef
cmp rdi, rax
ja 0x14002d50e
cmp rdi, 0xb
jae 0x14002d429
mov byte [rbx + 0x17], dil
test rdi, rdi
je 0x14002d424
cmp rdi, 3
jne 0x14002d516
movzx eax, word [rsi + 4]
mov word [rbx + 4], ax
mov eax, dword [rsi]
mov dword [rbx], eax
mov r13, rbx
jmp 0x14002d46a
lea r14, [rdi + 8]
and r14, 0xfffffffffffffff8
lea rcx, [r14 + r14]
call fcn.14009cf68
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.1400a01d0
mov word [r13 + rdi*2], 0
add rbx, 0x18
add r15, 8
cmp rbp, r15
jne 0x14002d3dd
mov qword [rsp + 0x38], rbx
lea rdx, [rsp + 0x30]
mov rsi, qword [rsp + 0x28]
mov rcx, rsi
call fcn.14002d050
movups xmmword [rsi], xmm6
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14002d4b6
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rsi, qword [rsp + 0x30]
test rsi, rsi
je 0x14002d4e8
cmp rbx, rsi
je 0x14002d4e0
lea rdi, [rbx - 0x18]
cmp byte [rbx - 1], 0
jns 0x14002d4d8
mov rcx, qword [rbx - 0x18]
call fcn.14009cfa4
mov rbx, rdi
cmp rdi, rsi
jne 0x14002d4c5
mov rcx, rsi
call fcn.14009cfa4
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.14009d8b0
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.1400e2880
mov r13, rbx
jmp 0x14002d459
mov rcx, qword [rsi]
lea rdx, [rsp + 0x4c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x14002d384
xor r12d, r12d
jmp 0x14002d387
xor ebx, ebx
jmp 0x14002d488
lea rcx, [rsp + 0x30]
call fcn.1400c9310
int3
Function at 0x14002e7d0
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 [0x140158018]
xor rax, rsp
mov qword [rsp + 0x78], rax
movzx eax, byte [0x140166798]
and eax, 1
neg rax
cmp rax, 0xfffffffffffffffd
je 0x14002e977
mov qword [rsp + 0x40], rdx
mov rbx, qword [rcx]
mov qword [rsp + 0x38], rcx
mov rdi, qword [rcx + 8]
xor r13d, r13d
lea r12, [0x14013ceb0]
movabs rcx, 0xaaaaaaaaaaaaaaaa
movaps xmm6, xmmword [0x140136a00]
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.1400a01d0
mov word [rsp + rbp*2 + 0x60], 0
movzx eax, byte [rsp + 0x77]
mov rcx, rax
test al, al
jns 0x14002e899
mov rcx, qword [rsp + 0x68]
cmp rdi, rcx
jb 0x14002e9d1
mov r14b, 1
test rcx, rcx
mov rsi, r15
je 0x14002e9dc
mov rdx, rsi
test al, al
jns 0x14002e8bd
mov rdx, qword [rsp + 0x60]
xor ebp, ebp
movzx edi, word [rbx + rbp*2]
cmp di, word [rdx + rbp*2]
jne 0x14002e90e
inc rbp
cmp rcx, rbp
jne 0x14002e8bf
mov rbp, rcx
test al, al
js 0x14002e9e3
test r14b, r14b
jne 0x14002e918
mov qword [rsp + 0x28], rbp
inc r13
movzx eax, byte [0x140166798]
xor rax, 3
cmp r13, rax
mov rdi, qword [rsp + 0x30]
movabs rcx, 0xaaaaaaaaaaaaaaaa
jb 0x14002e851
jmp 0x14002e977
xor r14d, r14d
mov rbp, qword [rsp + 0x28]
jmp 0x14002e8d4
test rbp, rbp
je 0x14002e977
mov rsi, qword [rsp + 0x38]
cmp rbp, qword [rsi + 8]
mov rdi, qword [rsp + 0x40]
je 0x14002e977
lea rax, [0x14013cee0]
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.140072560
mov rdx, qword [rsi + 8]
sub rdx, rbp
jb 0x14002e9f5
sub rax, rbp
mov rcx, qword [rdi + 8]
cmp rdx, rax
cmovb rax, rdx
cmp rax, rcx
je 0x14002e9a4
xor ebx, ebx
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.14009d8b0
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 0x14002e979
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 0x14002e977
inc rdx
cmp rcx, rdx
mov rbp, rdi
jne 0x14002e9b6
jmp 0x14002e979
xor r14d, r14d
mov rsi, r15
jmp 0x14002e911
xor ebp, ebp
jmp 0x14002e8d4
mov rcx, qword [rsp + 0x60]
call fcn.14009cfa4
mov rsi, r15
jmp 0x14002e8dc
int3
Function at 0x14002f8f0
Capabilities:
Delete file

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbx
sub rsp, 0x78
mov rsi, rcx
mov rax, qword [0x140158018]
xor rax, rsp
mov qword [rsp + 0x70], rax
call fcn.14006b930
test al, al
je 0x14002f949
call fcn.14006b920
mov rdi, rax
lea rbx, [0x14013f72e]
mov rcx, rax
mov rdx, rbx
call fcn.14006b9d0
test al, al
jne 0x14002f978
lea rdx, str.vmodule
mov rcx, rdi
call fcn.14006b9d0
test al, al
jne 0x14002f978
mov eax, dword [rsi]
mov dword [0x140159fc8], eax
mov bl, 1
test al, 1
jne 0x14002fa39
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.14009d8b0
mov eax, ebx
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
cmp qword [0x1401667a0], 0
jne 0x14002faca
mov rax, qword [0x1401667a8]
mov qword [0x1401667a0], rax
mov ecx, 0x20
call fcn.14009cf68
mov r14, rax
lea rcx, str.vmodule
lea r15, [rsp + 0x48]
mov qword [r15], rcx
call fcn.1400b5ac0
mov qword [r15 + 8], rax
lea r12, [rsp + 0x58]
mov rcx, rdi
mov rdx, r12
mov r8, r15
call fcn.14006bae0
lea r15, [rsp + 0x20]
mov qword [r15], rbx
mov rcx, rbx
call fcn.1400b5ac0
mov qword [r15 + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rdi
mov rdx, rbx
mov r8, r15
call fcn.14006bae0
lea r9, [0x1401667b0]
mov rcx, r14
mov rdx, rbx
mov r8, r12
call fcn.1400e90b0
mov qword [0x1401667a8], r14
cmp byte [rbx + 0x17], 0
jns 0x14002fa1f
mov rcx, qword [rsp + 0x30]
call fcn.14009cfa4
cmp byte [rsp + 0x6f], 0
jns 0x14002f949
mov rcx, qword [rsp + 0x58]
call fcn.14009cfa4
jmp 0x14002f949
mov rcx, qword [0x1401667d8]
test rcx, rcx
jne 0x14002fa53
mov rcx, qword [0x1401667b8]
test rcx, rcx
je 0x14002fa77
jmp 0x14002fa99
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [0x1401667d8], 0
mov rcx, qword [0x1401667b8]
test rcx, rcx
jne 0x14002fa99
and byte [0x140159fc8], 0xfe
mov ecx, 0x18
call fcn.14009cf68
mov rcx, rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov qword [rax + 0x10], 0
mov qword [0x1401667b8], rax
mov rdx, qword [rsi + 8]
call fcn.14002c080
cmp dword [rsi + 0x14], 0
jne 0x14002fabe
mov rcx, qword [0x1401667b8]
cmp byte [rcx + 0x17], 0
jns 0x14002fab8
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.1400e4a70
mov ebx, eax
jmp 0x14002f95b
int3