Function at 0x404480
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x58b86a
mov eax, dword fs:[0]
push eax
mov eax, 0x1048
call fcn.004c3410
mov eax, dword [0x5f4760]
xor eax, esp
mov dword [esp + 0x1040], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5f4760]
xor eax, esp
push eax
lea eax, [esp + 0x105c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x1074]
mov edi, ecx
lea ecx, [esp + 0x1c]
mov eax, 0x3b
push ecx
mov word [esp + 0x24], ax
call fcn.004030f0
xor ebx, ebx
mov dword [esp + 0x1064], ebx
lea edx, [esp + 0x18]
push edx
call fcn.004030f0
mov byte [esp + 0x1064], 1
push 0x101f
lea eax, [esp + 0x39]
push ebx
push eax
mov byte [esp + 0x40], bl
call fcn.004add60
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
call fcn.00404230
test eax, eax
je 0x404594
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
push 0x101f
lea edx, [esp + 0x3c]
push edx
push 0x5d2b98
push str.EndTime
push eax
call esi
lea eax, [esp + 0x34]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x404548
sub eax, edx
jne 0x40455f
mov byte [esp + 0x1064], bl
jmp 0x404819
lea edx, [esp + 0x34]
push edx
call fcn.004a3641
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
cmp eax, ebx
jne 0x40457c
cmp edx, ebx
je 0x404553
mov ecx, dword [esp + 0x1070]
cmp ecx, edx
jl 0x4045ba
jg 0x404594
cmp dword [esp + 0x106c], eax
jbe 0x4045ba
xor ebx, ebx
mov byte [esp + 0x1064], bl
lea edx, [esp + 0x18]
push edx
call fcn.00403090
mov dword [esp + 0x1064], 0xffffffff
lea eax, [esp + 0x1c]
push eax
jmp 0x404833
mov ebx, dword [edi + 0x18]
cmp ebx, eax
jne 0x404606
mov eax, dword [edi + 0x1c]
cmp eax, edx
jne 0x404606
mov edx, dword [esp + 0x106c]
mov dword [edi + 8], edx
mov dword [edi + 0xc], ecx
mov byte [esp + 0x1064], 0
lea eax, [esp + 0x18]
push eax
call fcn.00403090
mov dword [esp + 0x1064], 0xffffffff
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403090
mov eax, 1
jmp 0x40483a
lea edx, [esp + 0x34]
lea ebx, [esp + 0x18]
call fcn.00403440
mov edx, dword [esp + 0x1c]
mov eax, dword [ebp]
push edx
push 0x101f
lea ecx, [esp + 0x3c]
push ecx
push 0x5d2b98
push str.StartTime
push eax
call esi
lea eax, [esp + 0x34]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x404640
sub eax, edx
jne 0x404671
mov byte [esp + 0x1064], al
lea edx, [esp + 0x18]
push edx
call fcn.00403090
mov dword [esp + 0x1064], 0xffffffff
lea eax, [esp + 0x1c]
push eax
jmp 0x404833
lea ecx, [esp + 0x34]
push ecx
call fcn.004a3641
add esp, 4
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x1c]
push edx
push 0xffffffffffffffff
mov dword [esp + 0x2c], eax
mov eax, dword [ebp]
push 0x5d2ca4
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov esi, eax
cmp esi, 2
ja 0x404811
call fcn.00403f40
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
mov dword [edi + 0x18], eax
lea ebx, [edi + 0x20]
lea eax, [esp + 0x18]
mov dword [edi], esi
mov dword [edi + 0x1c], ecx
call fcn.00406760
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [edi + 0x10], edx
lea ebx, [edi + 0x24]
lea edx, [esp + 0x34]
mov dword [edi + 0x14], eax
call fcn.00403440
mov ecx, dword [esp + 0x106c]
mov edx, dword [esp + 0x1070]
lea eax, [edi + 0x28]
mov dword [edi + 8], ecx
mov dword [edi + 0xc], edx
mov dword [esp + 0x2c], eax
call fcn.00405480
mov ecx, dword [esp + 0x1c]
mov eax, dword [ebp]
push ecx
push 0
push str.Count
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, eax
xor esi, esi
mov dword [esp + 0x24], ebx
test ebx, ebx
jle 0x4047e3
push 0x1020
lea edx, [esp + 0x38]
push 0
push edx
call fcn.004add60
add esp, 0xc
push esi
push str.List_d
lea edi, [esp + 0x20]
call fcn.00402e20
mov ecx, dword [esp + 0x24]
mov eax, dword [ebp]
add esp, 8
push ecx
mov ecx, dword [esp + 0x1c]
push 0x101f
lea edx, [esp + 0x3c]
push edx
push 0x5d2b98
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x38]
push eax
call fcn.004a4487
add esp, 8
test eax, eax
je 0x4047da
jmp 0x404790
mov edx, eax
lea ebx, [esp + 0x18]
call fcn.00403440
call fcn.00406560
mov edi, eax
call fcn.00406480
mov ecx, dword [esp + 0x18]
cmp dword [ecx - 0xc], 0
je 0x4047c3
mov edx, dword [esp + 0x2c]
push edx
mov ecx, ebx
call fcn.00405320
mov dword [eax], 1
lea eax, [esp + 0x20]
push eax
push 0
call fcn.004a4487
add esp, 8
test eax, eax
jne 0x404790
mov ebx, dword [esp + 0x24]
inc esi
cmp esi, ebx
jl 0x404728
mov byte [esp + 0x1064], 0
lea ecx, [esp + 0x18]
push ecx
call fcn.00403090
mov dword [esp + 0x1064], 0xffffffff
lea edx, [esp + 0x1c]
push edx
call fcn.00403090
mov eax, 1
jmp 0x40483a
mov byte [esp + 0x1064], 0
lea eax, [esp + 0x18]
push eax
call fcn.00403090
mov dword [esp + 0x1064], 0xffffffff
lea ecx, [esp + 0x1c]
push ecx
call fcn.00403090
xor eax, eax
mov ecx, dword [esp + 0x105c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1040]
xor ecx, esp
call fcn.004a314d
add esp, 0x1054
ret 0xc