Function at 0x484e48
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x420], ecx
mov dword [ebp - 0x41c], ecx
mov dword [ebp - 0x418], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4850ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.004041b8
xor eax, eax
push ebp
push 0x4850be
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00404250
cmp dword [ebp - 4], 0
jne 0x484eaf
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4850c8
xor eax, eax
mov dword [ebp - 0x14], eax
push 0
push 0
push 0
push 0
push 0x4850fc
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4850b4
xor eax, eax
push ebp
push 0x4850ad
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0x80200000
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00404694
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetOpenUrlA
mov ebx, eax
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0x400
lea eax, [ebp - 0x414]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00402d44
mov edi, 0x194
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x414]
push eax
push 0x13
push ebx
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
je 0x484f5a
lea eax, [ebp - 0x418]
lea edx, [ebp - 0x414]
call fcn.004043b0
mov eax, dword [ebp - 0x418]
call fcn.00408bbc
mov edi, eax
add edi, 0xffffff38
sub edi, 0x64
jb 0x484f73
sub edi, 0x64
jb 0x48502e
jmp 0x48508c
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0x400
lea eax, [ebp - 0x414]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00402d44
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x414]
push eax
push 0x2f
push ebx
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
je 0x485016
push esi
lea eax, [ebp - 0x41c]
lea edx, [ebp - 0x414]
mov ecx, 0x400
call fcn.00404428
mov edx, dword [ebp - 0x41c]
mov eax, 0x485128
call fcn.004047d8
add eax, 9
inc eax
push eax
lea eax, [ebp - 0x420]
lea edx, [ebp - 0x414]
mov ecx, 0x400
call fcn.00404428
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 0xc]
pop edx
call fcn.004046f4
push esi
mov edx, dword [esi]
mov eax, 0x48513c
call fcn.004047d8
mov ecx, eax
dec ecx
mov eax, dword [esi]
xor edx, edx
call fcn.004046f4
jmp 0x48501d
mov eax, esi
call fcn.004041b8
cmp dword [esi], 0
jne 0x48508c
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00484e04
jmp 0x48508c
inc dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], 0x400
lea eax, [ebp - 0x414]
xor ecx, ecx
mov edx, dword [ebp - 0xc]
call fcn.00402d44
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x414]
push eax
push 0x21
push ebx
call sub.wininet.dll_HttpQueryInfoA
test eax, eax
je 0x48508c
lea eax, [ebp - 4]
lea edx, [ebp - 0x414]
call fcn.004043b0
test ebx, ebx
je 0x485080
push ebx
call sub.wininet.dll_InternetCloseHandle
xor ebx, ebx
cmp dword [ebp - 0x14], 0xa
jl 0x484ee1
test ebx, ebx
je 0x485096
push ebx
call sub.wininet.dll_InternetCloseHandle
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4850b4
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4850c8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4850f5
lea eax, [ebp - 0x420]
mov edx, 3
call fcn.004041dc
lea eax, [ebp - 4]
call fcn.004041b8
ret