Function at 0x401630
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58af5f
mov eax, dword fs:[0]
push eax
sub esp, 0x880
mov eax, dword [0x616a64]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 0x28]
mov ebx, dword [ebp + 0x24]
mov esi, dword [ebp + 0x2c]
mov dword [ebp - 0x88c], eax
lea eax, [edi + 4]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x828]
call fcn.00402fa0
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 1
je 0x4016b5
lea eax, [edi + 0x1c]
lea ecx, [ebp - 0x828]
cmp ecx, eax
je 0x4016b5
cmp dword [eax + 0x14], 8
mov ecx, eax
jb 0x4016a6
mov ecx, dword [eax]
push dword [eax + 0x10]
push ecx
lea ecx, [ebp - 0x828]
call fcn.004030d0
lea eax, [ebp + 0xc]
push eax
call fcn.0040ff7e
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.0040f3b8
push 0x800
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.00565ca0
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x828]
add esp, 0x18
lea ecx, [ebp - 0x840]
cmp dword [ebp - 0x814], 8
cmovae eax, dword [ebp - 0x828]
cmp dword [ebp - 0x82c], 8
push eax
cmovae ecx, dword [ebp - 0x840]
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0x60af24
push str.LastUpdTimeStamp
push ecx
call edi
xor eax, eax
mov dword [ebp - 0x860], 0
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x85c], 7
mov word [ebp - 0x870], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401756
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x870]
call fcn.004030d0
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x860]
test edx, edx
je 0x401a75
lea eax, [ebp - 0x870]
cmp ebx, eax
je 0x4017ab
cmp dword [ebp - 0x85c], 8
mov ecx, ebx
push edx
cmovae eax, dword [ebp - 0x870]
push eax
call fcn.004030d0
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
lea ecx, [ebp - 0x840]
cmovae eax, dword [ebp - 0x828]
cmp dword [ebp - 0x82c], 8
push eax
cmovae ecx, dword [ebp - 0x840]
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0x60af24
push str.CacheTime
push ecx
call edi
lea edx, [ebp - 0x810]
lea ecx, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x4017f6
sub edx, ecx
lea eax, [ebp - 0x810]
mov ecx, dword [ebp - 0x88c]
sar edx, 1
push edx
push eax
call fcn.004030d0
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
lea ecx, [ebp - 0x840]
cmovae eax, dword [ebp - 0x828]
cmp dword [ebp - 0x82c], 8
push eax
cmovae ecx, dword [ebp - 0x840]
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0x60af24
push str.File
push ecx
call edi
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401863
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.004030d0
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40188b
mov eax, dword [esi]
push eax
call fcn.00411448
add esp, 4
test al, al
je 0x401a75
cmp dword [ebp - 0x814], 8
lea eax, [ebp - 0x828]
lea ecx, [ebp - 0x840]
cmovae eax, dword [ebp - 0x828]
cmp dword [ebp - 0x82c], 8
push eax
cmovae ecx, dword [ebp - 0x840]
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0x60af24
push str.LastMD5
push ecx
call edi
xor eax, eax
mov dword [ebp - 0x848], 0
lea ecx, [ebp - 0x810]
mov dword [ebp - 0x844], 7
mov word [ebp - 0x858], ax
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401904
sub ecx, edx
lea eax, [ebp - 0x810]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x858]
call fcn.004030d0
mov byte [ebp - 4], 4
cmp dword [ebp - 0x848], 0
jne 0x40193a
xor bl, bl
jmp 0x401a16
cmp dword [esi + 0x14], 8
jb 0x401942
mov esi, dword [esi]
sub esp, 0x18
mov ecx, esi
mov edx, esp
xor eax, eax
lea edi, [ecx + 2]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 7
mov word [edx], ax
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401960
sub ecx, edi
sar ecx, 1
push ecx
push esi
mov ecx, edx
call fcn.004030d0
lea eax, [ebp - 0x888]
push eax
call fcn.004112d0
lea eax, [ebp - 0x858]
mov byte [ebp - 4], 5
push eax
call fcn.0040ff7e
lea eax, [ebp - 0x888]
push eax
call fcn.0040ff7e
add esp, 0x24
lea edx, [ebp - 0x888]
lea ecx, [ebp - 0x858]
call fcn.00403530
mov edx, dword [ebp - 0x874]
mov bl, al
xor bl, 1
cmp edx, 8
jb 0x4019f9
mov ecx, dword [ebp - 0x888]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4019ef
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401bc7
push edx
push ecx
call fcn.0055f42f
add esp, 8
xor eax, eax
mov dword [ebp - 0x878], 0
mov dword [ebp - 0x874], 7
mov word [ebp - 0x888], ax
mov edx, dword [ebp - 0x844]
cmp edx, 8
jb 0x401a56
mov ecx, dword [ebp - 0x858]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401a4c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401bcc
push edx
push ecx
call fcn.0055f42f
add esp, 8
xor eax, eax
mov dword [ebp - 0x848], 0
mov dword [ebp - 0x844], 7
mov word [ebp - 0x858], ax
jmp 0x401a77
xor bl, bl
mov edx, dword [ebp - 0x85c]
cmp edx, 8
jb 0x401ab7
mov ecx, dword [ebp - 0x870]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401aad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401bd1
push edx
push ecx
call fcn.0055f42f
add esp, 8
mov edx, dword [ebp - 0x82c]
cmp edx, 8
jb 0x401af7
mov ecx, dword [ebp - 0x840]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401aed
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401bd6
push edx
push ecx
call fcn.0055f42f
add esp, 8
mov edx, dword [ebp - 0x814]
xor eax, eax
mov dword [ebp - 0x830], 0
mov dword [ebp - 0x82c], 7
mov word [ebp - 0x840], ax
cmp edx, 8
jb 0x401b54
mov ecx, dword [ebp - 0x828]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401b4a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401bdb
push edx
push ecx
call fcn.0055f42f
add esp, 8
mov edx, dword [ebp + 0x20]
xor eax, eax
mov dword [ebp - 0x818], 0
mov dword [ebp - 0x814], 7
mov word [ebp - 0x828], ax
cmp edx, 8
jb 0x401ba7
mov ecx, dword [ebp + 0xc]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x401b9d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401be0
push edx
push ecx
call fcn.0055f42f
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0055f3e9
mov esp, ebp
pop ebp
ret 0x28
call fcn.00568f31
call fcn.00568f31
call fcn.00568f31
call fcn.00568f31
call fcn.00568f31
call fcn.00568f31
int3