joyce8/EMBER2024-capa huggingface dataset:
Function at 0x140077954
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rsi, r9
mov rdi, r8
mov r14d, edx
mov rbx, rcx
lea r12, [0x14000f028]
mov qword [rsp + 0x30], r12
lea r13, [0x14000f068]
mov qword [rsp + 0x38], r13
lea rax, [0x14000f018]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x15b
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x50], 0xff
xor r15d, r15d
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [r15 + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140052e50
nop
mov word [rsi], r15w
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
lea rax, [0x14000f018]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x163
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [r15 + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov r9, rdi
lea r8, [0x14000f0a0]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400510b0
mov r8d, dword [rbp + 0xa0]
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
jne 0x140077aa5
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400ff694
mov rbx, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
lea r9, [0x14000f110]
mov r8d, r14d
mov rdx, rbx
lea rcx, [rbp - 0x20]
call fcn.140101d5c
int3
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x38], r13
lea rax, [0x14000f018]
mov qword [rsp + 0x40], rax
mov dword [rsp + 0x48], 0x16b
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov r9, rsi
lea r8, [0x14000f1a0]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400510b0
nop
lea rcx, [rbp - 0x20]
call fcn.140050f50
nop
mov rcx, rbx
call fcn.1400ff75c
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
Function at 0x1400783d4
Capabilities:
Get common file path
Get disk information

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r13
push r15
lea rbp, [rax - 0x6a8]
sub rsp, 0x790
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x680], rax
mov rbx, rdx
xor edx, edx
lea r15, [0x14000f2c0]
lea r12, [0x1400123f8]
lea r13, [0x14000f2a8]
lea rcx, [rsp + 0x58]
lea r8d, [rdx + 0x78]
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x48], 0xb20
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
xor r8d, r8d
call fcn.140052e50
lea rcx, [rbp + 0x260]
mov edx, 0x105
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetSystemDirectoryW]
test eax, eax
je 0x140078549
lea rdx, [rbp + 0x50]
lea rcx, [rbp + 0x260]
mov r8d, 0x104
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumePathNameW]
test eax, eax
je 0x140078549
lea rdx, [rbp + 0x470]
lea rcx, [rbp + 0x50]
mov r8d, 0x104
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x1400784d9
lea rcx, [rbp + 0x470]
mov rdx, rbx
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
sete dl
jmp 0x14007854b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ebx, eax
test eax, eax
jle 0x1400784ee
movzx ebx, ax
or ebx, 0x80070000
xor edx, edx
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x30], r15
lea r8d, [rdx + 0x78]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], 0xb2c
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
call sub.msvcrt.dll_memset
lea r9, [rbp + 0x50]
lea r8, [0x140012380]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
mov dword [rsp + 0x20], ebx
call fcn.1400510b0
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.140074628
lea rcx, [rbp - 0x20]
mov bl, al
call fcn.140050f50
mov al, bl
mov rcx, qword [rbp + 0x680]
xor rcx, rsp
call fcn.14005dc70
lea r11, [rsp + 0x790]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop rbp
ret
Function at 0x140078b84
Capabilities:
Get disk information

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rax - 0x2f8]
sub rsp, 0x3d0
mov qword [rbp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov rbx, rdx
lea r15, [0x14000f2c0]
mov qword [rsp + 0x70], r15
lea r12, [0x140012340]
mov qword [rsp + 0x78], r12
lea r13, [0x14000f2a8]
mov qword [rbp - 0x80], r13
mov dword [rbp - 0x78], 0xb01
mov dword [rbp - 0x74], 1
mov dword [rbp - 0x70], 0xff
xor edi, edi
mov dword [rbp + 0x10], 0x1000000
xor edx, edx
lea r8d, [rdi + 0x78]
lea rcx, [rbp - 0x68]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x40]
call fcn.140052e50
nop
mov qword [rsp + 0x68], rdi
lea rsi, [0x140001b68]
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], 0xf003f
lea r8, [0x140013510]
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x50]
call fcn.140050870
test al, al
je 0x140078dc7
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rsi
lea rcx, [rsp + 0x40]
call fcn.1400de67c
lea r8, [rsp + 0x48]
lea rdx, [0x1400134f0]
lea rcx, [rsp + 0x50]
call fcn.14005a440
test al, al
je 0x140078dbd
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rsi
lea rdx, [0x1400134d0]
lea rcx, [rsp + 0x30]
call fcn.140073da0
mov rdx, qword [rsp + 0x48]
lea rcx, [rsp + 0x30]
call fcn.140073004
mov rcx, qword [rsp + 0x38]
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], di
jne 0x140078cc7
cmp word [rcx + rax*2 - 2], 0x5c
je 0x140078cee
lea rdx, [0x14000ca50]
lea rcx, [rsp + 0x30]
call fcn.140073004
mov rcx, qword [rsp + 0x38]
mov r8d, 0x104
lea rdx, [rbp + 0xb0]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumeNameForVolumeMountPointW]
test eax, eax
je 0x140078d3f
mov rdx, rbx
lea rcx, [rbp + 0xb0]
call qword [sym.imp.msvcrt.dll__wcsicmp]
test eax, eax
sete dl
lea rcx, [rbp + 0x40]
call fcn.140074628
mov bl, al
lea rcx, [rsp + 0x30]
call fcn.140070d7c
nop
lea rcx, [rsp + 0x40]
call fcn.140070d7c
jmp 0x140078dd4
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rbp + 0x20], xmm0
mov qword [rsp + 0x70], r15
mov qword [rsp + 0x78], r12
mov qword [rbp - 0x80], r13
mov dword [rbp - 0x78], 0xb17
mov dword [rbp - 0x74], 1
mov dword [rbp - 0x70], 0xff
mov dword [rbp + 0x10], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x68]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x140078d94
movzx eax, ax
or eax, 0x80070000
mov dword [rsp + 0x20], eax
lea r9, [rbp + 0x20]
lea r8, [0x140012380]
lea rdx, [rsp + 0x70]
lea rcx, [rbp + 0x40]
call fcn.1400510b0
nop
lea rcx, [rsp + 0x30]
call fcn.140070d7c
nop
lea rcx, [rsp + 0x40]
call fcn.140070d7c
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.140074628
mov bl, al
lea rcx, [rsp + 0x50]
call fcn.140113894
nop
lea rcx, [rbp + 0x40]
call fcn.140050f50
mov al, bl
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.14005dc70
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret
Function at 0x140080254
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x40]
sub rsp, 0x140
lea rax, [0x14000cdb8]
xor edx, edx
mov rbx, rcx
mov qword [rcx], rax
lea rax, [0x140013580]
lea r8d, [rdx + 0x78]
mov qword [rsp + 0x20], rax
lea rax, [0x1400135d8]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [0x140013560]
mov dword [rsp + 0x38], 0x58
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x40], 0xff
mov dword [rbp - 0x40], 0x1000000
mov qword [rsp + 0x30], rax
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x30]
xor r8d, r8d
call fcn.140052e50
lea rcx, [rbp - 0x30]
call fcn.140050f50
lea rcx, [rbx + 8]
mov rbx, qword [rsp + 0x150]
add rsp, 0x140
pop rbp
jmp fcn.140054550

Function at 0x140083140
Capabilities:
Delete registry key

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov r14, rcx
mov r15, 0xffffffff80000002
mov rdx, r8
mov rcx, r15
mov rsi, r8
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteTreeW]
mov ebx, eax
cmp eax, 2
jne 0x1400831ef
lea rax, [0x140002f40]
lea r8d, [rbx + 0x76]
lea rcx, [rbp - 0x41]
mov qword [rbp - 0x69], rax
lea rax, [0x140014440]
xor edx, edx
mov qword [rbp - 0x61], rax
lea rax, [0x140002f20]
mov dword [rbp - 0x51], 0x5c
mov dword [rbp - 0x4d], 1
mov dword [rbp - 0x49], 0xff
mov dword [rbp + 0x37], 0x1000000
mov qword [rbp - 0x59], rax
call sub.msvcrt.dll_memset
lea r9, [0x140014400]
lea rdx, [rbp - 0x69]
mov r8d, 0x80042308
mov rcx, r14
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r15
call fcn.140101d5c
int3
test eax, eax
je 0x14008326d
lea rax, [0x140002f40]
xor edx, edx
lea rcx, [rbp - 0x41]
mov qword [rbp - 0x69], rax
lea rax, [0x140014440]
lea r8d, [rdx + 0x78]
mov qword [rbp - 0x61], rax
lea rax, [0x140002f20]
mov dword [rbp - 0x51], 0x5f
mov dword [rbp - 0x4d], 1
mov dword [rbp - 0x49], 0xff
mov dword [rbp + 0x37], 0x1000000
mov qword [rbp - 0x59], rax
call sub.msvcrt.dll_memset
test ebx, ebx
jle 0x14008324c
movzx ebx, bx
or ebx, 0x80070000
lea r9, [0x140014468]
lea rdx, [rbp - 0x69]
mov r8d, ebx
mov rcx, r14
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], r15
call fcn.1401027cc
int3
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x14008cab0
Capabilities:
Resume thread

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x150
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r13
mov rdi, rcx
lea rsi, [0x1400167c0]
mov qword [rsp + 0x30], rsi
lea r14, [0x1400168b0]
mov qword [rsp + 0x38], r14
lea r15, [0x1400167a8]
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x171
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
xor ebx, ebx
mov dword [rbp - 0x30], 0x1000000
lea r13d, [rbx + 0x78]
mov r8d, r13d
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140052e50
nop
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14008cc4b
cmp dword [rdi + 0x1c], 2
jne 0x14008cc4b
call qword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_ResumeThread]
cmp eax, 0xffffffff
jne 0x14008cc45
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x184
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
mov r8d, r13d
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov ecx, dword [rdi + 0x1c]
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], eax
mov r9, qword [rdi + 0x10]
lea r8, [0x1400168f0]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1401010d8
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x187
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
mov r8d, r13d
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
mov r9d, eax
mov eax, dword [rdi + 0x1c]
mov dword [rsp + 0x20], eax
lea r8, [0x140016980]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400510b0
mov dword [rdi + 0x1c], 5
mov eax, 0x8007000e
jmp 0x14008cca6
mov byte [rdi + 0x20], 1
jmp 0x14008cca8
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x48], 0x176
mov dword [rsp + 0x4c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
mov r8, r13
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
mov r9d, dword [rdi + 0x1c]
lea r8, [0x140016800]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.1400510b0
mov eax, 0x8000ffff
mov ebx, eax
lea rcx, [rbp - 0x20]
call fcn.140050f50
mov eax, ebx
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r13, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
Function at 0x1400bf3f0
Capabilities:
Delete file

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x140
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r12
mov rbx, rdx
lea r14, [0x140023590]
mov qword [rsp + 0x20], r14
lea r15, [0x140023a70]
mov qword [rsp + 0x28], r15
lea r12, [0x140023578]
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x38], 0x183
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x40], 0xff
mov dword [rbp - 0x40], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.140052e50
nop
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_DeleteFileW]
test eax, eax
jne 0x1400bf4f5
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x1400bf49e
movzx eax, ax
or eax, 0x80070000
mov dword [rbp - 0x28], eax
mov qword [rsp + 0x20], r14
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x38], 0x18b
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x40], 0xff
mov dword [rbp - 0x40], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll_memset
lea r8, [0x140023ac8]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.14006dcc8
nop
lea rcx, [rbp - 0x30]
call fcn.140050f50
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov r12, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret

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

Disassembly:
sub rsp, 0x28
mov rcx, rdx
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
add rsp, 0x28
ret
Function at 0x1400bf550
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r13
push r15
lea rbp, [rax - 0x278]
sub rsp, 0x360
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov rbx, rcx
lea r15, [0x140023590]
mov qword [rsp + 0x20], r15
lea r12, [0x140023520]
mov qword [rsp + 0x28], r12
lea r13, [0x140023578]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x38], 0x53
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x40], 0xff
mov dword [rbp - 0x40], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.140052e50
nop
mov edx, 0x104
lea rcx, [rbp + 0x40]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetSystemDirectoryW]
test eax, eax
jne 0x1400bf66e
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x1400bf618
movzx eax, ax
or eax, 0x80070000
mov dword [rbp - 0x28], eax
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x38], 0x5a
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x40], 0xff
mov dword [rbp - 0x40], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll_memset
lea r8, [0x1400235e8]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.14006dcc8
mov r8d, 0x104
mov rdx, rbx
lea rcx, [rbp + 0x40]
call qword [sym.imp.api_ms_win_core_file_l1_2_1.dll_GetVolumePathNameW]
test eax, eax
jne 0x1400bf6ee
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x1400bf697
movzx eax, ax
or eax, 0x80070000
mov dword [rbp - 0x28], eax
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x38], 0x60
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x40], 0xff
mov dword [rbp - 0x40], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll_memset
lea r8, [0x140023610]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.14006dcc8
nop
lea rcx, [rbp - 0x30]
call fcn.140050f50
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.14005dc70
lea r11, [rsp + 0x360]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop rbp
ret
Function at 0x1400c01c4
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rbp
push r13
push r15
lea rbp, [rax - 0x58]
sub rsp, 0x140
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rbx, r8
mov rdi, rdx
lea r15, [0x140023590]
mov qword [rsp + 0x20], r15
lea r12, [0x140023a00]
mov qword [rsp + 0x28], r12
lea r13, [0x140023578]
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x38], 0x16b
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x40], 0xff
mov dword [rbp - 0x40], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.140052e50
nop
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_file_l2_1_1.dll_MoveFileExW]
test eax, eax
jne 0x1400c02d6
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x1400c027f
movzx eax, ax
or eax, 0x80070000
mov dword [rbp - 0x28], eax
mov qword [rsp + 0x20], r15
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x38], 0x179
mov dword [rsp + 0x3c], 1
mov dword [rsp + 0x40], 0xff
mov dword [rbp - 0x40], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x48]
call sub.msvcrt.dll_memset
lea r8, [0x140023a58]
lea rdx, [rsp + 0x20]
lea rcx, [rbp - 0x30]
call fcn.14006dcc8
nop
lea rcx, [rbp - 0x30]
call fcn.140050f50
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r13
pop rbp
ret
Function at 0x1400e0168
Capabilities:
Get hostname

