Function at 0x26f49349e
Capabilities:
Create directory

Disassembly:
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x140
mov rsi, rcx
mov r12d, edx
mov rbp, r8
test rcx, rcx
je 0x26f4934f8
call sub.msvcrt.dll_strlen
cmp rax, 0x103
ja 0x26f4936d3
test r12d, r12d
jne 0x26f493576
mov edx, 0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x26f493530
mov edi, 0
mov ebx, 0
jmp 0x26f4936dd
mov dword [rsp + 0x20], 0x214
lea r9, str.H:_Projects_rdp_bot_codebase_fs.c
lea r8, [0x26f4a0ff2]
lea rdx, str.fs_dir_create
lea rcx, [0x26f4a1010]
call fcn.26f49a202
mov edi, 0xa0
mov ebx, 0x40000001
jmp 0x26f4936dd
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [rsp + 0x20], eax
mov r9d, r12d
mov r8, rsi
lea rdx, str.fs_dir_create
lea rcx, str._E____s_____CreateDirectoryA_failed_path_s_recursive_d_gle_lu__n
call fcn.26f49a202
cmp edi, 0x20
ja 0x26f49364a
ja case.0x26f493574.1
mov eax, edi
lea rdx, [0x26f4a1490]
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
lea rbx, [rsp + 0x30]
mov rdx, rsi
mov rcx, rbx
call sub.msvcrt.dll_strcpy
mov rcx, rbx
call sub.msvcrt.dll_strlen
movzx edx, byte [rsp + rax + 0x2f]
cmp dl, 0x5c
je 0x26f4935ae
cmp dl, 0x2f
je 0x26f4935ae
mov byte [rsp + rax + 0x31], 0
mov rcx, rbx
call sub.msvcrt.dll_strlen
mov byte [rbx + rax], 0x5c
lea rbx, [rsp + 0x30]
mov rcx, rbx
call sub.msvcrt.dll_strlen
mov r13, rax
mov edi, 0
jmp 0x26f4935f6
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x30]
mov qword [rsp + 0x20], rax
mov r9d, r12d
mov r8, rsi
lea rdx, str.fs_dir_create
lea rcx, str._E____s_____CreateDirectoryA_failed_path_s_recursive_d_ptr_s_gle_lu__n
call fcn.26f49a202
mov edi, r14d
mov byte [rbx], 0x5c
add rbx, 1
test edi, edi
jne 0x26f493555
lea rax, [rsp + r13 + 0x30]
cmp rax, rbx
jb 0x26f493555
cmp rbx, rax
jae 0x26f493555
cmp byte [rbx], 0x5c
jne 0x26f4935f2
mov byte [rbx], 0
lea rcx, [rsp + 0x30]
mov edx, 0
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x26f4935ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
cmp eax, 0xb7
je 0x26f4935ef
jmp 0x26f4935c5
mov ebx, edi
jmp 0x26f4936dd
cmp edi, 0x94
je 0x26f49372d
ja 0x26f493689
cmp edi, 0x7f
ja 0x26f493676
cmp edi, 0x7e
jae 0x26f493734
cmp edi, 0x50
jne 0x26f49373b
mov ebx, 0x40000007
jmp 0x26f4936dd
cmp edi, 0x91
jne 0x26f493742
mov ebx, 0x4000000d
jmp 0x26f4936dd
cmp edi, 0xb7
je 0x26f493749
cmp edi, 0x80070005
je 0x26f493750
cmp edi, 0xaa
je 0x26f4936b0
mov ebx, 0x40000001
jmp 0x26f4936dd
mov ebx, 0x4000000d
jmp 0x26f4936dd
mov ebx, 0x40000003
jmp 0x26f4936dd
mov ebx, 0x40000009
jmp 0x26f4936dd
mov ebx, 0x4000000d
jmp 0x26f4936dd
mov ebx, 0x40000001
jmp 0x26f4936dd
mov edi, 0
mov ebx, 0
test rbp, rbp
je 0x26f4936e5
mov dword [rbp], edi
test ebx, ebx
je 0x26f493760
mov eax, ebx
and eax, 0x3fffffff
test rsi, rsi
je 0x26f493757
mov dword [rsp + 0x20], eax
mov r9d, r12d
mov r8, rsi
lea rdx, str.fs_dir_create
lea rcx, str._E____s_____Failed_path_s_recursive_d_err_08x__n
call fcn.26f49a202
mov eax, ebx
add rsp, 0x140
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
mov ebx, 0x40000008
jmp 0x26f4936dd
mov ebx, 0x4000000d
jmp 0x26f4936dd
mov ebx, 0x40000003
jmp 0x26f4936dd
mov ebx, 0x40000001
jmp 0x26f4936dd
mov ebx, 0x40000001
jmp 0x26f4936dd
mov ebx, 0x40000007
jmp 0x26f4936dd
mov ebx, 0x40000009
jmp 0x26f4936dd
lea rsi, [0x26f4a0fcb]
jmp 0x26f4936f5
mov r9d, r12d
mov r8, rsi
lea rdx, str.fs_dir_create
lea rcx, str._I____s_____Done_path_s_recursive_d__n
call fcn.26f49a202
jmp 0x26f493712