joyce8/EMBER2024-capa huggingface dataset:
Function at 0x14007f1f0
Capabilities:
Access peb ldr_data
Encode data using xor
Hash data using fnv
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x90
mov rax, qword [0x14028a040]
xor rax, rsp
mov qword [rsp + 0x80], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x48], xmm0
xor edi, edi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], 7
mov word [rsp + 0x48], di
mov dword [rsp + 0x40], ecx
movabs rdx, 0x153c41c9853ed775
mov qword [rsp + 0x20], rdx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x30], rax
movabs rcx, 0xd6a75b5c242831fa
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x20], rdx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x20], rcx
mov rax, qword [rsp + 0x20]
mov qword [rsp + 0x78], rax
movdqa xmm0, xmmword [rsp + 0x30]
xorps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x30], xmm0
lea rax, [rsp + 0x30]
mov rdx, 0xffffffffffffffff
nop dword [rax]
inc rdx
cmp word [rax + rdx*2], 0
jne 0x14007f2a0
lea rcx, [rsp + 0x48]
cmp rdx, 7
ja 0x14007f2d2
mov qword [rsp + 0x58], rdx
lea rbx, [rdx + rdx]
mov r8, rbx
lea rdx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x48], di
jmp 0x14007f2dc
lea r9, [rsp + 0x30]
call fcn.140080090
mov qword [rsp + 0x68], rdi
mov rax, qword gs:[0x60]
mov rax, qword [rax + 0x18]
mov rax, qword [rax + 0x10]
nop dword [rax]
nop word [rax + rax]
mov r10, qword [rax + 0x30]
movsxd rcx, dword [r10 + 0x3c]
mov ebx, dword [rcx + r10 + 0x88]
add rbx, r10
cmp rbx, r10
je 0x14007f376
mov r9d, dword [rbx + 0x18]
test r9d, r9d
je 0x14007f376
mov edi, dword [rbx + 0x20]
nop dword [rax]
nop dword [rax + rax]
dec r9d
lea rcx, [rdi + r9*4]
mov ecx, dword [rcx + r10]
add rcx, r10
mov r8d, 0xcd0c0ab2
movzx edx, byte [rcx]
inc rcx
test dl, dl
je 0x14007f371
nop
movsx edx, dl
xor edx, r8d
imul r8d, edx, 0x1000193
movzx edx, byte [rcx]
lea rcx, [rcx + 1]
test dl, dl
jne 0x14007f350
cmp r8d, 0x508606f8
je 0x14007f37b
test r9d, r9d
jne 0x14007f330
mov rax, qword [rax]
jmp 0x14007f300
mov ecx, dword [rbx + 0x1c]
add rcx, r10
mov eax, dword [rbx + 0x24]
add rax, r10
movzx eax, word [rax + r9*2]
mov r8d, dword [rcx + rax*4]
add r8, r10
lea rdx, [rsp + 0x40]
lea rcx, [0x14007ee80]
call r8
mov rbx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x60]
cmp rdx, 7
jbe 0x14007f3ec
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007f3e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007f3e7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140081684
mov rax, rbx
mov rcx, qword [rsp + 0x80]
xor rcx, rsp
call fcn.1400813e0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x90
pop rdi
ret
Function at 0x140080e68
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 0x140080ea2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x140080ea7
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 0x140080ef0
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140086940]
cmp byte [rcx + rax], 0
je 0x140080ef0
dec r8
sub rdx, 1
jne 0x140080ed6
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1400820f8
Capabilities:
Parse pe header

Disassembly:
sub rsp, 0x28
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
je 0x140082142
mov ecx, 0x5a4d
cmp word [rax], cx
jne 0x140082142
movsxd rcx, dword [rax + 0x3c]
add rcx, rax
cmp dword [rcx], 0x4550
jne 0x140082142
mov eax, 0x20b
cmp word [rcx + 0x18], ax
jne 0x140082142
cmp dword [rcx + 0x84], 0xe
jbe 0x140082142
cmp dword [rcx + 0xf8], 0
setne al
jmp 0x140082144
xor al, al
add rsp, 0x28
ret
Function at 0x140002200
Capabilities:
Access the windows event log

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400471b0]
xor rax, rsp
mov qword [rsp + 0x78], rax
mov rdi, qword [0x14004b128]
xor ebp, ebp
mov dword [rsp + 0x54], edx
mov dword [rsp + 0x50], 0x10
mov qword [rsp + 0x58], 0xc5
mov rcx, qword [rdi + 8]
mov dword [rdi + 0x10], edx
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x60], rbp
mov dword [rsp + 0x68], 0xbb8
call qword [sym.imp.api_ms_win_service_core_l1_1_0.dll_SetServiceStatus]
test eax, eax
je 0x14000226b
mov ebx, ebp
jmp 0x140002273
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
mov qword [rsp + 0x30], rbp
lea rsi, [rdi + 0x30]
mov dword [rsp + 0x28], 0x400
mov r9d, 0x400
mov r8d, ebx
mov qword [rsp + 0x20], rsi
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_FormatMessageW]
test ebx, ebx
je 0x1400022e5
mov rcx, qword [rdi + 0x18]
test rcx, rcx
je 0x1400022e5
mov r9d, 1
mov qword [rsp + 0x40], rbp
lea rax, [rsp + 0x70]
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov dword [rsp + 0x30], ebp
mov word [rsp + 0x28], r9w
lea edx, [r9 + 1]
xor r9d, r9d
mov qword [rsp + 0x20], rbp
call qword [sym.imp.api_ms_win_eventlog_legacy_l1_1_0.dll_ReportEventW]
mov rcx, qword [rsp + 0x78]
xor rcx, rsp
call fcn.140012f70
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret

Function at 0x140002310
Capabilities:
Modify service

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x90
mov rax, qword [0x1400471b0]
xor rax, rsp
mov qword [rsp + 0x88], rax
movzx ebx, dl
xor esi, esi
lea rdx, [rsp + 0x40]
mov qword [rsp + 0x40], rsi
mov rdi, rcx
call fcn.1400020e0
test al, al
je 0x1400023fc
mov qword [rsp + 0x80], rsi
test bl, bl
je 0x140002373
mov qword [rsp + 0x70], 1
mov qword [rsp + 0x78], 1
jmp 0x14000237d
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rsi
mov rbx, qword [rsp + 0x40]
lea rax, [rsp + 0x70]
mov rcx, rbx
mov dword [rsp + 0x48], 0x15180
lea r8, [rsp + 0x48]
mov qword [rsp + 0x58], rsi
mov edx, 2
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x60], 3
mov qword [rsp + 0x68], rax
call qword [sym.imp.api_ms_win_service_management_l2_1_0.dll_ChangeServiceConfig2W]
test eax, eax
je 0x1400023c1
mov eax, esi
jmp 0x1400023c7
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
lea rdx, [rdi + 0x30]
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x400
mov r9d, 0x400
mov qword [rsp + 0x20], rdx
mov r8d, eax
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_FormatMessageW]
mov rcx, rbx
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.140012f70
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x140002430
Capabilities:
Stop service

Disassembly:
push rsi
sub rsp, 0x70
mov rax, qword [0x1400471b0]
xor rax, rsp
mov qword [rsp + 0x68], rax
xor edx, edx
mov qword [rsp + 0x40], 0
mov rsi, rcx
call fcn.140002310
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.1400020e0
test al, al
je 0x1400024f8
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x48]
mov edx, 1
mov qword [rsp + 0x88], rbx
call qword [sym.imp.api_ms_win_service_winsvc_l1_1_0.dll_ControlService]
test eax, eax
je 0x140002492
xor ebx, ebx
jmp 0x14000249a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
lea rdx, [rsi + 0x30]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x400
mov r9d, 0x400
mov qword [rsp + 0x20], rdx
mov r8d, ebx
xor edx, edx
mov ecx, 0x1000
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_FormatMessageW]
mov rcx, qword [rsp + 0x40]
test ebx, ebx
sete bl
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
movzx eax, bl
mov rbx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140012f70
add rsp, 0x70
pop rsi
ret
xor al, al
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140012f70
add rsp, 0x70
pop rsi
ret
Function at 0x140002510
Capabilities:
Create service
Persist via windows service
Set registry value

