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

Disassembly:
push 0x880
mov eax, 0x4836d0
call fcn.00417c9f
mov edi, ecx
mov eax, dword [ebp + 0x28]
mov ebx, dword [ebp + 0x24]
mov esi, dword [ebp + 0x2c]
mov dword [ebp - 0x88c], eax
and dword [ebp - 4], 0
lea eax, [edi + 4]
push eax
lea ecx, [ebp - 0x828]
call fcn.00409ee0
cmp dword [ebp + 8], 0
mov byte [ebp - 4], 1
je 0x4275ec
lea eax, [edi + 0x1c]
lea ecx, [ebp - 0x828]
cmp ecx, eax
je 0x4275ec
push 0xffffffffffffffff
push 0
push eax
call fcn.0040b930
lea eax, [ebp + 0xc]
push eax
call fcn.0041dc93
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x840]
push eax
call fcn.0041d42b
push 0x800
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 2
push 0
push eax
call fcn.00434750
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 0x49ad5c
push 0x48a428
push ecx
call edi
and dword [ebp - 0x860], 0
xor eax, eax
mov dword [ebp - 0x85c], 7
mov word [ebp - 0x870], ax
cmp word [ebp - 0x810], ax
je 0x427697
lea eax, [ebp - 0x810]
push eax
call fcn.00445ea7
pop ecx
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x870]
call fcn.0040b830
cmp dword [ebp - 0x860], 0
mov byte [ebp - 4], 3
je 0x4278d0
lea eax, [ebp - 0x870]
cmp ebx, eax
je 0x4276d1
push 0xffffffffffffffff
push 0
push eax
mov ecx, ebx
call fcn.0040b930
push 8
pop ebx
cmp dword [ebp - 0x814], ebx
lea eax, [ebp - 0x828]
lea ecx, [ebp - 0x840]
cmovae eax, dword [ebp - 0x828]
cmp dword [ebp - 0x82c], ebx
push eax
cmovae ecx, dword [ebp - 0x840]
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0x49ad5c
push str.CacheTime
push ecx
call edi
cmp word [ebp - 0x810], 0
jne 0x427722
xor eax, eax
jmp 0x42772f
lea eax, [ebp - 0x810]
push eax
call fcn.00445ea7
pop ecx
mov ecx, dword [ebp - 0x88c]
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.0040b830
cmp dword [ebp - 0x814], ebx
lea eax, [ebp - 0x828]
lea ecx, [ebp - 0x840]
cmovae eax, dword [ebp - 0x828]
cmp dword [ebp - 0x82c], ebx
push eax
cmovae ecx, dword [ebp - 0x840]
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0x49ad5c
push str.File
push ecx
call edi
cmp word [ebp - 0x810], 0
jne 0x427790
xor eax, eax
jmp 0x42779d
lea eax, [ebp - 0x810]
push eax
call fcn.00445ea7
pop ecx
push eax
lea eax, [ebp - 0x810]
mov ecx, esi
push eax
call fcn.0040b830
cmp dword [esi + 0x14], ebx
jb 0x4277b5
mov eax, dword [esi]
jmp 0x4277b7
mov eax, esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4278d0
cmp dword [ebp - 0x814], ebx
lea eax, [ebp - 0x828]
lea ecx, [ebp - 0x840]
cmovae eax, dword [ebp - 0x828]
cmp dword [ebp - 0x82c], ebx
push eax
cmovae ecx, dword [ebp - 0x840]
lea eax, [ebp - 0x810]
push 0x400
push eax
push 0x49ad5c
push str.LastMD5
push ecx
call edi
and dword [ebp - 0x848], 0
xor eax, eax
mov dword [ebp - 0x844], 7
mov word [ebp - 0x858], ax
cmp word [ebp - 0x810], ax
je 0x427836
lea eax, [ebp - 0x810]
push eax
call fcn.00445ea7
pop ecx
push eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x858]
call fcn.0040b830
cmp dword [ebp - 0x848], 0
mov byte [ebp - 4], 4
jne 0x42785a
xor bl, bl
jmp 0x4278bf
cmp dword [esi + 0x14], ebx
jb 0x427861
mov esi, dword [esi]
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00409e80
lea eax, [ebp - 0x888]
push eax
call fcn.00420324
lea eax, [ebp - 0x858]
mov byte [ebp - 4], 5
push eax
call fcn.0041dc93
lea eax, [ebp - 0x888]
push eax
call fcn.0041dc93
add esp, 0x24
lea eax, [ebp - 0x888]
lea ecx, [ebp - 0x858]
push eax
call fcn.0040dd90
push 0
push 1
lea ecx, [ebp - 0x888]
mov esi, eax
call fcn.0040b7c0
test esi, esi
sete bl
push 0
push 1
lea ecx, [ebp - 0x858]
call fcn.0040b7c0
jmp 0x4278d2
xor bl, bl
push 0
push 1
lea ecx, [ebp - 0x870]
call fcn.0040b7c0
push 0
push 1
lea ecx, [ebp - 0x840]
call fcn.0040b7c0
push 0
push 1
lea ecx, [ebp - 0x828]
call fcn.0040b7c0
push 0
push 1
lea ecx, [ebp + 0xc]
call fcn.0040b7c0
mov al, bl
call fcn.00417c5a
ret 0x28