Function at 0x4129ee
Capabilities:
Check if file exists

Disassembly:
push 0x68
mov eax, 0x424fe9
call fcn.0042318c
mov dword [ebp - 0x28], ecx
and dword [ebp - 0x18], 0
xor ebx, ebx
inc ebx
mov dword [ebp - 4], ebx
call fcn.00401cfb
push eax
lea ecx, [ebp - 0x74]
call fcn.00405873
cmp dword [ebp - 0x74], 0
je 0x412a24
cmp dword [ebp - 0x74], ebx
je 0x412a24
xor esi, esi
jmp 0x412a26
mov esi, ebx
lea ecx, [ebp - 0x74]
call fcn.0040593f
test esi, esi
jne 0x412a48
push str.CMD3
push 0x426ad8
call fcn.00419776
pop ecx
pop ecx
jmp 0x412bff
mov byte [ebp - 4], 2
call fcn.00401b0a
push eax
lea ecx, [ebp - 0x14]
call fcn.00401564
mov byte [ebp - 4], 3
call fcn.0040117a
mov eax, dword [eax + 4]
push dword [eax + 0x1c]
lea eax, [ebp - 0x14]
push 0x42b9a0
push eax
call fcn.0040731f
mov eax, dword [ebp + 8]
add esp, 0xc
mov edi, dword [ebp - 0x14]
add eax, 0xfffffff0
mov dword [ebp - 0x24], eax
cmp dword [eax + 4], 0
jne 0x412acf
mov eax, dword [ebp + 0xc]
cmp dword [eax - 0xc], 0
je 0x412aa2
push edi
lea ecx, [ebp + 0xc]
call fcn.0040b85e
test eax, eax
jne 0x412acf
cmp dword [ebp + 0x10], 0
jne 0x412acf
call fcn.0040117a
push 0x967
lea ecx, [ebp - 0x20]
push ecx
mov ecx, eax
call fcn.00405304
mov dword [ebp - 0x18], ebx
push dword [eax]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0xd], bl
test eax, eax
je 0x412ad3
mov byte [ebp - 0xd], 0
test byte [ebp - 0x18], 1
je 0x412ae4
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040188c
cmp byte [ebp - 0xd], 0
je 0x412b00
push 0x42e200
push 0x426ad8
call fcn.00419776
pop ecx
pop ecx
jmp 0x412bf7
push ecx
mov ebx, esp
push dword [ebp + 0x10]
push ecx
mov esi, esp
mov dword [ebp + 0x10], esp
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00406d2d
add eax, 0x10
mov dword [esi], eax
push ecx
mov byte [ebp - 4], 4
mov esi, esp
mov dword [ebp - 0x20], esi
mov ecx, dword [ebp - 0x24]
call fcn.00406d2d
add eax, 0x10
mov dword [esi], eax
push ebx
mov byte [ebp - 4], 3
call fcn.004110f9
lea eax, [ebp - 0x1c]
push eax
call fcn.004125bb
mov byte [ebp - 4], 6
call fcn.00401b0a
push eax
lea ecx, [ebp + 0x10]
call fcn.00401564
xor eax, eax
mov byte [ebp - 4], 7
push dword [ebp - 0x1c]
inc eax
push eax
lea eax, [ebp + 0x10]
push str.Key_dData_s
push eax
call fcn.0040739d
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x18]
add esp, 0x10
xor ebx, ebx
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.0040ff95
mov esi, dword [ebp + 0x10]
test eax, eax
je 0x412bd3
push dword [esi - 0xc]
push esi
push ebx
push ebx
push dword [ebp - 0x18]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov dword [ebp + 0x10], eax
test eax, eax
jne 0x412bad
push 0x42e230
jmp 0x412bb2
push 0x42e244
push 0x426ad8
call fcn.00419776
mov ebx, dword [sym.imp.WININET.dll_InternetCloseHandle]
pop ecx
pop ecx
push dword [ebp - 0x24]
call ebx
push dword [ebp - 0x18]
call ebx
mov ebx, dword [ebp + 0x10]
jmp 0x412be4
push 0x42e258
push 0x426ad8
call fcn.00419776
pop ecx
pop ecx
lea ecx, [esi - 0x10]
call fcn.0040188c
mov ecx, dword [ebp - 0x1c]
lea ecx, [ecx - 0x10]
call fcn.0040188c
lea ecx, [edi - 0x10]
call fcn.0040188c
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040188c
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.0040188c
mov eax, ebx
call fcn.00423155
ret 0xc