Function at 0x3bc1c64de
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 0x3bc1c6538
call sub.msvcrt.dll_strlen
cmp rax, 0x103
ja 0x3bc1c6713
test r12d, r12d
jne 0x3bc1c65b6
mov edx, 0
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x3bc1c6570
mov edi, 0
mov ebx, 0
jmp 0x3bc1c671d
mov dword [rsp + 0x20], 0x214
lea r9, str.H:_Projects_rdp_bot_codebase_fs.c
lea r8, [0x3bc1d6092]
lea rdx, str.fs_dir_create
lea rcx, [0x3bc1d60b0]
call fcn.3bc1c1292
mov edi, 0xa0
mov ebx, 0x40000001
jmp 0x3bc1c671d
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.3bc1c1292
cmp edi, 0x20
ja 0x3bc1c668a
ja case.0x3bc1c65b4.1
mov eax, edi
lea rdx, [0x3bc1d6530]
movsxd rax, dword [rdx + rax*4]
add rax, rdx
jmp rax
lea rbx, [rsp + 0x30]
mov rdx, rsi
mov rcx, rbx
call main
mov rcx, rbx
call sub.msvcrt.dll_strlen
movzx edx, byte [rsp + rax + 0x2f]
cmp dl, 0x5c
je 0x3bc1c65ee
cmp dl, 0x2f
je 0x3bc1c65ee
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 0x3bc1c6636
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.3bc1c1292
mov edi, r14d
mov byte [rbx], 0x5c
add rbx, 1
test edi, edi
jne 0x3bc1c6595
lea rax, [rsp + r13 + 0x30]
cmp rax, rbx
jb 0x3bc1c6595
cmp rbx, rax
jae 0x3bc1c6595
cmp byte [rbx], 0x5c
jne 0x3bc1c6632
mov byte [rbx], 0
lea rcx, [rsp + 0x30]
mov edx, 0
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x3bc1c662f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
cmp eax, 0xb7
je 0x3bc1c662f
jmp 0x3bc1c6605
mov ebx, edi
jmp 0x3bc1c671d
cmp edi, 0x94
je 0x3bc1c676d
ja 0x3bc1c66c9
cmp edi, 0x7f
ja 0x3bc1c66b6
cmp edi, 0x7e
jae 0x3bc1c6774
cmp edi, 0x50
jne 0x3bc1c677b
mov ebx, 0x40000007
jmp 0x3bc1c671d
cmp edi, 0x91
jne 0x3bc1c6782
mov ebx, 0x4000000d
jmp 0x3bc1c671d
cmp edi, 0xb7
je 0x3bc1c6789
cmp edi, 0x80070005
je 0x3bc1c6790
cmp edi, 0xaa
je 0x3bc1c66f0
mov ebx, 0x40000001
jmp 0x3bc1c671d
mov ebx, 0x4000000d
jmp 0x3bc1c671d
mov ebx, 0x40000003
jmp 0x3bc1c671d
mov ebx, 0x40000009
jmp 0x3bc1c671d
mov ebx, 0x4000000d
jmp 0x3bc1c671d
mov ebx, 0x40000001
jmp 0x3bc1c671d
mov edi, 0
mov ebx, 0
test rbp, rbp
je 0x3bc1c6725
mov dword [rbp], edi
test ebx, ebx
je 0x3bc1c67a0
mov eax, ebx
and eax, 0x3fffffff
test rsi, rsi
je 0x3bc1c6797
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.3bc1c1292
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 0x3bc1c671d
mov ebx, 0x4000000d
jmp 0x3bc1c671d
mov ebx, 0x40000003
jmp 0x3bc1c671d
mov ebx, 0x40000001
jmp 0x3bc1c671d
mov ebx, 0x40000001
jmp 0x3bc1c671d
mov ebx, 0x40000007
jmp 0x3bc1c671d
mov ebx, 0x40000009
jmp 0x3bc1c671d
lea rsi, [0x3bc1d606b]
jmp 0x3bc1c6735
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.3bc1c1292
jmp 0x3bc1c6752