Function at 0x18003f010
Capabilities:
Create directory

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0x100
mov rax, qword [0x180100280]
xor rax, rsp
mov qword [rbp + 0x17], rax
mov rbx, r8
mov rdi, rcx
mov qword [rbp - 0x71], rcx
xor r12d, r12d
lea r8, str._bkc_config
lea rcx, [rbp - 9]
call fcn.18004ae50
nop
lea rcx, [rbp - 9]
cmp qword [rbp + 0xf], 7
cmova rcx, qword [rbp - 9]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rbx + r8], 0
jne 0x18003f080
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.18003c120
nop
lea rdx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rdx, qword [rbp - 0x29]
mov r15, qword [rbp - 0x19]
add r15, rdx
lea rbx, [rbp - 0x29]
cmp qword [rbp - 0x11], 0xf
cmova rbx, qword [rbp - 0x29]
xorps xmm0, xmm0
movups xmmword [rbp - 0x69], xmm0
movabs r14, 0x7fffffffffffffff
cmp rbx, r15
jne 0x18003f0ea
mov rbx, r12
mov qword [rbp - 0x59], rbx
mov esi, 7
mov qword [rbp - 0x51], rsi
mov word [rbp - 0x69], r12w
jmp 0x18003f1f5
sub r15, rbx
mov qword [rbp - 0x59], r12
mov qword [rbp - 0x51], 7
movabs rax, 0x7ffffffffffffffe
cmp r15, rax
ja 0x18003f5ed
mov esi, 7
cmp r15, rsi
jbe 0x18003f1ac
mov rsi, r15
or rsi, 7
cmp rsi, rax
jbe 0x18003f12f
mov rsi, rax
lea rcx, [r14 + r14]
jmp 0x18003f154
mov eax, 0xa
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
cmp rcx, r14
ja 0x18003f5f3
add rcx, rcx
cmp rcx, 0x1000
jb 0x18003f18b
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18003f5f3
mov rcx, rax
call fcn.1800ab090
mov rcx, rax
test rax, rax
je 0x18003f521
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x51], rsi
jmp 0x18003f1b0
test rcx, rcx
je 0x18003f19f
call fcn.1800ab090
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x51], rsi
jmp 0x18003f1b0
mov rax, r12
mov qword [rbp - 0x69], rax
mov qword [rbp - 0x51], rsi
jmp 0x18003f1b0
mov rax, qword [rbp - 0x69]
lea r8, [rbp - 0x69]
cmp rsi, 7
cmova r8, rax
mov rcx, r8
mov rdx, r15
test r15, r15
je 0x18003f1e4
nop word [rax + rax]
movsx eax, byte [rbx]
mov word [rcx], ax
lea rcx, [rcx + 2]
lea rbx, [rbx + 1]
sub rdx, 1
jne 0x18003f1d0
mov qword [rbp - 0x59], r15
mov word [r8 + r15*2], r12w
mov rsi, qword [rbp - 0x51]
mov rbx, qword [rbp - 0x59]
lea r8, [0x1800cf34c]
lea rdx, [rbp - 9]
lea rcx, [rsp + 0x48]
call fcn.18004ae50
nop
lea rdx, [rbp - 0x69]
cmp rsi, 7
cmova rdx, qword [rbp - 0x69]
mov r8, rbx
mov rcx, rax
call fcn.180049a00
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x30], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x20], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x30], xmm1
mov qword [rax + 0x18], 7
mov qword [rax + 0x10], r12
mov word [rax], r12w
mov r8d, 4
lea rdx, str..bkc
lea rcx, [rsp + 0x20]
call fcn.180049a00
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x39], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x49], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x39], xmm1
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], 7
mov word [rax], r12w
mov rdx, qword [rsp + 0x38]
cmp rdx, 7
jbe 0x18003f2df
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003f2da
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003f2da
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ab50c
movdqa xmm0, xmmword [0x1800e6290]
movdqu xmmword [rsp + 0x30], xmm0
mov word [rsp + 0x20], r12w
mov rdx, qword [rbp - 0x79]
cmp rdx, 7
jbe 0x18003f337
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003f332
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003f332
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ab50c
movdqa xmm0, xmmword [0x1800e6290]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], r12w
lea rdx, [rbp - 0x49]
cmp qword [rbp - 0x31], 7
cmova rdx, qword [rbp - 0x49]
mov rax, qword [rbp - 0x39]
lea rsi, [rdx + rax*2]
lea rbx, [rbp - 0x49]
cmova rbx, qword [rbp - 0x49]
xorps xmm0, xmm0
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], r12
mov qword [rdi + 0x18], 0xf
cmp rbx, rsi
jne 0x18003f389
mov byte [rdi], 0
jmp 0x18003f46c
sub rsi, rbx
sar rsi, 1
cmp rsi, r14
ja 0x18003f5e1
cmp rsi, 0xf
jbe 0x18003f436
mov rax, rsi
or rax, 0xf
cmp rax, r14
jbe 0x18003f3da
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1800ab090
mov rcx, rax
test rax, rax
je 0x18003f405
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x18003f41b
mov r14, rax
mov ecx, 0x16
cmp rax, rcx
cmovb r14, rcx
lea rcx, [r14 + 1]
cmp rcx, 0x1000
jb 0x18003f40c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x18003f5e7
jmp 0x18003f3bc
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x18003f418
call fcn.1800ab090
jmp 0x18003f41b
mov rax, r12
mov qword [rdi], rax
mov qword [rdi + 0x18], r14
mov r8, rdi
cmp r14, 0xf
jbe 0x18003f439
mov r8, rax
mov rcx, rax
mov rdx, rsi
jmp 0x18003f450
mov r8, rdi
mov rcx, r8
mov rdx, rsi
test rsi, rsi
je 0x18003f463
nop dword [rax]
nop dword [rax + rax]
movzx eax, byte [rbx]
mov byte [rcx], al
lea rcx, [rcx + 1]
lea rbx, [rbx + 2]
sub rdx, 1
jne 0x18003f450
mov qword [rdi + 0x10], rsi
mov byte [r8 + rsi], 0
mov rdx, rdi
cmp qword [rdi + 0x18], 0xf
jbe 0x18003f479
mov rdx, qword [rdi]
lea r8, [0x1800cf350]
lea rcx, [rbp - 0x71]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
mov rcx, qword [rbp - 0x71]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
nop
mov rdx, qword [rbp - 0x31]
cmp rdx, 7
jbe 0x18003f4d8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x49]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003f4d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003f4d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ab50c
movdqa xmm0, xmmword [0x1800e6290]
movdqu xmmword [rbp - 0x39], xmm0
mov word [rbp - 0x49], r12w
mov rdx, qword [rbp - 0x51]
cmp rdx, 7
jbe 0x18003f52e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x69]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003f528
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003f528
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ab50c
nop
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x18003f56c
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003f567
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003f567
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ab50c
movdqa xmm0, xmmword [0x1800e62a0]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
mov rdx, qword [rbp + 0xf]
cmp rdx, 7
jbe 0x18003f5c0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 9]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18003f5bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18003f5bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ab50c
mov rax, rdi
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.1800ab070
add rsp, 0x100
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
call fcn.180039620
nop
call fcn.180039580
nop
call fcn.180039620
int3
call fcn.180039580
int3