joyce8/EMBER2024-capa huggingface dataset:
Function at 0x180055ac0
Capabilities:
Write file on windows

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rsp + 0xd0], rbx
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov esi, edx
mov rbx, rcx
cmp edx, 0xffffffff
jne 0x180055b03
xor eax, eax
jmp 0x180055d06
mov rax, qword [rcx + 0x40]
mov rdx, qword [rax]
test rdx, rdx
je 0x180055b3d
mov rax, qword [rcx + 0x58]
movsxd r8, dword [rax]
lea rcx, [rdx + r8]
cmp rdx, rcx
jae 0x180055b3d
lea ecx, [r8 - 1]
mov dword [rax], ecx
mov rdx, qword [rbx + 0x40]
mov r8, qword [rdx]
lea rcx, [r8 + 1]
mov qword [rdx], rcx
mov byte [r8], sil
mov eax, esi
jmp 0x180055d06
cmp qword [rbx + 0x90], 0
jne 0x180055b4f
or eax, 0xffffffff
jmp 0x180055d06
mov r8, qword [rbx + 0x18]
lea rax, [rbx + 0x80]
cmp qword [r8], rax
jne 0x180055b79
mov rdx, qword [rbx + 0x70]
mov rcx, qword [rbx + 0x68]
mov qword [r8], rcx
mov rax, qword [rbx + 0x38]
mov qword [rax], rcx
sub edx, ecx
mov rax, qword [rbx + 0x50]
mov dword [rax], edx
cmp qword [rbx + 0x78], 0
jne 0x180055b9d
movsx ecx, sil
mov rdx, qword [rbx + 0x90]
call fcn.18013c0dc
or ebx, 0xffffffff
cmp eax, ebx
cmovne ebx, esi
jmp 0x180055d04
mov byte [rbp - 1], sil
xor r15d, r15d
mov qword [rbp + 0x17], r15
mov qword [rbp + 0x1f], r15
mov qword [rbp + 0x1f], 0xf
mov qword [rbp + 0x17], r15
mov byte [rbp + 7], r15b
xor r8d, r8d
lea edx, [r15 + 8]
lea rcx, [rbp + 7]
call fcn.180057c90
nop
mov r10, qword [rbp + 7]
mov r9, qword [rbp + 0x1f]
nop word [rax + rax]
lea rdx, [rbp + 7]
cmp r9, 0x10
cmovae rdx, r10
lea r8, [rbp + 7]
cmovae r8, r10
mov rcx, qword [rbx + 0x78]
mov r10, qword [rcx]
add rdx, qword [rbp + 0x17]
lea rax, [rbp - 9]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], r8
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
lea r9, [rbp]
lea r8, [rbp - 1]
lea rdx, [rbx + 0x84]
call qword [r10 + 0x38]
test eax, eax
js 0x180055ce1
cmp eax, 1
jg 0x180055cc2
lea rax, [rbp + 7]
mov r10, qword [rbp + 7]
mov r9, qword [rbp + 0x1f]
cmp r9, 0x10
cmovae rax, r10
mov rdi, qword [rbp - 9]
sub rdi, rax
je 0x180055c89
lea rcx, [rbp + 7]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rbx + 0x90]
mov r8, rdi
mov edx, 1
call fcn.18013b1bc
cmp rdi, rax
jne 0x180055ce1
mov r9, qword [rbp + 0x1f]
mov r10, qword [rbp + 7]
mov byte [rbx + 0x81], 1
lea rax, [rbp - 1]
cmp qword [rbp - 0x11], rax
jne 0x180055cbe
test rdi, rdi
jne 0x180055be0
cmp qword [rbp + 0x17], 0x20
jae 0x180055ce1
xor r8d, r8d
lea edx, [rdi + 8]
lea rcx, [rbp + 7]
call fcn.180038800
jmp 0x180055bcd
mov ebx, esi
jmp 0x180055ce4
cmp eax, 3
jne 0x180055ce1
movsx ecx, byte [rbp - 1]
mov rdx, qword [rbx + 0x90]
call fcn.18013c0dc
or ebx, 0xffffffff
cmp eax, ebx
cmovne ebx, esi
jmp 0x180055ce4
or ebx, 0xffffffff
cmp qword [rbp + 0x1f], 0x10
jb 0x180055cf4
mov rcx, qword [rbp + 7]
call fcn.180139b7c
mov qword [rbp + 0x1f], 0xf
mov qword [rbp + 0x17], r15
mov byte [rbp + 7], 0
mov eax, ebx
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.180139310
mov rbx, qword [rsp + 0xd0]
add rsp, 0x90
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
Function at 0x180057520
Capabilities:
Write file on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rdi, rcx
cmp qword [rcx + 0x78], 0
je 0x180057697
cmp byte [rcx + 0x81], 0
je 0x180057697
mov rax, qword [rcx]
or edx, 0xffffffff
call qword [rax + 0x18]
cmp eax, 0xffffffff
jne 0x18005757c
xor al, al
jmp 0x180057699
xor r14d, r14d
mov qword [rbp - 0x20], r14
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], r14
mov byte [rbp - 0x30], r14b
xor r8d, r8d
lea edx, [r14 + 8]
lea rcx, [rbp - 0x30]
call fcn.180057c90
nop
mov r10, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
lea rdx, [rbp - 0x30]
cmp r9, 0x10
cmovae rdx, r10
lea r8, [rbp - 0x30]
cmovae r8, r10
mov rcx, qword [rdi + 0x78]
mov r10, qword [rcx]
mov r9, qword [rbp - 0x20]
add r9, rdx
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [rdi + 0x84]
call qword [r10 + 0x40]
test eax, eax
je 0x1800575f0
dec eax
jne 0x180057667
jmp 0x1800575f7
mov byte [rdi + 0x81], 0
lea rax, [rbp - 0x30]
mov r10, qword [rbp - 0x30]
mov r9, qword [rbp - 0x18]
cmp r9, 0x10
cmovae rax, r10
mov rbx, qword [rbp - 0x38]
sub rbx, rax
je 0x180057641
lea rcx, [rbp - 0x30]
cmp r9, 0x10
cmovae rcx, r10
mov r9, qword [rdi + 0x90]
mov r8, rbx
mov edx, 1
call fcn.18013b1bc
cmp rbx, rax
jne 0x18005766c
mov r9, qword [rbp - 0x18]
mov r10, qword [rbp - 0x30]
cmp byte [rdi + 0x81], 0
je 0x180057670
test rbx, rbx
jne 0x1800575b0
xor r8d, r8d
lea edx, [rbx + 8]
lea rcx, [rbp - 0x30]
call fcn.180038800
jmp 0x1800575a8
sub eax, 2
je 0x180057670
xor bl, bl
jmp 0x180057672
mov bl, 1
cmp qword [rbp - 0x18], 0x10
jb 0x180057682
mov rcx, qword [rbp - 0x30]
call fcn.180139b7c
mov qword [rbp - 0x18], 0xf
mov qword [rbp - 0x20], r14
mov byte [rbp - 0x30], 0
movzx eax, bl
jmp 0x180057699
mov al, 1
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.180139310
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x18005cba0
Capabilities:
Create thread
Resume thread

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rsp + 0x40], rax
mov rbx, rcx
mov rdi, qword [rcx + 0x10]
test rdi, rdi
jne 0x18005cbd6
xor al, al
jmp 0x18005ccb3
add rdi, 0x38
mov qword [rsp + 0x38], rdi
je 0x18005cbf0
mov rcx, qword [rdi]
test rcx, rcx
je 0x18005cbf0
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
mov rax, qword [rbx + 0x10]
cmp qword [rax + 8], 0
je 0x18005cc92
mov eax, 1
lock xadd dword [rbx + 8], eax
mov rcx, qword [rbx + 0x10]
add rcx, 0x14
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], 4
mov r9, rbx
lea r8, [0x18005c780]
xor edx, edx
xor ecx, ecx
call fcn.18013d290
mov rcx, qword [rbx + 0x10]
mov qword [rcx + 0x18], rax
mov rax, qword [rbx + 0x10]
cmp qword [rax + 0x18], 0
jne 0x18005cc64
or eax, 0xffffffff
lock xadd dword [rbx + 8], eax
dec eax
jne 0x18005cc59
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov rcx, qword [rbx + 0x10]
call fcn.18005c910
jmp 0x18005cc92
mov byte [rax + 0x10], 1
mov rax, qword [rbx + 0x10]
mov rcx, qword [rax + 0x40]
test rcx, rcx
je 0x18005cc7b
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rcx, qword [rbx + 0x10]
mov rcx, qword [rcx + 0x18]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
je 0x18005cc44
mov bl, 1
jmp 0x18005cc94
xor bl, bl
test rdi, rdi
je 0x18005ccb0
mov rcx, qword [rdi]
test rcx, rcx
je 0x18005cca7
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov qword [rsp + 0x38], 0
movzx eax, bl
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.180139310
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x18005df70
Capabilities:
Check os version

