Function at 0x18000a8f0
Capabilities:
Create directory
Get graphical window text

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
lea rbp, [rax - 0xc98]
sub rsp, 0xd80
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x180034800]
xor rax, rsp
mov qword [rbp + 0xc70], rax
mov rsi, rcx
xor r12d, r12d
mov dword [rsp + 0x58], r12d
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x18000b128
mov r8d, 0x400
lea rdx, [rbp + 0x470]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov qword [rbp + 0xa8], 7
mov qword [rbp + 0xa0], r12
mov word [rbp + 0x90], r12w
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x470]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x470]
lea rcx, [rbp + 0x90]
call fcn.1800069d0
cmp qword [rsi + 0x18], 8
jb 0x18000a9aa
mov rdx, qword [rsi]
jmp 0x18000a9ad
mov rdx, rsi
mov r8, qword [rsi + 0x10]
lea rcx, [rbp + 0x90]
call fcn.1800068d0
cmp rax, 0xffffffffffffffff
setne dil
cmp qword [rbp + 0xa8], 8
jb 0x18000a9db
mov rcx, qword [rbp + 0x90]
call fcn.180010690
test dil, dil
je 0x18000b128
lea rdx, [rbp + 0x248]
mov rcx, rbx
call qword [sym.imp.USER32.dll_GetWindowRect]
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [rbp + 0x86]
lea rcx, [rbp + 0xb8]
call fcn.18000a860
mov rbx, rax
movzx edx, word [rbp + 0x82]
lea rcx, [rbp + 0x158]
call fcn.18000a860
mov rdi, rax
movzx edx, word [rbp + 0x80]
lea rcx, [rbp + 0x1f8]
call fcn.18000a860
nop
mov rdx, rax
lea rcx, [rbp + 0x1d0]
call fcn.18000e510
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.18000e570
nop
mov rdx, rax
lea rcx, [rbp + 0x90]
call fcn.18000e510
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x220]
call fcn.18000e570
nop
cmp qword [rbp + 0xa8], 8
jb 0x18000aa9d
mov rcx, qword [rbp + 0x90]
call fcn.180010690
mov qword [rbp + 0xa8], 7
mov qword [rbp + 0xa0], r12
mov word [rbp + 0x90], r12w
cmp qword [rbp + 0xf8], 8
jb 0x18000aacd
mov rcx, qword [rbp + 0xe0]
call fcn.180010690
mov qword [rbp + 0xf8], 7
mov qword [rbp + 0xf0], r12
mov word [rbp + 0xe0], r12w
cmp qword [rbp + 0x1e8], 8
jb 0x18000aafd
mov rcx, qword [rbp + 0x1d0]
call fcn.180010690
mov qword [rbp + 0x1e8], 7
mov qword [rbp + 0x1e0], r12
mov word [rbp + 0x1d0], r12w
cmp qword [rbp + 0x210], 8
jb 0x18000ab2d
mov rcx, qword [rbp + 0x1f8]
call fcn.180010690
mov qword [rbp + 0x210], 7
mov qword [rbp + 0x208], r12
mov word [rbp + 0x1f8], r12w
cmp qword [rbp + 0x170], 8
jb 0x18000ab5d
mov rcx, qword [rbp + 0x158]
call fcn.180010690
mov qword [rbp + 0x170], 7
mov qword [rbp + 0x168], r12
mov word [rbp + 0x158], r12w
cmp qword [rbp + 0xd0], 8
jb 0x18000ab8d
mov rcx, qword [rbp + 0xb8]
call fcn.180010690
mov qword [rbp + 0xd0], 7
mov qword [rbp + 0xc8], r12
mov word [rbp + 0xb8], r12w
mov qword [rbp + 0x120], 7
mov qword [rbp + 0x118], r12
mov word [rbp + 0x108], r12w
mov r8d, 0x22
lea rdx, [0x18002d3d0]
lea rcx, [rbp + 0x108]
call fcn.1800069d0
nop
lea rcx, [rbp + 0x108]
cmp qword [rbp + 0x120], 8
cmovae rcx, qword [rbp + 0x108]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r8, [0x18002d380]
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0xb8]
call fcn.18000e3a0
nop
lea r8, [rbp + 0x220]
mov rdx, rax
lea rcx, [rbp + 0x1a8]
call fcn.18000e480
nop
cmp qword [rbp + 0xd0], 8
jb 0x18000ac42
mov rcx, qword [rbp + 0xb8]
call fcn.180010690
mov qword [rbp + 0xd0], 7
mov qword [rbp + 0xc8], r12
mov word [rbp + 0xb8], r12w
lea rcx, [rbp + 0x1a8]
cmp qword [rbp + 0x1c0], 8
cmovae rcx, qword [rbp + 0x1a8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, rsi
call fcn.18000bdd0
mov qword [rbp + 0x198], 7
mov qword [rbp + 0x190], r12
mov word [rbp + 0x180], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x180]
call fcn.1800067a0
nop
lea r8, [0x18002d380]
lea rdx, [rbp + 0x1a8]
lea rcx, [rbp + 0xb8]
call fcn.18000e3a0
nop
lea r8, [rbp + 0x180]
mov rdx, rax
lea rcx, [rbp + 0x130]
call fcn.18000e480
nop
cmp qword [rbp + 0xd0], 8
jb 0x18000acfc
mov rcx, qword [rbp + 0xb8]
call fcn.180010690
mov qword [rbp + 0xd0], 7
mov qword [rbp + 0xc8], r12
mov word [rbp + 0xb8], r12w
lea rcx, [rbp + 0x130]
cmp qword [rbp + 0x148], 8
cmovae rcx, qword [rbp + 0x130]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov qword [rbp + 0x170], 7
mov qword [rbp + 0x168], r12
mov word [rbp + 0x158], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0x158]
call fcn.1800067a0
lea rcx, [rbp + 0x158]
call fcn.180009c10
lea rbx, [rbp + 0x130]
cmp qword [rbp + 0x148], 8
cmovae rbx, qword [rbp + 0x130]
movzx ecx, word [rbp + 0x8c]
movzx edi, word [rbp + 0x8a]
movzx r8d, word [rbp + 0x88]
movzx r10d, word [rbp + 0x86]
movzx r11d, word [rbp + 0x82]
movzx r9d, word [rbp + 0x80]
mov eax, 0x51eb851f
imul r9d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
imul edx, edx, 0x64
sub r9d, edx
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], r8d
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], r9d
mov r9, rbx
lea r8, str._s_02d_02d_02d_02d_02d_02d.jpg
mov edx, 0x104
lea rcx, [rbp + 0x260]
call fcn.18000e5f0
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x60], r12d
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.18000a3a0
mov rbx, rax
test rax, rax
je 0x18000b052
mov qword [rbp + select8], 0xf
mov qword [rbp + 0xf0], r12
mov byte [rbp + 0xe0], 0
lea r8, [rbp + 0xe0]
mov edx, dword [rsp + 0x50]
mov rcx, rax
call fcn.18000a050
test eax, eax
je 0x18000b032
mov qword [rbp + 0xa8], 7
mov qword [rbp + 0xa0], r12
mov word [rbp + 0x90], r12w
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rbp + 0x260]
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 0x260]
lea rcx, [rbp + 0x90]
call fcn.1800069d0
nop
lea rax, [0x18002d5e0]
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x58], 1
lea rsi, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rbp + 0x18], rsi
lea rcx, [rbp + 0x18]
call fcn.180007a90
lea rdx, [rsp + 0x78]
mov qword [rbp + 0x60], rdx
mov qword [rbp + 0x68], r12
lea rcx, [rbp + 0x18]
call fcn.18000dc40
mov byte [rbp + 0x70], al
cmp qword [rbp + 0x60], 0
jne 0x18000af0c
mov edx, dword [rbp + 0x28]
or edx, 4
xor r8d, r8d
lea rcx, [rbp + 0x18]
call fcn.180007920
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rdi, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rdi
lea rcx, [rsp + 0x78]
call fcn.18000cf60
nop
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 8
cmovae rdx, qword [rbp + 0x90]
lea rcx, [rsp + 0x78]
call fcn.18000d000
test rax, rax
jne 0x18000af79
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x70]
mov edx, dword [rcx + 0x10]
or edx, 2
cmp qword [rcx + 0x48], 0
jne 0x18000af70
or edx, 4
xor r8d, r8d
call fcn.180007920
nop
lea rdx, [rbp + 0xe0]
cmp qword [rbp + 0xf8], 0x10
cmovae rdx, qword [rbp + 0xe0]
mov r8, qword [rbp + 0xf0]
lea rcx, [rsp + 0x70]
call fcn.18000b740
lea rcx, [rsp + 0x78]
call fcn.18000d0f0
test rax, rax
jne 0x18000afd7
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rcx, [rsp + rcx + 0x70]
mov edx, dword [rcx + 0x10]
or edx, 2
cmp qword [rcx + 0x48], 0
jne 0x18000afce
or edx, 4
xor r8d, r8d
call fcn.180007920
nop
lea rax, [rbp + 0x18]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rdi
lea rcx, [rsp + 0x78]
call fcn.18000bf20
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
mov qword [rsp + rcx + 0x70], rsi
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x18], rax
lea rcx, [rbp + 0x18]
call fcn.18000fc44
nop
cmp qword [rbp + 0xa8], 8
jb 0x18000b032
mov rcx, qword [rbp + 0x90]
call fcn.180010690
mov rcx, rbx
call fcn.18001121c
nop
cmp qword [rbp + 0xf8], 0x10
jb 0x18000b052
mov rcx, qword [rbp + 0xe0]
call fcn.180010690
nop
cmp qword [rbp + 0x148], 8
jb 0x18000b068
mov rcx, qword [rbp + 0x130]
call fcn.180010690
mov qword [rbp + 0x148], 7
mov qword [rbp + 0x140], r12
mov word [rbp + 0x130], r12w
cmp qword [rbp + 0x198], 8
jb 0x18000b098
mov rcx, qword [rbp + 0x180]
call fcn.180010690
mov qword [rbp + 0x198], 7
mov qword [rbp + 0x190], r12
mov word [rbp + 0x180], r12w
cmp qword [rbp + 0x1c0], 8
jb 0x18000b0c8
mov rcx, qword [rbp + 0x1a8]
call fcn.180010690
mov qword [rbp + 0x1c0], 7
mov qword [rbp + 0x1b8], r12
mov word [rbp + 0x1a8], r12w
cmp qword [rbp + 0x120], 8
jb 0x18000b0f8
mov rcx, qword [rbp + 0x108]
call fcn.180010690
mov qword [rbp + 0x120], 7
mov qword [rbp + 0x118], r12
mov word [rbp + 0x108], r12w
cmp qword [rbp + 0x238], 8
jb 0x18000b128
mov rcx, qword [rbp + 0x220]
call fcn.180010690
mov rcx, qword [rbp + 0xc70]
xor rcx, rsp
call fcn.1800106b0
lea r11, [rsp + 0xd80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret