joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400043a8
Capabilities:
Get system information on windows

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov edi, edx
mov rsi, rcx
mov rax, qword [0x140105c88]
xor rax, rsp
mov qword [rsp + 0x58], rax
xor ebx, ebx
xor edx, edx
call fcn.140002f94
mov dword [rsi + 0x120], ebx
mov dword [rsi + 0x124], edi
movaps xmm0, xmmword [section..rdata]
lea rdi, [rsp + 0x20]
movaps xmmword [rdi + 0x20], xmm0
movaps xmmword [rdi + 0x10], xmm0
movaps xmmword [rdi], xmm0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [rdi + 4]
mov ecx, dword [rdi + 0x28]
cmp eax, ecx
cmova ecx, eax
mov qword [rsi + 0x128], rcx
mov qword [rsi + 0x130], 0x20
mov qword [rsi + 0x138], 0x40
mov dword [rsi + 0x140], ebx
lea rax, [rsi + 8]
mov qword [rsi + 8], 0
xor rax, 0xffffffffb37cc16a
mov qword [rsi + 0x10], rax
mov qword [rsi + 0x18], rsi
mov dword [rsi + 0x28], ebx
lea rcx, [rsi + 0x30]
mov r8d, 0xf0
xor edx, edx
call fcn.1400a8280
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a5060
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
Function at 0x140021f56
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x20
mov rbx, r9
mov rsi, r8
mov rdi, rdx
mov r14, rcx
call fcn.140026652
mov ebp, eax
test rdi, rdi
je 0x140021f8b
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
je 0x140021fa0
movzx eax, word [rax]
jmp 0x140021fb0
xor r15d, r15d
mov eax, 6
test bpl, bpl
jne 0x14002203a
xor edi, edi
jmp 0x140021fc8
mov rax, qword [rdi]
mov rax, qword [rax + 0x40]
mov rcx, rdi
call qword [0x140117008]
xor r15d, r15d
cmp ax, 0xffff
sete cl
cmove rdi, r15
mov eax, 6
cmp bpl, cl
je 0x14002203a
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x140021fda
movzx ebp, word [rax]
jmp 0x140021fe9
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x140117008]
mov ebp, eax
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov dx, 4
mov r8d, ebp
call qword [0x140117008]
test al, al
je 0x140022032
mov rax, qword [rbx]
mov rax, qword [rax + 0x68]
mov rcx, rbx
mov edx, ebp
xor r8d, r8d
call qword [0x140117008]
mov ebp, eax
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x14002204e
add rax, 2
mov qword [rcx + 0x18], rax
jmp 0x14002205b
xor r15d, r15d
mov eax, 4
or dword [rsi], eax
mov eax, r15d
add rsp, 0x20
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [0x140117008]
mov r12d, dword [rsp + 0x80]
movsx r15d, bpl
mov rcx, r14
call fcn.140026652
mov ebp, eax
test rdi, rdi
je 0x140022085
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
je 0x140022089
movzx eax, word [rax]
jmp 0x140022099
mov al, 1
jmp 0x1400220a2
mov rax, qword [rdi]
mov rax, qword [rax + 0x40]
mov rcx, rdi
call qword [0x140117008]
cmp ax, 0xffff
sete al
jne 0x1400220a4
xor edi, edi
add r15d, 0xffffffd0
cmp bpl, al
je 0x14002214a
cmp r12d, 2
jl 0x14002214a
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x1400220cd
movzx ebp, word [rax]
jmp 0x1400220dc
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
call qword [0x140117008]
mov ebp, eax
mov rax, qword [rbx]
mov rax, qword [rax + 0x18]
mov rcx, rbx
mov dx, 4
mov r8d, ebp
call qword [0x140117008]
test al, al
je 0x14002203c
mov rax, qword [rbx]
mov rax, qword [rax + 0x68]
mov rcx, rbx
mov edx, ebp
xor r8d, r8d
call qword [0x140117008]
mov ebp, eax
mov rcx, qword [r14]
mov rax, qword [rcx + 0x18]
cmp rax, qword [rcx + 0x20]
je 0x140022129
add rax, 2
mov qword [rcx + 0x18], rax
jmp 0x140022136
mov rax, qword [rcx]
mov rax, qword [rax + 0x48]
call qword [0x140117008]
lea eax, [r15 + r15*4]
movsx ecx, bpl
lea r15d, [rcx + rax*2]
dec r12d
jmp 0x140022067
mov rcx, r14
call fcn.140026652
mov ebx, eax
test rdi, rdi
je 0x140022168
mov rax, qword [rdi + 0x18]
cmp rax, qword [rdi + 0x20]
je 0x14002217a
movzx eax, word [rax]
jmp 0x14002218a
mov eax, 2
test bl, bl
jne 0x14002203a
jmp 0x14002203c
mov rax, qword [rdi]
mov rax, qword [rax + 0x40]
mov rcx, rdi
call qword [0x140117008]
cmp ax, 0xffff
sete al
xor bl, al
mov eax, 2
je 0x14002203a
jmp 0x14002203c
Function at 0x140029f20
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x30
mov rsi, rcx
mov rax, qword [0x140105c88]
xor rax, rsp
mov qword [rsp + 0x28], rax
xor eax, eax
test r8d, r8d
sete al
xor r8d, r8d
test edx, edx
sete r8b
xor ecx, ecx
mov edx, r8d
mov r8d, eax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi], 0
test rax, rax
je 0x140029fbe
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x140029f92
call fcn.1400322e0
mov rcx, qword [rsi]
call fcn.140041f60
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x140029fa4
mov qword [rsi], rdi
call fcn.1400322e0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov rax, qword [rsi]
mov byte [rsi + 8], 0
inc rax
cmp rax, 1
jbe 0x140029fc2
jmp 0x140029feb
mov byte [rsi + 8], 0
lea rdx, str....._base_synchronizationwaitable_event_win.cc
lea r9, str.handle_.is_valid__
lea rdi, [rsp + 0x20]
mov rcx, rdi
mov r8d, 0x20
call fcn.140038500
mov rcx, rdi
call fcn.140038640
mov rcx, qword [rsp + 0x28]
xor rcx, rsp
call fcn.1400a5060
mov rax, rsi
add rsp, 0x30
pop rbx
pop rdi
pop rsi
ret

