Function at 0x496580
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52718b
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x56f28c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x28], 0x80004005
mov dword [ebp - 0x10], 0x80004005
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x20]
call fcn.004457d0
mov dword [ebp - 4], 0
mov dword [ebp - 0x24], 0x400
lea ecx, [ebp - 0x1c]
call fcn.004457d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004457d0
mov byte [ebp - 4], 2
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x20]
call fcn.00418990
lea ecx, [ebp - 0x20]
call fcn.00445980
movzx ecx, al
test ecx, ecx
je 0x496615
cmp dword [0x573578], 0
je 0x496610
int3
jmp 0x4967c4
xor edx, edx
jne 0x4965f7
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x30]
call fcn.00496b50
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x49663d
cmp dword [0x573578], 0
je 0x496638
int3
jmp 0x4967c4
xor ecx, ecx
jne 0x496628
lea ecx, [ebp - 0x18]
call fcn.0046ade0
push eax
push 0x400
push 0x400
lea ecx, [ebp - 0x1c]
call fcn.00418d50
push eax
push 0x53dd44
push 0x53dcf4
lea ecx, [ebp - 0x20]
call fcn.0046ade0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00428020
push 0xa
push 0
lea ecx, [ebp - 0x1c]
call fcn.0046ade0
push eax
call fcn.00505f6e
add esp, 0xc
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ecx + 4], edx
lea ecx, [ebp - 0x18]
call fcn.0046ade0
push eax
push 0x400
push 0x400
lea ecx, [ebp - 0x1c]
call fcn.00418d50
push eax
push 0x53dd48
push str.LastFlux
lea ecx, [ebp - 0x20]
call fcn.0046ade0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00428020
push 0xa
push 0
lea ecx, [ebp - 0x1c]
call fcn.0046ade0
push eax
call fcn.00505f6e
add esp, 0xc
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov dword [ecx + 4], edx
lea ecx, [ebp - 0x18]
call fcn.0046ade0
push eax
push 0x400
push 0x400
lea ecx, [ebp - 0x1c]
call fcn.00418d50
push eax
push 0x53dd4c
push str.CurMonthFlux
lea ecx, [ebp - 0x20]
call fcn.0046ade0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00428020
push 0xa
push 0
lea ecx, [ebp - 0x1c]
call fcn.0046ade0
push eax
call fcn.00505f6e
add esp, 0xc
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov dword [ecx + 4], edx
lea ecx, [ebp - 0x18]
call fcn.0046ade0
push eax
push 0x400
push 0x400
lea ecx, [ebp - 0x1c]
call fcn.00418d50
push eax
push 0x53dd50
push str.FluxTime
lea ecx, [ebp - 0x20]
call fcn.0046ade0
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov dword [ebp - 0x14], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00428020
push 0xa
push 0
lea ecx, [ebp - 0x1c]
call fcn.0046ade0
push eax
call fcn.00505f6e
add esp, 0xc
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
mov dword [ecx + 4], edx
mov dword [ebp - 0x28], 0
mov edx, dword [ebp - 0x28]
mov dword [ebp - 0x2c], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.004458f0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.004458f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004458f0
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret 0x14