joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1400fd040
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
sub rsp, 0x250
mov rax, qword [0x14040f040]
xor rax, rsp
mov qword [rsp + 0x240], rax
mov eax, dword [rcx + 0x58]
lea rbx, [rsp + 0x30]
mov dword [rsp + 0x40], eax
mov ebp, r9d
mov eax, dword [rcx + 0x5c]
mov rsi, rcx
mov dword [rsp + 0x44], eax
mov eax, dword [rsp + 0x290]
mov dword [rsp + 0x34], eax
mov dword [rsp + 0x38], edx
mov dword [rsp + 0x3c], r8d
mov dword [rsp + 0x30], r9d
mov qword [rsp + 0x278], rdi
nop dword [rax]
mov r10d, dword [rbx + 0x14]
mov eax, r10d
mov r14d, dword [rbx + 4]
cmp r10d, r14d
mov r9d, dword [rbx + 0xc]
cmovg eax, r14d
cmp r9d, eax
jl 0x1400fd1dc
cmp r10d, r14d
mov eax, r14d
cmovg eax, r10d
cmp r9d, eax
jg 0x1400fd1dc
cmp r10d, r14d
jne 0x1400fd0e0
sub rbx, 0x10
jmp 0x1400fd224
mov edx, dword [rsi + 0x88]
xor r9d, r9d
cmp r10d, r14d
setge r9b
inc r9d
cmp edx, r9d
je 0x1400fd152
mov eax, dword [rsi + 4]
mov ecx, eax
mov r8d, dword [rsi + 8]
neg ecx
cmp r10d, r14d
jge 0x1400fd114
dec eax
add eax, r10d
and eax, ecx
sub eax, r10d
jmp 0x1400fd11c
and ecx, r10d
mov eax, r10d
sub eax, ecx
cmp eax, r8d
setge r11b
test edx, edx
je 0x1400fd13b
movzx edx, r11b
mov rcx, rsi
call fcn.1400fe1f0
test al, al
jne 0x1400fd235
movzx r8d, r11b
mov edx, r9d
mov rcx, rsi
call fcn.1400fe860
test al, al
jne 0x1400fd235
mov edx, dword [rsi + 0x64]
lea r9, [0x1400febc0]
mov ecx, dword [rsi + 0x60]
mov r8, rbx
cmp r10d, r14d
jge 0x1400fd17e
mov dword [rsp + 0x28], edx
mov edx, 2
mov dword [rsp + 0x20], ecx
mov rcx, rsi
call fcn.1400fcec0
jmp 0x1400fd1d2
mov eax, dword [rbx + 4]
neg ecx
movzx edi, byte [rsi + 0x6a]
neg eax
mov dword [rbx + 4], eax
neg edx
mov eax, dword [rbx + 0xc]
neg eax
mov dword [rsp + 0x28], ecx
mov dword [rbx + 0xc], eax
mov rcx, rsi
mov eax, dword [rbx + 0x14]
neg eax
mov dword [rsp + 0x20], edx
mov edx, 2
mov dword [rbx + 0x14], eax
call fcn.1400fcec0
test dil, dil
je 0x1400fd1ca
cmp byte [rsi + 0x6a], 0
jne 0x1400fd1ca
mov rdx, qword [rsi + 0x70]
mov ecx, dword [rdx + 0x20]
neg ecx
mov dword [rdx + 0x20], ecx
mov ecx, dword [rbx + 4]
neg ecx
mov dword [rbx + 4], ecx
test al, al
jne 0x1400fd235
sub rbx, 0x10
jmp 0x1400fd224
mov eax, dword [rbx + 8]
mov ecx, dword [rbx + 0x10]
mov dword [rbx + 0x20], ecx
add ecx, eax
mov dword [rbx + 0x24], r10d
lea edx, [rax + rbp]
mov eax, ecx
sar eax, 1
mov dword [rbx + 0x18], eax
lea eax, [rcx + rdx]
sar eax, 2
lea ecx, [r10 + r9]
mov dword [rbx + 0x10], eax
mov eax, ecx
sar edx, 1
sar eax, 1
mov dword [rbx + 8], edx
lea edx, [r14 + r9]
mov dword [rbx + 0x1c], eax
lea eax, [rcx + rdx]
sar eax, 2
sar edx, 1
mov dword [rbx + 0x14], eax
mov dword [rbx + 0xc], edx
add rbx, 0x10
lea rax, [rsp + 0x30]
cmp rbx, rax
jb 0x1400fd239
mov ebp, dword [rbx]
jmp 0x1400fd0a0
mov al, 1
jmp 0x1400fd242
mov dword [rsi + 0x58], ebp
xor al, al
mov dword [rsi + 0x5c], r14d
mov rdi, qword [rsp + 0x278]
mov rcx, qword [rsp + 0x240]
xor rcx, rsp
call fcn.140109210
mov rbx, qword [rsp + 0x280]
add rsp, 0x250
pop r14
pop rsi
pop rbp
ret
Function at 0x140103590
Capabilities:
Get file size
Read file on windows
Read file via mapping

Disassembly:
push rbx
push rbp
sub rsp, 0x48
mov rbp, rdx
mov rbx, rcx
test rcx, rcx
jne 0x1401035ac
lea eax, [rcx + 0x28]
add rsp, 0x48
pop rbp
pop rbx
ret
mov qword [rsp + 0x68], rsi
xor r9d, r9d
mov qword [rsp + 0x40], r14
mov edx, 0x80000000
xor r14d, r14d
mov rcx, rbp
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
lea r8d, [r14 + 1]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rsi, rax
cmp rax, 0xffffffffffffffff
jne 0x140103600
mov r14, qword [rsp + 0x40]
lea eax, [rsi + 2]
mov rsi, qword [rsp + 0x68]
add rsp, 0x48
pop rbp
pop rbx
ret
lea rdx, [rsp + 0x70]
mov qword [rsp + 0x78], rdi
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetFileSizeEx]
test eax, eax
je 0x140103725
mov rax, qword [rsp + 0x70]
cmp rax, 0x7fffffff
jg 0x140103725
test rax, rax
je 0x140103725
xor r9d, r9d
mov qword [rsp + 0x28], r14
xor edx, edx
mov dword [rsp + 0x20], r14d
mov rcx, rsi
lea r8d, [r9 + 2]
call qword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov rdi, rax
test rax, rax
je 0x140103725
mov ecx, dword [rsp + 0x70]
xor r9d, r9d
mov dword [rbx + 8], ecx
xor r8d, r8d
mov rcx, rax
mov dword [rbx + 0xc], r14d
mov qword [rsp + 0x20], r14
lea edx, [r9 + 4]
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rcx, rdi
mov qword [rbx], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], r14
je 0x14010369a
lea rax, [0x140103780]
jmp 0x1401036f3
mov rcx, qword [rbx + 0x30]
xor edx, edx
movsxd r8, dword [rbx + 8]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapAlloc]
mov qword [rbx], rax
test rax, rax
je 0x140103725
mov edi, r14d
nop dword [rax + rax]
mov r8d, dword [rbx + 8]
lea r9, [rsp + 0x60]
mov edx, edi
sub r8d, edi
add rdx, qword [rbx]
mov rcx, rsi
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140103713
add edi, dword [rsp + 0x60]
cmp edi, dword [rbx + 8]
jne 0x1401036c0
lea rax, [0x140103750]
mov rcx, rsi
mov qword [rbx + 0x28], rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rbx]
mov qword [rbx + 0x10], rax
xor eax, eax
mov qword [rbx + 0x18], rbp
mov qword [rbx + 0x20], r14
jmp 0x14010373a
mov rcx, qword [rbx + 0x30]
xor edx, edx
mov r8, qword [rbx]
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_HeapFree]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x51
mov qword [rbx], r14
mov qword [rbx + 8], r14
mov rdi, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x68]
mov r14, qword [rsp + 0x40]
add rsp, 0x48
pop rbp
pop rbx
ret
Function at 0x140104480
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov r9, rdx
test rdx, rdx
jne 0x14010448b
xor eax, eax
ret
lea r11, [0x140315840]
not ecx
cmp r8d, 8
jb 0x140104561
mov r10d, r8d
shr r10, 3
nop word [rax + rax]
movzx edx, byte [r9]
mov eax, ecx
xor rdx, rax
shr ecx, 8
movzx eax, dl
add r8d, 0xfffffff8
movzx edx, byte [r9 + 1]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 2]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 3]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 4]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 5]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 6]
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
movzx edx, byte [r9 + 7]
add r9, 8
xor ecx, dword [r11 + rax*4]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
sub r10, 1
jne 0x1401044b0
test r8d, r8d
je 0x14010458d
nop word [rax + rax]
movzx edx, byte [r9]
lea r9, [r9 + 1]
mov eax, ecx
shr ecx, 8
xor rdx, rax
movzx eax, dl
xor ecx, dword [r11 + rax*4]
add r8d, 0xffffffff
jne 0x140104570
not ecx
mov eax, ecx
ret
Function at 0x140108198
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 0x1401081d2
xor r9d, r9d
mov dword [rsp + 0x60], r9d
jmp 0x1401081d7
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 0x140108220
mov r8, qword [rbx]
dec r8
add r8, rdx
movzx ecx, byte [r8]
lea rax, [0x140315f90]
cmp byte [rcx + rax], 0
je 0x140108220
dec r8
sub rdx, 1
jne 0x140108206
mov rbx, qword [rsp + 0x50]
mov rax, rdx
add rsp, 0x40
pop rdi
ret

Function at 0x1401095e0
Capabilities:
Parse pe header

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

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x14040f040]
xor rax, rsp
mov qword [rsp + 0x60], rax
cmp byte [rcx + 0x20], 0
mov rbx, rcx
jne 0x140114bfd
mov qword [rsp + 0x88], rdi
lea rdx, [rsp + 0x20]
xor edi, edi
mov word [rsp + 0x28], 0x101
mov qword [rsp + 0x20], rdi
mov byte [rsp + 0x2a], dil
call fcn.140114990
mov rax, qword [rsp + 0x20]
test rax, rax
js 0x140114bf5
cmp byte [0x140548ee8], dil
mov qword [rsp + 0x30], rax
jne 0x140114b7f
call sub.api_ms_win_crt_time_l1_1_0.dll__tzset
mov byte [0x140548ee8], 1
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call sub.api_ms_win_crt_time_l1_1_0.dll__localtime64_s
mov eax, dword [rsp + 0x4c]
test eax, eax
jns 0x140114ba1
xor ecx, ecx
call fcn.140110850
mov eax, dword [rsp + 0x4c]
mov ecx, 0x76c
mov word [rbx + 0x1e], di
add ax, cx
mov dword [rbx + 0x24], 0xffffffff
mov word [rbx + 0x10], ax
movzx eax, word [rsp + 0x48]
inc ax
mov byte [rbx + 0x20], 1
mov word [rbx + 0x12], ax
movzx eax, word [rsp + 0x50]
mov word [rbx + 0x14], ax
movzx eax, word [rsp + 0x44]
mov word [rbx + 0x16], ax
movzx eax, word [rsp + 0x40]
mov word [rbx + 0x18], ax
movzx eax, word [rsp + 0x3c]
mov word [rbx + 0x1a], ax
movzx eax, word [rsp + 0x38]
mov word [rbx + 0x1c], ax
mov rdi, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x60]
xor rcx, rsp
call fcn.140109210
add rsp, 0x70
pop rbx
ret
Function at 0x14012f860
Capabilities:
Check for time delay via gettickcount

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x238
mov rax, qword [0x14040f040]
xor rax, rsp
mov qword [rsp + 0x220], rax
movzx r15d, r9b
mov rdi, r8
mov rbp, rdx
mov r13, rcx
mov r14, qword [rsp + 0x2a0]
mov rbx, qword [rsp + 0x2a8]
mov rax, qword [rsp + 0x2b0]
mov qword [rsp + 0x78], rax
lea rdx, [rcx + 0x3930]
mov r8d, 4
mov rcx, rbp
call fcn.14010ff40
mov rcx, r14
call fcn.140149170
xor r12d, r12d
mov qword [rsp + 0x80], r12
mov qword [rsp + 0x20], r12
mov r9d, dword [r13 + 0xf2c]
mov r8d, dword [r13 + 0xf28]
mov rdx, rbx
lea rcx, [rsp + 0x80]
call fcn.1401d14e0
nop
mov rcx, r13
call fcn.140122610
mov byte [r13 + 0x20b0], 1
call sub.KERNEL32.dll_GetTickCount
mov dword [rsp + 0x70], eax
mov qword [rsp + 0x88], r12
xor edx, edx
mov r8d, 0x188
lea rcx, [rsp + 0x90]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x80]
call fcn.1401d1c20
mov rdx, rax
lea rcx, [rsp + 0x90]
call fcn.140185c60
nop
mov dword [rsp + 0xd4], r12d
lea rbx, [r13 + 0x1820]
mov rcx, rdi
call fcn.14010ddb0
mov rdi, rax
mov rcx, rbp
call fcn.14010ddb0
mov rdx, rax
mov rbp, qword [rsp + 0x78]
mov qword [rsp + 0x60], rbp
lea rax, [rsp + 0x90]
mov qword [rsp + 0x58], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x48], r14
mov qword [rsp + 0x40], rbx
mov byte [rsp + 0x38], r12b
mov byte [rsp + 0x30], r15b
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], r13
lea r9, [r13 + 0x1ea8]
lea r8, [r13 + 0x36f8]
mov rcx, r13
call fcn.14018c3d0
movzx ebx, al
mov eax, dword [rsp + 0xd4]
mov dword [r13 + 0xff4], eax
movzx eax, byte [rsp + 0xc3]
mov byte [r13 + 0x15db], al
call sub.KERNEL32.dll_GetTickCount
mov ecx, dword [rsp + 0x70]
cmp eax, ecx
jb 0x14012fa0e
sub eax, ecx
mov r8d, eax
lea rdx, str.totalElapsedMs
mov rcx, rbp
call fcn.14015c6b0
mov rdx, rbp
test bl, bl
je 0x14012fa51
lea rcx, [rsp + 0x80]
call fcn.1401d1a50
lea rcx, [r13 + 0xbf0]
mov r8, qword [r13 + 0x1bf0]
lea rdx, str.ContentLength
call fcn.14015c640
cmp dword [r13 + 0x1be8], 0x190
cmovl r12d, ebx
movzx ebx, r12b
jmp 0x14012fa5e
lea rcx, [r13 + 0x36f8]
call fcn.1401cff40
nop
lea rcx, [rsp + 0x90]
call fcn.140185d00
nop
lea rcx, [rsp + 0x80]
call fcn.1401d1530
movzx eax, bl
mov rcx, qword [rsp + 0x220]
xor rcx, rsp
call fcn.140109210
add rsp, 0x238
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret

