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

Disassembly:
push ebp
mov ebp, esp
push eax
mov eax, 0x20
add esp, 0xfffff004
push eax
dec eax
jne 0x486259
mov eax, dword [ebp - 4]
add esp, 0xffffff88
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x2007c], edx
mov dword [ebp - 0x20078], edx
mov dword [ebp - 0x20074], edx
mov dword [ebp - 0x20070], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], eax
xor eax, eax
push ebp
push 0x486c6f
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x486c2f
push dword fs:[edx]
mov dword fs:[edx], esp
xor eax, eax
mov dword [ebp - 0x30], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x21], 0
xor edx, edx
push ebp
push 0x486c1e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [ebp - 0x20]
mov byte [eax + 0x45], 0
push ebp
lea ecx, [ebp - 0x1c]
lea edx, [ebp - 8]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x2c]
call fcn.004860a0
pop ecx
xor ebx, ebx
mov eax, dword [ebp - 0x20]
call fcn.00486000
cmp dword [eax + 0x10], 0
je 0x4863b5
mov eax, dword [ebp - 0x20]
call fcn.00486000
mov edx, dword [eax + 0x10]
lea eax, [ebp - 0x18]
call fcn.00408058
mov eax, dword [ebp - 0x20]
call fcn.00486000
cmp dword [eax + 0x14], 0
je 0x486347
push dword [ebp - 0x18]
push 0x486c90
mov eax, dword [ebp - 0x20]
call fcn.00486000
push dword [eax + 0x14]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00408da8
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x28], 0
je 0x486375
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.00408ac4
push eax
push 3
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x28]
call fcn.00408ac4
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x28], eax
jmp 0x48638e
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.00408ac4
push eax
push 3
push 0
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x20]
call fcn.00486000
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x2005c], eax
mov eax, dword [ebp - 0x2005c]
test eax, eax
je 0x4863ae
sub eax, 4
mov eax, dword [eax]
test eax, eax
setne bl
jmp 0x4863ee
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x28], 0
je 0x4863dc
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x28]
call fcn.00408ac4
push eax
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x28], eax
jmp 0x4863ee
push 0
push 0
push 0
push 0
push 0
call sub.wininet.dll_InternetOpenW
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x486410
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x34], 1
call fcn.0040741c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x486c39
push 0
push 0
push 3
mov eax, dword [ebp - 0x20]
call fcn.00486000
mov eax, dword [eax + 8]
call fcn.00408ac4
push eax
mov eax, dword [ebp - 0x20]
call fcn.00486000
mov eax, dword [eax + 4]
call fcn.00408ac4
push eax
movzx eax, word [ebp - 4]
push eax
mov eax, dword [ebp - 8]
call fcn.00408ac4
push eax
mov eax, dword [ebp - 0x28]
push eax
call sub.wininet.dll_InternetConnectW
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x486474
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x34], 2
call fcn.0040741c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x486c39
test bl, bl
je 0x486508
mov eax, dword [ebp - 0x20]
call fcn.00486000
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x2005c], eax
mov ebx, dword [ebp - 0x2005c]
test ebx, ebx
je 0x48649c
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
push ebx
mov eax, dword [ebp - 0x20]
call fcn.00486000
mov eax, dword [eax + 0x18]
call fcn.00408ac4
push eax
push 0x2b
mov eax, dword [ebp - 0x2c]
push eax
call sub.wininet.dll_InternetSetOptionW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
mov eax, dword [ebp - 0x20]
call fcn.00486000
mov eax, dword [eax + 0x1c]
mov dword [ebp - 0x2005c], eax
mov ebx, dword [ebp - 0x2005c]
test ebx, ebx
je 0x4864e2
sub ebx, 4
mov ebx, dword [ebx]
inc ebx
push ebx
mov eax, dword [ebp - 0x20]
call fcn.00486000
mov eax, dword [eax + 0x1c]
call fcn.00408ac4
push eax
push 0x2c
mov eax, dword [ebp - 0x2c]
push eax
call sub.wininet.dll_InternetSetOptionW
cmp eax, 1
sbb eax, eax
inc eax
test al, al
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x3c], 0
jne 0x486518
mov ebx, 0x486c94
jmp 0x48651d
mov ebx, 0x486c9c
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x50]
dec eax
sub al, 2
jae 0x48652e
mov ebx, 0x486ca8
mov eax, dword [ebp - 0x20]
cmp byte [eax + 0x51], 0
je 0x48653b
xor esi, esi
jmp 0x486540
mov esi, 0x80000000
cmp dword [ebp - 4], 0x1bb
jne 0x48654f
or esi, 0x800000
mov eax, dword [ebp - 0x20]
call fcn.00486000
cmp byte [eax + 0x28], 0
je 0x486563
or esi, 0x80000
mov eax, dword [ebp - 0x20]
push dword [eax + 0x24]
push 0x486cc0
push 0x486cc0
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00408da8
lea eax, [ebp - 0x10]
call fcn.004081e8
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x40], eax
push 0
push esi
lea eax, [ebp - 0x44]
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
call fcn.00408ac4
push eax
push 0x486cc8
mov eax, dword [ebp - 0x1c]
call fcn.00408ac4
push eax
push ebx
mov eax, dword [ebp - 0x2c]
push eax
call sub.wininet.dll_HttpOpenRequestW
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x48660c
mov ebx, 0x486c94
push 0
push esi
lea eax, [ebp - 0x10]
call fcn.004081e8
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x40]
call fcn.00408ac4
push eax
push 0x486cc8
mov eax, dword [ebp - 0x1c]
call fcn.00408ac4
push eax
push ebx
mov eax, dword [ebp - 0x2c]
push eax
call sub.wininet.dll_HttpOpenRequestW
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x48660c
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x34], 3
mov eax, dword [ebp - 0x20]
call fcn.00486000
movzx eax, byte [eax + 0xc]
mov byte [ebp - 0x46], al
cmp byte [ebp - 0x46], 0
je 0x4866c7
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx]
cmp edx, 0
jne 0x48663a
cmp eax, 0
je 0x4866c7
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x30]
mov ebx, dword [eax + 4]
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, ebx
call fcn.00448d10
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x2006c], eax
mov dword [ebp - 0x20068], edx
lea eax, [ebp - 0x2006c]
mov dword [ebp - 0x20064], eax
mov byte [ebp - 0x20060], 0x10
lea edx, [ebp - 0x20064]
xor ecx, ecx
mov eax, 0x486ce8
call fcn.00420c40
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x4866a6
sub ebx, 4
mov ebx, dword [ebx]
push 0x20000000
push ebx
mov eax, dword [ebp - 0xc]
call fcn.00408ac4
push eax
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_HttpAddRequestHeadersW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x46], al
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x3c], 0
jne 0x486701
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x1c], 0
jne 0x486701
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x20], 0
jne 0x486701
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_HttpSendRequestW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x45], al
jmp 0x4867a5
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x20], 0
jne 0x486719
lea eax, [ebp - 0x14]
mov edx, 0x486d18
call fcn.00408058
jmp 0x486727
lea eax, [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 0x20]
call fcn.00408058
mov eax, dword [ebp - 0x20]
cmp dword [eax + 0x1c], 0
je 0x48674b
push dword [ebp - 0x14]
push 0x486d84
mov eax, dword [ebp - 0x20]
push dword [eax + 0x1c]
lea eax, [ebp - 0x14]
mov edx, 3
call fcn.00408da8
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x486757
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x20]
mov esi, dword [eax + 0x3c]
test esi, esi
je 0x486766
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x20070]
mov edx, dword [ebp - 0x20]
mov edx, dword [edx + 0x3c]
mov ecx, 0
call fcn.0040877c
mov eax, dword [ebp - 0x20070]
call fcn.00408634
push eax
push ebx
mov eax, dword [ebp - 0x14]
call fcn.00408ac4
push eax
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_HttpSendRequestW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x45], al
cmp byte [ebp - 0x45], 0
jne 0x4867c7
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x34], 4
call fcn.0040741c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x486c39
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], pe_nt_image_headers32
mov eax, dword [ebp - 0x38]
call fcn.004045e8
mov dword [ebp - 0x34], eax
xor eax, eax
push ebp
push 0x4868e9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x34]
push eax
push 0x13
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_HttpQueryInfoW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x45], al
cmp byte [ebp - 0x45], 0
je 0x486833
lea eax, [ebp - 0x20074]
mov edx, dword [ebp - 0x34]
call fcn.00408b1c
mov eax, dword [ebp - 0x20074]
xor edx, edx
call fcn.0041f4b4
mov edx, dword [ebp - 0x20]
mov dword [edx + 0x38], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], pe_nt_image_headers32
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x34]
push eax
push 1
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_HttpQueryInfoW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x45], al
cmp byte [ebp - 0x45], 0
je 0x486873
mov eax, dword [ebp - 0x20]
add eax, 4
mov edx, dword [ebp - 0x34]
call fcn.00408b1c
xor eax, eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], pe_nt_image_headers32
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x34]
push eax
push 5
mov eax, dword [ebp - 0x30]
push eax
call sub.wininet.dll_HttpQueryInfoW
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x45], al
cmp byte [ebp - 0x45], 0
jne 0x4868ac
xor eax, eax
mov dword [ebp - 0x4c], eax
jmp 0x4868ca
lea eax, [ebp - 0x20078]
mov edx, dword [ebp - 0x34]
call fcn.00408b1c
mov eax, dword [ebp - 0x20078]
xor edx, edx
call fcn.0041f4b4
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x4c]
mov dword [eax + 0x54], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4868f0
mov eax, dword [ebp - 0x34]
call fcn.00404604
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x486c76
lea eax, [ebp - 0x2007c]
mov edx, 3
call fcn.00407c90
lea eax, [ebp - 0x20070]
call fcn.00407c54
lea eax, [ebp - 0x1c]
mov edx, 6
call fcn.00407c90
ret