Function at 0x14002a1e0
Capabilities:
Check if file exists

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x60
mov rdi, rdx
mov rsi, rcx
mov rax, qword [0x140105c88]
xor rax, rsp
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x50], rdx
mov qword [rcx], 0
test rdx, rdx
je 0x14002a24f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov rax, qword [rsi]
inc rax
cmp rax, 2
jb 0x14002a235
call fcn.1400322e0
mov rcx, qword [rsi]
call fcn.140041f60
mov qword [rsi], 0
lea rax, [rdi + 1]
cmp rax, 2
jb 0x14002a247
mov qword [rsi], rdi
call fcn.1400322e0
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov byte [rsi + 8], 0
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x48], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov qword [rsp + 0x40], rax
cmp rax, rdi
je 0x14002a2aa
xor eax, eax
mov qword [rsp + 0x48], rax
test rax, rax
je 0x14002a292
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x38]
call fcn.140038640
mov rcx, qword [rsp + 0x58]
xor rcx, rsp
call fcn.1400a5060
mov rax, rsi
add rsp, 0x60
pop rbx
pop rdi
pop rsi
ret
lea rdi, [0x14002a4a0]
lea rcx, [rsp + 0x40]
mov rdx, rdi
call fcn.140043160
mov rbx, rax
lea rcx, [rsp + 0x50]
mov rdx, rdi
call fcn.140043160
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rax
lea rdx, str....._baseprocessprocess_win.cc
lea r9, str.handle___::GetCurrentProcess__
xor ecx, ecx
mov r8d, 0x29
call fcn.1400386e0
jmp 0x14002a274
Function at 0x14002a910
Capabilities:
Move file

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a0
mov rsi, r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x140105c88]
xor rax, rsp
mov qword [rsp + 0x498], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x490], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x480], xmm0
movaps xmmword [rsp + 0x470], xmm0
movaps xmmword [rsp + 0x460], xmm0
movaps xmmword [rsp + 0x450], xmm0
lea rdx, [0x1400ddfdf]
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x240]
mov rcx, r14
mov r9d, 0x1d6
call fcn.1400322c0
lea rcx, [rsp + 0x450]
mov rdx, r14
xor r8d, r8d
call fcn.1400429f0
lea r15, [rsp + 0x240]
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.1400a8280
lea r14, [rdi + 2]
test byte [rdi], 1
mov rdx, r14
je 0x14002a9d4
mov rdx, qword [rdi + 0x10]
mov r8d, 0x104
mov rcx, r15
call fcn.14004cbc0
mov rcx, r15
call fcn.140002ff0
lea r12, [rsp + 0x30]
mov r8d, 0x208
mov rcx, r12
mov dl, 0xaa
call fcn.1400a8280
lea r15, [rbx + 2]
test byte [rbx], 1
mov rdx, r15
je 0x14002aa0f
mov rdx, qword [rbx + 0x10]
mov r8d, 0x104
mov rcx, r12
call fcn.14004cbc0
mov rcx, r12
call fcn.140002ff0
test byte [rdi], 1
mov rdx, r14
je 0x14002aa31
mov rdx, qword [rdi + 0x10]
test byte [rbx], 1
mov rcx, r15
je 0x14002aa3d
mov rcx, qword [rbx + 0x10]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xor r8d, r8d
mov r9d, 2
call qword [sym.imp.KERNEL32.dll_ReplaceFileW]
mov r12b, 1
test eax, eax
jne 0x14002aaa8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
call fcn.14004d1e0
mov ebp, eax
test byte [rbx], 1
je 0x14002aa73
mov r15, qword [rbx + 0x10]
test byte [rdi], 1
je 0x14002aa7c
mov r14, qword [rdi + 0x10]
mov rcx, r14
mov rdx, r15
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne r12b
test rsi, rsi
je 0x14002aaa8
test eax, eax
jne 0x14002aaa8
cmp ebp, 0xfffffffc
jne 0x14002aaa3
call fcn.14004d170
mov ebp, eax
mov dword [rsi], ebp
xor r12d, r12d
lea rcx, [rsp + 0x450]
call fcn.140042a50
mov rcx, qword [rsp + 0x498]
xor rcx, rsp
call fcn.1400a5060
mov eax, r12d
add rsp, 0x4a0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, rcx
mov rax, qword [0x140105c88]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
lea rdx, str.PathExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x209
call fcn.1400322c0
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400429f0
test byte [rsi], 1
je 0x14002ab6b
mov rsi, qword [rsi + 0x10]
jmp 0x14002ab6f
add rsi, 2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne bl
mov rcx, rdi
call fcn.140042a50
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400a5060
mov eax, ebx
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x14002abb0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xb0
mov ebp, r8d
mov esi, edx
mov rdi, rcx
mov rax, qword [0x140105c88]
xor rax, rsp
mov qword [rsp + 0xa8], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0xa0], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x90], xmm0
movaps xmmword [rsp + 0x80], xmm0
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
lea rdx, str.PathHasAccess
lea r8, str....._base_files_file_util_win.cc
lea r14, [rsp + 0x40]
mov rcx, r14
mov r9d, 0x212
call fcn.1400322c0
lea rcx, [rsp + 0x60]
xor ebx, ebx
mov rdx, r14
xor r8d, r8d
call fcn.1400429f0
test byte [rdi], 1
je 0x14002ac48
mov rdi, qword [rdi + 0x10]
jmp 0x14002ac4c
add rdi, 2
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002ace4
test al, 0x10
cmove esi, ebp
mov eax, 0x80
mov ecx, 0x2000000
cmove ecx, eax
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 3
xor r14d, r14d
mov rcx, rdi
mov edx, esi
mov r8d, 7
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
test rax, rax
je 0x14002acc7
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp rdi, 0xffffffffffffffff
je 0x14002acbc
call fcn.1400322e0
mov r14, rdi
jmp 0x14002acbf
xor r14d, r14d
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_SetLastError]
test r14, r14
setne bl
lea rax, [r14 + 1]
cmp rax, 2
jb 0x14002ace4
call fcn.1400322e0
mov rcx, r14
call fcn.140041f60
lea rcx, [rsp + 0x60]
call fcn.140042a50
mov rcx, qword [rsp + 0xa8]
xor rcx, rsp
call fcn.1400a5060
mov eax, ebx
add rsp, 0xb0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret

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

Disassembly:
push rsi
push rdi
push rbx
sub rsp, 0x90
mov rsi, rcx
mov rax, qword [0x140105c88]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x70], xmm0
movaps xmmword [rsp + 0x60], xmm0
movaps xmmword [rsp + 0x50], xmm0
movaps xmmword [rsp + 0x40], xmm0
lea rdx, str.DirectoryExists
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x231
call fcn.1400322c0
lea rdi, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400429f0
test byte [rsi], 1
je 0x14002ad9b
mov rsi, qword [rsi + 0x10]
jmp 0x14002ad9f
add rsi, 2
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov esi, eax
cmp eax, 0xffffffff
setne al
and esi, 0x10
shr esi, 4
and sil, al
mov rcx, rdi
call fcn.140042a50
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400a5060
mov eax, esi
add rsp, 0x90
pop rbx
pop rdi
pop rsi
ret
Function at 0x14002ade0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x278
mov rsi, rcx
mov rax, qword [0x140105c88]
xor rax, rsp
mov qword [rsp + 0x270], rax
lea rbx, [rsp + 0x60]
mov r8d, 0x20a
mov rcx, rbx
mov dl, 0xaa
call fcn.1400a8280
mov ecx, 0x104
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
dec edi
cmp edi, 0x102
ja 0x14002ae7f
mov qword [rsp + 0x20], rbx
mov rcx, rbx
call fcn.1400c47c0
mov qword [rsp + 0x28], rax
lea rbx, [rsp + 0x30]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.140032340
lea r14, [rsp + 0x48]
mov rcx, rbx
mov rdx, r14
call fcn.140034690
mov rcx, rsi
mov rdx, r14
call fcn.1400325a0
mov rcx, r14
call fcn.140032570
mov rcx, rbx
call fcn.140032570
cmp edi, 0x103
setb bl
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400a5060
mov eax, ebx
add rsp, 0x278
pop rbx
pop rdi
pop rsi
pop r14
ret

