Function at 0x18000aab0
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 + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x18003fb50]
xor rax, rsp
mov qword [rbp + 0xc70], rax
mov rsi, rcx
call qword [sym.imp.USER32.dll_GetForegroundWindow]
mov rbx, rax
test rax, rax
je 0x18000b249
mov r8d, 0x400
lea rdx, [rbp + 0x470]
mov rcx, rax
call qword [sym.imp.USER32.dll_GetWindowTextW]
mov qword [rbp + 0xd0], 7
xor r12d, r12d
mov qword [rbp + 0xc8], r12
mov word [rbp + 0xb8], 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 + 0xb8]
call fcn.180006a30
cmp qword [rsi + 0x18], 8
jb 0x18000ab65
mov rdx, qword [rsi]
jmp 0x18000ab68
mov rdx, rsi
mov r8, qword [rsi + 0x10]
lea rcx, [rbp + 0xb8]
call fcn.180006920
cmp rax, 0xffffffffffffffff
setne dil
cmp qword [rbp + 0xd0], 8
jb 0x18000ab96
mov rcx, qword [rbp + 0xb8]
call fcn.1800176d4
test dil, dil
je 0x18000b249
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 + 0x90]
call fcn.18000aa20
mov rbx, rax
movzx edx, word [rbp + 0x82]
lea rcx, [rbp + 0x180]
call fcn.18000aa20
mov rdi, rax
movzx edx, word [rbp + 0x80]
lea rcx, [rbp + 0x1d0]
call fcn.18000aa20
nop
lea r8, [0x180036abc]
mov rdx, rax
lea rcx, [rbp + 0x1f8]
call fcn.180012420
nop
mov r8, rdi
mov rdx, rax
lea rcx, [rbp + 0xe0]
call fcn.180012490
nop
lea r8, [0x180036abc]
mov rdx, rax
lea rcx, [rbp + 0x130]
call fcn.180012420
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x220]
call fcn.180012490
nop
cmp qword [rbp + 0x148], 8
jb 0x18000ac66
mov rcx, qword [rbp + 0x130]
call fcn.1800176d4
mov qword [rbp + 0x148], 7
mov qword [rbp + 0x140], r12
mov word [rbp + 0x130], r12w
cmp qword [rbp + 0xf8], 8
jb 0x18000ac96
mov rcx, qword [rbp + 0xe0]
call fcn.1800176d4
mov qword [rbp + 0xf8], 7
mov qword [rbp + 0xf0], r12
mov word [rbp + 0xe0], r12w
cmp qword [rbp + 0x210], 8
jb 0x18000acc6
mov rcx, qword [rbp + 0x1f8]
call fcn.1800176d4
mov qword [rbp + 0x210], 7
mov qword [rbp + 0x208], r12
mov word [rbp + 0x1f8], r12w
cmp qword [rbp + 0x1e8], 8
jb 0x18000acf6
mov rcx, qword [rbp + 0x1d0]
call fcn.1800176d4
mov qword [rbp + 0x1e8], 7
mov qword [rbp + 0x1e0], r12
mov word [rbp + 0x1d0], r12w
cmp qword [rbp + 0x198], 8
jb 0x18000ad26
mov rcx, qword [rbp + 0x180]
call fcn.1800176d4
mov qword [rbp + 0x198], 7
mov qword [rbp + 0x190], r12
mov word [rbp + 0x180], r12w
cmp qword [rbp + 0xa8], 8
jb 0x18000ad56
mov rcx, qword [rbp + 0x90]
call fcn.1800176d4
mov qword [rbp + 0xa8], 7
mov qword [rbp + 0xa0], r12
mov word [rbp + 0x90], r12w
mov qword [rbp + 0x120], 7
mov qword [rbp + 0x118], r12
mov word [rbp + 0x108], r12w
mov r8d, 0x22
lea rdx, [0x180036ac0]
lea rcx, [rbp + 0x108]
call fcn.180006a30
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, [0x180036a70]
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0x90]
call fcn.1800122b0
nop
lea r8, [rbp + 0x220]
mov rdx, rax
lea rcx, [rbp + 0xb8]
call fcn.180012390
nop
cmp qword [rbp + 0xa8], 8
jb 0x18000ae0b
mov rcx, qword [rbp + 0x90]
call fcn.1800176d4
mov qword [rbp + 0xa8], 7
mov qword [rbp + 0xa0], r12
mov word [rbp + 0x90], r12w
lea rcx, [rbp + 0xb8]
cmp qword [rbp + 0xd0], 8
cmovae rcx, qword [rbp + 0xb8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov rcx, rsi
call fcn.18000d740
mov qword [rbp + 0x1c0], 7
mov qword [rbp + 0x1b8], r12
mov word [rbp + 0x1a8], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rax
lea rcx, [rbp + 0x1a8]
call fcn.1800067f0
nop
lea r8, [0x180036a70]
lea rdx, [rbp + 0xb8]
lea rcx, [rbp + 0x90]
call fcn.1800122b0
nop
lea r8, [rbp + 0x1a8]
mov rdx, rax
lea rcx, [rbp + 0x158]
call fcn.180012390
nop
cmp qword [rbp + 0xa8], 8
jb 0x18000aec5
mov rcx, qword [rbp + 0x90]
call fcn.1800176d4
mov qword [rbp + 0xa8], 7
mov qword [rbp + 0xa0], r12
mov word [rbp + 0x90], r12w
lea rcx, [rbp + 0x158]
cmp qword [rbp + 0x170], 8
cmovae rcx, qword [rbp + 0x158]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov qword [rbp + 0x198], 7
mov qword [rbp + 0x190], r12
mov word [rbp + 0x180], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0x108]
lea rcx, [rbp + 0x180]
call fcn.1800067f0
lea rcx, [rbp + 0x180]
call fcn.180009dd0
lea rbx, [rbp + 0x158]
cmp qword [rbp + 0x170], 8
cmovae rbx, qword [rbp + 0x158]
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.180012510
mov dword [rsp + 0x50], r12d
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x54], r12d
lea r8, [rsp + 0x54]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call fcn.18000a560
mov rbx, rax
test rax, rax
je 0x18000b173
mov qword [rbp + socket8], 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.18000a210
test eax, eax
je 0x18000b153
mov qword [rbp + 0x148], 7
mov qword [rbp + 0x140], r12
mov word [rbp + 0x130], 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 + 0x130]
call fcn.180006a30
nop
lea rdx, [rbp + 0x130]
lea rcx, [rsp + 0x70]
call fcn.18000d890
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.18000d0c0
lea rcx, [rsp + 0x78]
call fcn.18000ede0
test rax, rax
jne 0x18000b0ea
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 0x18000b0e1
or edx, 4
xor r8d, r8d
call fcn.180007a70
nop
lea rax, [rbp + 0x18]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
lea rcx, [rsp + 0x78]
call fcn.18000da30
nop
mov rax, qword [rsp + 0x70]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov qword [rsp + rcx + 0x70], rax
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x18], rax
lea rcx, [rbp + 0x18]
call fcn.180014868
nop
cmp qword [rbp + 0x148], 8
jb 0x18000b153
mov rcx, qword [rbp + 0x130]
call fcn.1800176d4
mov rcx, rbx
call fcn.18001825c
nop
cmp qword [rbp + 0xf8], 0x10
jb 0x18000b173
mov rcx, qword [rbp + 0xe0]
call fcn.1800176d4
nop
cmp qword [rbp + 0x170], 8
jb 0x18000b189
mov rcx, qword [rbp + 0x158]
call fcn.1800176d4
mov qword [rbp + 0x170], 7
mov qword [rbp + 0x168], r12
mov word [rbp + 0x158], r12w
cmp qword [rbp + 0x1c0], 8
jb 0x18000b1b9
mov rcx, qword [rbp + 0x1a8]
call fcn.1800176d4
mov qword [rbp + 0x1c0], 7
mov qword [rbp + 0x1b8], r12
mov word [rbp + 0x1a8], r12w
cmp qword [rbp + 0xd0], 8
jb 0x18000b1e9
mov rcx, qword [rbp + 0xb8]
call fcn.1800176d4
mov qword [rbp + 0xd0], 7
mov qword [rbp + 0xc8], r12
mov word [rbp + 0xb8], r12w
cmp qword [rbp + 0x120], 8
jb 0x18000b219
mov rcx, qword [rbp + 0x108]
call fcn.1800176d4
mov qword [rbp + 0x120], 7
mov qword [rbp + 0x118], r12
mov word [rbp + 0x108], r12w
cmp qword [rbp + 0x238], 8
jb 0x18000b249
mov rcx, qword [rbp + 0x220]
call fcn.1800176d4
mov rcx, qword [rbp + 0xc70]
xor rcx, rsp
call fcn.1800176f0
lea r11, [rsp + 0xd80]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret