Function at 0x140004b00
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x2d0
mov rax, qword [0x1400b8080]
xor rax, rsp
mov qword [rsp + 0x2c0], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x48], rdx
mov rdi, qword [rdx + 0x10]
cmp rdi, 3
ja 0x140004b81
mov rdx, qword [rdx + 0x18]
cmp rdx, 7
jbe 0x140004b78
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
mov rcx, qword [rbx]
jb 0x140004b73
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004dbe
mov rcx, r8
call fcn.140061530
xor edi, edi
xor al, al
jmp 0x140004d84
mov rax, rbx
mov rdx, qword [rdx + 0x18]
cmp rdx, 7
jbe 0x140004b91
mov rax, qword [rbx]
lea rcx, [rdi + rdi]
cmp word [rcx + rax - 2], 0x5c
jne 0x140004c07
mov rax, rdi
mov r9d, 1
cmp rdx, 7
jbe 0x140004bcb
mov rdx, qword [rbx]
sub rcx, rdx
add rdx, 0xfffffffffffffffe
add rdx, rcx
sar rdx, 1
sub rax, rdx
cmp rax, r9
cmovb r9, rax
mov rax, qword [rbx]
jmp 0x140004be5
sub rcx, rbx
lea rdx, [rbx - 2]
add rdx, rcx
sar rdx, 1
sub rax, rdx
cmp rax, r9
cmovb r9, rax
mov rax, rbx
lea rcx, [rax + rdx*2]
sub rdi, r9
mov r8, rdi
sub r8, rdx
lea r8, [r8*2 + 2]
lea rdx, [rcx + r9*2]
call fcn.140087290
mov qword [rbx + 0x10], rdi
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140004c14
mov rcx, qword [rbx]
lea rdx, [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
je 0x140004c3e
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
test byte [rsp + 0x70], 0x10
je 0x140004c3e
mov rdx, qword [rbx + 0x18]
jmp 0x140004b3d
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140004c4b
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor edi, edi
test eax, eax
jne 0x140004d47
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140002800
nop
nop dword [rax + rax]
lea rax, [rsp + 0x50]
mov r8, qword [rsp + 0x50]
mov r9, qword [rsp + 0x68]
cmp r9, 7
cmova rax, r8
mov rcx, qword [rsp + 0x60]
lea rdx, [rcx - 1]
cmp word [rax + rcx*2 - 2], 0x5c
je 0x140004cb9
cmp rcx, rdx
jb 0x140004dc4
mov qword [rsp + 0x60], rdx
lea rax, [rsp + 0x50]
cmp r9, 7
cmova rax, r8
mov word [rax + rdx*2], di
jmp 0x140004c70
cmp rcx, rdx
jb 0x140004dc4
mov qword [rsp + 0x60], rdx
lea rax, [rsp + 0x50]
cmp r9, 7
cmova rax, r8
mov word [rax + rdx*2], di
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x28]
call fcn.140002800
mov rdx, rax
mov rcx, rsi
call fcn.140004b00
mov rcx, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140004cff
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 7
jbe 0x140004d47
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140004d41
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140004db8
call fcn.140061530
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x140004d82
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140004d7d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140004dbe
mov rcx, r8
call fcn.140061530
mov al, 1
mov word [rbx], di
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rdi
mov rcx, qword [rsp + 0x2c0]
xor rcx, rsp
call fcn.140061510
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
call fcn.14006a6c0
nop
call fcn.14006a6c0
nop
call fcn.140002110
int3