Disassembly:
mov rax, rsp
mov qword [rax + 8], rcx
push rbp
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x150
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
lea r14, [0x14002d270]
mov qword [rsp + 0x30], r14
lea r15, [0x140030550]
mov qword [rsp + 0x38], r15
lea r12, [0x14002d258]
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], 0x90e
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
xor edi, edi
mov dword [rbp - 0x30], 0x1000000
lea ebx, [rdi + 0x78]
mov r8d, ebx
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140052e50
nop
mov dword [rbp + 0x70], edi
lea r8, [rbp + 0x70]
xor edx, edx
lea ecx, [rdi + 3]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetComputerNameExW]
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
cmp eax, 0xea
je 0x1400e027c
test eax, eax
jle 0x1400e0227
movzx eax, ax
or eax, 0x80070000
mov dword [rbp - 0x18], eax
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], 0x919
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
mov r8, rbx
xor edx, edx
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
lea r8, [0x1400305b8]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.14006dcc8
mov ecx, dword [rbp + 0x70]
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
lea rdx, [0x1401544ec]
mov rcx, rax
call fcn.14005debc
mov rbx, rax
test rax, rax
jne 0x1400e0303
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], 0x91f
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rax + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
lea r9, [0x1400305e0]
mov r8d, 0x8007000e
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140101d5c
int3
lea r8, [rbp + 0x70]
mov rdx, rax
mov ecx, 3
call qword [sym.imp.api_ms_win_core_sysinfo_l1_2_1.dll_GetComputerNameExW]
test eax, eax
jne 0x1400e038a
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_1.dll_GetLastError]
test eax, eax
jle 0x1400e032b
movzx eax, ax
or eax, 0x80070000
mov dword [rbp - 0x18], eax
mov rcx, rbx
call fcn.14005d7b4
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x48], 0x926
mov dword [rsp + 0x4c], 1
mov dword [rsp + 0x50], 0xff
mov dword [rbp - 0x30], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x58]
call sub.msvcrt.dll_memset
lea r8, [0x1400305b8]
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x20]
call fcn.140103888
int3
mov qword [rsp + 0x20], rbx
lea r9, [0x14002d1c0]
mov r8d, 0xaa
lea rdx, [0x140002b58]
lea rcx, [rbp - 0x20]
call fcn.140051070
nop
lea rcx, [rbp - 0x20]
call fcn.140050f50
mov rax, rbx
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret