Function at 0x4a1f18
Capabilities:
Connect to http server
Create http request
Parse url
Send data
Send http request

Disassembly:
cmp dword [ecx + 8], 0
jne 0x4a220b
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x54]
push ebx
mov ebx, ecx
mov ecx, esi
sub esp, 0x6c
call fcn.004c62d0
mov dword [esp], esi
lea ecx, [ebx + 0x44]
call fcn.004c66f8
mov ecx, esi
push eax
call fcn.004c616a
mov eax, dword [ebp + 0xc]
cmp dword [ebx + 0x34], 0
mov dword [ebx + 0x48], eax
jne 0x4a203e
mov dword [esp + 0x10], 0x10000000
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x5272b3
call dword [sym.imp.WININET.DLL_InternetOpenA]
mov dword [ebx + 0x34], eax
sub esp, 0x14
test eax, eax
jne 0x4a1fc6
mov dword [esp + 4], str.InternetOpen_failed_error
mov dword [esp], 0x5694e0
call fcn.004c8905
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004c8952
mov dword [esp], eax
call fcn.004c8cf3
jmp 0x4a2201
mov dword [esp + 4], 0x4a1938
mov dword [esp], eax
call dword [sym.imp.WININET.DLL_InternetSetStatusCallback]
push eax
push eax
mov dword [esp], 0x18
call sub.msvcrt.dll_malloc
mov dword [eax + 0x14], 0
mov dword [eax], fcn.004d95d4
mov dword [eax + 0x10], 0x550ffc
mov dword [eax + 4], ebx
mov dword [eax + 8], 0x4a1d34
mov dword [eax + 0xc], 0
mov dword [esp + 4], eax
mov dword [esp], 0x8001
call sym.winbox.exe_createNullWindow_unsigned_int__EventListener_
mov edi, eax
test eax, eax
je 0x4a202a
mov eax, dword [eax]
mov edx, dword [eax - 0xc]
add edx, edi
inc dword [edx + 4]
mov ecx, dword [ebx + 4]
test ecx, ecx
je 0x4a203b
mov eax, dword [ecx]
add ecx, dword [eax - 0xc]
call fcn.00509740
mov dword [ebx + 4], edi
mov dword [esp], str.connecting...
mov ecx, esi
call fcn.004c639a
mov ecx, ebx
push edi
mov dword [esp + 4], 0
mov dword [esp], esi
call fcn.004a1972
mov ecx, esi
push eax
push eax
call fcn.004c616a
lea edx, [ebp - 0x50]
xor eax, eax
mov ecx, 0xe
mov edi, edx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov eax, dword [eax]
mov dword [ebp - 0x54], 0x3c
add eax, 4
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x24], 1
mov dword [esp], eax
call dword [sym.imp.WININET.DLL_InternetCrackUrlA]
sub esp, 0x10
test eax, eax
je 0x4a2197
mov eax, dword [ebp - 0x40]
mov dword [ebx + 8], 1
lea ecx, [ebp - 0x58]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call fcn.004c638a
mov eax, dword [ebp - 0x58]
push ecx
push ecx
add eax, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 3
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0x50
mov dword [esp + 4], eax
mov eax, dword [ebx + 0x34]
mov dword [esp], eax
call dword [sym.imp.WININET.DLL_InternetConnectA]
lea ecx, [ebp - 0x58]
mov dword [ebx + 0x38], eax
sub esp, 0x20
call fcn.004c616a
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x58]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x28]
mov dword [esp], eax
call fcn.004c638a
mov eax, dword [ebp - 0x58]
push esi
push esi
add eax, 4
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x18], 0x80000000
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5272e3
mov eax, dword [ebx + 0x38]
mov dword [esp], eax
call dword [sym.imp.WININET.DLL_HttpOpenRequestA]
lea ecx, [ebp - 0x58]
mov dword [ebx + 0x3c], eax
sub esp, 0x20
call fcn.004c616a
mov eax, dword [ebx + 0x3c]
test eax, eax
jne 0x4a219f
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4a21f6
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0xffffffff
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.WININET.DLL_HttpSendRequestA]
sub esp, 0x14
test eax, eax
je 0x4a21e9
mov dword [esp + 4], 1
mov ecx, ebx
mov dword [esp], 0
call fcn.004a1bd8
push edx
push edx
jmp 0x4a2201
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4a2201
mov dword [esp], eax
mov ecx, ebx
call fcn.004a1b66
push eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
ret 8