Function at 0x140139730
Capabilities:
Encode data using base64
Encrypt data using rc4 prga

Disassembly:
mov eax, r8d
mov r9, rdx
mov r8, rcx
mov edx, eax
mov rcx, r9
jmp fcn.1401585b0
Function at 0x14014b090
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x20
mov esi, dword [rdx + 0x10]
mov r14, r8
mov rdi, rdx
mov rbx, rcx
cmp esi, dword [r8 + 0x10]
jne 0x14014b0ee
test esi, esi
jne 0x14014b0e1
xor r9d, r9d
mov dword [rcx + 0x10], r9d
cmp byte [rcx + 0x19], r9b
je 0x14014b1b5
mov qword [rcx + 0x20], r9
mov al, 1
mov dword [rcx + 0x14], r9d
mov byte [rcx + 0x19], r9b
jmp 0x14014b0f0
cmp byte [rcx + 0x18], 0xdb
je 0x14014b10b
xor ecx, ecx
call fcn.140110850
xor al, al
mov rbx, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
add rsp, 0x20
pop r14
ret
cmp dword [rcx + 0x14], esi
jae 0x14014b167
mov ecx, esi
call fcn.14011a720
mov rbp, rax
test rax, rax
je 0x14014b0ee
mov eax, dword [rbx + 0x10]
test eax, eax
je 0x14014b148
cmp qword [rbx + 0x20], 0
je 0x14014b148
cmp eax, esi
jbe 0x14014b138
xor ecx, ecx
call fcn.140110850
mov r8d, dword [rbx + 0x10]
mov rcx, rbp
mov rdx, qword [rbx + 0x20]
call sub.VCRUNTIME140.dll_memcpy
cmp byte [rbx + 0x19], 0
jne 0x14014b15c
mov rcx, qword [rbx + 0x20]
test rcx, rcx
je 0x14014b15c
call fcn.140108b5c
mov qword [rbx + 0x20], rbp
mov dword [rbx + 0x14], esi
mov byte [rbx + 0x19], 0
mov eax, dword [rdi + 0x10]
mov ecx, dword [rbx + 0x14]
mov dword [rbx + 0x10], eax
cmp eax, ecx
jbe 0x14014b177
mov dword [rbx + 0x10], ecx
cmp qword [rbx + 0x20], 0
je 0x14014b0ee
xor r9d, r9d
cmp dword [rdi + 0x10], r9d
jbe 0x14014b1b5
nop dword [rax + rax]
mov rax, qword [rdi + 0x20]
mov rcx, qword [r14 + 0x20]
mov r8d, r9d
inc r9d
movzx edx, byte [r8 + rcx]
xor dl, byte [rax + r8]
mov rax, qword [rbx + 0x20]
mov byte [r8 + rax], dl
cmp r9d, dword [rdi + 0x10]
jb 0x14014b190
mov al, 1
jmp 0x14014b0f0
Function at 0x14014e540
Capabilities:
Get file attributes

