Function at 0x4868f0
Capabilities:
Connect to http server
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f2b48
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x52b360]
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 ebx, dword [ebp + 8]
mov esi, ecx
mov eax, 0xf
xor edi, edi
mov dword [ebp - 0x5c], esi
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], edi
mov byte [ebp - 0x4c], 0
mov dword [ebp - 4], edi
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
mov byte [ebp - 4], 1
mov eax, dword [esi + 0xc]
cmp eax, edi
je 0x486956
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [esi + 8]
cmp eax, edi
je 0x486964
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [esi + 4]
cmp ecx, edi
jne 0x4869a7
mov esi, 0x10
cmp dword [ebp - 0x1c], esi
jb 0x486981
mov eax, dword [ebp - 0x30]
push eax
call fcn.004c8f17
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], edi
mov byte [ebp - 0x30], 0
cmp dword [ebp - 0x38], esi
jb 0x4869a0
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004c8f17
add esp, 4
xor al, al
jmp 0x486b1d
mov dword [esi + 0xc], edi
mov dword [esi + 8], edi
mov edi, 0x10
mov byte [ebp - 4], 2
mov byte [ebp - 0x51], 0
cmp dword [ebx + 0x18], edi
jb 0x4869c4
mov eax, dword [ebx + 4]
jmp 0x4869c7
lea eax, [ebx + 4]
mov edx, dword [ebx + 0xb4]
push 0
push 0
push edx
mov edx, dword [ebx + 0x58]
push edx
mov edx, dword [ebx + 0x54]
push edx
movzx edx, word [ebx + 0xb0]
push edx
push eax
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [esi + 8], eax
test eax, eax
je 0x486ae6
cmp dword [ebx + 0x90], edi
jb 0x486a05
mov ecx, dword [ebx + 0x7c]
mov dword [ebp - 0x58], ecx
jmp 0x486a0b
lea edx, [ebx + 0x7c]
mov dword [ebp - 0x58], edx
cmp dword [ebx + 0x34], edi
jb 0x486a15
mov edx, dword [ebx + 0x20]
jmp 0x486a18
lea edx, [ebx + 0x20]
cmp dword [ebx + 0x74], edi
jb 0x486a22
mov ecx, dword [ebx + 0x60]
jmp 0x486a25
lea ecx, [ebx + 0x60]
mov edi, dword [ebx + 0xe0]
push 0
push edi
mov edi, dword [ebp - 0x58]
push 0
push edi
push 0
push edx
push ecx
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov dword [esi + 0xc], eax
mov edi, 0x10
test eax, eax
je 0x486ae6
mov edx, dword [ebx + 0xd0]
test edx, edx
je 0x486a83
cmp dword [ebx + 0xd4], edi
jb 0x486a69
mov ecx, dword [ebx + 0xc0]
jmp 0x486a6f
lea ecx, [ebx + 0xc0]
push 0xa0000000
push edx
push ecx
push eax
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebx + 0xdc]
mov ecx, dword [ebx + 0xd8]
mov edx, dword [esi + 0xc]
push eax
push ecx
push 0
push 0
push edx
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x486ae6
lea eax, [ebp - 0x74]
push eax
call fcn.00403c40
mov byte [ebp - 4], 3
mov esi, dword [esi + 0xc]
lea edi, [ebp - 0x74]
call fcn.004866f0
mov ecx, dword [ebx + 0xe4]
test ecx, ecx
je 0x486ad5
mov edx, dword [ebp - 0x5c]
mov edi, dword [edx + 0xc]
call fcn.00486830
mov byte [ebp - 0x51], al
jmp 0x486ad9
mov byte [ebp - 0x51], 1
lea esi, [ebp - 0x74]
call fcn.00486b50
mov edi, 0x10
cmp dword [ebp - 0x1c], edi
jb 0x486af7
mov eax, dword [ebp - 0x30]
push eax
call fcn.004c8f17
add esp, 4
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], 0
mov byte [ebp - 0x30], 0
cmp dword [ebp - 0x38], edi
jb 0x486b1a
mov ecx, dword [ebp - 0x4c]
push ecx
call fcn.004c8f17
add esp, 4
mov al, byte [ebp - 0x51]
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.004c8f08
mov esp, ebp
pop ebp
ret 4