Disassembly:
push rbp
push rsi
push rdi
sub rsp, 0x6c0
mov rax, qword [0x1400471b0]
xor rax, rsp
mov qword [rsp + 0x6b0], rax
mov rsi, rcx
xor edx, edx
lea rcx, [rsp + 0x80]
mov r8d, 0x208
call fcn.140015a40
mov r8d, 0x104
lea rdx, [rsp + 0x80]
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
xor edx, edx
lea rcx, [rsp + 0x290]
mov r8d, 0x208
mov ebp, eax
call fcn.140015a40
lea r9, [rsp + 0x80]
mov edx, 0x104
lea r8, str.__s_
lea rcx, [rsp + 0x290]
call fcn.140003e80
xor edx, edx
xor ecx, ecx
mov r8d, 0xf003f
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_OpenSCManagerW]
mov rdi, rax
test rax, rax
je 0x140002752
mov rax, qword [rsi]
mov rcx, rsi
mov qword [rsp + 0x6e8], rbx
mov qword [rsp + 0x6f0], r14
mov rax, qword [rax + 0x10]
call qword [0x14002f5d8]
mov rbx, rax
mov rcx, rsi
mov rax, qword [rsi]
mov rax, qword [rax]
call qword [0x14002f5d8]
xor r14d, r14d
mov r9d, 0xf01ff
mov qword [rsp + 0x60], r14
mov rdx, rax
mov qword [rsp + 0x58], r14
lea rax, [rsp + 0x290]
mov qword [rsp + 0x50], r14
mov r8, rbx
mov qword [rsp + 0x48], r14
mov rcx, rdi
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], 2
mov dword [rsp + 0x20], 0x10
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CreateServiceW]
mov rbx, qword [rsp + 0x6e8]
test rax, rax
je 0x140002745
mov rcx, rax
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
mov rax, qword [rsi]
mov rcx, rsi
mov dword [rsp + 0x78], 7
mov rax, qword [rax]
call qword [0x14002f5d8]
lea r9, str.SYSTEMCurrentControlSetServicesEventLogSystem
mov edx, 0x104
lea r8, str._s_s
mov qword [rsp + 0x20], rax
lea rcx, [rsp + 0x4a0]
call fcn.140003e80
lea r8, [rsp + 0x70]
mov qword [rsp + 0x70], r14
lea rdx, [rsp + 0x4a0]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l2_1_0.dll_RegCreateKeyW]
test eax, eax
jne 0x140002720
mov rcx, qword [rsp + 0x70]
lea rax, [rsp + 0x78]
mov dword [rsp + 0x28], 4
lea r9d, [r14 + 4]
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, str.TypesSupported
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
lea eax, [rbp*2 + 2]
xor r8d, r8d
lea rcx, [rsp + 0x80]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
lea r9d, [r14 + 1]
mov rcx, qword [rsp + 0x70]
lea rdx, str.EventMessageFile
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov al, 1
mov r14, qword [rsp + 0x6f0]
mov rcx, qword [rsp + 0x6b0]
xor rcx, rsp
call fcn.140012f70
add rsp, 0x6c0
pop rdi
pop rsi
pop rbp
ret
mov rcx, rdi
call qword [sym.imp.api_ms_win_service_management_l1_1_0.dll_CloseServiceHandle]
xor al, al
jmp 0x140002722
jmp 0x14000272a
Function at 0x140003590
Capabilities:
Get user security identifier

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x2a0]
sub rsp, 0x3a0
mov rax, qword [0x1400471b0]
xor rax, rsp
mov qword [rbp + 0x290], rax
mov rdi, rdx
mov qword [rsp + 0x48], rdx
xor r14d, r14d
mov dword [rsp + 0x40], r14d
mov qword [rdx], r14
mov qword [rdx + 0x10], r14
mov qword [rdx + 0x18], 7
mov word [rdx], r14w
mov dword [rsp + 0x40], 1
mov qword [rsp + 0x68], r14
mov qword [rsp + 0x78], r14
mov qword [rbp - 0x80], 7
mov word [rsp + 0x68], r14w
lea rcx, str.wtsapi32.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_LoadLibraryW]
lea rbx, [r14 - 1]
test rax, rax
je 0x140003690
lea rdx, str.WTSQuerySessionInformationW
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov rsi, rax
test rax, rax
je 0x140003690
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x58], r14d
call qword [sym.imp.api_ms_win_core_kernel32_legacy_l1_1_0.dll_WTSGetActiveConsoleSessionId]
mov edx, eax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor ecx, ecx
lea r8d, [r14 + 5]
mov rax, rsi
call qword [0x14002f5d8]
cmp eax, 1
jne 0x140003690
mov rdx, qword [rsp + 0x50]
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x140003670
lea rcx, [rsp + 0x68]
call fcn.140003d50
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
mov dword [rsp + 0x60], 0x100
mov dword [rsp + 0x5c], 0x100
lea rdx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rdx, qword [rsp + 0x68]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
lea r8, [rbp - 0x70]
xor ecx, ecx
call qword [sym.imp.api_ms_win_security_lsalookup_l2_1_0.dll_LookupAccountNameW]
test eax, eax
je 0x14000375a
lea rcx, str.Advapi32.dll
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_1.dll_LoadLibraryW]
mov rsi, rax
test rax, rax
je 0x14000375a
lea rdx, str.ConvertSidToStringSidW
mov rcx, rax
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
test rax, rax
je 0x140003750
mov qword [rsp + 0x50], r14
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call qword [0x14002f5d8]
test eax, eax
je 0x140003750
mov rdx, qword [rsp + 0x50]
nop dword [rax + rax]
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x140003730
mov r8, rbx
mov rcx, rdi
call fcn.140003d50
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_heap_l2_1_0.dll_LocalFree]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_FreeLibrary]
nop
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x140003797
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003792
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400037c1
call fcn.140012fbc
mov rax, rdi
mov rcx, qword [rbp + 0x290]
xor rcx, rsp
call fcn.140012f70
lea r11, [rsp + 0x3a0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.140019554
int3
Function at 0x140004190
Capabilities:
Enumerate files on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
sub rsp, 0x2c0
mov rax, qword [0x1400471b0]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x30], rdx
xor ebp, ebp
mov dword [rsp + 0x20], ebp
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx], rbp
mov qword [rcx + 8], rbp
mov qword [rcx + 0x10], rbp
mov dword [rsp + 0x20], 1
lea r8, str._.
lea rcx, [rsp + 0x38]
call fcn.140004800
nop
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
lea rdx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x1400042ef
nop dword [rax + rax]
mov rdx, qword [rbx + 8]
cmp rdx, qword [rbx + 0x10]
je 0x1400042c2
lea rax, [rsp + 0x60]
mov ecx, 4
nop dword [rax + rax]
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
movups xmm1, xmmword [rax + 0x50]
movups xmmword [rdx + 0x50], xmm1
movups xmm0, xmmword [rax + 0x60]
movups xmmword [rdx + 0x60], xmm0
lea rdx, [rdx + 0x80]
movups xmm1, xmmword [rax + 0x70]
movups xmmword [rdx - 0x10], xmm1
lea rax, [rax + 0x80]
sub rcx, 1
jne 0x140004240
movups xmm0, xmmword [rax]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rdx + 0x10], xmm1
movups xmm0, xmmword [rax + 0x20]
movups xmmword [rdx + 0x20], xmm0
movups xmm1, xmmword [rax + 0x30]
movups xmmword [rdx + 0x30], xmm1
movups xmm0, xmmword [rax + 0x40]
movups xmmword [rdx + 0x40], xmm0
add qword [rbx + 8], 0x250
jmp 0x1400042cf
lea r8, [rsp + 0x60]
mov rcx, rbx
call fcn.140004930
lea rdx, [rsp + 0x60]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindNextFileW]
test eax, eax
jne 0x140004220
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_FindClose]
nop
mov rdx, qword [rsp + 0x50]
cmp rdx, 8
jb 0x140004331
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000432c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400043b4
call fcn.140012fbc
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x50], 7
mov word [rsp + 0x38], bp
mov rdx, qword [rdi + 0x18]
cmp rdx, 8
jb 0x14000437f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x14000437a
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400043ba
mov rcx, r8
call fcn.140012fbc
mov qword [rdi + 0x10], rbp
mov qword [rdi + 0x18], 7
mov word [rdi], bp
mov rax, rbx
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.140012f70
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2c0
pop rdi
pop rsi
pop rbp
ret
call fcn.140019554
nop
call fcn.140019554
int3
Function at 0x1400043c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rbx
sub rsp, 0x20
cmp qword [rcx + 0x18], 8
mov rbx, rcx
jb 0x1400043d3
mov rcx, qword [rcx]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileAttributesW]
mov rcx, qword [rbx + 0x18]
cmp eax, 0xffffffff
je 0x1400043e6
test al, 0x10
je 0x140004434
cmp rcx, 8
jb 0x14000441d
lea rdx, [rcx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140004418
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004484
mov rcx, r8
call fcn.140012fbc
xor eax, eax
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rax
mov word [rbx], ax
add rsp, 0x20
pop rbx
ret
cmp rcx, 8
jb 0x14000446b
lea rdx, [rcx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140004466
mov r8, qword [rcx - 8]
add rdx, 0x27
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004484
mov rcx, r8
call fcn.140012fbc
xor eax, eax
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rax
mov word [rbx], ax
mov al, 1
add rsp, 0x20
pop rbx
ret
call fcn.140019554
int3

Function at 0x140004490
Capabilities:
Delete file

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x60
mov rax, qword [0x1400471b0]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rbx, rcx
mov qword [rsp + 0x48], rcx
mov rdx, rcx
lea rcx, [rsp + 0x28]
call fcn.140003a60
mov rcx, rax
call fcn.1400043c0
test al, al
je 0x140004526
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400044d7
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_DeleteFileW]
test eax, eax
setne dil
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x14000451e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140004519
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000458c
mov rcx, r8
call fcn.140012fbc
xor ecx, ecx
movzx eax, dil
jmp 0x140004565
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140004561
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x14000455c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000458c
mov rcx, r8
call fcn.140012fbc
xor ecx, ecx
xor al, al
mov qword [rbx + 0x10], rcx
mov qword [rbx + 0x18], 7
mov word [rbx], cx
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140012f70
mov rbx, qword [rsp + 0x78]
add rsp, 0x60
pop rdi
ret
call fcn.140019554
int3
Function at 0x1400045a0
Capabilities:
Get file size

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x80
mov rax, qword [0x1400471b0]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbx, rcx
mov qword [rsp + 0x68], rcx
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140003a60
mov rcx, rax
call fcn.1400043c0
test al, al
je 0x1400046cb
mov rcx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1400045f8
mov rcx, qword [rbx]
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_CreateFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140004671
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140004708
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140004667
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000473f
mov rcx, r8
call fcn.140012fbc
jmp 0x140004708
xor edx, edx
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_file_l1_1_0.dll_GetFileSize]
mov ebp, eax
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x1400046c7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x1400046c2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000473f
mov rcx, r8
call fcn.140012fbc
mov eax, ebp
jmp 0x14000470a
mov rdx, qword [rbx + 0x18]
cmp rdx, 8
jb 0x140004706
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140004701
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000473f
mov rcx, r8
call fcn.140012fbc
xor edi, edi
xor eax, eax
mov qword [rbx + 0x10], rdi
mov qword [rbx + 0x18], 7
mov word [rbx], di
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140012f70
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.140019554
int3