joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400660c0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x70
mov rax, qword [0x140173028]
xor rax, rsp
mov qword [rsp + 0x68], rax
cmp r8, 0x30
ja 0x14006621e
mov rdi, r8
mov rbx, rdx
mov rsi, rcx
movaps xmm0, xmmword [0x14014df90]
lea r14, [rsp + 0x50]
movaps xmmword [r14], xmm0
movaps xmmword [r14 - 0x10], xmm0
movaps xmmword [r14 - 0x20], xmm0
lea r13, [rsp + 0x40]
lea r15, [rcx + 0x108]
lea r12, [rcx + 0xf8]
mov ecx, dword [rcx + 0x114]
call fcn.14008ee3c
lea ecx, [rax + 1]
call fcn.14008ee3c
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
lea rdx, [rsp + 0x30]
mov rcx, r15
mov r8, rsi
call qword [0x140192010]
mov ecx, dword [rsi + 0x114]
call fcn.14008ee3c
lea ecx, [rax + 1]
call fcn.14008ee3c
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, r15
mov rdx, r13
mov r8, rsi
call qword [0x140192010]
mov ecx, dword [rsi + 0x114]
call fcn.14008ee3c
lea ecx, [rax + 1]
call fcn.14008ee3c
mov dword [rsi + 0x114], eax
mov rax, qword [rsi + 0xf8]
mov rcx, r15
mov rdx, r14
mov r8, rsi
call qword [0x140192010]
test rdi, rdi
je 0x1400661d0
xor eax, eax
nop word cs:[rax + rax]
movzx ecx, byte [rbx + rax]
xor byte [rsp + rax + 0x30], cl
inc rax
cmp rdi, rax
jne 0x1400661c0
mov qword [rsp + 0x20], 0x20
lea r9, [rsp + 0x30]
mov rcx, rsi
xor edx, edx
mov r8, r12
call fcn.140065b60
mov qword [rsi + 0x100], rax
movups xmm0, xmmword [r14]
movups xmmword [r15], xmm0
mov esi, 1
mov rcx, qword [rsp + 0x68]
xor rcx, rsp
call fcn.140083c00
mov eax, esi
add rsp, 0x70
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor esi, esi
jmp 0x1400661ff
Function at 0x140066e90
Capabilities:
Encode data using xor

Disassembly:
test r8, r8
je 0x140066eb9
xor r9d, r9d
xor eax, eax
nop word [rax + rax]
movzx r10d, byte [rdx + r9]
xor r10b, byte [rcx + r9]
movzx r10d, r10b
or eax, r10d
inc r9
cmp r8, r9
jne 0x140066ea0
ret
xor eax, eax
ret

Function at 0x140068fd0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x140185bc8]
cmp rsi, 1
jbe 0x140068ff3
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14005c490
lea rcx, [0x140185bc8]
call fcn.140067a30
test al, al
je 0x140069039
mov qword [0x140185bd0], 0
lea rdi, [0x140185bc8]
lea rsi, [0x140185bd0]
mov rcx, rsi
xor edx, edx
call fcn.14005c4e0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.140067ad0
jmp 0x140068fe3
mov rsi, qword [0x140185bc8]
jmp 0x140068fe3

Function at 0x1400732e0
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140185cc0]
mov ecx, dword [0x14017c9f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x140073315
lea rcx, [0x140185cb8]
add rsp, 0x28
jmp fcn.14005c450
lea rcx, [0x140185cc0]
call fcn.1400828b0
cmp dword [0x140185cc0], 0xffffffff
jne 0x140073305
mov qword [0x140185cb8], 0
lea rcx, [0x140185cb8]
xor edx, edx
call fcn.14005c4e0
lea rcx, [0x140185cc0]
call fcn.140082948
jmp 0x140073305

Function at 0x1400745d0
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov esi, ecx
mov rax, qword [0x140173028]
xor rax, rsp
mov qword [rsp + 0x28], rax
lea rax, [0x14011e8d0]
mov qword [rsp + 0x20], rax
lea rcx, [0x140185d18]
lea rdx, [0x14011e860]
lea r8, [rsp + 0x20]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_InitOnceExecuteOnce]
test eax, eax
je 0x140074664
cmp dword [0x140185d20], 0
jne 0x140074660
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov ecx, dword [0x140185d24]
call qword [sym.imp.KERNEL32.dll_TlsGetValue]
mov rdi, rax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
test rdi, rdi
je 0x140074660
movsxd rax, esi
mov rsi, qword [rdi + rax*8]
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.140083c00
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
xor esi, esi
jmp 0x140074648
call fcn.140094740
int3

