Function at 0x492d94
Capabilities:
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x840
mov eax, dword [0x5afee0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x82c], 0
push esi
mov esi, ecx
lea eax, [esi + 0x61a80]
xor ecx, ecx
push edi
mov dword [ebp - 0x830], esi
cmp cx, word [eax]
je 0x492dd0
mov dword [ebp - 0x82c], eax
jmp 0x492e9b
xor eax, eax
cmp ax, word [0x5d6800]
jne 0x492e91
mov edi, 0x823
push edi
push eax
mov byte [ebp - 0x828], al
lea eax, [ebp - 0x827]
push eax
call fcn.00537010
lea eax, [ebp - 0x834]
push eax
lea eax, [ebp - 0x828]
push eax
mov dword [ebp - 0x834], edi
call fcn.004a54f0
add esp, 0x14
test eax, eax
jne 0x492e86
mov edi, 0x5e0458
cmp ax, word [0x5e0458]
jne 0x492e36
push edi
mov edx, 0x57d2fc
mov ecx, 0x104
call fcn.00408533
lea eax, [ebp - 0x828]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x492e52
xor eax, eax
jmp 0x492e6d
lea eax, [esi + esi]
call fcn.00539490
mov eax, esp
push 3
push esi
lea ecx, [ebp - 0x828]
push ecx
mov esi, eax
call fcn.00403c56
push edi
mov ecx, 0x824
mov edx, 0x5d6800
mov edi, eax
call fcn.004a4fc2
mov esi, dword [ebp - 0x830]
pop ecx
xor eax, eax
cmp ax, word [0x5d6800]
je 0x492e9b
mov dword [ebp - 0x82c], 0x5d6800
push 0x10000000
xor eax, eax
push eax
push eax
push eax
push dword [ebp - 0x82c]
call dword [sym.imp.WININET.dll_InternetOpenW]
xor edi, edi
mov dword [ebx + 0x14], eax
cmp eax, edi
je 0x492feb
mov edx, dword [ebx + 0x20]
lea ecx, [edx + 0x2348]
mov dword [ebp - 0x82c], edi
mov dword [ebp - 0x830], edi
mov dword [ebp - 0x834], 3
cmp word [ecx], di
je 0x492ee8
mov dword [ebp - 0x82c], ecx
lea ecx, [edx + 0x2048]
cmp word [ecx], di
je 0x492ef9
mov dword [ebp - 0x830], ecx
cmp dword [ebp - 0x82c], edi
jne 0x492f12
lea ecx, [esi + 0x60630]
cmp word [ecx], di
je 0x492f12
mov dword [ebp - 0x82c], ecx
cmp dword [ebp - 0x830], edi
jne 0x492f2b
lea ecx, [esi + 0x60730]
cmp word [ecx], di
je 0x492f2b
mov dword [ebp - 0x830], ecx
xor ecx, ecx
inc ecx
cmp dword [edx + 4], ecx
jne 0x492f39
mov dword [ebp - 0x834], ecx
push 0x490e9a
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
mov eax, dword [ebx + 0x20]
movzx ecx, word [eax]
push ebx
push dword [esi + 0x26e8]
add eax, 0x2148
push dword [ebp - 0x834]
push dword [ebp - 0x830]
push dword [ebp - 0x82c]
push ecx
push eax
push dword [ebx + 0x14]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebx + 0x18], eax
cmp eax, edi
je 0x492feb
add esi, 0x60a38
cmp word [esi], di
je 0x492fe6
mov dword [ebp - 0x840], 3
cmp esi, edi
je 0x492fa3
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
cmp eax, 0x3fffffff
jle 0x492fab
mov dword [ebp - 0x83c], edi
jmp 0x492fc8
lea edi, [eax + eax]
mov eax, edi
call fcn.00539490
mov eax, esp
push 3
push edi
push esi
mov esi, eax
call fcn.00403c89
mov dword [ebp - 0x83c], eax
push 0xc
lea eax, [ebp - 0x840]
push eax
push 0x26
push dword [ebx + 0x14]
mov dword [ebp - 0x838], 0x577673
call dword [sym.imp.WININET.dll_InternetSetOptionA]
xor eax, eax
inc eax
jmp 0x492fed
xor eax, eax
lea esp, [ebp - 0x848]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0052f7d0
leave
ret