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

Disassembly:
mov eax, 0x1244
call fcn.00488a80
mov eax, dword [esp + 0x1248]
mov eax, dword [eax]
push ebx
push ebp
push esi
xor esi, esi
cmp eax, esi
push edi
je 0x4d6672
add eax, 4
jmp 0x4d6674
xor eax, eax
push eax
lea ecx, [esp + 0x18]
call fcn.005214b0
push esi
push esi
push esi
push esi
push 0x69ef14
call dword [sym.imp.WININET.dll_InternetOpenA]
mov ebp, eax
cmp ebp, esi
jne 0x4d66ac
lea ecx, [esp + 0x14]
call fcn.004039f0
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x1244
ret
mov ecx, dword [esp + 0x30]
push 0xc30
push esi
push 3
push esi
push esi
push ecx
lea edx, [esp + 0x16c]
push edx
push ebp
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
cmp ebx, esi
jne 0x4d672c
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x4d6855
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov edi, eax
jae 0x4d6855
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
and eax, 0xff
cmp eax, 0x7f
jne 0x4d6844
mov edx, dword [edi]
and edx, 0xff
cmp edx, 0x80
jae 0x4d683f
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
and eax, 0xff
jmp 0x4d6844
or ecx, 0xffffffff
xor eax, eax
lea edi, [esp + 0xa54]
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
lea ecx, [esp + 0xa58]
push ecx
lea ecx, [esp + 0x18]
mov dword [esp + 0x18], esi
call fcn.0049d9d0
lea edx, [esp + 0xe54]
push edx
lea ecx, [esp + 0x14]
call fcn.0049d460
mov eax, dword [esp + 0x10]
cmp eax, esi
je 0x4d6771
add eax, 4
jmp 0x4d6773
xor eax, eax
push 0xc30
push 0x80000
push 0x69ee70
push esi
push esi
push eax
push esi
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
cmp edi, esi
jne 0x4d6865
mov eax, dword [esp + 0x10]
cmp eax, esi
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
je 0x4d67fa
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov edi, eax
jae 0x4d67fa
push eax
call ebx
and eax, 0xff
cmp eax, 0x7f
jne 0x4d67e9
mov edx, dword [edi]
and edx, 0xff
cmp edx, 0x80
jae 0x4d67e4
push edi
call ebp
and eax, 0xff
jmp 0x4d67e9
mov eax, 0xff
cmp eax, esi
jne 0x4d67fa
mov eax, dword [esp + 0x10]
push eax
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0x14]
cmp eax, esi
mov dword [esp + 0x10], esi
je 0x4d6855
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov edi, eax
jae 0x4d6855
push eax
call ebx
and eax, 0xff
cmp eax, 0x7f
jne 0x4d6844
mov edx, dword [edi]
and edx, 0xff
cmp edx, 0x80
jae 0x4d683f
push edi
call ebp
and eax, 0xff
jmp 0x4d6844
mov eax, 0xff
cmp eax, esi
jne 0x4d6855
mov eax, dword [esp + 0x14]
push eax
call fcn.00499410
add esp, 4
pop edi
pop esi
pop ebp
mov eax, 4
pop ebx
add esp, 0x1244
ret
push esi
push esi
push esi
push esi
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
mov esi, eax
neg esi
sbb esi, esi
push edi
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
neg esi
dec esi
call edi
push ebx
call edi
push ebp
call edi
mov eax, dword [esp + 0x10]
test eax, eax
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov ebp, dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
je 0x4d68eb
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov edi, eax
jae 0x4d68eb
push eax
call ebx
and eax, 0xff
cmp eax, 0x7f
jne 0x4d68da
mov edx, dword [edi]
and edx, 0xff
cmp edx, 0x80
jae 0x4d68d5
push edi
call ebp
and eax, 0xff
jmp 0x4d68da
mov eax, 0xff
test eax, eax
jne 0x4d68eb
mov eax, dword [esp + 0x10]
push eax
call fcn.00499410
add esp, 4
mov eax, dword [esp + 0x14]
test eax, eax
mov dword [esp + 0x10], 0
je 0x4d694a
mov ecx, dword [eax]
and ecx, 0xff
cmp ecx, 0x80
mov edi, eax
jae 0x4d694a
push eax
call ebx
and eax, 0xff
cmp eax, 0x7f
jne 0x4d6939
mov edx, dword [edi]
and edx, 0xff
cmp edx, 0x80
jae 0x4d6934
push edi
call ebp
and eax, 0xff
jmp 0x4d6939
mov eax, 0xff
test eax, eax
jne 0x4d694a
mov eax, dword [esp + 0x14]
push eax
call fcn.00499410
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x1244
ret