Function at 0x140074fe0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov eax, ecx
test r8, r8
je 0x14007500b
xor ecx, ecx
lea r9, [0x140162de0]
movzx r10d, al
movzx r11d, byte [rdx + rcx]
xor r11d, r10d
shr eax, 8
xor eax, dword [r9 + r11*4]
inc rcx
cmp r8, rcx
jne 0x140074ff0
ret
Function at 0x140077150
Capabilities:
Get thread local storage value

Disassembly:
sub rsp, 0x28
mov eax, dword [0x140185df0]
mov ecx, dword [0x14017c9f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400771b6
lea rcx, [0x140185de8]
xor edx, edx
call fcn.14005c490
mov eax, dword [0x140185e00]
mov ecx, dword [0x14017c9f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x1400771f2
lea rcx, [0x140185df8]
xor edx, edx
add rsp, 0x28
jmp fcn.14005c490
lea rcx, [0x140185df0]
call fcn.1400828b0
cmp dword [0x140185df0], 0xffffffff
jne 0x140077175
mov qword [0x140185de8], 0
lea rcx, [0x140185de8]
xor edx, edx
call fcn.14005c4e0
lea rcx, [0x140185df0]
call fcn.140082948
jmp 0x140077175
lea rcx, [0x140185e00]
call fcn.1400828b0
cmp dword [0x140185e00], 0xffffffff
jne 0x1400771a4
mov qword [0x140185df8], 0
lea rcx, [0x140185df8]
xor edx, edx
call fcn.14005c4e0
lea rcx, [0x140185e00]
call fcn.140082948
jmp 0x1400771a4

Function at 0x140077350
Capabilities:
Get thread local storage value

Disassembly:
push rsi
push rdi
sub rsp, 0x28
mov rsi, qword [0x140185e08]
cmp rsi, 1
jbe 0x140077373
mov rcx, rsi
xor edx, edx
add rsp, 0x28
pop rdi
pop rsi
jmp fcn.14005c490
lea rcx, [0x140185e08]
call fcn.140067a30
test al, al
je 0x1400773b9
mov qword [0x140185e10], 0
lea rdi, [0x140185e08]
lea rsi, [0x140185e10]
mov rcx, rsi
xor edx, edx
call fcn.14005c4e0
mov rcx, rdi
mov rdx, rsi
xor r8d, r8d
mov r9, rdi
call fcn.140067ad0
jmp 0x140077363
mov rsi, qword [0x140185e08]
jmp 0x140077363

Function at 0x140077410
Capabilities:
Get thread local storage value

Disassembly:
push rsi
sub rsp, 0x20
mov rsi, rcx
mov eax, dword [0x140185e60]
mov ecx, dword [0x14017c9f0]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14007744d
lea rcx, [0x140185e58]
mov rdx, rsi
add rsp, 0x20
pop rsi
jmp fcn.14005c490
lea rcx, [0x140185e60]
call fcn.1400828b0
cmp dword [0x140185e60], 0xffffffff
jne 0x140077439
mov qword [0x140185e58], 0
lea rcx, [0x140185e58]
xor edx, edx
call fcn.14005c4e0
lea rcx, [0x140185e60]
call fcn.140082948
jmp 0x140077439
Function at 0x14008eed8
Capabilities:
Parse pe header

Disassembly:
xor r8d, r8d
xor edx, edx
jmp 0x14008f008
Function at 0x1400b4a40
Capabilities:
Write file on windows

Disassembly:
push rbp
sub rsp, 0x30
lea rbp, [rsp + 0x30]
mov qword [rbp - 8], 0xfffffffffffffffe
call fcn.140092e20
call qword [0x140192010]
mov ecx, 2
call fcn.140086c18
lea rcx, str.terminate_handler_unexpectedly_returned_n
mov edx, 0x28
mov r8d, 1
mov r9, rax
call fcn.14009a10c
call fcn.140094740
int3

Function at 0x1400ce40f
Capabilities:
Create thread

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov ecx, 0x10
call fcn.140082758
mov qword [rax], rdi
mov qword [rax + 8], rsi
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
lea r8, [0x1400ce480]
xor ecx, ecx
xor edx, edx
mov r9, rax
call fcn.14008ec30
mov qword [rbx], rax
test rax, rax
je 0x1400ce466
xor eax, eax
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret
add rsp, 0x30
pop rbx
pop rdi
pop rsi
jmp qword [sym.imp.KERNEL32.dll_GetLastError]
Function at 0x1400ced20
Capabilities:
Accept command line arguments

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x58
mov rbx, rdx
mov r14, rcx
mov rax, qword [0x140173028]
xor rax, rsp
mov qword [rsp + 0x50], rax
movups xmm0, xmmword [rdx]
lea rdx, [rsp + 0x40]
movaps xmmword [rdx], xmm0
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 3
call fcn.140051c00
movups xmm0, xmmword [rdi]
movups xmmword [rbx], xmm0
cmp qword [rbx + 8], 0
je 0x1400cee2b
movups xmm0, xmmword [rbx]
movups xmmword [r14], xmm0
mov dword [rsp + 0x3c], 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]
mov rdi, rax
test rax, rax
je 0x1400cee43
lea rdx, [0x140153d2a]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400cee56
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [0x140192010]
mov rbx, rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x20]
mov qword [rsi + 0x10], rax
movaps xmm0, xmmword [0x14014df90]
movaps xmmword [rsi], xmm0
movsxd rax, dword [rsp + 0x3c]
lea r8, [rbx + rax*8]
mov rcx, rsi
mov rdx, rbx
call fcn.14004aa50
mov rcx, r14
mov rdx, rsi
call fcn.1400ce870
xorps xmm0, xmm0
movups xmmword [r14], xmm0
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_LocalFree]
test rdi, rdi
je 0x1400cee21
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
lea rcx, [rsp + 0x20]
call fcn.14004b6e0
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140083c00
nop
add rsp, 0x58
pop rbx
pop rdi
pop rsi
pop r14
ret
mov rcx, qword [rbx]
lea rdx, [rsp + 0x3c]
call qword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x1400cedc4
xor ebx, ebx
jmp 0x1400cedc7
Function at 0x1400d2750
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes
Set file attributes

