Function at 0x42de10
Capabilities:
Check http status code
Connect to http server
Create http request
Send data
Send http request

Disassembly:
mov eax, 0x45eba3
call fcn.0044b154
sub esp, 0xcc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
push dword [esi]
mov eax, dword [esi + 0x18]
push eax
push str.MessageSender::DoSendMessage_180
push str._s__len_text__d_type_d
push ebx
call fcn.0043a6e3
add esp, 0x14
cmp dword [esi], 2
push 0x468d4a
lea ecx, [ebp - 0x74]
sete byte [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.00419fe3
push esi
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 1
push dword [ebp + 8]
lea ecx, [ebp - 0x74]
call fcn.0042e22d
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.004192fd
cmp byte [ebp - 0x18], bl
je 0x42dea0
lea eax, [ebp - 0x90]
push eax
call fcn.0041a2a5
pop ecx
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], edi
jmp 0x42deb8
lea eax, [ebp - 0x58]
push eax
call fcn.0041a285
pop ecx
mov dword [ebp - 4], 5
mov dword [ebp - 0x14], 2
push eax
lea ecx, [ebp - 0x38]
call fcn.0041a15f
test byte [ebp - 0x14], 2
je 0x42ded5
and dword [ebp - 0x14], 0xfffffffd
push ebx
push edi
lea ecx, [ebp - 0x58]
call fcn.004192fd
mov dword [ebp - 4], 7
test byte [ebp - 0x14], 1
je 0x42deef
push ebx
push edi
lea ecx, [ebp - 0x90]
call fcn.004192fd
lea eax, [ebp - 0x74]
push eax
call fcn.0041e77d
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x42df04
mov eax, dword [eax + 4]
jmp 0x42df07
add eax, 4
push ebx
push ebx
push ebx
push ebx
push eax
call dword [sym.imp.WININET.dll_InternetOpenA]
mov dword [ebp + 8], eax
push ebx
push edi
lea ecx, [ebp - 0x74]
call fcn.004192fd
cmp dword [ebp + 8], ebx
je 0x42df47
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x42df30
lea eax, [ebp - 0x34]
push edi
push ebx
push 3
push ebx
push ebx
push 0x50
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetConnectA]
mov dword [ebp - 0x14], eax
jmp 0x42df4a
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x9c], eax
cmp eax, ebx
mov byte [ebp - 4], 0xa
jne 0x42dfa1
push 0x468d4a
lea ecx, [ebp - 0x58]
call fcn.00419fe3
lea eax, [ebp - 0x58]
push eax
push edi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xb
call fcn.0041a005
mov edi, eax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x20], 0x10
mov esi, dword [ebp - 0x34]
jae 0x42df8e
lea esi, [ebp - 0x34]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push esi
push str.Cant_open_internet_request_for__s:_err_d
push edi
jmp 0x42e11d
push edi
push 0x800
push 0x483598
push ebx
push ebx
push 0x46eb8c
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
mov dword [ebp - 0x98], esi
cmp esi, ebx
mov byte [ebp - 4], 0xd
jne 0x42e011
push 0x468d4a
lea ecx, [ebp - 0x58]
call fcn.00419fe3
lea eax, [ebp - 0x58]
push eax
push edi
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0xe
call fcn.0041a005
mov edi, eax
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x20], 0x10
mov esi, dword [ebp - 0x34]
jae 0x42e002
lea esi, [ebp - 0x34]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push esi
push str.Cant_open_request_to__s:_err_d
jmp 0x42df9b
cmp dword [ebp - 0xa0], 0x10
mov eax, dword [ebp - 0xb4]
jae 0x42e026
lea eax, [ebp - 0xb4]
push dword [ebp - 0xa4]
mov edi, str.Content_Type:_application_x_www_form_urlencoded
push eax
push edi
call fcn.00449290
pop ecx
push eax
push edi
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x42e08c
push 0x468d4a
lea ecx, [ebp - 0x58]
call fcn.00419fe3
lea eax, [ebp - 0x58]
push eax
push 1
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x10
call fcn.0041a005
mov edi, eax
mov byte [ebp - 4], 0x11
cmp dword [ebp - 0x20], 0x10
mov esi, dword [ebp - 0x34]
jae 0x42e07a
lea esi, [ebp - 0x34]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push esi
push str.Cant_send_request_to__s:_err_d
jmp 0x42df9b
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0xd8], bl
lea edi, [ebp - 0xd7]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
stosb byte es:[edi], al
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0xd8]
push eax
push 0x13
push esi
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x3c], 0x20
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x42e0e1
push 0xa
lea eax, [ebp - 0xd8]
push ebx
push eax
call fcn.00448f92
add esp, 0xc
cmp eax, 0xc8
mov dword [ebp - 0x1c], eax
je 0x42e12c
push 0x468d4a
lea ecx, [ebp - 0x58]
call fcn.00419fe3
lea eax, [ebp - 0x58]
push eax
push 1
lea ecx, [ebp - 0x88]
mov byte [ebp - 4], 0x12
call fcn.0041a005
mov byte [ebp - 4], 0x13
cmp dword [ebp - 0x20], 0x10
mov ecx, dword [ebp - 0x34]
jae 0x42e113
lea ecx, [ebp - 0x34]
push dword [ebp - 0x1c]
push ecx
push str.Bad_status_code_for__s:__d
push eax
call fcn.00419950
add esp, 0x10
mov ecx, eax
call fcn.0041a041
push esi
call fcn.0041d0ad
push dword [ebp - 0x14]
call fcn.0041d0ad
cmp dword [ebp + 8], ebx
pop ecx
pop ecx
je 0x42e14a
push dword [ebp + 8]
call fcn.0041d0ad
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.004192fd
push ebx
push 1
lea ecx, [ebp - 0xb8]
call fcn.004192fd
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4