Function at 0x42e400
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5b33b6
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x62c930]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x62c930]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x164]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x15c], 1
mov eax, dword [esp + 0x188]
xor edi, edi
mov ebx, 0x10
mov dword [ebp + 0x1c], edi
mov dword [esp + 0x1c], 0xfffffc19
cmp dword [esp + 0x19c], ebx
jae 0x42e47a
lea eax, [esp + 0x188]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42e4a5
mov eax, dword [esp + 0x188]
cmp dword [esp + 0x19c], ebx
jae 0x42e49c
lea eax, [esp + 0x188]
push eax
call fcn.00586358
add esp, 4
push 5
xor ecx, ecx
lea esi, [esp + 0x44]
lea edx, [esp + 0x16c]
mov dword [esp + 0x1c], edi
call fcn.00405e80
mov esi, dword [eax + 0x14]
mov ecx, esi
cmp ecx, esi
jae 0x42e4c6
mov ecx, esi
cmp esi, 5
jb 0x42e4d2
mov ecx, 5
cmp dword [eax + 0x18], ebx
jb 0x42e4dc
mov eax, dword [eax + 4]
jmp 0x42e4df
add eax, 4
push ecx
mov ecx, str.https
mov edx, eax
call fcn.004074c0
add esp, 4
cmp eax, edi
jne 0x42e507
cmp esi, 5
jae 0x42e4fd
or eax, 0xffffffff
jmp 0x42e505
xor eax, eax
cmp esi, 5
setne al
cmp eax, edi
mov esi, 0x10
sete bl
mov byte [esp + 0x15c], 1
cmp dword [esp + 0x58], esi
jb 0x42e52a
mov eax, dword [esp + 0x44]
push eax
call fcn.005759d0
add esp, 4
test bl, bl
je 0x42e536
mov dword [esp + 0x18], 1
mov ecx, dword [esp + 0x18]
push ecx
lea edx, [esp + 0x28]
push edx
sub esp, 0x1c
mov ecx, esp
xor ebx, ebx
mov dword [esp + 0x60], esp
push 0xffffffffffffffff
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], ebx
push ebx
lea eax, [esp + 0x194]
mov dword [ecx + 0x18], 0xf
mov dword [ecx + 0x14], ebx
push eax
mov byte [ecx + 4], bl
call fcn.00407ce0
call fcn.0042ebe0
cmp edx, ebx
mov dword [ebp], eax
mov dword [ebp + 4], edx
jl 0x42e867
jg 0x42e58d
cmp eax, ebx
jb 0x42e867
call fcn.00491560
mov edi, eax
cmp edi, ebx
je 0x42e867
mov eax, dword [esp + 0x188]
cmp dword [esp + 0x19c], esi
jae 0x42e5b3
lea eax, [esp + 0x188]
push 0x60887c
push eax
call fcn.005867c9
mov ebp, eax
xor ebx, ebx
add esp, 8
cmp ebp, ebx
jne 0x42e6b0
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x188]
cmp dword [esp + 0x19c], esi
jae 0x42e5ef
lea eax, [esp + 0x188]
push eax
call fcn.00586358
mov eax, dword [esp + 0x18c]
add esp, 4
cmp dword [esp + 0x19c], esi
jae 0x42e60f
lea eax, [esp + 0x188]
push 0x60887c
push eax
call fcn.005867c9
mov ebp, eax
add esp, 8
cmp ebp, ebx
jne 0x42e6b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [esp + 0x5c]
push ecx
mov esi, eax
call fcn.0042fe50
push esi
push ecx
lea edx, [esp + 0x6c]
push str.file_open_failed_erro_code:
push edx
mov byte [esp + 0x16c], 3
call fcn.004329c0
add esp, 0xc
push eax
call fcn.0042ed40
lea ecx, [esp + 0x40]
lea eax, [esp + 0x5c]
call fcn.0042ff90
cmp dword [esp + 0x58], 0x10
jb 0x42e67c
mov eax, dword [esp + 0x44]
push eax
call fcn.005759d0
add esp, 4
lea ecx, [esp + 0xb0]
mov byte [esp + 0x15c], 1
call fcn.0042fee0
lea ecx, [esp + 0xb0]
push ecx
mov dword [esp + 0xb4], vtable.std::ios_base.0
call fcn.005a5a42
add esp, 4
jmp 0x42e855
mov eax, dword [esp + 0x16c]
cmp dword [esp + 0x180], esi
jae 0x42e6c7
lea eax, [esp + 0x16c]
push eax
push 0x2712
push edi
call fcn.004915a0
add esp, 0xc
push 0x42eaf0
push 0x4e2b
push edi
mov esi, eax
call fcn.004915a0
add esp, 0xc
push ebp
push 0x2711
push edi
or esi, eax
call fcn.004915a0
add esp, 0xc
push 1
push 0x34
push edi
or esi, eax
call fcn.004915a0
add esp, 0xc
push 5
push 0x44
push edi
or esi, eax
call fcn.004915a0
add esp, 0xc
or esi, eax
cmp dword [esp + 0x18], ebx
je 0x42e73e
push ebx
push 0x40
push edi
call fcn.004915a0
add esp, 0xc
push ebx
push 0x51
push edi
or esi, eax
call fcn.004915a0
add esp, 0xc
or esi, eax
mov edx, dword [esp + 0x20]
push ebx
push 0x2b
push edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], ebx
call fcn.004915a0
add esp, 0xc
push 0x42eb20
push 0x4efb
push edi
or esi, eax
call fcn.004915a0
add esp, 0xc
or esi, eax
lea eax, [esp + 0x2c]
push eax
push 0x2749
push edi
call fcn.004915a0
add esp, 0xc
push 1
push 0x2d
push edi
or esi, eax
call fcn.004915a0
add esp, 0xc
push 0xa
push 0x4e
push edi
or esi, eax
call fcn.004915a0
add esp, 0xc
or eax, esi
je 0x42e7b7
mov dword [esp + 0x1c], 0xfffffc19
jmp 0x42e855
push edi
call fcn.004917a0
mov esi, eax
add esp, 4
mov dword [esp + 0x1c], esi
cmp esi, ebx
je 0x42e855
push 0x63
lea ecx, [esp + 0xe9]
push ebx
push ecx
mov byte [esp + 0xf0], 0
call fcn.00587fb0
add esp, 0xc
push esi
call fcn.00491800
add esp, 4
push eax
push esi
push str.error:_d:_s
lea edx, [esp + 0xf0]
push 0x64
push edx
call fcn.0058633a
add esp, 0x14
cmp esi, 0x16
jne 0x42e855
lea eax, [esp + 0x18]
push eax
push 0x200002
push edi
mov dword [esp + 0x24], ebx
call fcn.004917e0
add esp, 0xc
push 0x63
lea ecx, [esp + 0x61]
push ebx
push ecx
mov byte [esp + 0x68], 0
call fcn.00587fb0
mov edx, dword [esp + 0x24]
add esp, 0xc
push edx
push str.HTTP_error_code:_d
lea eax, [esp + 0x64]
push 0x64
push eax
call fcn.0058633a
add esp, 0x10
cmp ebp, ebx
je 0x42e862
push ebp
call fcn.0058392a
add esp, 4
xor ebx, ebx
lea esi, [ebx + 0x10]
push edi
call fcn.004917c0
mov edi, dword [esp + 0x20]
add esp, 4
cmp edi, ebx
je 0x42e898
mov eax, dword [esp + 0x188]
cmp dword [esp + 0x19c], esi
jae 0x42e88f
lea eax, [esp + 0x188]
push eax
call fcn.00586358
add esp, 4
cmp dword [esp + 0x180], esi
jb 0x42e8b1
mov ecx, dword [esp + 0x16c]
push ecx
call fcn.005759d0
add esp, 4
mov dword [esp + 0x180], 0xf
mov dword [esp + 0x17c], ebx
mov byte [esp + 0x16c], 0
cmp dword [esp + 0x19c], esi
jb 0x42e8e4
mov edx, dword [esp + 0x188]
push edx
call fcn.005759d0
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.005832f8
add esp, 0x14c
ret 0x3c