Disassembly:
mov edx, 1
jmp 0x140023430

Function at 0x1400d2760
Capabilities:
Move file

Disassembly:
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa8
mov rsi, rcx
mov rax, qword [0x140173028]
xor rax, rsp
mov qword [rsp + 0xa0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x40]
mov qword [rbx + 0x50], rax
movaps xmm0, xmmword [0x14014df90]
movaps xmmword [rbx + 0x40], xmm0
movaps xmmword [rbx + 0x30], xmm0
movaps xmmword [rbx + 0x20], xmm0
movaps xmmword [rbx + 0x10], xmm0
movaps xmmword [rbx], xmm0
lea rdx, str.DeleteFileAfterReboot
lea r8, str..._.._base_files_file_util_win.cc
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r9d, 0x1a9
call fcn.14004cb40
xor ebp, ebp
mov rcx, rbx
mov rdx, rdi
xor r8d, r8d
call fcn.140054820
movzx eax, byte [rsi + 0x17]
mov rcx, rax
test al, al
jns 0x1400d27ed
mov rcx, qword [rsi + 8]
cmp rcx, 0x103
ja 0x1400d2814
test al, al
jns 0x1400d27fd
mov rsi, qword [rsi]
mov rcx, rsi
xor edx, edx
mov r8d, 4
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
setne bpl
lea rcx, [rsp + 0x40]
call fcn.140054af0
mov rcx, qword [rsp + 0xa0]
xor rcx, rsp
call fcn.140083c00
mov eax, ebp
add rsp, 0xa8
pop rbx
pop rbp
pop rdi
pop rsi
ret
Function at 0x1400d2840
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xd0
mov r14d, edx
mov rbx, rcx
mov rax, qword [0x140173028]
xor rax, rsp
mov qword [rsp + 0xc8], rax
call fcn.140055200
cmp eax, 8
jg 0x1400d2881
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x1400d298a
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x70]
mov qword [rdi + 0x50], rax
movaps xmm0, xmmword [0x14014df90]
movaps xmmword [rdi + 0x40], xmm0
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, str.DeleteFileWithDispositionFlags
lea r8, str..._.._base_files_file_util_win.cc
lea rbp, [rsp + 0x50]
mov rcx, rbp
mov r9d, 0x1b9
call fcn.14004cb40
xor esi, esi
mov rcx, rdi
mov rdx, rbp
xor r8d, r8d
call fcn.140054820
cmp byte [rbx + 0x17], 0
mov rcx, rbx
jns 0x1400d28eb
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400d2980
test al, 0x10
jne 0x1400d2973
cmp byte [rbx + 0x17], 0
jns 0x1400d2907
mov rbx, qword [rbx]
xor esi, esi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 3
mov rcx, rbx
mov edx, 0x10100
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
lea rdi, [rsp + 0x48]
mov qword [rdi], rsi
mov rcx, rdi
mov rdx, rax
call fcn.14004bbd0
mov rax, qword [rdi]
inc rax
cmp rax, 2
jae 0x1400d29aa
mov rax, qword [rsp + 0x48]
inc rax
cmp rax, 2
jb 0x1400d2980
call fcn.14004cb60
mov rcx, qword [rsp + 0x48]
call fcn.14004fcb0
jmp 0x1400d2980
mov ecx, 0x32
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
lea rcx, [rsp + 0x70]
call fcn.140054af0
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.140083c00
mov eax, esi
add rsp, 0xd0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.NtSetInformationFile
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400d2a47
or r14d, 1
movups xmm0, xmmword [0x140153fc0]
lea rdx, [rsp + 0x50]
movaps xmmword [rdx], xmm0
lea r8, [rsp + 0x40]
mov dword [r8], r14d
mov rcx, qword [rsp + 0x48]
mov dword [rsp + 0x20], 0x40
mov r9d, 4
call qword [0x140192010]
test eax, eax
sete sil
je 0x1400d2954
mov edi, eax
lea rcx, str.ntdll.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
lea rdx, str.RtlNtStatusToDosError
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x1400d2a3a
mov ecx, edi
call qword [0x140192010]
mov edi, eax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x1400d2954
xor esi, esi
jmp 0x1400d2954
Function at 0x1400d2b10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x140173028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x14014df90]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, str.DirectoryExists
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x264
call fcn.14004cb40
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140054820
cmp byte [rdi + 0x17], 0
jns 0x1400d2b94
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
setne al
and edi, 0x10
shr edi, 4
and dil, al
mov rcx, rsi
call fcn.140054af0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140083c00
mov eax, edi
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret

Function at 0x1400d2be0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov r14, rcx
mov rax, qword [0x140173028]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.140085d30
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
add edi, 0xfffffefc
cmp edi, 0xfffffefd
jb 0x1400d2c83
lea rsi, [rsp + 0x20]
mov qword [rsi], rbx
mov rcx, rbx
call fcn.14009db00
mov qword [rsi + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.14004bcc0
lea rsi, [rsp + 0x48]
mov rcx, rbx
mov rdx, rsi
call fcn.1400d0390
mov rcx, r14
mov rdx, rsi
call fcn.14004be10
mov rcx, rsi
call fcn.14004bda0
mov rcx, rbx
call fcn.14004bda0
cmp edi, 0xfffffefd
setae bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140083c00
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret
Function at 0x1400d31b0
Capabilities:
Check if file exists

Disassembly:
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xb0
movaps xmmword [rsp + 0xa0], xmm6
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x140173028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs r15, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], r15
movaps xmm6, xmmword [0x14014df90]
movaps xmmword [rsi + 0x40], xmm6
movaps xmmword [rsi + 0x30], xmm6
movaps xmmword [rsi + 0x20], xmm6
movaps xmmword [rsi + 0x10], xmm6
movaps xmmword [rsi], xmm6
lea rdx, str.CreateDirectoryAndGetError
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x2f1
call fcn.14004cb40
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140054820
cmp byte [rdi + 0x17], 0
mov rbx, rdi
jns 0x1400d3246
mov rbx, qword [rdi]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400d3292
mov sil, 1
test al, 0x10
je 0x1400d332c
lea rcx, [rsp + 0x40]
call fcn.140054af0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140083c00
mov eax, esi
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb0
pop rbx
pop rdi
pop rsi
pop r14
pop r15
ret
lea rsi, [rsp + 0x20]
mov qword [rsi + 0x10], r15
movaps xmmword [rsi], xmm6
mov rcx, rdi
mov rdx, rsi
call fcn.1400218f0
movzx ecx, byte [rsi + 0x17]
mov r8, rcx
test cl, cl
jns 0x1400d32b9
mov r8, qword [rsp + 0x28]
movzx eax, byte [rdi + 0x17]
mov rdx, rax
test al, al
jns 0x1400d32c8
mov rdx, qword [rdi + 8]
cmp r8, rdx
je 0x1400d334a
lea rcx, [rsp + 0x20]
mov rdx, r14
call 0x1400d31b0
test al, al
je 0x1400d3394
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov sil, 1
test eax, eax
je 0x1400d3303
lea rcx, [rsp + 0x20]
call fcn.14004bda0
jmp 0x1400d325f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
cmp eax, 0xb7
jne 0x1400d331e
mov rcx, rdi
call fcn.1400d2b10
test al, al
jne 0x1400d32f4
test r14, r14
je 0x1400d338c
mov ecx, ebx
call fcn.1400d3b80
jmp 0x1400d3389
test r14, r14
je 0x1400d3338
mov dword [r14], 0xfffffff7
mov ecx, 0x50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x1400d325f
test r8, r8
je 0x1400d337a
test cl, cl
jns 0x1400d3358
mov rsi, qword [rsp + 0x20]
mov rcx, rdi
test al, al
jns 0x1400d3362
mov rcx, qword [rdi]
xor edx, edx
movzx eax, word [rsi + rdx*2]
cmp ax, word [rcx + rdx*2]
jne 0x1400d32cd
inc rdx
cmp r8, rdx
jne 0x1400d3364
mov eax, 0xfffffffc
mov ebx, 2
test r14, r14
je 0x1400d338c
mov dword [r14], eax
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor esi, esi
jmp 0x1400d32f4
xor edx, edx
jmp 0x1400d31b0
Function at 0x1400d33a0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x2d8
mov r14, rcx
mov rax, qword [0x140173028]
xor rax, rsp
mov qword [rsp + 0x2d0], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x270]
mov qword [rdi + 0x50], rax
movaps xmm0, xmmword [0x14014df90]
movaps xmmword [rdi + 0x40], xmm0
movaps xmmword [rdi + 0x30], xmm0
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
lea rdx, [0x14015403d]
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x60]
mov rcx, rbx
mov r9d, 0x41e
call fcn.14004cb40
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.140054820
lea rbx, [rsp + 0x60]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.140085d30
mov word [rbx], 0
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
add edi, 0xfffffefb
cmp edi, 0xfffffefc
jb 0x1400d34a7
lea rsi, [rsp + 0x20]
mov qword [rsi], rbx
mov rcx, rbx
call fcn.14009db00
mov qword [rsi + 8], rax
lea rbx, [rsp + 0x30]
mov rcx, rbx
mov rdx, rsi
call fcn.14004bcc0
lea rsi, [rsp + 0x48]
mov rcx, rbx
mov rdx, rsi
call fcn.1400d0390
mov rcx, r14
mov rdx, rsi
call fcn.14004be10
mov rcx, rsi
call fcn.14004bda0
mov rcx, rbx
call fcn.14004bda0
cmp edi, 0xfffffefc
setae bl
lea rcx, [rsp + 0x270]
call fcn.140054af0
mov rcx, qword [rsp + 0x2d0]
xor rcx, rsp
call fcn.140083c00
mov eax, ebx
add rsp, 0x2d8
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x1400d34e0
Capabilities:
Set current directory

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0xa0
mov rdi, rcx
mov rax, qword [0x140173028]
xor rax, rsp
mov qword [rsp + 0x98], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rsi, [rsp + 0x40]
mov qword [rsi + 0x50], rax
movaps xmm0, xmmword [0x14014df90]
movaps xmmword [rsi + 0x40], xmm0
movaps xmmword [rsi + 0x30], xmm0
movaps xmmword [rsi + 0x20], xmm0
movaps xmmword [rsi + 0x10], xmm0
movaps xmmword [rsi], xmm0
lea rdx, [0x140154052]
lea r8, str..._.._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x42e
call fcn.14004cb40
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call fcn.140054820
cmp byte [rdi + 0x17], 0
jns 0x1400d3564
mov rdi, qword [rdi]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
test eax, eax
setne bl
mov rcx, rsi
call fcn.140054af0
mov rcx, qword [rsp + 0x98]
xor rcx, rsp
call fcn.140083c00
mov eax, ebx
add rsp, 0xa0
pop rbx
pop rdi
pop rsi
ret
Function at 0x1400d35a0
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x568
mov r13d, r8d
mov r14, rdx
mov rdi, rcx
mov rax, qword [0x140173028]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea rsi, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, rsi
mov dl, 0xaa
call fcn.140085d30
mov qword [rsp + 0x20], r14
xor ebp, ebp
mov rcx, rsi
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.1400d44e0
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rbx, [rsp + 0x30]
mov qword [rbx + 0x10], rax
movaps xmm0, xmmword [0x14014df90]
movaps xmmword [rbx], xmm0
mov rcx, rsi
mov rdx, rbx
call fcn.1400246f0
movzx eax, byte [rbx + 0x17]
test al, al
jns 0x1400d3636
mov rax, qword [rsp + 0x38]
test rax, rax
je 0x1400d36fa
xor r12d, r12d
lea rdi, [rsp + 0x48]
lea r15, [rsp + 0x298]
mov rsi, qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov r8d, 0x250
mov rcx, rdi
mov dl, 0xaa
call fcn.140085d30
mov rcx, r15
mov rdx, rdi
call fcn.1400d4680
mov edx, dword [rsp + 0x48]
test dl, 1
jne 0x1400d3777
mov rcx, rdi
call fcn.1400d4470
test al, al
jne 0x1400d3737
test r13b, 2
jne 0x1400d37a4
cmp byte [rsp + 0x47], 0
mov rcx, rbx
jns 0x1400d36a7
mov rcx, qword [rsp + 0x30]
call rsi
xor ebp, ebp
test eax, eax
je 0x1400d37cb
test r12d, r12d
cmovne ebp, r12d
mov rcx, rdi
call fcn.1400afd10
mov rcx, r15
mov rdx, rdi
call fcn.1400246f0
mov rcx, rbx
mov rdx, rdi
call fcn.14004be10
mov rcx, rdi
call fcn.14004bda0
movzx eax, byte [rsp + 0x47]
test al, al
jns 0x1400d36ee
mov rax, qword [rsp + 0x38]
mov r12d, ebp
test rax, rax
jne 0x1400d3656
lea rcx, [rsp + 0x30]
call fcn.14004bda0
lea rcx, [rsp + 0x298]
call fcn.1400d4610
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.140083c00
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor ebp, ebp
test r13b, 1
je 0x1400d36b3
lea rcx, [rsp + 0x30]
mov rdx, r14
mov r8d, r13d
call fcn.1400d35a0
test eax, eax
jne 0x1400d3808
cmp byte [rsp + 0x47], 0
lea rcx, [rsp + 0x30]
jns 0x1400d376c
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x1400d36ab
test r13b, 1
jne 0x1400d37e7
lea rcx, [rsp + 0x48]
call fcn.1400d4470
test al, al
je 0x1400d37e3
lea rcx, [rsp + 0x48]
call fcn.1400d4470
test al, al
je 0x1400d368e
xor ebp, ebp
jmp 0x1400d36b3
call fcn.140055200
xor edx, edx
cmp eax, 0xd
setge dl
shl edx, 4
or edx, 2
lea rcx, [rsp + 0x30]
call fcn.1400d2840
xor ebp, ebp
test al, al
jne 0x1400d36b3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor ebp, ebp
cmp ecx, 2
cmovne ebp, eax
jmp 0x1400d36b3
mov edx, dword [rsp + 0x48]
and edx, 0xfffffffe
cmp byte [rsp + 0x47], 0
jns 0x1400d37f8
mov rcx, qword [rsp + 0x30]
jmp 0x1400d37fd
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x1400d367e
mov ebp, eax
jmp 0x1400d36b3