Disassembly:
push rbx
push rbp
push rsi
push rdi
sub rsp, 0x318
mov rax, qword [0x14040f040]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov rbx, r9
mov rsi, r8
mov rdi, rdx
mov rbp, rcx
mov dword [r8], 0
mov dword [rdx], 0xffffffff
call fcn.14010e410
test al, al
je 0x14014e59c
test rbx, rbx
je 0x14014e595
mov rax, qword [rbx]
lea rdx, str.GetAttributes:_filename_is_empty
mov rcx, rbx
call qword [rax + 0x28]
xor al, al
jmp 0x14014e677
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call fcn.14010a510
nop
mov rdx, rbp
lea rcx, [rsp + 0x20]
call fcn.14010b220
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rsp + 0x20]
call fcn.14010eb70
lea rcx, [rsp + 0x20]
call fcn.14010d4b0
test eax, eax
jle 0x14014e642
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x190]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x190]
call fcn.14010a510
nop
mov r8, rbx
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x20]
call fcn.14014ea40
lea rcx, [rsp + 0x190]
call fcn.14010e1c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rdi], eax
lea rcx, [rsp + 0x190]
call fcn.14010a570
jmp 0x14014e657
lea rcx, [rsp + 0x20]
call fcn.14010e1c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov dword [rdi], eax
cmp dword [rdi], 0xffffffff
jne 0x14014e667
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsi], eax
cmp dword [rdi], 0xffffffff
setne bl
lea rcx, [rsp + 0x20]
call fcn.14010a570
movzx eax, bl
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.140109210
add rsp, 0x318
pop rdi
pop rsi
pop rbp
pop rbx
ret
Function at 0x14014f5d0
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
sub rsp, 0x310
mov rax, qword [0x14040f040]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call fcn.14010a510
nop
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.14010b220
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rsp + 0x20]
call fcn.14010eb70
lea rcx, [rsp + 0x20]
call fcn.14010d4b0
test eax, eax
jle 0x14014f69d
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x190]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x190]
call fcn.14010a510
nop
xor r8d, r8d
lea rdx, [rsp + 0x190]
lea rcx, [rsp + 0x20]
call fcn.14014ea40
lea rcx, [rsp + 0x190]
call fcn.14010e1c0
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
lea rcx, [rsp + 0x190]
call fcn.14010a570
jmp 0x14014f6b4
lea rcx, [rsp + 0x20]
call fcn.14010e1c0
mov rcx, rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ebx, eax
test ebx, ebx
jne 0x14014f6f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x14014f6c9
mov bl, 1
jmp 0x14014f6f7
test rdi, rdi
je 0x14014f6f2
mov rax, qword [rdi]
mov r8b, 1
lea rdx, str.createDirWin32
mov rcx, rdi
call qword [rax + 0x48]
mov rcx, rdi
call fcn.14015d120
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x50]
test ebx, ebx
setne bl
lea rcx, [rsp + 0x20]
call fcn.14010a570
movzx eax, bl
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.140109210
mov rbx, qword [rsp + 0x330]
add rsp, 0x310
pop rdi
ret
Function at 0x14014f820
Capabilities:
Check if file exists
Delete file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x13a0]
mov eax, 0x14a0
call fcn.140109240
sub rsp, rax
mov rax, qword [0x14040f040]
xor rax, rsp
mov qword [rbp + 0x1390], rax
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x30]
call fcn.14010a510
nop
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.14010b220
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rsp + 0x30]
call fcn.14010eb70
lea rcx, [rsp + 0x30]
call fcn.14010d4b0
cmp eax, 0x104
jle 0x14014f9b9
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0xa0]
call fcn.14010a510
nop
lea rcx, [rbp + 0xa0]
call fcn.14010ffb0
lea rcx, [rsp + 0x30]
call fcn.14010e1c0
mov rcx, rax
lea r9, [rsp + 0x20]
lea r8, [rbp + 0x380]
mov edx, 0x800
call qword [sym.imp.KERNEL32.dll_GetFullPathNameW]
lea rcx, [rbp + 0xa0]
test eax, eax
je 0x14014f90e
lea rdx, [rbp + 0x380]
call fcn.14010f770
mov bl, 1
jmp 0x14014f91a
lea rdx, [rsp + 0x30]
call fcn.14010bd30
xor bl, bl
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0x210]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x210]
call fcn.14010a510
nop
test bl, bl
je 0x14014f952
lea rdx, [0x14031aca0]
lea rcx, [rbp + 0x210]
call fcn.14010b0b0
lea rcx, [rbp + 0xa0]
call fcn.14010ddb0
mov rdx, rax
lea rcx, [rbp + 0x210]
call fcn.14010b0b0
lea rcx, [rbp + 0x210]
call fcn.14010e1c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
test eax, eax
jne 0x14014f999
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, 1
cmp eax, 2
cmove ebx, ecx
test ebx, ebx
setne bl
lea rcx, [rbp + 0x210]
call fcn.14010a570
nop
lea rcx, [rbp + 0xa0]
call fcn.14010a570
jmp 0x14014fa0d
lea rcx, [rsp + 0x30]
call fcn.14010e1c0
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
test eax, eax
jne 0x14014fa08
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test rdi, rdi
je 0x14014f9fd
mov edx, eax
mov rcx, rdi
call fcn.14015d610
lea r8, [rsp + 0x30]
lea rdx, str.failedToDeleteFilepath
mov rcx, rdi
call fcn.14015cc90
mov ecx, 1
cmp esi, 2
cmove ebx, ecx
test ebx, ebx
setne bl
lea rcx, [rsp + 0x30]
call fcn.14010a570
movzx eax, bl
mov rcx, qword [rbp + 0x1390]
xor rcx, rsp
call fcn.140109210
mov rbx, qword [rsp + 0x14d0]
add rsp, 0x14a0
pop rdi
pop rsi
pop rbp
ret

Function at 0x14014ff40
Capabilities:
Get common file path

Disassembly:
push rbx
mov eax, 0x1850
call fcn.140109240
sub rsp, rax
mov rax, qword [0x14040f040]
xor rax, rsp
mov qword [rsp + 0x1840], rax
mov rbx, rcx
lea rdx, [rsp + 0x830]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x14014ff9a
lea rdx, [rsp + 0x20]
mov ecx, 0x800
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rdx, [rsp + 0x20]
mov rcx, rbx
call fcn.14010efc0
jmp 0x14014ffaa
lea rdx, [rsp + 0x830]
mov rcx, rbx
call fcn.14010f770
mov rcx, qword [rsp + 0x1840]
xor rcx, rsp
call fcn.140109210
add rsp, 0x1850
pop rbx
ret
Function at 0x14014ffe0
Capabilities:
Move file

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x14040f040]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x90]
call fcn.14010a510
nop
xor edx, edx
mov r8d, 0x170
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x20]
call fcn.14010a510
nop
mov rdx, rbx
lea rcx, [rbp + 0x90]
call fcn.14010b220
mov rdx, rdi
lea rcx, [rsp + 0x20]
call fcn.14010b220
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rbp + 0x90]
call fcn.14010eb70
mov r8b, 0x5c
mov dl, 0x2f
lea rcx, [rsp + 0x20]
call fcn.14010eb70
lea rcx, [rbp + 0x90]
call fcn.14010e410
test al, al
je 0x1401500d8
lea rcx, [rsp + 0x20]
call fcn.14010e410
test al, al
je 0x1401500d8
lea rcx, [rsp + 0x20]
call fcn.14010e1c0
mov rbx, rax
lea rcx, [rbp + 0x90]
call fcn.14010e1c0
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
jmp 0x140150189
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0x370]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x370]
call fcn.14010a510
nop
xor edx, edx
mov r8d, 0x170
lea rcx, [rbp + 0x200]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp + 0x200]
call fcn.14010a510
nop
xor r8d, r8d
lea rdx, [rbp + 0x370]
lea rcx, [rbp + 0x90]
call fcn.14014ea40
xor r8d, r8d
lea rdx, [rbp + 0x200]
lea rcx, [rsp + 0x20]
call fcn.14014ea40
lea rcx, [rbp + 0x200]
call fcn.14010e1c0
mov rbx, rax
lea rcx, [rbp + 0x370]
call fcn.14010e1c0
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
setne bl
lea rcx, [rbp + 0x200]
call fcn.14010a570
nop
lea rcx, [rbp + 0x370]
call fcn.14010a570
test bl, bl
jne 0x14015019b
test rsi, rsi
je 0x14015019b
mov rcx, rsi
call fcn.14015d120
nop
lea rcx, [rsp + 0x20]
call fcn.14010a570
nop
lea rcx, [rbp + 0x90]
call fcn.14010a570
movzx eax, bl
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.140109210
mov rbx, qword [rsp + 0x628]
add rsp, 0x5f0
pop rdi
pop rsi
pop rbp
ret
jmp 0x14014ffe0