Function at 0x484e01
Capabilities:
Connect to http server
Create http request
Reference http user-agent string

Disassembly:
push ebp
lea ebp, [esp - 0x7c0]
sub esp, 0x840
mov eax, dword [0x4f51d0]
xor eax, ebp
mov dword [ebp + 0x7bc], eax
mov eax, ecx
push ebx
mov dword [ebp - 0x74], eax
push esi
mov esi, dword [ebp + 0x7c8]
xor ebx, ebx
add eax, 0x61870
xor ecx, ecx
push edi
mov dword [ebp - 0x6c], ebx
cmp cx, word [eax]
je 0x484e43
mov dword [ebp - 0x6c], eax
jmp 0x484ece
xor eax, eax
cmp ax, word [0x5104d8]
jne 0x484ec7
mov edi, 0x823
push edi
mov byte [ebp - 0x68], al
lea eax, [ebp - 0x67]
push ebx
push eax
call fcn.00492200
add esp, 0xc
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
push ebx
mov dword [ebp - 0x70], edi
call sub.urlmon.dll_ObtainUserAgentString
test eax, eax
jne 0x484ebc
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, eax
inc edi
cmp edi, 0x3fffffff
jle 0x484e92
xor eax, eax
jmp 0x484ea9
lea eax, [edi + edi]
call fcn.00492940
mov eax, esp
push 3
push edi
lea ecx, [ebp - 0x68]
push ecx
push eax
call fcn.0040808b
push 0x824
push 0x5104d8
push eax
call fcn.0047c7e5
add esp, 0xc
xor eax, eax
cmp ax, word [0x5104d8]
je 0x484ece
mov dword [ebp - 0x6c], 0x5104d8
push 0x10000000
push ebx
push ebx
push ebx
push dword [ebp - 0x6c]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0x14], eax
cmp eax, ebx
je 0x485017
mov eax, dword [esi + 0x20]
mov edi, 0x2348
add eax, edi
push eax
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x70], 3
call fcn.00492919
pop ecx
test eax, eax
je 0x484f11
mov eax, dword [esi + 0x20]
add eax, edi
mov dword [ebp - 0x6c], eax
mov eax, dword [esi + 0x20]
mov edi, 0x2048
add eax, edi
push eax
call fcn.00492919
pop ecx
test eax, eax
je 0x484f2b
mov ebx, dword [esi + 0x20]
add ebx, edi
cmp dword [ebp - 0x6c], 0
mov edi, dword [ebp - 0x74]
jne 0x484f4e
lea eax, [edi + 0x60628]
push eax
call fcn.00492919
pop ecx
test eax, eax
je 0x484f4e
lea eax, [edi + 0x60628]
mov dword [ebp - 0x6c], eax
test ebx, ebx
jne 0x484f69
lea eax, [edi + 0x60728]
push eax
call fcn.00492919
pop ecx
test eax, eax
je 0x484f69
lea ebx, [edi + 0x60728]
mov ecx, dword [esi + 0x20]
xor eax, eax
inc eax
cmp dword [ecx + 4], eax
jne 0x484f77
mov dword [ebp - 0x70], eax
push 0x484a2b
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov eax, dword [esi + 0x20]
movzx ecx, word [eax]
push esi
push dword [edi + 0x26e0]
add eax, 0x2148
push dword [ebp - 0x70]
push ebx
push dword [ebp - 0x6c]
push ecx
push eax
push dword [esi + 0x14]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [esi + 0x18], eax
test eax, eax
je 0x485017
add edi, 0x60828
push edi
call fcn.00492919
pop ecx
test eax, eax
jbe 0x485012
mov dword [ebp - 0x80], 3
test edi, edi
je 0x484fdb
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x484fe1
and dword [ebp - 0x7c], 0
jmp 0x484ffa
lea ebx, [eax + eax]
mov eax, ebx
call fcn.00492940
mov eax, esp
push 3
push ebx
push edi
push eax
call fcn.00401d05
mov dword [ebp - 0x7c], eax
push 0xc
lea eax, [ebp - 0x80]
push eax
push 0x26
push dword [esi + 0x14]
mov dword [ebp - 0x78], 0x4d911f
call dword [sym.imp.WININET.dll_InternetSetOptionA]
xor eax, eax
inc eax
jmp 0x485019
xor eax, eax
lea esp, [ebp - 0x8c]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x7bc]
xor ecx, ebp
call fcn.0048c64c
add ebp, 0x7c0
leave
ret 4