Function at 0x180049610
Capabilities:
Check if file exists
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xab8]
sub rsp, 0xb90
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x180248950]
xor rax, rsp
mov qword [rbp + 0xa80], rax
mov r13, rcx
lea rcx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
mov rcx, qword [r13 + 0x230]
mov rax, qword [rcx]
mov edx, 0xbb
call qword [rax]
mov esi, eax
xor r12d, r12d
mov word [rbp + 0x30], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x32]
call fcn.1800be330
mov word [rbp + 0x660], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x662]
call fcn.1800be330
mov word [rbp + 0x450], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x452]
call fcn.1800be330
mov word [rbp - 0x58], r12w
xor eax, eax
mov qword [rbp - 0x56], rax
mov qword [rbp - 0x4e], rax
mov word [rbp - 0x46], ax
mov word [rbp + 0x240], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x242]
call fcn.1800be330
mov word [rbp - 0x70], r12w
xor eax, eax
mov qword [rbp - 0x6e], rax
mov qword [rbp - 0x66], rax
mov word [rbp - 0x5e], ax
mov word [rbp - 0x40], r12w
xor edx, edx
lea r8d, [r12 + 0x62]
lea rcx, [rbp - 0x3e]
call fcn.1800be330
mov word [rbp + 0x870], r12w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp + 0x872]
call fcn.1800be330
mov rbx, qword [0x180278790]
test rbx, rbx
jne 0x180049772
mov ecx, 0x260
call fcn.1800b543c
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x180049768
mov rcx, rax
call fcn.180001a60
mov dword [rbx + 0x258], r12d
jmp 0x18004976b
mov rbx, r12
mov qword [0x180278790], rbx
lea rdx, [rbx + 0x1a8]
cmp qword [rdx + 0x18], 8
jb 0x180049783
mov rdx, qword [rdx]
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], r12
mov word [rsp + 0x60], r12w
or rbx, 0xffffffffffffffff
cmp word [rdx], 0
jne 0x1800497a6
mov r8, r12
jmp 0x1800497bb
mov r8, rbx
nop dword [rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1800497b0
lea rcx, [rsp + 0x60]
call fcn.180005450
nop
mov rdi, qword [0x180278790]
test rdi, rdi
jne 0x180049804
mov ecx, 0x260
call fcn.1800b543c
mov rdi, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x1800497fa
mov rcx, rax
call fcn.180001a60
mov dword [rdi + 0x258], r12d
jmp 0x1800497fd
mov rdi, r12
mov qword [0x180278790], rdi
lea rdx, [rdi + 0x128]
cmp qword [rdx + 0x18], 8
jb 0x180049815
mov rdx, qword [rdx]
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r12
mov word [rsp + 0x40], r12w
cmp word [rdx], 0
jne 0x180049834
mov rbx, r12
jmp 0x18004983e
inc rbx
cmp word [rdx + rbx*2], 0
jne 0x180049834
mov r8, rbx
lea rcx, [rsp + 0x40]
call fcn.180005450
nop
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x18004987d
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
call fcn.18000d730
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 8
cmovae rcx, qword [rsp + 0x60]
lea rdx, [rbp + 0x30]
movzx eax, word [rcx]
mov word [rdx], ax
lea rcx, [rcx + 2]
lea rdx, [rdx + 2]
test ax, ax
jne 0x180049892
mov rcx, r12
lea rbx, [0x180000000]
nop
movzx eax, word [rcx + rbx + 0x1eb908]
mov word [rbp + rcx + 0x660], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x1800498b0
movzx eax, word [rbp - 0x7a]
movzx r9d, word [rbp - 0x7e]
movzx r8d, word [rbp - 0x80]
mov dword [rsp + 0x20], eax
lea rdx, [0x1801f5010]
lea rcx, [rbp + 0x450]
call fcn.1800b5a54
movzx eax, word [rbp - 0x7a]
movzx r9d, word [rbp - 0x7e]
movzx r8d, word [rbp - 0x80]
mov dword [rsp + 0x20], eax
lea rdx, [0x1801f5010]
lea rcx, [rbp - 0x70]
call fcn.1800b5a54
test esi, esi
jne 0x18004996b
lea rcx, [rbp + 0x30]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180049920
mov rax, qword [str.UseData.ini]
mov qword [rcx], rax
mov rax, qword [0x1801f5038]
mov qword [rcx + 8], rax
mov rax, qword [0x1801f5040]
mov qword [rcx + 0x10], rax
mov rcx, r12
nop dword [rax]
movzx eax, word [rcx + rbx + 0x1f5048]
mov word [rbp + rcx - 0x40], ax
lea rcx, [rcx + 2]
test ax, ax
jne 0x180049950
jmp 0x180049a12
mov r8d, esi
lea rdx, [0x1801ebd34]
lea rcx, [rbp - 0x58]
call fcn.1800b5a54
lea rcx, [rbp + 0x30]
sub rcx, 2
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x180049986
mov rax, qword [str.UseData]
mov qword [rcx], rax
mov rax, qword [0x1801eb910]
mov qword [rcx + 8], rax
lea rcx, [rbp + 0x30]
sub rcx, 2
nop dword [rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1800499b0
lea r8, [rbp - 0x58]
xor edx, edx
movzx eax, word [r8 + rdx*2]
mov word [rcx + rdx*2], ax
lea rdx, [rdx + 1]
test ax, ax
jne 0x1800499c0
lea rcx, [rbp + 0x30]
sub rcx, 2
nop word [rax + rax]
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1800499e0
mov rax, qword [str..ini]
mov qword [rcx], rax
movzx eax, word [0x1801eb808]
mov word [rcx + 8], ax
mov r8d, esi
lea rdx, str.OutWordTotal_d
lea rcx, [rbp - 0x40]
call fcn.1800b5a54
lea r9, [rbp + 0x30]
xor r8d, r8d
lea rdx, [rbp + 0x450]
lea rcx, [rbp + 0x660]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r15d, eax
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r9, qword [rsp + 0x40]
xor r8d, r8d
lea rdx, [rbp - 0x40]
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r14d, eax
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r9, qword [rsp + 0x40]
xor r8d, r8d
lea rdx, str.LastUseDate
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edi, eax
lea rcx, [rbp - 0x70]
call fcn.1800baa0c
mov ebx, eax
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r9, qword [rsp + 0x40]
xor r8d, r8d
lea rdx, str.TodayOutWordTotal
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
cmp ebx, edi
je 0x180049ae7
mov esi, r12d
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r9, qword [rsp + 0x40]
lea r8, [rbp - 0x70]
lea rdx, str.LastUseDate
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [r13 + 0x150]
add esi, eax
lea r8d, [r15 + rax]
add r14d, eax
lea rdx, [0x1801ebd34]
lea rcx, [rbp + 0x240]
call fcn.1800b5a54
lea r9, [rbp + 0x30]
lea r8, [rbp + 0x240]
lea rdx, [rbp + 0x450]
lea rcx, [rbp + 0x660]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov r8d, esi
lea rdx, [0x1801ebd34]
lea rcx, [rbp + 0x240]
call fcn.1800b5a54
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r9, qword [rsp + 0x40]
lea r8, [rbp + 0x240]
lea rdx, str.TodayOutWordTotal
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov r8d, r14d
lea rdx, [0x1801ebd34]
lea rcx, [rbp + 0x870]
call fcn.1800b5a54
lea r9, [rsp + 0x40]
cmp qword [rsp + 0x58], 8
cmovae r9, qword [rsp + 0x40]
lea r8, [rbp + 0x870]
lea rdx, [rbp - 0x40]
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [r13 + 0x150], r12d
cmp qword [rsp + 0x58], 8
jb 0x180049bc3
mov rcx, qword [rsp + 0x40]
call fcn.1800b5354
mov qword [rsp + 0x58], 7
mov qword [rsp + 0x50], r12
mov word [rsp + 0x40], r12w
cmp qword [rsp + 0x78], 8
jb 0x180049be9
mov rcx, qword [rsp + 0x60]
call fcn.1800b5354
mov rcx, qword [rbp + 0xa80]
xor rcx, rsp
call fcn.1800b5370
lea r11, [rsp + 0xb90]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret