Function at 0x18006d100
Capabilities:
Create directory

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x300]
sub rsp, 0x400
xor ebx, ebx
lea r8, str.APPDATA
lea rdx, [rbp + 0x330]
lea rcx, [rbp + 0x338]
call fcn.18013881c
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov rdx, qword [rbp + 0x338]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rdx + r8], bl
jne 0x18006d166
lea rcx, [rsp + 0x60]
call fcn.18004e2d0
nop
mov edi, 6
mov r8d, edi
lea rdx, [0x18019d690]
lea rcx, [rsp + 0x60]
call fcn.18004b530
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbx
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x50], xmm1
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x18006d202
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006d1fd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006d657
call fcn.1801170ac
movdqa xmm0, xmmword [0x1801a1bf0]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rcx, qword [rsp + 0x40]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
movabs rsi, 0x7fffffffffffffff
mov rax, rsi
mov rcx, qword [rsp + 0x50]
sub rax, rcx
cmp rax, 0xd
jb 0x18006d65d
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova r9, qword [rsp + 0x40]
mov qword [rsp + 0x30], 0xd
lea r14, str.Username.ini
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x80]
call fcn.1800804b0
nop
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
lea rcx, [rbp + 0x1f0]
call fcn.180079be0
mov rax, qword [rbp + 0x1f0]
movsxd rcx, dword [rax + 4]
lea r8, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1f0], r8
mov rax, qword [rbp + 0x1f0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1ec], edx
mov rax, qword [rbp + 0x1f0]
movsxd rcx, dword [rax + 4]
mov ebx, dword [rbp + rcx + 0x200]
mov qword [rbp + rcx + 0x1f0], r8
mov rax, qword [rbp + 0x1f0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx + 0x1ec], edx
lea rcx, [rbp + 0x200]
call fcn.180077160
mov rax, qword [rbp + 0x1f0]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0x1f0], rax
mov rax, qword [rbp + 0x1f0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx + 0x1ec], edx
lea r12, vtable.std::ios_base.0
mov qword [rbp + 0x2a0], r12
lea rcx, [rbp + 0x2a0]
call fcn.180115e60
nop
test ebx, ebx
setne bl
lea rcx, [rbp - 0x80]
call fcn.18004b360
mov rax, rsi
mov rcx, qword [rsp + 0x50]
sub rax, rcx
cmp rax, 0xd
jb 0x18006d663
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova r9, qword [rsp + 0x40]
mov qword [rsp + 0x30], 0xd
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x80]
call fcn.1800804b0
nop
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 0xf
cmova rdx, qword [rbp - 0x80]
lea rcx, [rbp + 0xe0]
call fcn.1800773e0
mov rax, qword [rbp + 0xe0]
movsxd rcx, dword [rax + 4]
lea r14, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx + 0xe0], r14
mov rax, qword [rbp + 0xe0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xdc], edx
lea rcx, [rbp - 0x80]
call fcn.18004b360
lea rdx, [0x1805067a0]
lea rcx, [rbp + 0xe0]
call fcn.18007c830
lea rcx, [rbp + 0xe8]
call fcn.18007a910
mov r15d, 2
test rax, rax
jne 0x18006d460
mov rax, qword [rbp + 0xe0]
movsxd rcx, dword [rax + 4]
mov eax, edi
cmp qword [rbp + rcx + 0x128], 0
cmovne eax, r15d
or eax, dword [rbp + rcx + 0xf0]
and eax, 0x17
mov dword [rbp + rcx + 0xf0], eax
mov edx, dword [rbp + rcx + 0xf4]
and edx, eax
jne 0x18006d669
mov rax, qword [rsp + 0x50]
sub rsi, rax
cmp rsi, 0xd
jb 0x18006d6bb
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova r9, qword [rsp + 0x40]
mov qword [rsp + 0x30], 0xd
lea rcx, str.Password.ini
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], rax
lea rcx, [rbp - 0x58]
call fcn.1800804b0
nop
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 0xf
cmova rdx, qword [rbp - 0x58]
lea rcx, [rbp - 0x30]
call fcn.1800773e0
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x30], r14
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x58]
call fcn.18004b360
lea rdx, [0x1805067f0]
lea rcx, [rbp - 0x30]
call fcn.18007c830
lea rcx, [rbp - 0x28]
call fcn.18007a910
test rax, rax
jne 0x18006d52d
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
cmp qword [rbp + rcx + 0x18], 0
cmovne edi, r15d
or edi, dword [rbp + rcx - 0x20]
and edi, 0x17
mov dword [rbp + rcx - 0x20], edi
mov eax, dword [rbp + rcx - 0x1c]
and eax, edi
jne 0x18006d6c1
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx - 0x30], r14
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx - 0x34], edx
lea rcx, [rbp - 0x28]
call fcn.180077160
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x30], rdi
mov rax, qword [rbp - 0x30]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx - 0x34], edx
mov qword [rbp + 0x78], r12
lea rcx, [rbp + 0x78]
call fcn.180115e60
nop
mov rax, qword [rbp + 0xe0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xe0], r14
mov rax, qword [rbp + 0xe0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xa8]
mov dword [rbp + rcx + 0xdc], edx
lea rcx, [rbp + 0xe8]
call fcn.180077160
mov rax, qword [rbp + 0xe0]
movsxd rcx, dword [rax + 4]
mov qword [rbp + rcx + 0xe0], rdi
mov rax, qword [rbp + 0xe0]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x10]
mov dword [rbp + rcx + 0xdc], edx
mov qword [rbp + 0x188], r12
lea rcx, [rbp + 0x188]
call fcn.180115e60
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x18006d632
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006d62d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x18006d651
call fcn.1801170ac
movzx eax, bl
lea r11, [rsp + 0x400]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.180133c08
nop
call fcn.180133c08
nop
call fcn.180038f60
int3
call fcn.180038f60
nop
test dl, 4
je 0x18006d677
lea rbx, str.ios_base::badbit_set
jmp 0x18006d68c
test r15b, dl
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.18005c520
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x58]
call fcn.18005da70
lea rdx, [0x1801c0eb8]
lea rcx, [rbp - 0x58]
call fcn.1801193d4
int3
call fcn.180038f60
nop
test al, 4
je 0x18006d6ce
lea rbx, str.ios_base::badbit_set
jmp 0x18006d6e2
test al, 2
lea rbx, str.ios_base::failbit_set
lea rax, str.ios_base::eofbit_set
cmove rbx, rax
mov edx, 1
lea rcx, [rsp + 0x60]
call fcn.18005c520
mov r8, rax
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.18005da70
lea rdx, [0x1801c0eb8]
lea rcx, [rbp - 0x80]
call fcn.1801193d4
int3