Function at 0x140008460
Capabilities:
Create directory
Set file attributes

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x5f8
lea rbp, [rsp + 0x70]
and rbp, 0xffffffffffffffe0
call fcn.140004f20
call fcn.1400075f0
call fcn.1400048c0
call fcn.140007e60
movzx eax, al
test eax, eax
je 0x14000854e
lea rax, [rbp]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 1]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp]
movzx r8d, byte [rbp + 1]
movzx edx, byte [rbp + 0x1f]
lea rcx, [rbp + 0x1b0]
call fcn.140011de0
mov rcx, rax
call fcn.14000a260
mov qword [rbp + 0x50], rax
lea rax, [rbp + 2]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 3]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 2]
movzx r8d, byte [rbp + 3]
movzx edx, byte [rbp + 0x20]
lea rcx, [rbp + 0x340]
call fcn.140011e80
mov rcx, rax
call fcn.14000a6d0
mov qword [rbp + 0x58], rax
mov r9d, 0x10
mov r8, qword [rbp + 0x50]
mov rdx, qword [rbp + 0x58]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
jmp 0x140008ba0
lea rax, [rbp + 4]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 5]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 4]
movzx r8d, byte [rbp + 5]
movzx edx, byte [rbp + 0x21]
lea rcx, [rbp + 0x120]
call fcn.1400122d0
mov rcx, rax
call fcn.14000a260
mov rdx, rax
lea rcx, [rbp + 0x220]
call fcn.14000dce0
mov qword [rbp + 0x70], rax
lea rax, [rbp + 6]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 7]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 6]
movzx r8d, byte [rbp + 7]
movzx edx, byte [rbp + 0x22]
lea rcx, [rbp + 0x130]
call fcn.140012280
mov rcx, rax
call fcn.14000a260
mov rdx, rax
lea rcx, [rbp + 0x200]
call fcn.14000dce0
mov qword [rbp + 0x60], rax
lea rax, [rbp + 8]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 9]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 8]
movzx r8d, byte [rbp + 9]
movzx edx, byte [rbp + 0x23]
lea rcx, [rbp + 0x240]
call fcn.1400121d0
mov rcx, rax
call fcn.14000a3a0
mov rdx, rax
lea rcx, [rbp + 0x1e0]
call fcn.14000dce0
mov qword [rbp + 0x68], rax
mov r8, qword [rbp + 0x60]
mov rdx, qword [rbp + 0x68]
lea rcx, [rbp + 0x1c0]
call fcn.14000f550
mov qword [rbp + 0x78], rax
mov r8, qword [rbp + 0x70]
mov rdx, qword [rbp + 0x78]
lea rcx, [rbp + 0xe0]
call fcn.14000f550
lea rcx, [rbp + 0x1c0]
call fcn.14000dc30
lea rcx, [rbp + 0x1e0]
call fcn.14000dc30
lea rcx, [rbp + 0x200]
call fcn.14000dc30
lea rcx, [rbp + 0x220]
call fcn.14000dc30
lea rax, [rbp + 0xa]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xb]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0xa]
movzx r8d, byte [rbp + 0xb]
movzx edx, byte [rbp + 0x24]
lea rcx, [rbp + 0x140]
call fcn.140012320
mov rcx, rax
call fcn.14000a260
mov qword [rbp + 0x80], rax
xor r8d, r8d
lea rdx, [rbp + 0x80]
lea rcx, [rbp + 0x100]
call fcn.1400116f0
lea rcx, [rbp + 0x100]
call fcn.140003c40
mov byte [rbp + 0xc], al
lea rcx, [rbp + 0x100]
call fcn.1400033a0
movzx eax, byte [rbp + 0xc]
test eax, eax
je 0x140008730
jmp 0x140008a9f
lea rax, [rbp + 0xd]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0xe]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0xd]
movzx r8d, byte [rbp + 0xe]
movzx edx, byte [rbp + 0x25]
lea rcx, [rbp + 0x150]
call fcn.140011de0
mov rcx, rax
call fcn.14000a260
mov qword [rbp + 0x88], rax
lea rax, [rbp + 0xf]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x10]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0xf]
movzx r8d, byte [rbp + 0x10]
movzx edx, byte [rbp + 0x26]
lea rcx, [rbp + 0x440]
call fcn.140012370
mov rcx, rax
call fcn.140008f80
mov qword [rbp + 0x90], rax
mov r9d, 0x41
mov r8, qword [rbp + 0x88]
mov rdx, qword [rbp + 0x90]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rbp + 0x30], eax
cmp dword [rbp + 0x30], 2
jne 0x140008804
mov dword [rbp + 0x34], 0
lea rcx, [rbp + 0xe0]
call fcn.14000dc30
mov eax, dword [rbp + 0x34]
jmp 0x140008ba0
cmp dword [rbp + 0x30], 8
jne 0x140008825
mov dword [rbp + 0x38], 0
lea rcx, [rbp + 0xe0]
call fcn.14000dc30
mov eax, dword [rbp + 0x38]
jmp 0x140008ba0
lea rax, [rbp + 0x11]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x12]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x11]
movzx r8d, byte [rbp + 0x12]
movzx edx, byte [rbp + 0x27]
lea rcx, [rbp + 0x160]
call fcn.140011740
mov rcx, rax
call fcn.14000a260
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140008943
lea rax, [rbp + 0x13]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x14]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x13]
movzx r8d, byte [rbp + 0x14]
movzx edx, byte [rbp + 0x28]
lea rcx, [rbp + 0x170]
call fcn.140011de0
mov rcx, rax
call fcn.14000a260
mov qword [rbp + 0x98], rax
lea rax, [rbp + 0x15]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x16]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x15]
movzx r8d, byte [rbp + 0x16]
movzx edx, byte [rbp + 0x29]
lea rcx, [rbp + 0x280]
call fcn.140012770
mov rcx, rax
call fcn.140008bb0
mov qword [rbp + 0xa0], rax
mov r9d, 0x10
mov r8, qword [rbp + 0x98]
mov rdx, qword [rbp + 0xa0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rbp + 0x3c], 0
lea rcx, [rbp + 0xe0]
call fcn.14000dc30
mov eax, dword [rbp + 0x3c]
jmp 0x140008ba0
lea rax, [rbp + 0x17]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x18]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x17]
movzx r8d, byte [rbp + 0x18]
movzx edx, byte [rbp + 0x2a]
lea rcx, [rbp + 0x180]
call fcn.140011740
mov rcx, rax
call fcn.14000a260
mov edx, 2
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x140008a64
lea rax, [rbp + 0x19]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x1a]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x19]
movzx r8d, byte [rbp + 0x1a]
movzx edx, byte [rbp + 0x2b]
lea rcx, [rbp + 0x190]
call fcn.140011de0
mov rcx, rax
call fcn.14000a260
mov qword [rbp + 0xa8], rax
lea rax, [rbp + 0x1b]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x1c]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x1b]
movzx r8d, byte [rbp + 0x1c]
movzx edx, byte [rbp + 0x2c]
lea rcx, [rbp + 0x2c0]
call fcn.140012770
mov rcx, rax
call fcn.140008bb0
mov qword [rbp + 0xb0], rax
mov r9d, 0x10
mov r8, qword [rbp + 0xa8]
mov rdx, qword [rbp + 0xb0]
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov dword [rbp + 0x40], 0
lea rcx, [rbp + 0xe0]
call fcn.14000dc30
mov eax, dword [rbp + 0x40]
jmp 0x140008ba0
lea rcx, [rbp + 0xe0]
call fcn.14000da20
mov rcx, rax
call fcn.140008360
movzx eax, al
test eax, eax
jne 0x140008a9a
mov dword [rbp + 0x44], 0
lea rcx, [rbp + 0xe0]
call fcn.14000dc30
mov eax, dword [rbp + 0x44]
jmp 0x140008ba0
call fcn.140008050
mov qword [rbp + 0xb8], 0
mov rax, qword [0x140109f38]
mov qword [rbp + 0xc0], rax
mov qword [rsp + 0x48], 0
lea rax, [rbp + 0xb8]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], 0
lea rax, [0x140007f60]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, 0xffffffffffffffff
call qword [rbp + 0xc0]
mov dword [rbp + 0x48], eax
lea rax, [rbp + 0x300]
mov qword [rbp + 0xc8], rax
lea rdx, [0x140007e50]
mov rcx, qword [rbp + 0xc8]
call fcn.1400128a0
mov qword [rbp + 0xd0], rax
lea rax, [rbp + 0x1d]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
lea rax, [rbp + 0x1e]
mov rdi, rax
xor eax, eax
mov ecx, 1
rep stosb byte [rdi], al
movzx r9d, byte [rbp + 0x1d]
movzx r8d, byte [rbp + 0x1e]
movzx edx, byte [rbp + 0x2d]
lea rcx, [rbp + 0x1a0]
call fcn.140012850
mov rcx, rax
call fcn.14000a260
mov qword [rbp + 0xd8], rax
mov r8, qword [rbp + 0xd0]
mov rdx, qword [rbp + 0xd8]
lea rcx, [rbp + 0x2e]
call fcn.1400024b0
lea rcx, [rbp + 0xe0]
call fcn.14000dc30
add rsp, 0x5f8
pop rdi
pop rbp
ret