Function at 0x40aa80
Capabilities:
Check internet connectivity via wininet

Disassembly:
mov eax, 0x4665ed
call fcn.00452544
sub esp, 0xb8
push ebx
push esi
push edi
mov esi, str.App::PreparePage_ApplyResources_964
mov dword [ebp - 0x10], esp
push esi
call fcn.004508dd
pop ecx
mov dword [ebp - 0x20], eax
push dword [ebp + 0xc]
xor edi, edi
push esi
push str.___s__idx_d_
push edi
mov dword [ebp - 4], edi
call fcn.00441366
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
add esp, 0x10
mov byte [ebp - 4], 1
call fcn.0040c6a2
push edi
lea ecx, [ebp - 0x74]
mov dword [ebp - 0x1c], eax
call fcn.00443370
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x74]
push eax
push str.readyState
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 2
call fcn.00446390
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.004450c0
lea ecx, [ebp - 0x5c]
mov ebx, eax
mov byte [ebp - 4], 2
call fcn.00445920
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 1
call fcn.00445920
cmp ebx, 1
jge 0x40ab2c
push str.__no_resources_
push edi
call fcn.00441366
pop ecx
pop ecx
jmp 0x40ae61
jle 0x40ab42
push ebx
push str.__already_done__rs_d
push edi
call fcn.00441366
add esp, 0xc
jmp 0x40af24
push 0x471e5a
lea ecx, [ebp - 0x74]
call fcn.004433a0
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x74]
push eax
push 0x474b60
lea eax, [ebp - 0xc4]
push eax
mov byte [ebp - 4], 4
call fcn.00446390
lea ecx, [ebp - 0xb0]
push ecx
mov ecx, eax
mov byte [ebp - 4], 5
call fcn.00444f70
lea ecx, [ebp - 0xc4]
mov byte [ebp - 4], 8
call fcn.00445920
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 7
call fcn.00445920
mov dword [ebp - 0x18], edi
mov edi, str.controls
mov ecx, dword [ebp - 0x1c]
push edi
call fcn.00446da0
mov ecx, eax
call fcn.004444e0
cmp dword [ebp - 0x18], eax
jae 0x40ae52
mov ecx, dword [ebp - 0x1c]
push edi
call fcn.00446da0
push dword [ebp - 0x18]
mov ecx, eax
call fcn.004466b0
push 0x471e5a
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x24], eax
call fcn.004433a0
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x5c]
push eax
push 0x474b60
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 9
call fcn.00446390
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.00444f70
push str.browser
mov ecx, eax
mov byte [ebp - 4], 0xb
call fcn.00418bca
xor esi, esi
push esi
cmp eax, esi
push 1
lea ecx, [ebp - 0x40]
setne bl
call fcn.0041b05c
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 9
call fcn.00445920
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
call fcn.00445920
test bl, bl
je 0x40ac50
inc dword [ebp - 0x18]
jmp 0x40aba0
push str.loadStart
lea ecx, [ebp - 0x40]
call fcn.0041be0b
push dword [ebp + 0xc]
mov edi, dword [ebp + 8]
push edi
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 0xc
call fcn.0040ffc1
push esi
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.0041b05c
push str.mainoffer
lea ecx, [ebp - 0xb0]
call fcn.00418bca
cmp eax, esi
jne 0x40ad0a
push 0x471e5a
lea ecx, [ebp - 0x5c]
call fcn.004433a0
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x5c]
push eax
push 0x474204
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 0xd
call fcn.00446390
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0xe
call fcn.00444f70
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x11
call fcn.00445920
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x10
call fcn.00445920
lea eax, [edi + 0x248]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.0040b001
push esi
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.0041b05c
jmp 0x40ad8d
push str.offer
lea ecx, [ebp - 0xb0]
call fcn.00418bca
cmp eax, esi
jne 0x40ad8d
push 0x471e5a
lea ecx, [ebp - 0x5c]
call fcn.004433a0
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x5c]
push eax
push str.frame
lea eax, [ebp - 0x8c]
push eax
mov byte [ebp - 4], 0x12
call fcn.00446390
lea ecx, [ebp - 0x40]
push ecx
mov ecx, eax
mov byte [ebp - 4], 0x13
call fcn.00444f70
lea ecx, [ebp - 0x8c]
mov byte [ebp - 4], 0x16
call fcn.00445920
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0x15
call fcn.00445920
cmp dword [ebp - 0x2c], esi
jbe 0x40acf6
mov ecx, dword [ebp - 0x1c]
push str.offers
call fcn.00446da0
jmp 0x40acec
mov edi, dword [ebp + 8]
xor esi, esi
push esi
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], esi
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
setne al
test al, al
jne 0x40ae80
push 0x471e5a
lea ecx, [ebp - 0x94]
call fcn.0041be0b
push str.INET_NEEDED
lea eax, [ebp - 0x64]
push eax
mov byte [ebp - 4], 0x17
push dword [0x48f704]
call fcn.0041d7d4
mov byte [ebp - 4], 0x18
cmp dword [eax + 0x18], 0x10
jb 0x40addf
mov eax, dword [eax + 4]
jmp 0x40ade2
add eax, 4
push eax
lea ecx, [ebp - 0x40]
call fcn.0041be0b
lea eax, [ebp - 0x40]
push eax
push 0x35
mov byte [ebp - 4], 0x19
mov ecx, dword [0x48f700]
lea edi, [ebp - 0x94]
pop eax
call fcn.00409d02
cmp eax, 2
setne bl
xor edi, edi
push edi
push 1
lea ecx, [ebp - 0x40]
call fcn.0041b05c
push edi
push 1
lea ecx, [ebp - 0x64]
call fcn.0041b05c
push edi
push 1
lea ecx, [ebp - 0x94]
mov byte [ebp - 4], 7
call fcn.0041b05c
test bl, bl
jne 0x40ad88
push str.__no_inet_
push 1
call fcn.00441366
pop ecx
pop ecx
call fcn.0041fdd6
push 0
push 1
lea ecx, [ebp - 0xb0]
call fcn.0041b05c
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x20]
call fcn.0041ba42
xor al, al
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 8
push str.createStart
lea ecx, [ebp - 0x40]
call fcn.0041be0b
push dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
push edi
mov byte [ebp - 4], 0x1a
call fcn.0040ffc1
push esi
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.0041b05c
push dword [ebp + 0xc]
push dword [ebp - 0x24]
push edi
call fcn.0040b288
push str.createEnd
lea ecx, [ebp - 0x40]
call fcn.0041be0b
push dword [ebp + 0xc]
lea ecx, [ebp - 0x40]
push edi
mov byte [ebp - 4], 0x1b
call fcn.0040ffc1
push esi
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.0041b05c
push 2
lea ecx, [ebp - 0x5c]
call fcn.00443370
mov ecx, dword [ebp - 0x1c]
push str.readyState
mov byte [ebp - 4], 0x1c
call fcn.00446da0
lea ecx, [ebp - 0x5c]
push ecx
mov ecx, eax
call fcn.004462a0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 7
call fcn.00445920
push esi
push 1
lea ecx, [ebp - 0xb0]
call fcn.0041b05c
or dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0x20]
call fcn.0041ba42
mov al, 1
jmp 0x40ae6f