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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff5c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0xa4], ebx
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], ebx
mov dword [ebp - 0x8c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov esi, edx
lea edi, [ebp - 0x48]
push ecx
mov ecx, 6
rep movsd dword es:[edi], dword [esi]
pop ecx
mov dword [ebp - 4], ecx
mov ebx, eax
lea eax, [ebp - 0x48]
mov edx, dword [0x4a0c60]
call fcn.0040520c
xor eax, eax
push ebp
push 0x4a1b9d
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor edx, edx
push ebp
push 0x4a1b5d
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, 0x4a1bb8
mov eax, dword [ebp - 0x48]
call fcn.00408a5c
test al, al
je 0x4a1892
mov edx, 0x1bb
mov eax, dword [ebp - 0x40]
call fcn.00408e08
mov esi, eax
mov dword [ebp - 0x1c], 0x80803000
jmp 0x4a18a8
mov edx, 0x50
mov eax, dword [ebp - 0x40]
call fcn.00408e08
mov esi, eax
mov dword [ebp - 0x1c], 0x80000000
push 0
push 0
push 3
push 0
push 0
push esi
mov eax, dword [ebp - 0x44]
call fcn.00404afc
push eax
mov eax, dword [ebx + 4]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4a18d4
cmp byte [ebx + 8], 0
je 0x4a18de
call fcn.00404078
jmp 0x4a1b64
cmp dword [ebp + 8], 0
je 0x4a199d
lea eax, [ebp - 0x20]
mov edx, 0x4a1bc8
call fcn.004046d4
lea eax, [ebp - 0x24]
call fcn.0040463c
mov eax, dword [ebp + 8]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4a1978
inc eax
mov dword [ebp - 0x30], eax
xor esi, esi
cmp dword [ebp - 0x24], 0
jne 0x4a1936
lea ecx, [ebp - 0x8c]
mov edx, esi
mov eax, dword [ebp + 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x24]
call fcn.004a0d70
jmp 0x4a1972
push dword [ebp - 0x24]
push 0x4a1bd8
lea ecx, [ebp - 0x94]
mov edx, esi
mov eax, dword [ebp + 8]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x94]
lea edx, [ebp - 0x90]
call fcn.004a0d70
push dword [ebp - 0x90]
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.004049bc
inc esi
dec dword [ebp - 0x30]
jne 0x4a1910
mov eax, dword [ebp - 0x24]
call fcn.00404afc
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
call fcn.004048fc
mov dword [ebp - 0x2c], eax
mov eax, dword [ebx + 0x2c]
mov edx, 0x4a1be4
mov ecx, dword [eax]
call dword [ecx + 0x38]
jmp 0x4a19b4
lea eax, [ebp - 0x20]
mov edx, 0x4a1c1c
call fcn.004046d4
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
push 0
mov eax, dword [ebp - 0x1c]
push eax
push 0
push 0
push 0x4a1c20
lea edx, [ebp - 0x98]
mov eax, dword [ebp - 0x3c]
call fcn.004a0d70
mov eax, dword [ebp - 0x98]
call fcn.00404afc
push eax
mov eax, dword [ebp - 0x20]
call fcn.00404afc
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4a19fe
cmp byte [ebx + 8], 0
je 0x4a1a08
call fcn.00404078
jmp 0x4a1b64
cmp byte [ebx + 0x1c], 0
je 0x4a1a29
cmp byte [ebx + 0x1d], 0
je 0x4a1a29
push 0xa0000000
push 0x1d
push 0x4a1c2c
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_HttpAddRequestHeadersA
mov eax, dword [ebx + 0x2c]
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4a1a88
inc eax
mov dword [ebp - 0x30], eax
xor esi, esi
push 0xa0000000
lea ecx, [ebp - 0x9c]
mov eax, dword [ebx + 0x2c]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x9c]
call fcn.004048fc
push eax
lea ecx, [ebp - 0xa0]
mov eax, dword [ebx + 0x2c]
mov edx, esi
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0xa0]
call fcn.00404afc
push eax
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_HttpAddRequestHeadersA
inc esi
dec dword [ebp - 0x30]
jne 0x4a1a3c
mov eax, dword [ebp - 0x2c]
push eax
mov eax, dword [ebp - 0x28]
push eax
push 0
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
je 0x4a1b31
cmp byte [ebx + 8], 0
je 0x4a1ab5
call fcn.00404078
jmp 0x4a1b64
lea eax, [ebp - 0x88]
xor ecx, ecx
mov edx, 0x40
call fcn.00403188
mov dword [ebp - 0x14], 0x40
xor eax, eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x88]
push eax
push 5
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_HttpQueryInfoA
cmp byte [ebx + 8], 0
je 0x4a1afa
call fcn.00404078
jmp 0x4a1b64
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0xa4]
lea edx, [ebp - 0x88]
mov ecx, 0x40
call fcn.004048ac
mov eax, dword [ebp - 0xa4]
or edx, 0xffffffff
call fcn.00408e08
mov ecx, eax
mov edx, dword [ebp - 0x10]
mov eax, ebx
call fcn.004a1554
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1b64
cmp dword [ebp - 0x10], 0
je 0x4a1b4d
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
cmp dword [ebp - 0xc], 0
je 0x4a1b5c
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4a1ba4
lea eax, [ebp - 0xa4]
mov edx, 7
call fcn.00404660
lea eax, [ebp - 0x48]
mov edx, dword [0x4a0c60]
call fcn.004050c8
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00404660
ret