Function at 0x14002aeb0
Capabilities:
Get common file path

Disassembly:
push rsi
push rdi
sub rsp, 0x288
mov rsi, rcx
mov rax, qword [0x140105c88]
xor rax, rsp
mov qword [rsp + 0x280], rax
lea rdi, [rsp + 0x70]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.1400a8280
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov edx, 0x28
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x14002af28
cmp word [rsp + 0x70], 0
je 0x14002af28
mov qword [rsp + 0x60], rdi
mov rcx, rdi
call fcn.1400c47c0
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140032340
jmp 0x14002af97
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x50], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x40], xmm0
lea rdi, [rsp + 0x40]
mov rcx, rdi
call fcn.1400322f0
mov rcx, rdi
call fcn.14002ade0
test al, al
je 0x14002af6b
lea rdx, [rsp + 0x40]
mov rcx, rsi
call fcn.140032320
jmp 0x14002af8d
lea rax, [0x1400de008]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], 3
lea rdx, [rsp + 0x30]
mov rcx, rsi
call fcn.140032340
lea rcx, [rsp + 0x40]
call fcn.140032570
mov rcx, qword [rsp + 0x280]
xor rcx, rsp
call fcn.1400a5060
mov rax, rsi
add rsp, 0x288
pop rdi
pop rsi
ret
Function at 0x14002b710
Capabilities:
Check if file exists
Create directory

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0xa0
movaps xmmword [rsp + 0x90], xmm6
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140105c88]
xor rax, rsp
mov qword [rsp + 0x88], rax
movabs r14, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x80], r14
movaps xmm6, xmmword [section..rdata]
movaps xmmword [rsp + 0x70], xmm6
movaps xmmword [rsp + 0x60], xmm6
movaps xmmword [rsp + 0x50], xmm6
movaps xmmword [rsp + 0x40], xmm6
lea rdx, str.CreateDirectoryAndGetError
lea r8, str....._base_files_file_util_win.cc
lea rbx, [rsp + 0x20]
mov rcx, rbx
mov r9d, 0x2e8
call fcn.1400322c0
lea rcx, [rsp + 0x40]
mov rdx, rbx
xor r8d, r8d
call fcn.1400429f0
test byte [rdi], 1
je 0x14002b7a6
mov rbx, qword [rdi + 0x10]
jmp 0x14002b7aa
lea rbx, [rdi + 2]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14002b7df
mov bl, 1
test al, 0x10
jne 0x14002b87a
test rsi, rsi
je 0x14002b7cd
mov dword [rsi], 0xfffffff7
mov ecx, 0x50
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor ebx, ebx
jmp 0x14002b87a
mov qword [rsp + 0x30], r14
movaps xmmword [rsp + 0x20], xmm6
lea r14, [rsp + 0x20]
mov rcx, rdi
mov rdx, r14
call fcn.140032e80
mov rcx, r14
mov rdx, rdi
call fcn.14002b8b0
test al, al
je 0x14002b823
mov eax, 0xfffffffc
mov ebp, 2
test rsi, rsi
je 0x14002b819
mov dword [rsi], eax
mov ecx, ebp
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x14002b86e
lea rcx, [rsp + 0x20]
mov rdx, rsi
call fcn.14002b710
test al, al
je 0x14002b86e
mov rcx, rbx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x14002b870
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
cmp eax, 0xb7
jne 0x14002b860
mov rcx, rdi
call fcn.14002ad10
test al, al
jne 0x14002b870
test rsi, rsi
je 0x14002b819
mov ecx, ebp
call fcn.14004d1e0
jmp 0x14002b817
xor ebx, ebx
lea rcx, [rsp + 0x20]
call fcn.140032570
lea rcx, [rsp + 0x40]
call fcn.140042a50
mov rcx, qword [rsp + 0x88]
xor rcx, rsp
call fcn.1400a5060
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x90]
add rsp, 0xa0
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret
Function at 0x14002c110
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 ebx, r8d
mov rsi, rdx
mov rdi, rcx
mov rax, qword [0x140105c88]
xor rax, rsp
mov qword [rsp + 0x560], rax
lea r14, [rsp + 0x298]
mov r8d, 0x2c8
mov rcx, r14
mov dl, 0xaa
call fcn.1400a8280
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor ebp, ebp
mov rcx, r14
mov rdx, rdi
xor r8d, r8d
mov r9d, 3
call fcn.14004d710
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [section..rdata]
movaps xmmword [rsp + 0x30], xmm0
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.14004d950
movzx eax, byte [rsp + 0x30]
test al, 1
je 0x14002c1b6
mov rax, qword [rsp + 0x38]
test rax, rax
jne 0x14002c1c2
jmp 0x14002c31e
shr rax, 1
test rax, rax
je 0x14002c31e
lea r13, [rsp + 0x32]
lea rdi, [rsp + 0x48]
lea r14, [rsp + 0x298]
lea r15, [rsp + 0x30]
mov r12, qword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
jmp 0x14002c200
mov rax, qword [rsp + 0x38]
mov esi, ebp
test rax, rax
je 0x14002c31e
mov r8d, 0x250
mov rcx, rdi
mov dl, 0xaa
call fcn.1400a8280
mov rcx, r14
mov rdx, rdi
call fcn.14004d8b0
mov edx, dword [rsp + 0x48]
test dl, 1
je 0x14002c263
test bl, bl
jne 0x14002c24b
mov rcx, rdi
call fcn.14004d6e0
test al, al
je 0x14002c247
mov rcx, rdi
call fcn.14004d6e0
xor ebp, ebp
test al, al
je 0x14002c2b0
jmp 0x14002c2de
mov edx, dword [rsp + 0x48]
and edx, 0xfffffffe
test byte [rsp + 0x30], 1
mov rcx, r13
je 0x14002c25d
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov rcx, rdi
call fcn.14004d6e0
test al, al
je 0x14002c2b0
xor ebp, ebp
test bl, bl
je 0x14002c2de
mov rcx, r15
mov rdx, qword [rsp + 0x28]
mov r8b, 1
call fcn.14002c110
mov ebp, eax
test eax, eax
jne 0x14002c2de
test byte [rsp + 0x30], 1
mov rcx, r13
je 0x14002c29a
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ebp, 0
test eax, eax
jne 0x14002c2de
jmp 0x14002c2c8
test byte [rsp + 0x30], 1
mov rcx, r13
je 0x14002c2bf
mov rcx, qword [rsp + 0x40]
call r12
xor ebp, ebp
test eax, eax
jne 0x14002c2de
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
and eax, 0xfffffffe
cmp eax, 2
mov eax, 0
cmove ebp, eax
test esi, esi
cmovne ebp, esi
mov rcx, rdi
call fcn.140002ff0
mov rcx, r14
mov rdx, rdi
call fcn.14004d950
mov rcx, r15
mov rdx, rdi
call fcn.1400325a0
mov rcx, rdi
call fcn.140032570
movzx eax, byte [rsp + 0x30]
test al, 1
jne 0x14002c1f0
shr rax, 1
jmp 0x14002c1f5
lea rcx, [rsp + 0x30]
call fcn.140032570
lea rcx, [rsp + 0x298]
call fcn.14004d840
mov rcx, qword [rsp + 0x560]
xor rcx, rsp
call fcn.1400a5060
mov eax, ebp
add rsp, 0x568
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
Function at 0x14002cbb0
Capabilities:
Identify system language via api

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x278
mov qword [rsp + 0x48], r8
mov rbx, rdx
mov rdi, rcx
mov rax, qword [0x140105c88]
xor rax, rsp
mov qword [rsp + 0x270], rax
movzx ebp, word [rcx + 0x28]
movzx esi, word [rcx + 0x2a]
mov r15, qword [sym.imp.KERNEL32.dll_GetUserDefaultLangID]
call r15
mov r14d, eax
movzx r13d, word [rdi + 0x2a]
movzx r12d, word [rdi + 0x28]
call r15
mov word [rsp + 0x46], ax
lea r15, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.1400a8280
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], ebp
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r15
call fcn.14002ce50
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x54], 0xaaaaaaaa
mov rcx, qword [rdi + 0x20]
lea r8, [rsp + 0x58]
lea r9, [rsp + 0x54]
mov rdx, r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14002cc86
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14002cc86
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x14002ce13
add rdi, 0x20
lea r15, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r15
mov dl, 0xaa
call fcn.1400a8280
movzx eax, r14w
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], r13d
mov dword [rsp + 0x20], eax
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r15
call fcn.14002ce50
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x54], 0xaaaaaaaa
mov rcx, qword [rdi]
lea r8, [rsp + 0x58]
lea r9, [rsp + 0x54]
mov rdx, r15
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14002cd0d
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14002cd0d
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x14002ce13
lea r14, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1400a8280
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x20], r12d
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
call fcn.14002ce50
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x54], 0xaaaaaaaa
mov rcx, qword [rdi]
lea r8, [rsp + 0x58]
lea r9, [rsp + 0x54]
mov rdx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14002cd90
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14002cd90
mov r8d, dword [rsp + 0x54]
test r8d, r8d
jne 0x14002ce13
lea r14, [rsp + 0x60]
mov r8d, 0x208
mov rcx, r14
mov dl, 0xaa
call fcn.1400a8280
movzx eax, word [rsp + 0x46]
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x28], 0x4e4
lea r9, str.StringFileInfo_04x_04x_ls
mov edx, 0x104
mov r8d, 0x104
mov rcx, r14
call fcn.14002ce50
mov qword [rsp + 0x58], 0
mov dword [rsp + 0x54], 0xaaaaaaaa
mov rcx, qword [rdi]
lea r8, [rsp + 0x58]
lea r9, [rsp + 0x54]
mov rdx, r14
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x14002ce49
mov rdx, qword [rsp + 0x58]
test rdx, rdx
je 0x14002ce49
mov r8d, dword [rsp + 0x54]
test r8d, r8d
je 0x14002ce49
dec r8d
mov rcx, qword [rsp + 0x48]
call fcn.14002cee0
mov sil, 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1400a5060
mov eax, esi
add rsp, 0x278
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
xor esi, esi
jmp 0x14002ce23