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

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0xb
push 0
push 0
dec ecx
jne 0x4d211c
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4d2556
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0x10], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4d2527
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
push 0
push 0
push 0
push 0x4d2564
call sub.wininet.dll_InternetOpenA
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4d217b
call fcn.004047c4
jmp 0x4d252e
push 0
push 0
push 3
push 0x4d2570
push 0x4d2570
push 0x50
mov eax, dword [0x548df4]
mov eax, dword [eax]
call fcn.004052a0
push eax
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetConnectA
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4d21b6
call fcn.004047c4
jmp 0x4d252e
push 0
push 0
push 0
push 0x4d257c
mov eax, dword [0x548df4]
push dword [eax]
lea edx, [ebp - 0x24]
mov eax, 0x4d2590
call fcn.00459970
push dword [ebp - 0x24]
lea eax, [ebp - 0x20]
mov edx, 3
call fcn.00405160
mov eax, dword [ebp - 0x20]
call fcn.004052a0
push eax
push 0
lea edx, [ebp - 0x28]
mov eax, 0x4d25c8
call fcn.00459970
mov eax, dword [ebp - 0x28]
call fcn.004052a0
push eax
push 0x4d25e8
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_HttpOpenRequestA
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x4d2227
call fcn.004047c4
jmp 0x4d252e
mov ecx, dword [0x548de0]
mov ecx, dword [ecx]
lea eax, [ebp - 0x2c]
mov edx, 0x4d25f8
call fcn.004050ec
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0x60]
lea edx, [ebp - 0x30]
mov eax, 0x4d2608
call fcn.00459970
lea eax, [ebp - 0x30]
mov edx, 0x4d2620
call fcn.004050a8
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
xor edx, edx
mov esi, dword [eax]
call dword [esi + 0x60]
test ebx, ebx
jne 0x4d22bf
lea edx, [ebp - 0x38]
mov eax, 0x4d263c
call fcn.00459970
push dword [ebp - 0x38]
mov eax, dword [0x548e5c]
mov eax, dword [eax]
push dword [eax + 0x34]
mov eax, dword [0x548f18]
push dword [eax]
push 0x4d2660
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.00405160
mov ecx, dword [ebp - 0x34]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
jmp 0x4d22fe
lea edx, [ebp - 0x40]
mov eax, 0x4d263c
call fcn.00459970
push dword [ebp - 0x40]
push ebx
push 0x4d2670
mov eax, dword [0x548f18]
push dword [eax]
push 0x4d2660
lea eax, [ebp - 0x3c]
mov edx, 5
call fcn.00405160
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
xor edx, edx
mov ebx, dword [eax]
call dword [ebx + 0x60]
lea edx, [ebp - 0x44]
mov eax, 0x4d267c
call fcn.00459970
mov edx, dword [ebp - 0x44]
lea eax, [ebp - 0x18]
mov ecx, 0x4d26c4
call fcn.004050ec
push 0x40000000
mov eax, dword [ebp - 0x18]
call fcn.004050a0
push eax
mov eax, dword [ebp - 0x18]
call fcn.004052a0
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_HttpAddRequestHeadersA
lea edx, [ebp - 0x48]
mov eax, 0x4d267c
call fcn.00459970
mov edx, dword [ebp - 0x48]
lea eax, [ebp - 0x18]
mov ecx, 0x4d26c4
call fcn.004050ec
push 0x40000000
mov eax, dword [ebp - 0x18]
call fcn.004050a0
push eax
mov eax, dword [ebp - 0x18]
call fcn.004052a0
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_HttpAddRequestHeadersA
lea edx, [ebp - 0x4c]
mov eax, 0x4d26d0
call fcn.00459970
push dword [ebp - 0x4c]
mov eax, dword [0x548df4]
push dword [eax]
lea edx, [ebp - 0x50]
mov eax, 0x4d26fc
call fcn.00459970
push dword [ebp - 0x50]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405160
lea eax, [ebp - 0x18]
mov edx, 0x4d26c4
call fcn.004050a8
push 0x40000000
mov eax, dword [ebp - 0x18]
call fcn.004050a0
push eax
mov eax, dword [ebp - 0x18]
call fcn.004052a0
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_HttpAddRequestHeadersA
mov dl, 1
mov eax, dword [0x41a9c8]
call fcn.00403e44
mov esi, eax
mov edx, 0x4d2728
mov eax, esi
call fcn.004ba5f0
mov eax, esi
mov edx, dword [eax]
call dword [edx + 0x14]
dec eax
test eax, eax
jl 0x4d2456
inc eax
mov dword [ebp - 0x1c], eax
xor ebx, ebx
lea ecx, [ebp - 0x54]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp dword [ebp - 0x54], 0
je 0x4d2450
lea ecx, [ebp - 0x18]
mov edx, ebx
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 0x18]
mov edx, 0x4d26c4
call fcn.004050a8
push 0x40000000
mov eax, dword [ebp - 0x18]
call fcn.004050a0
push eax
mov eax, dword [ebp - 0x18]
call fcn.004052a0
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_HttpAddRequestHeadersA
inc ebx
dec dword [ebp - 0x1c]
jne 0x4d2405
mov eax, esi
call fcn.00403e74
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
push 0x4d273c
mov eax, dword [ebp - 0x14]
call fcn.004050a0
lea edx, [ebp - 0x58]
call fcn.0040a0f0
push dword [ebp - 0x58]
push 0x4d26c4
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405160
push 0x40000000
mov eax, dword [ebp - 0x18]
call fcn.004050a0
push eax
mov eax, dword [ebp - 0x18]
call fcn.004052a0
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_HttpAddRequestHeadersA
mov eax, dword [ebp - 0x14]
call fcn.004050a0
push eax
mov eax, dword [ebp - 0x14]
call fcn.004052a0
push eax
push 0
push 0
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_HttpSendRequestA
test eax, eax
call sub.user32.dll_IsIconic
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov edx, dword [eax]
call dword [edx + 0x44]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d252e
cmp dword [ebp - 0xc], 0
je 0x4d2508
mov eax, dword [ebp - 0xc]
push eax
call sub.wininet.dll_InternetCloseHandle
cmp dword [ebp - 0x10], 0
je 0x4d2517
mov eax, dword [ebp - 0x10]
push eax
call sub.wininet.dll_InternetCloseHandle
cmp dword [ebp - 8], 0
je 0x4d2526
mov eax, dword [ebp - 8]
push eax
call sub.wininet.dll_InternetCloseHandle
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4d255d
lea eax, [ebp - 0x58]
mov edx, 0xf
call fcn.00404de8
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00404de8
ret