Disassembly:
push rbx
sub rsp, 0x150
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rbx, rcx
mov ecx, 1
call fcn.180139f6c
lea rcx, [rsp + 0x20]
xor edx, edx
mov qword [rbx], rax
mov r8d, 0x11c
mov byte [rax], 0
call fcn.180140c00
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x20], 0x11c
call qword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
mov rax, rbx
je 0x18005dfd7
cmp dword [rsp + 0x24], 6
mov rcx, qword [rbx]
setae dl
mov byte [rcx], dl
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.180139310
add rsp, 0x150
pop rbx
ret
Function at 0x180066b50
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
lea rcx, [rsp + 0x22]
xor ebx, ebx
xor edx, edx
mov r8d, 0x20a
mov word [rsp + 0x20], bx
call fcn.180140c00
lea rcx, [rsp + 0x20]
mov edx, 0x105
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
dec eax
cmp eax, 0x103
ja 0x180066bde
mov word [rsp + 0x22a], bx
cmp word [rsp + 0x20], bx
je 0x180066bca
lea rax, [rsp + 0x20]
or rbx, 0xffffffffffffffff
nop dword [rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180066bc0
lea rdx, [rsp + 0x20]
mov r8, rbx
mov rcx, rdi
call fcn.180005920
mov al, 1
jmp 0x180066be0
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180139310
mov rbx, qword [rsp + 0x258]
add rsp, 0x240
pop rdi
ret

Function at 0x180066e20
Capabilities:
Set file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x70], rbx
mov qword [rsp + 0x78], rsi
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov edi, edx
mov rbx, rcx
and edi, 0xffffb1af
cmp qword [rcx + 0x18], 8
jb 0x180066e5d
mov rcx, qword [rcx]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x180066e6d
mov al, 1
jmp 0x180066ee8
xor esi, esi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rsi
mov word [rsp + 0x28], si
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.180068900
test al, al
je 0x180066ebe
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
mov edx, edi
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x180066ebe
mov bl, 1
jmp 0x180066ec0
xor bl, bl
cmp qword [rsp + 0x40], 8
jb 0x180066ed2
mov rcx, qword [rsp + 0x28]
call fcn.180139b7c
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rsi
mov word [rsp + 0x28], si
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180139310
mov rbx, qword [rsp + 0x70]
mov rsi, qword [rsp + 0x78]
add rsp, 0x50
pop rdi
ret
Function at 0x180066f10
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov qword [rsp + 0x70], rsi
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x180066f45
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp eax, 0xffffffff
jne 0x180066fc2
xor esi, esi
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rsi
mov word [rsp + 0x28], si
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.180068900
test al, al
je 0x180066f9b
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edi, eax
cmp qword [rsp + 0x40], 8
jb 0x180066fad
mov rcx, qword [rsp + 0x28]
call fcn.180139b7c
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rsi
mov word [rsp + 0x28], si
mov eax, edi
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180139310
mov rbx, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
add rsp, 0x50
pop rdi
ret
Function at 0x180066fe0
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov rbx, rcx
cmp qword [rdx + 0x18], 8
jb 0x18006701c
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x180067026
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x180067037
mov al, 1
jmp 0x18006713c
xor sil, sil
xor r14d, r14d
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], r14
mov qword [rbp - 0x10], 7
mov qword [rbp - 0x18], r14
mov word [rbp - 0x28], r14w
lea rdx, [rbp - 0x28]
mov rcx, rbx
call fcn.180068900
movzx ebx, sil
mov ecx, 1
test al, al
cmovne ebx, ecx
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r14
mov word [rbp - 0x48], r14w
lea rdx, [rbp - 0x48]
mov rcx, rdi
call fcn.180068900
test al, al
jne 0x18006709d
test bl, bl
je 0x1800670f8
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x28]
cmp qword [rbp - 0x10], 8
cmovae rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x1800670f8
cmp qword [rbp - 0x30], 8
jb 0x1800670d3
mov rcx, qword [rbp - 0x48]
call fcn.180139b7c
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r14
mov word [rbp - 0x48], r14w
cmp qword [rbp - 0x10], 8
jb 0x1800670f4
mov rcx, qword [rbp - 0x28]
call fcn.180139b7c
mov al, 1
jmp 0x18006712b
cmp qword [rbp - 0x30], 8
jb 0x180067108
mov rcx, qword [rbp - 0x48]
call fcn.180139b7c
mov qword [rbp - 0x30], 7
mov qword [rbp - 0x38], r14
mov word [rbp - 0x48], r14w
cmp qword [rbp - 0x10], 8
jb 0x180067129
mov rcx, qword [rbp - 0x28]
call fcn.180139b7c
xor al, al
mov word [rbp - 0x28], r14w
mov qword [rbp - 0x18], r14
mov qword [rbp - 0x10], 7
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180139310
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x180067160
Capabilities:
Move file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp - 0x29], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov rbx, rdx
mov rdi, rcx
cmp qword [rdx + 0x18], 8
jb 0x1800671a0
mov rdx, qword [rdx]
cmp qword [rcx + 0x18], 8
jb 0x1800671aa
mov rcx, qword [rcx]
mov r8d, 0xb
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x1800671c1
mov al, 1
jmp 0x180067365
xor sil, sil
xor r14d, r14d
mov qword [rbp + 0x2f], r14
mov qword [rbp + 0x37], r14
mov qword [rbp + 0x37], 7
mov qword [rbp + 0x2f], r14
mov word [rbp + 0x1f], r14w
lea rdx, [rbp + 0x1f]
mov rcx, rdi
call fcn.180068900
movzx esi, sil
mov ecx, 1
test al, al
cmovne esi, ecx
mov qword [rbp + 0xf], r14
mov qword [rbp + 0x17], r14
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r14
mov word [rbp - 1], r14w
lea rdx, [rbp - 1]
mov rcx, rbx
call fcn.180068900
test al, al
jne 0x180067228
test sil, sil
je 0x18006725b
lea rdx, [rbp - 1]
cmp qword [rbp + 0x17], 8
cmovae rdx, qword [rbp - 1]
lea rcx, [rbp + 0x1f]
cmp qword [rbp + 0x37], 8
cmovae rcx, qword [rbp + 0x1f]
mov r8d, 0xb
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0x18006725b
mov bl, 1
jmp 0x180067320
mov rcx, rbx
call fcn.180066f10
cmp eax, 0xffffffff
je 0x18006731e
mov qword [rbp - 0x11], r14
mov qword [rbp - 9], r14
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], r14
mov word [rbp - 0x21], r14w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.180005330
nop
lea rcx, [rbp - 0x21]
call fcn.180068240
test al, al
je 0x1800672fd
lea rdx, [rbp - 0x21]
mov rcx, rbx
call fcn.180066fe0
test al, al
je 0x1800672fd
mov rdx, rbx
mov rcx, rdi
call fcn.180066fe0
lea rcx, [rbp - 0x21]
test al, al
je 0x1800672f4
call fcn.180067810
nop
cmp qword [rbp - 9], 8
jb 0x1800672df
mov rcx, qword [rbp - 0x21]
call fcn.180139b7c
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], r14
mov word [rbp - 0x21], r14w
mov bl, 1
jmp 0x180067320
mov rdx, rbx
call fcn.180066fe0
nop
cmp qword [rbp - 9], 8
jb 0x18006730d
mov rcx, qword [rbp - 0x21]
call fcn.180139b7c
mov qword [rbp - 9], 7
mov qword [rbp - 0x11], r14
mov word [rbp - 0x21], r14w
xor bl, bl
cmp qword [rbp + 0x17], 8
jb 0x180067330
mov rcx, qword [rbp - 1]
call fcn.180139b7c
mov qword [rbp + 0x17], 7
mov qword [rbp + 0xf], r14
mov word [rbp - 1], r14w
cmp qword [rbp + 0x37], 8
jb 0x180067351
mov rcx, qword [rbp + 0x1f]
call fcn.180139b7c
mov qword [rbp + 0x37], 7
mov qword [rbp + 0x2f], r14
mov word [rbp + 0x1f], r14w
movzx eax, bl
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.180139310
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
Function at 0x180067650
Capabilities:
Delete directory

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x180067680
mov rcx, qword [rcx]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x18006768e
mov al, 1
jmp 0x180067707
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.180068900
test al, al
je 0x1800676dd
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x1800676dd
mov bl, 1
jmp 0x1800676df
xor bl, bl
cmp qword [rsp + 0x40], 8
jb 0x1800676f1
mov rcx, qword [rsp + 0x28]
call fcn.180139b7c
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180139310
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret

Function at 0x180067720
Capabilities:
Create directory

Disassembly:
push rdi
sub rsp, 0x50
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x68], rbx
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rsp + 0x48], rax
mov rbx, rcx
cmp qword [rcx + 0x18], 8
jb 0x180067750
mov rcx, qword [rcx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x180067760
mov al, 1
jmp 0x1800677db
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
lea rdx, [rsp + 0x28]
mov rcx, rbx
call fcn.180068900
test al, al
je 0x1800677b1
lea rcx, [rsp + 0x28]
cmp qword [rsp + 0x40], 8
cmovae rcx, qword [rsp + 0x28]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1800677b1
mov bl, 1
jmp 0x1800677b3
xor bl, bl
cmp qword [rsp + 0x40], 8
jb 0x1800677c5
mov rcx, qword [rsp + 0x28]
call fcn.180139b7c
mov qword [rsp + 0x40], 7
mov qword [rsp + 0x38], rdi
mov word [rsp + 0x28], di
movzx eax, bl
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.180139310
mov rbx, qword [rsp + 0x68]
add rsp, 0x50
pop rdi
ret
Function at 0x180067b60
Capabilities:
Get common file path

Disassembly:
push rdi
sub rsp, 0x670
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x688], rbx
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rsp + 0x660], rax
mov rdi, rcx
lea rax, [0x18034d568]
mov qword [rsp + 0x28], rax
mov rcx, qword [0x18034d568]
test rcx, rcx
je 0x180067bae
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop
cmp qword [0x180349d30], 0
je 0x180067bef
lea rdx, [0x180349d20]
cmp rdi, rdx
je 0x180067bd4
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rdi
call fcn.180005330
nop
mov rcx, qword [0x18034d568]
test rcx, rcx
je 0x180067be6
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor ebx, ebx
mov al, 1
jmp 0x180067d12
xor ebx, ebx
mov word [rsp + 0x30], bx
xor edx, edx
mov r8d, 0x20a
lea rcx, [rsp + 0x32]
call fcn.180140c00
lea rdx, [rsp + 0x30]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
cmp eax, 0x103
ja 0x180067cfe
mov word [rsp + 0x23a], bx
mov word [rsp + 0x240], bx
xor edx, edx
mov r8d, 0x410
lea rcx, [rsp + 0x242]
call fcn.180140c00
mov r8d, 0x208
lea rdx, [rsp + 0x240]
lea rcx, [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_GetLongPathNameW]
lea ecx, [rax - 1]
cmp ecx, 0x207
ja 0x180067cba
mov eax, eax
add rax, rax
cmp rax, 0x412
jae 0x180067cb4
mov word [rsp + rax + 0x240], bx
cmp word [rsp + 0x240], bx
jne 0x180067c92
mov r8d, ebx
jmp 0x180067caa
lea rax, [rsp + 0x240]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], bx
jne 0x180067ca0
lea rdx, [rsp + 0x240]
jmp 0x180067cdf
call fcn.18013a820
int3
cmp word [rsp + 0x30], bx
jne 0x180067cc6
mov r8, rbx
jmp 0x180067cda
lea rax, [rsp + 0x30]
or r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], bx
jne 0x180067cd0
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.180005920
nop
mov rcx, qword [0x18034d568]
test rcx, rcx
je 0x180067cfa
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov al, 1
jmp 0x180067d12
mov rcx, qword [0x18034d568]
test rcx, rcx
je 0x180067d10
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor al, al
mov qword [rsp + 0x28], rbx
mov rcx, qword [rsp + 0x660]
xor rcx, rsp
call fcn.180139310
mov rbx, qword [rsp + 0x688]
add rsp, 0x670
pop rdi
ret
Function at 0x180067d40
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rdi, rcx
mov rbp, r8
mov rsi, rdx
lea rcx, [rsp + 0x22]
xor ebx, ebx
xor edx, edx
mov r8d, 0x20a
mov word [rsp + 0x20], bx
call fcn.180140c00
cmp qword [rsi + 0x18], 8
jb 0x180067d8d
mov rsi, qword [rsi]
cmp qword [rdi + 0x18], 8
jb 0x180067d97
mov rdi, qword [rdi]
lea r9, [rsp + 0x20]
xor r8d, r8d
mov rdx, rsi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x180067dee
mov word [rsp + 0x22a], bx
cmp word [rsp + 0x20], bx
je 0x180067dda
lea rax, [rsp + 0x20]
or rbx, 0xffffffffffffffff
nop word [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180067dd0
lea rdx, [rsp + 0x20]
mov r8, rbx
mov rcx, rbp
call fcn.180005920
mov al, 1
jmp 0x180067df0
xor al, al
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.180139310
mov rbx, qword [rsp + 0x278]
add rsp, 0x240
pop rdi
pop rsi
pop rbp
ret

Function at 0x180067ff0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
push rdi
sub rsp, 0x450
mov rax, qword [0x1802247b8]
xor rax, rsp
mov qword [rsp + 0x440], rax
xor ebx, ebx
cmp qword [rcx + 0x18], 8
mov rdi, rcx
mov qword [rcx + 0x10], rbx
jb 0x180068024
mov rax, qword [rcx]
jmp 0x180068027
mov rax, rcx
mov word [rax], bx
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x410
mov word [rsp + 0x20], bx
call fcn.180140c00
lea rdx, [rsp + 0x20]
mov ecx, 0x208
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x180068059
xor al, al
jmp 0x18006809c
cmp eax, 0x208
jae 0x180068055
mov word [rsp + 0x430], bx
cmp word [rsp + 0x20], bx
je 0x18006808a
lea rax, [rsp + 0x20]
or rbx, 0xffffffffffffffff
nop dword [rax + rax]
inc rbx
cmp word [rax + rbx*2], 0
jne 0x180068080
lea rdx, [rsp + 0x20]
mov r8, rbx
mov rcx, rdi
call fcn.180005920
mov al, 1
mov rcx, qword [rsp + 0x440]
xor rcx, rsp
call fcn.180139310
mov rbx, qword [rsp + 0x468]
add rsp, 0x450
pop rdi
ret