Function at 0x4a0ae0
Capabilities:
Create directory

Disassembly:
mov r11, rsp
sub rsp, 0x108
mov qword [rsp + 0x98], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov qword [r11 + 0x20], rbp
mov qword [r11 - 8], rsi
mov qword [r11 - 0x10], rdi
mov qword [r11 - 0x18], r12
mov qword [r11 - 0x20], r13
mov qword [r11 - 0x28], r14
mov qword [r11 - 0x30], r15
mov rax, qword [0x00522be8]
xor rax, rsp
mov qword [rsp + 0xc8], rax
mov r14, rdx
mov ebp, 1
mov qword [r11 - 0x48], 7
xor ebx, ebx
mov qword [r11 - 0x50], rbx
mov word [r11 - 0x60], bx
mov r15, 0xffffffffffffffff
mov r9, r15
xor r8d, r8d
mov rdx, rcx
lea rcx, [r11 - 0x68]
call fcn.00402570
nop
lea rcx, [rsp + 0xa0]
call fcn.00457010
mov qword [rsp + 0x48], rbx
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
mov word [rsp + 0x20], 0x2f
mov r12, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xb8]
mov r13, qword [rsp + 0xa8]
nop
nop
cmp rdi, 1
jb 0x4a0de8
lea rcx, [rdi - 1]
cmp rcx, 0xffffffffffffffff
cmova rcx, r15
lea rax, [rsp + 0xa8]
cmp r12, 8
cmovae rax, r13
lea rbx, [rax + rcx*2]
nop
nop
cmp word [rbx], 0x2f
jne 0x4a0c08
mov rcx, rbp
lea rdx, [rsp + 0x20]
mov r8, rbx
movzx eax, word [rdx]
cmp word [r8], ax
jne 0x4a0bfa
add r8, 2
add rdx, 2
sub rcx, 1
je 0x4a0c24
jmp 0x4a0be1
mov ecx, ebp
cmp word [r8], ax
cmovb ecx, r15d
test ecx, ecx
je 0x4a0c24
lea rcx, [rsp + 0xa0]
call fcn.00401850
cmp rbx, rax
je 0x4a0de8
sub rbx, 2
jmp 0x4a0bd0
lea rax, [rsp + 0xa8]
cmp r12, 8
cmovae rax, r13
sub rbx, rax
sar rbx, 1
cmp rbx, 0xffffffffffffffff
je 0x4a0de8
test rbx, rbx
je 0x4a0de8
cmp rbx, 2
jne 0x4a0c6e
lea rax, [rsp + 0xa8]
cmp r12, 8
cmovae rax, r13
cmp word [rax + 2], 0x3a
je 0x4a0de8
lea rsi, [rbx + 1]
cmp rsi, rdi
jbe 0x4a0c94
call fcn.004a7de0
mov r12, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xb8]
mov r13, qword [rsp + 0xa8]
lea rax, [rsp + 0xa8]
cmp r12, 8
cmovae rax, r13
cmp word [rax + rsi*2], 0
je 0x4a0d19
mov r9, r15
mov r8, rsi
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xa0]
call fcn.00456ed0
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.00465930
nop
cmp qword [rsp + 0x90], 8
jb 0x4a0d01
mov rcx, qword [rsp + 0x78]
call fcn.004a6f90
mov r12, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xb8]
mov r13, qword [rsp + 0xa8]
jmp 0x4a0d19
mov r12, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xb8]
mov r13, qword [rsp + 0xa8]
mov rsi, r15
cmp rdi, rbx
jae 0x4a0d3e
call fcn.004a5d30
mov r12, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xb8]
mov r13, qword [rsp + 0xa8]
mov rax, rdi
sub rax, rbx
cmp rax, rsi
jae 0x4a0d55
mov rsi, rax
test rax, rax
je 0x4a0ba0
lea rcx, [rsp + 0xa8]
cmp r12, 8
cmovae rcx, r13
lea r10, [rsp + 0xa8]
cmp r12, 8
cmovae r10, r13
sub rdi, rsi
sub rdi, rbx
lea r9, [rdi + rdi]
lea rax, [rsi + rbx]
lea r8, [rcx + rax*2]
sub r12, rbx
lea rdx, [r12 + r12]
lea rcx, [r10 + rbx*2]
call fcn.004a79d0
mov r11, qword [rsp + 0xb8]
sub r11, rsi
mov qword [rsp + 0xb8], r11
lea rax, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae rax, qword [rsp + 0xa8]
mov word [rax + r11*2], 0
mov r12, qword [rsp + 0xc0]
mov rdi, qword [rsp + 0xb8]
mov r13, qword [rsp + 0xa8]
jmp 0x4a0ba0
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x40]
call fcn.00465930
lea r11, [rsp + 0xa8]
mov rcx, qword [rsp + 0xa8]
mov rdx, qword [rsp + 0xc0]
cmp rdx, 8
cmovae r11, rcx
mov r8, qword [rsp + 0xb8]
lea rbx, [r11 + r8*2]
test rbx, rbx
je 0x4a0e59
lea rax, [rsp + 0xa8]
cmp rdx, 8
cmovae rax, rcx
cmp rax, rbx
ja 0x4a0e59
lea rax, [rsp + 0xa8]
cmp rdx, 8
cmovae rax, rcx
lea rax, [rax + r8*2]
cmp rbx, rax
jbe 0x4a0e76
call fcn.004a7de0
mov rdx, qword [rsp + 0xc0]
mov r8, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xa8]
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x60], xmm0
cmp rdx, 8
jb 0x4a0ea3
mov rbx, rcx
test rcx, rcx
je 0x4a0ed9
jmp 0x4a0eab
lea rbx, [rsp + 0xa8]
lea rax, [rsp + 0xa8]
cmp rdx, 8
cmovae rax, rcx
cmp rax, rbx
ja 0x4a0ed9
lea rax, [rsp + 0xa8]
cmp rdx, 8
cmovae rax, rcx
lea rax, [rax + r8*2]
cmp rbx, rax
jbe 0x4a0ede
call fcn.004a7de0
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rbx
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
lea r9, [rsp + 0x60]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0xa0]
call fcn.00493910
mov rdi, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x48]
cmp rcx, rdi
jbe 0x4a0f30
call fcn.004a7de0
mov rcx, qword [rsp + 0x48]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rdi
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x30]
mov rax, qword [rdx]
mov qword [r8], rax
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
movabs rdi, 0x7ffffffffffffffe
mov r13, qword [rsp + 0x78]
mov r12, qword [rsp + 0x80]
nop
mov rbx, rcx
cmp rcx, qword [rsp + 0x50]
jbe 0x4a0f84
call fcn.004a7de0
mov rcx, qword [rsp + 0x48]
test r13, r13
je 0x4a0f93
lea rax, [rsp + 0x40]
cmp r13, rax
je 0x4a0f9d
call fcn.004a7de0
mov rcx, qword [rsp + 0x48]
cmp r12, rbx
je 0x4a1280
cmp ebp, 1
jne 0x4a1280
mov rcx, qword [rsp + 0xb8]
test rcx, rcx
je 0x4a10a1
mov rax, r15
sub rax, rcx
cmp rax, 1
ja 0x4a0fd9
call fcn.004a5c60
mov rcx, qword [rsp + 0xb8]
lea rbx, [rcx + 1]
cmp rbx, rdi
jbe 0x4a0fef
call fcn.004a5c60
mov rcx, qword [rsp + 0xb8]
cmp qword [rsp + 0xc0], rbx
jae 0x4a1016
mov r8, rcx
mov rdx, rbx
lea rcx, [rsp + 0xa0]
call fcn.00401f80
mov rcx, qword [rsp + 0xb8]
jmp 0x4a104c
test rbx, rbx
jne 0x4a104c
xor esi, esi
mov qword [rsp + 0xb8], rsi
lea rax, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae rax, qword [rsp + 0xa8]
mov word [rax], si
mov rcx, qword [rsp + 0xb8]
jmp 0x4a10a1
test rbx, rbx
je 0x4a10a1
lea rax, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae rax, qword [rsp + 0xa8]
mov word [rax + rcx*2], 0x2f
mov qword [rsp + 0xb8], rbx
lea rax, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae rax, qword [rsp + 0xa8]
mov word [rax + rbx*2], 0
mov rcx, qword [rsp + 0xb8]
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x78]
mov rax, qword [rdx]
mov qword [r8], rax
mov rax, qword [rdx + 8]
mov qword [r8 + 8], rax
test r13, r13
jne 0x4a10cb
call fcn.004a7de0
mov rcx, qword [rsp + 0xb8]
cmp r12, qword [r13 + 8]
ja 0x4a10de
call fcn.004a7de0
mov rcx, qword [rsp + 0xb8]
lea rsi, [r12 - 0x28]
mov rax, qword [rsp + 0x60]
cmp rsi, qword [rax + 0x10]
jb 0x4a10fb
call fcn.004a7de0
mov rcx, qword [rsp + 0xb8]
mov rax, qword [rsi + 0x18]
mov rdi, r15
cmp rax, r15
cmovb rdi, rax
mov rax, r15
sub rax, rcx
cmp rax, rdi
jbe 0x4a111d
lea rax, [rcx + rdi]
cmp rax, rcx
jae 0x4a112a
call fcn.004a5c60
mov rcx, qword [rsp + 0xb8]
test rdi, rdi
je 0x4a121f
lea rbx, [rcx + rdi]
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
jbe 0x4a1153
call fcn.004a5c60
mov rcx, qword [rsp + 0xb8]
cmp qword [rsp + 0xc0], rbx
jae 0x4a117a
mov r8, rcx
mov rdx, rbx
lea rcx, [rsp + 0xa0]
call fcn.00401f80
mov rcx, qword [rsp + 0xb8]
jmp 0x4a11a9
test rbx, rbx
jne 0x4a11a9
mov qword [rsp + 0xb8], rbx
lea rax, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae rax, qword [rsp + 0xa8]
mov word [rax], bx
jmp 0x4a1221
test rbx, rbx
je 0x4a121b
cmp qword [rsi + 0x20], 8
jb 0x4a11bb
mov r8, qword [rsi + 8]
jmp 0x4a11bf
lea r8, [rsi + 8]
lea rax, [rsp + 0xa8]
mov rdx, qword [rsp + 0xc0]
cmp rdx, 8
cmovae rax, qword [rsp + 0xa8]
lea r9, [rdi + rdi]
sub rdx, rcx
add rdx, rdx
lea rcx, [rax + rcx*2]
call fcn.004a7900
mov qword [rsp + 0xb8], rbx
lea rax, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae rax, qword [rsp + 0xa8]
mov word [rax + rbx*2], 0
xor ebx, ebx
jmp 0x4a1221
xor ebx, ebx
jmp 0x4a1221
xor ebx, ebx
lea rcx, [rsp + 0xa8]
cmp qword [rsp + 0xc0], 8
cmovae rcx, qword [rsp + 0xa8]
mov rdx, r14
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x4a1256
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
cmovne ebp, ebx
cmp r12, qword [r13 + 8]
ja 0x4a1261
call fcn.004a7de0
mov r12, rsi
mov qword [rsp + 0x80], rsi
mov rcx, qword [rsp + 0x48]
movabs rdi, 0x7ffffffffffffffe
jmp 0x4a0f70
test rcx, rcx
je 0x4a12d0
mov rdi, qword [rsp + 0x50]
cmp rcx, rdi
je 0x4a12c7
lea rbx, [rcx + 0x20]
xor esi, esi
cmp qword [rbx], 8
jb 0x4a12a4
mov rcx, qword [rbx - 0x18]
call fcn.004a6f90
mov qword [rbx], 7
mov qword [rbx - 8], rsi
mov word [rbx - 0x18], si
add rbx, 0x28
lea rax, [rbx - 0x20]
cmp rax, rdi
jne 0x4a1295
mov rcx, qword [rsp + 0x48]
jmp 0x4a12c9
xor esi, esi
call fcn.004a6f90
jmp 0x4a12d2
xor esi, esi
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rsi
cmp qword [rsp + 0xc0], 8
jb 0x4a12fd
mov rcx, qword [rsp + 0xa8]
call fcn.004a6f90
mov eax, ebp
jmp 0x4a12ff
mov eax, ebp
mov rcx, qword [rsp + 0xc8]
xor rcx, rsp
call fcn.004a7100
mov rbx, qword [rsp + 0x120]
mov rbp, qword [rsp + 0x128]
mov rsi, qword [rsp + 0x100]
mov rdi, qword [rsp + 0xf8]
mov r12, qword [rsp + 0xf0]
mov r13, qword [rsp + 0xe8]
mov r14, qword [rsp + 0xe0]
mov r15, qword [rsp + 0xd8]
add rsp, 0x108
ret