Function at 0x18009a990
Capabilities:
Create directory

Disassembly:
push rbp
sub rsp, 0x50
lea rbp, [rsp + 0x50]
mov qword [rbp - 0x40], rcx
mov rax, qword [0x1800eb0a8]
xor rax, rbp
mov qword [rbp - 8], rax
mov ecx, dword [0x18184c93c]
mov eax, dword [0x18184c938]
xor r8d, r8d
sub r8d, 1
mov edx, ecx
add edx, r8d
imul ecx, edx
and ecx, 1
cmp ecx, 0
sete cl
and cl, 1
mov byte [rbp - 0x32], cl
cmp eax, 0xa
setl al
and al, 1
mov byte [rbp - 0x31], al
mov dword [rbp - 0x38], 0x2d15ff14
mov eax, dword [rbp - 0x38]
mov dword [rbp - 0x44], eax
sub eax, 0x86c001bd
je 0x18009ac65
jmp 0x18009a9fe
mov eax, dword [rbp - 0x44]
sub eax, 0x8e513b03
je 0x18009ad48
jmp 0x18009aa11
mov eax, dword [rbp - 0x44]
sub eax, 0xa1aaa826
je 0x18009ace8
jmp 0x18009aa24
mov eax, dword [rbp - 0x44]
sub eax, 0xa6df7693
je 0x18009ad87
jmp 0x18009aa37
mov eax, dword [rbp - 0x44]
sub eax, 0xb31221df
je 0x18009abd6
jmp 0x18009aa4a
mov eax, dword [rbp - 0x44]
sub eax, 0xb65ef401
je 0x18009ad69
jmp 0x18009aa5d
mov eax, dword [rbp - 0x44]
sub eax, 0xb73584b2
je 0x18009ac71
jmp 0x18009aa70
mov eax, dword [rbp - 0x44]
sub eax, 0xb78da8a4
je 0x18009ac4f
jmp 0x18009aa83
mov eax, dword [rbp - 0x44]
sub eax, 0xd59faf27
je 0x18009abe2
jmp 0x18009aa96
mov eax, dword [rbp - 0x44]
sub eax, 0xf02f7c81
je 0x18009ad54
jmp 0x18009aaa9
mov eax, dword [rbp - 0x44]
sub eax, 0x15628f03
je 0x18009ac18
jmp 0x18009aabc
mov eax, dword [rbp - 0x44]
sub eax, 0x2d15ff14
je 0x18009ab20
jmp 0x18009aacf
mov eax, dword [rbp - 0x44]
sub eax, 0x39b6db33
je 0x18009ad93
jmp 0x18009aae2
mov eax, dword [rbp - 0x44]
sub eax, 0x5594c72b
je 0x18009ac99
jmp 0x18009aaf5
mov eax, dword [rbp - 0x44]
sub eax, 0x6b218bc8
je 0x18009ab78
jmp 0x18009ab08
mov eax, dword [rbp - 0x44]
sub eax, 0x715f720c
je 0x18009ac34
jmp 0x18009ab1b
jmp 0x18009adb0
mov r11b, byte [rbp - 0x32]
mov r10b, byte [rbp - 0x31]
mov al, r11b
xor al, 0xff
mov r8b, r10b
xor r8b, 0xff
mov cl, 1
xor cl, 1
mov dl, al
and dl, 0xff
and r11b, cl
mov r9b, r8b
and r9b, 0xff
and r10b, cl
or dl, r11b
or r9b, r10b
xor dl, r9b
or al, r8b
xor al, 0xff
or cl, 1
and al, cl
or dl, al
mov eax, 0xa6df7693
mov ecx, 0x6b218bc8
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x38], eax
jmp 0x18009adb0
mov eax, 0x10
call fcn.1800e0a50
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x30], rax
mov eax, dword [0x18184c93c]
mov ecx, dword [0x18184c938]
xor r8d, r8d
sub r8d, 1
mov edx, eax
add edx, r8d
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0xa6df7693
mov ecx, 0xb31221df
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x38], eax
jmp 0x18009adb0
mov dword [rbp - 0x38], 0xd59faf27
jmp 0x18009adb0
mov rcx, qword [rbp - 0x40]
mov eax, 0x10
call fcn.1800e0a50
sub rsp, rax
mov rax, rsp
mov qword [rbp - 0x28], rax
mov rax, qword [rbp - 0x28]
mov qword [rax], rcx
mov rax, qword [rbp - 0x28]
mov rax, qword [rax]
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x38], 0x15628f03
jmp 0x18009adb0
mov rax, qword [rbp - 0x20]
cmp rax, 0
sete al
and al, 1
mov byte [rbp - 0x11], al
mov dword [rbp - 0x38], 0x715f720c
jmp 0x18009adb0
mov dl, byte [rbp - 0x11]
mov eax, 0xb73584b2
mov ecx, 0xb78da8a4
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x38], eax
jmp 0x18009adb0
mov rax, qword [rbp - 0x30]
mov dword [rax], 0xffffffff
mov dword [rbp - 0x38], 0x86c001bd
jmp 0x18009adb0
mov dword [rbp - 0x38], 0xf02f7c81
jmp 0x18009adb0
mov rax, qword [rbp - 0x28]
mov rcx, qword [rax]
xor eax, eax
mov edx, eax
sub rsp, 0x20
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
add rsp, 0x20
mov dword [rbp - 0x10], eax
mov dword [rbp - 0x38], 0x5594c72b
jmp 0x18009adb0
mov eax, dword [0x18184c93c]
mov ecx, dword [0x18184c938]
mov edx, eax
sub edx, 0x9029d4b3
sub edx, 1
add edx, 0x9029d4b3
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x39b6db33
mov ecx, 0xa1aaa826
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x38], eax
jmp 0x18009adb0
mov edx, dword [rbp - 0x10]
mov ecx, 0xffffffff
xor eax, eax
cmp edx, 1
cmove ecx, eax
mov rax, qword [rbp - 0x30]
mov dword [rax], ecx
mov eax, dword [0x18184c93c]
mov ecx, dword [0x18184c938]
xor r8d, r8d
sub r8d, 1
mov edx, eax
add edx, r8d
imul eax, edx
and eax, 1
cmp eax, 0
sete al
cmp ecx, 0xa
setl cl
mov dl, al
and dl, cl
xor al, cl
or dl, al
mov eax, 0x39b6db33
mov ecx, 0x8e513b03
test dl, 1
cmovne eax, ecx
mov dword [rbp - 0x38], eax
jmp 0x18009adb0
mov dword [rbp - 0x38], 0xf02f7c81
jmp 0x18009adb0
mov rax, qword [rbp - 0x30]
mov eax, dword [rax]
mov dword [rbp - 0xc], eax
mov dword [rbp - 0x38], 0xb65ef401
jmp 0x18009adb0
mov eax, dword [rbp - 0xc]
mov dword [rbp - 0x48], eax
mov rcx, qword [rbp - 8]
xor rcx, rbp
sub rsp, 0x20
call fcn.1800e09d0
mov eax, dword [rbp - 0x48]
mov rsp, rbp
pop rbp
ret
mov dword [rbp - 0x38], 0x6b218bc8
jmp 0x18009adb0
mov edx, dword [rbp - 0x10]
mov ecx, 0xffffffff
xor eax, eax
cmp edx, 1
cmove ecx, eax
mov rax, qword [rbp - 0x30]
mov dword [rax], ecx
mov dword [rbp - 0x38], 0xa1aaa826
jmp 0x18009a9e8