Function at 0x180002070
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x1d8]
sub rsp, 0x2d0
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x180033008]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.180003570
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call fcn.18000bdf0
lea rax, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rax, qword [rsp + 0x68]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rbp - 0x50]
lea r8, [0x18002d964]
lea rdx, str.laststartdata
lea rcx, str.info
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov qword [rsp + 0x50], 7
xor edi, edi
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x38], di
cmp word [rbp - 0x50], di
jne 0x180002122
mov r8d, edi
jmp 0x18000213a
lea rax, [rbp - 0x50]
or r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], di
jne 0x180002130
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x38]
call fcn.180003c00
nop
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx edx, word [rsp + 0x5e]
movzx ecx, word [rsp + 0x5a]
movzx eax, word [rsp + 0x58]
add eax, 0xfffff894
mov dword [rbp - 0x64], eax
lea eax, [rcx - 1]
mov dword [rbp - 0x68], eax
mov dword [rbp - 0x6c], edx
mov qword [rbp - 0x74], rdi
mov dword [rbp - 0x78], edi
lea rcx, [rbp - 0x78]
call fcn.18000dbb4
mov rbx, rax
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rcx, qword [rsp + 0x38]
call fcn.18000d788
movabs rsi, 0x7fffffffffffffff
cmp eax, ebx
je 0x180002306
mov r8d, ebx
lea rdx, [0x18002d994]
lea rcx, [rbp - 0x78]
call fcn.180008430
mov rbx, rax
lea rax, [rsp + 0x38]
cmp rax, rbx
je 0x180002269
mov rcx, qword [rsp + 0x50]
cmp rcx, 8
jb 0x180002248
lea rax, [rcx + 1]
mov rcx, qword [rsp + 0x38]
cmp rax, rsi
jbe 0x1800021fe
call fcn.180010dc4
int3
add rax, rax
cmp rax, 0x1000
jb 0x180002243
test byte [rsp + 0x38], 0x1f
je 0x180002216
call fcn.180010dc4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180002225
call fcn.180010dc4
int3
sub rcx, rax
cmp rcx, 8
jae 0x180002234
call fcn.180010dc4
int3
cmp rcx, 0x27
jbe 0x180002240
call fcn.180010dc4
int3
mov rcx, rax
call fcn.180008748
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x38], di
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.180003e90
nop
mov rax, qword [rbp - 0x60]
cmp rax, 8
jb 0x1800022cd
inc rax
mov rcx, qword [rbp - 0x78]
cmp rax, rsi
jbe 0x180002285
call fcn.180010dc4
int3
add rax, rax
cmp rax, 0x1000
jb 0x1800022c8
test cl, 0x1f
je 0x18000229b
call fcn.180010dc4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800022aa
call fcn.180010dc4
int3
sub rcx, rax
cmp rcx, 8
jae 0x1800022b9
call fcn.180010dc4
int3
cmp rcx, 0x27
jbe 0x1800022c5
call fcn.180010dc4
int3
mov rcx, rax
call fcn.180008748
lea r9, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae r9, qword [rsp + 0x68]
lea r8, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae r8, qword [rsp + 0x38]
lea rdx, str.laststartdata
lea rcx, str.info
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov bl, 1
jmp 0x180002308
xor bl, bl
mov rax, qword [rsp + 0x50]
cmp rax, 8
jb 0x180002370
inc rax
mov rcx, qword [rsp + 0x38]
cmp rax, rsi
jbe 0x180002326
call fcn.180010dc4
int3
add rax, rax
cmp rax, 0x1000
jb 0x18000236b
test byte [rsp + 0x38], 0x1f
je 0x18000233e
call fcn.180010dc4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x18000234d
call fcn.180010dc4
int3
sub rcx, rax
cmp rcx, 8
jae 0x18000235c
call fcn.180010dc4
int3
cmp rcx, 0x27
jbe 0x180002368
call fcn.180010dc4
int3
mov rcx, rax
call fcn.180008748
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], rdi
mov word [rsp + 0x38], di
mov rax, qword [rbp - 0x80]
cmp rax, 8
jb 0x1800023e8
inc rax
mov rcx, qword [rsp + 0x68]
cmp rax, rsi
jbe 0x1800023a0
call fcn.180010dc4
int3
add rax, rax
cmp rax, 0x1000
jb 0x1800023e3
test cl, 0x1f
je 0x1800023b6
call fcn.180010dc4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1800023c5
call fcn.180010dc4
int3
sub rcx, rax
cmp rcx, 8
jae 0x1800023d4
call fcn.180010dc4
int3
cmp rcx, 0x27
jbe 0x1800023e0
call fcn.180010dc4
int3
mov rcx, rax
call fcn.180008748
movzx eax, bl
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.1800086e0
lea r11, [rsp + 0x2d0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret