Function at 0x140008050
Capabilities:
Create directory

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov qword [rax + 0x18], r8
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x68
xor esi, esi
lea r13, [rax - 0x58]
lea rbp, [rax - 0x60]
cmp rcx, rsi
mov r15, rdx
mov r14, rcx
cmovne r13, rcx
cmp rdx, rsi
mov qword [rax - 0x58], rsi
cmovne rbp, rdx
mov qword [rax - 0x60], rsi
cmp rdx, rsi
jne 0x1400080c3
cmp rcx, rsi
jne 0x1400080b5
lea rcx, [rax - 0x60]
call fcn.1400590a4
lea rcx, [rsp + 0x50]
call fcn.1400590a4
xor eax, eax
jmp 0x1400082ee
mov rdx, qword [r13]
mov rcx, qword [rbp]
call qword [sym.imp.KERNEL32.dll_lstrcpyW]
mov edx, 0x26c
mov rcx, r13
call fcn.14006176c
mov rcx, rbp
call fcn.1400047f4
mov rdx, qword [rbp]
mov rcx, qword [r13]
mov ebx, eax
mov dword [rsp + 0xb0], eax
inc eax
movsxd r8, eax
add r8, r8
call fcn.14001d128
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SetLastError]
mov r12, rsi
mov dword [rsp + 0xb8], 0xc7
cmp r14, rsi
je 0x1400081f7
mov rax, qword [r13]
movsxd rcx, ebx
lea rdi, [rax + rcx*2]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call fcn.14005bef4
add ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8, qword [rsp + 0xc8]
mov r9d, eax
lea rax, [0x140114068]
lea rdx, str.pecmd__s._lu._lu_s_
mov qword [rsp + 0x28], rax
mov rcx, rdi
mov dword [rsp + 0x20], ebx
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, qword [r13]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
cmp eax, esi
jne 0x1400081a0
xor r9d, r9d
lea rcx, [0x1401330e0]
xor r8d, r8d
lea edx, [r9 + 5]
call fcn.14001f59c
sub dword [rsp + 0xb8], 1
mov ebx, dword [rsp + 0xb0]
jns 0x14000810c
jmp 0x1400082ad
mov r14d, 1
cmp r15, rsi
je 0x1400082d7
mov rcx, qword [r13]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
mov rdx, qword [r13]
mov rcx, qword [rbp]
movsxd rbx, eax
lea eax, [rbx + 1]
movsxd r8, eax
mov dword [rsp + 0xb0], eax
add r8, r8
call fcn.14001d128
mov rax, qword [rbp]
lea ecx, [r14 + 0x5b]
mov word [rax + rbx*2], cx
movsxd rbx, dword [rsp + 0xb0]
mov rax, qword [rbp]
mov word [rax + rbx*2], si
jmp 0x1400081fa
mov r14d, esi
mov edi, esi
movsxd r15, ebx
mov rax, qword [rbp]
lea rbx, [rax + r15*2]
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8, qword [rsp + 0xc8]
mov r9d, eax
mov rax, qword [rsp + 0xd0]
lea rdx, str.pecmd__s._lu._lu_s
mov qword [rsp + 0x28], rax
mov rcx, rbx
mov dword [rsp + 0x20], edi
call qword [sym.imp.USER32.dll_wsprintfW]
mov rdx, qword [rbp]
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], 0x80
lea rcx, [rsp + 0xb0]
xor r9d, r9d
mov r8d, 0x40000000
mov dword [rsp + 0x28], 1
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0x20], rsi
call fcn.1400037a8
mov r12, rax
cmp rax, rsi
jne 0x1400082a8
xor r9d, r9d
lea rcx, [0x1401330e0]
xor r8d, r8d
lea edx, [r9 + 5]
call fcn.14001f59c
inc edi
cmp edi, 0xc8
jl 0x1400081ff
mov rcx, qword [rbp]
mov word [rcx], si
cmp r14d, esi
jne 0x1400082b4
mov rax, qword [r13]
mov word [rax], si
mov rax, qword [rsp + 0xc0]
cmp rax, rsi
je 0x1400082c6
mov qword [rax], r12
jmp 0x1400082d4
cmp r12, rsi
je 0x1400082d4
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rsi, r12
lea rcx, [rsp + 0x48]
call fcn.1400590a4
lea rcx, [rsp + 0x50]
call fcn.1400590a4
mov rax, rsi
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret