Function at 0x47e330
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a8f30
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x144
mov eax, dword [0x4c0c00]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x140], ecx
mov byte [ebp - 0x11], 1
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x140]
cmp dword [eax + 0xc8], 0
jne 0x47e39f
push 0
push 0
push 0
push 0
mov ecx, dword [ebp + 0x1c]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edx, dword [ebp - 0x140]
mov dword [edx + 4], eax
jmp 0x47e3ec
mov eax, dword [ebp - 0x140]
cmp dword [eax + 0xc8], 3
jne 0x47e3d1
push 0
push str._local_
push str.proxy
push 3
mov ecx, dword [ebp + 0x1c]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edx, dword [ebp - 0x140]
mov dword [edx + 4], eax
jmp 0x47e3ec
push 0
push 0
push 0
push 1
mov eax, dword [ebp + 0x1c]
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ecx, dword [ebp - 0x140]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x140]
cmp dword [edx + 0xc8], 3
jne 0x47e490
push 0xc
push 0
lea eax, [ebp - 0x12c]
push eax
call fcn.0048e260
add esp, 0xc
mov byte [ebp - 0x120], 0
push 0x103
push 0
lea ecx, [ebp - 0x11f]
push ecx
call fcn.0048e260
add esp, 0xc
mov dword [ebp - 0x12c], 3
mov edx, dword [ebp - 0x140]
movzx eax, word [edx + 0xc4]
push eax
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 0xc0]
push edx
push 0x4b10b0
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x120]
mov dword [ebp - 0x128], ecx
push 0xc
lea edx, [ebp - 0x12c]
push edx
push 0x26
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov edx, dword [ebp - 0x140]
cmp dword [edx + 0xd8], 0
je 0x47e4ff
push 4
mov eax, dword [ebp - 0x140]
add eax, 0xd8
push eax
push 2
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
mov eax, dword [ebp - 0x140]
add eax, 0xd8
push eax
push 6
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 4
mov eax, dword [ebp - 0x140]
add eax, 0xd8
push eax
push 5
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov eax, dword [ebp - 0x140]
cmp dword [eax + 4], 0
je 0x47e517
mov ecx, dword [ebp - 0x140]
cmp dword [ecx + 4], 0xffffffff
jne 0x47e532
mov dword [ebp - 0x134], 0x4b10b8
push 0x4b7ebc
lea edx, [ebp - 0x134]
push edx
call fcn.0048e57b
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x144], eax
cmp dword [ebp - 0x144], 0
je 0x47e55f
cmp dword [ebp - 0x144], 1
je 0x47e5b5
cmp dword [ebp - 0x144], 2
je 0x47e605
jmp 0x47e653
cmp dword [ebp + 0xc], 0
je 0x47e570
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x148], ecx
jmp 0x47e57a
mov dword [ebp - 0x148], 0x15
push 0
push 0x8000000
push 1
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
movzx ecx, word [ebp - 0x148]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edx, dword [ebp - 0x140]
mov dword [edx + 8], eax
jmp 0x47e653
cmp dword [ebp + 0xc], 0
je 0x47e5c6
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x14c], eax
jmp 0x47e5d0
mov dword [ebp - 0x14c], 0x50
push 0
push 0
push 3
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
movzx eax, word [ebp - 0x14c]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, dword [ebp - 0x140]
mov dword [ecx + 8], eax
jmp 0x47e653
cmp dword [ebp + 0xc], 0
je 0x47e616
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x150], edx
jmp 0x47e620
mov dword [ebp - 0x150], 0x1bb
push 0
push 0
push 3
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
movzx edx, word [ebp - 0x150]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x140]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, dword [ebp - 0x140]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x140]
cmp dword [edx + 8], 0
je 0x47e66b
mov eax, dword [ebp - 0x140]
cmp dword [eax + 8], 0xffffffff
jne 0x47e686
mov dword [ebp - 0x138], 0x4b10d0
push 0x4b7ebc
lea ecx, [ebp - 0x138]
push ecx
call fcn.0048e57b
mov edx, dword [ebp - 0x140]
cmp dword [edx + 0xcc], 0
je 0x47e707
mov ecx, dword [ebp - 0x140]
add ecx, 0xd0
call fcn.00407300
add eax, 1
push eax
mov ecx, dword [ebp - 0x140]
add ecx, 0xd0
call fcn.00401fb0
push eax
push 0x2b
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov ecx, dword [ebp - 0x140]
add ecx, 0xd4
call fcn.00407300
add eax, 1
push eax
mov ecx, dword [ebp - 0x140]
add ecx, 0xd4
call fcn.00401fb0
push eax
push 0x2c
mov edx, dword [ebp - 0x140]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
je 0x47e72e
mov dword [ebp - 0x13c], 0x4b10e4
push 0x4b7ebc
lea ecx, [ebp - 0x13c]
push ecx
call fcn.0048e57b
mov edx, dword [ebp + 8]
push edx
mov ecx, dword [ebp - 0x140]
add ecx, 0x10
call fcn.00402b10
cmp dword [ebp + 0xc], 0
jne 0x47e7a2
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x154], eax
cmp dword [ebp - 0x154], 0
je 0x47e76c
cmp dword [ebp - 0x154], 1
je 0x47e77e
cmp dword [ebp - 0x154], 2
je 0x47e790
jmp 0x47e7a0
mov ecx, dword [ebp - 0x140]
mov dword [ecx + 0x80], 0x15
jmp 0x47e7a0
mov edx, dword [ebp - 0x140]
mov dword [edx + 0x80], 0x50
jmp 0x47e7a0
mov eax, dword [ebp - 0x140]
mov dword [eax + 0x80], 0x1bb
jmp 0x47e7b1
mov ecx, dword [ebp - 0x140]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x80], edx
mov eax, dword [ebp - 0x140]
mov ecx, dword [ebp + 0x18]
mov dword [eax + 0x84], ecx
cmp dword [ebp + 0x10], 0
je 0x47e7d8
mov edx, dword [ebp + 0x10]
push edx
mov ecx, dword [ebp - 0x140]
add ecx, 0x2c
call fcn.00402b10
cmp dword [ebp + 0x14], 0
je 0x47e7f0
mov eax, dword [ebp + 0x14]
push eax
mov ecx, dword [ebp - 0x140]
add ecx, 0x48
call fcn.00402b10
mov ecx, dword [ebp - 0x140]
call fcn.0047f280
mov ecx, dword [ebp - 0x140]
call fcn.0047ee10
jmp 0x47e901
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x11]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.0048e19e
mov esp, ebp
pop ebp
ret 0x18