Function at 0x10041a60
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x1009fa06
mov eax, dword fs:[0]
push eax
mov eax, 0x2030
call fcn.10088280
mov eax, dword [0x100c230c]
xor eax, esp
mov dword [esp + 0x202c], eax
push ebx
push ebp
push edi
mov eax, dword [0x100c230c]
xor eax, esp
push eax
lea eax, [esp + 0x2040]
mov dword fs:[0], eax
xor ebp, ebp
mov dword [esp + 0x2048], ebp
push 0x1ffe
mov edi, ecx
lea ecx, [esp + 0x42]
xor eax, eax
push ebp
mov dword [esp + 0x1c], ebp
push ecx
mov dword [esp + 0x44], esi
mov word [esp + 0x48], ax
call fcn.10079c60
add esp, 0xc
push esi
call fcn.100614b0
mov dword [esp + 0x2048], ebp
mov edi, dword [edi]
push edi
mov ebx, 1
push ecx
mov dword [esp + 0x1c], ebx
call fcn.1006c580
add esp, 4
push eax
call fcn.1006c900
cmp eax, ebp
je 0x10041c96
mov ecx, dword [eax + 0xc]
cmp ecx, ebp
je 0x10041b25
mov edx, dword [ecx]
push 0x1000
lea eax, [esp + 0x40]
push eax
push 0x100a6f30
push 0x100a6500
push str.ndays
push ecx
mov ecx, dword [edx + 0x18]
call ecx
jmp 0x10041b47
mov eax, dword [eax]
push eax
push 0x1000
lea edx, [esp + 0x44]
push edx
push 0x100a6f30
push 0x100a6500
push str.ndays
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x20]
push eax
call fcn.100614b0
mov dword [esp + 0x2048], ebx
lea ecx, [esp + 0x10]
push ecx
mov ecx, 0x100a650c
call fcn.10002500
mov bl, 2
mov byte [esp + 0x2048], bl
lea edx, [esp + 0x18]
push edx
lea ecx, [esp + 0x40]
call fcn.10002500
mov byte [esp + 0x2048], 3
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.1006d160
add esp, 0xc
mov byte [esp + 0x2048], bl
lea ecx, [esp + 0x18]
call fcn.100025b0
mov byte [esp + 0x2048], 1
lea ecx, [esp + 0x10]
call fcn.100025b0
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
sar eax, 2
test eax, eax
jbe 0x10041c47
cmp ebp, eax
jb 0x10041bd6
call fcn.100759ec
mov eax, dword [esp + 0x2c]
mov eax, dword [eax + ebp*4]
push eax
call fcn.100760cf
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0x10041c37
mov edx, dword [esi + 0xc]
test edx, edx
jne 0x10041bf9
xor ecx, ecx
jmp 0x10041c01
mov ecx, dword [esi + 0x14]
sub ecx, edx
sar ecx, 2
mov edi, dword [esi + 0x10]
mov ebx, edi
sub ebx, edx
sar ebx, 2
cmp ebx, ecx
jae 0x10041c19
mov dword [edi], eax
add edi, 4
mov dword [esi + 0x10], edi
jmp 0x10041c37
cmp edx, edi
jbe 0x10041c22
call fcn.100759ec
mov eax, dword [esi]
push edi
push eax
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x24]
push edx
mov eax, esi
call fcn.100664f0
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x2c]
inc ebp
sar eax, 2
cmp ebp, eax
jb 0x10041bd6
mov ebp, dword [esi + 0x10]
cmp dword [esi + 0xc], ebp
jbe 0x10041c54
call fcn.100759ec
mov edi, dword [esi + 0xc]
mov ebx, dword [esi]
cmp edi, dword [esi + 0x10]
jbe 0x10041c63
call fcn.100759ec
mov eax, dword [esi]
test ebx, ebx
je 0x10041c6d
cmp ebx, eax
je 0x10041c72
call fcn.100759ec
mov eax, ebp
sub eax, edi
sar eax, 2
push eax
push ebp
push edi
call fcn.10045160
add esp, 0xc
mov byte [esp + 0x2048], 0
lea ecx, [esp + 0x20]
push ecx
call fcn.100034a0
mov eax, esi
mov ecx, dword [esp + 0x2040]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
mov ecx, dword [esp + 0x202c]
xor ecx, esp
call fcn.100755ed
add esp, 0x203c
ret