Function at 0x412c22
Capabilities:
Check if file exists

Disassembly:
push 0x28c
mov eax, 0x4896d1
call fcn.0044465a
push str.cfgupt
lea eax, [ebp - 0x250]
push str.Softwareprojonepodlp_
xor ebx, ebx
push eax
mov dword [ebp - 0x25c], ebx
call fcn.004012e7
add esp, 0xc
push 0x7d0
push str.globalCfgUpTime
mov ecx, 0x490e08
mov dword [ebp - 4], ebx
call fcn.004118ae
mov dword [ebp - 0x258], eax
cmp eax, ebx
jne 0x412c86
push 0x490e1c
call fcn.0041fc97
xor edi, edi
pop ecx
inc edi
jmp 0x412e96
cmp dword [ebp - 0x238], 0x10
mov eax, dword [ebp - 0x24c]
jae 0x412c9b
lea eax, [ebp - 0x24c]
cmp eax, ebx
je 0x412cfa
cmp dword [ebp - 0x238], 0x10
mov eax, dword [ebp - 0x24c]
jae 0x412cb4
lea eax, [ebp - 0x24c]
push dword [ebp - 0x258]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x412cfa
lea ecx, [ebp - 0x234]
call fcn.00421025
xor edi, edi
inc edi
cmp dword [eax + 0x18], 8
mov dword [ebp - 0x25c], edi
jb 0x412ce4
mov eax, dword [eax + 4]
jmp 0x412ce7
add eax, 4
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412cfd
mov byte [ebp - 0x251], bl
jmp 0x412d04
xor edi, edi
inc edi
mov byte [ebp - 0x251], 1
test byte [ebp - 0x25c], 1
je 0x412d1a
push ebx
push edi
lea esi, [ebp - 0x234]
call fcn.00403d0d
cmp byte [ebp - 0x251], bl
je 0x412e8b
push str.global_cfg_changed__download_now
call fcn.0041f8dc
pop ecx
call fcn.0041c358
xor edx, edx
mov ecx, 0x2710
div ecx
push edx
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
push 0x206
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push ebx
push eax
mov dword [ebp - 0x260], ebx
call fcn.00444cd0
add esp, 0xc
lea ecx, [ebp - 0x27c]
call fcn.00421025
cmp dword [eax + 0x18], 8
jb 0x412d80
mov eax, dword [eax + 4]
jmp 0x412d83
add eax, 4
push 0x104
push eax
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push ebx
push edi
lea esi, [ebp - 0x27c]
call fcn.00403d0d
push str..tmp
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push edi
lea ecx, [ebp - 0x27c]
call fcn.00420d9c
pop ecx
mov byte [ebp - 4], 1
cmp dword [eax + 0x18], 0x10
jb 0x412dd1
mov eax, dword [eax + 4]
jmp 0x412dd4
add eax, 4
push 0x32e3
push eax
push str.https:___s:_d_globalCfgsWithKeys
lea esi, [ebp - 0x234]
call fcn.0041dc15
add esp, 0xc
push ebx
push edi
lea ecx, [ebp - 0x27c]
mov byte [ebp - 4], 3
call fcn.00403c15
mov eax, esi
push eax
lea eax, [ebp - 0x298]
push eax
call fcn.00422494
pop ecx
pop ecx
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.00403a7a
push ebx
push edi
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 3
call fcn.00403c15
cmp dword [ebp - 0x21c], 0x10
mov eax, dword [ebp - 0x230]
jae 0x412e44
lea eax, [ebp - 0x230]
lea ecx, [ebp - 0x260]
push ecx
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.0041fe6a
test eax, eax
je 0x412ea9
cmp dword [ebp - 0x260], 0xc8
jne 0x412ea9
push ebx
push dword [ebp - 0x258]
lea eax, [ebp - 0x218]
push eax
call fcn.00412b27
push ebx
push edi
lea ecx, [ebp - 0x234]
mov byte [ebp - 4], bl
call fcn.00403c15
push dword [ebp - 0x258]
call fcn.0041f4d9
push ebx
push edi
lea ecx, [ebp - 0x250]
call fcn.00403c15
call fcn.004446dd
ret
push str.global_cfg_download_failed
call fcn.0041fc97
pop ecx
push dword [ebp - 0x258]
call fcn.0041f4d9
push ebx
push edi
lea ecx, [ebp - 0x234]
call fcn.00403c15
jmp 0x412e96