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

Disassembly:
cmp dword [ecx + 8], 0
jne 0x4a24b3
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.004c6580
mov dword [esp], esi
lea ecx, [ebx + 0x44]
call fcn.004c69a8
mov ecx, esi
push eax
call fcn.004c641a
mov eax, dword [ebp + 0xc]
cmp dword [ebx + 0x34], 0
mov dword [ebx + 0x48], eax
jne 0x4a22e6
mov dword [esp + 0x10], 0x10000000
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0x5272bb
call dword [sym.imp.WININET.DLL_InternetOpenA]
mov dword [ebx + 0x34], eax
sub esp, 0x14
test eax, eax
jne 0x4a226e
mov dword [esp + 4], str.InternetOpen_failed_error
mov dword [esp], 0x569500
call fcn.004c8bb5
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [esp], ebx
mov dword [esp + 4], eax
call fcn.004c8c02
mov dword [esp], eax
call fcn.004c8fa3
jmp 0x4a24a9
mov dword [esp + 4], 0x4a1be0
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.004d9884
mov dword [eax + 0x10], 0x55101c
mov dword [eax + 4], ebx
mov dword [eax + 8], 0x4a1fdc
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 0x4a22d2
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 0x4a22e3
mov eax, dword [ecx]
add ecx, dword [eax - 0xc]
call fcn.00509a10
mov dword [ebx + 4], edi
mov dword [esp], str.connecting...
mov ecx, esi
call fcn.004c664a
mov ecx, ebx
push edi
mov dword [esp + 4], 0
mov dword [esp], esi
call fcn.004a1c1a
mov ecx, esi
push eax
push eax
call fcn.004c641a
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 0x4a243f
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.004c663a
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.004c641a
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.004c663a
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], 0x5272eb
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.004c641a
mov eax, dword [ebx + 0x3c]
test eax, eax
jne 0x4a2447
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4a249e
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 0x4a2491
mov dword [esp + 4], 1
mov ecx, ebx
mov dword [esp], 0
call fcn.004a1e80
push edx
push edx
jmp 0x4a24a9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
je 0x4a24a9
mov dword [esp], eax
mov ecx, ebx
call fcn.004a1e0e
push eax
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret 8
ret 8