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

Disassembly:
mov eax, 0x467164
call fcn.00452ab4
sub esp, 0x144
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x14], ebx
push dword [edi]
mov eax, dword [edi + 0x18]
push eax
push str.MessageSender::DoSendMessage_180
push str._s__len_text__d_type_d
push ebx
call fcn.004418d2
add esp, 0x14
push 2
pop esi
cmp dword [edi], esi
push 0x472e5a
lea ecx, [ebp - 0x90]
sete byte [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.0041c1c2
push edi
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 1
push dword [ebp + 8]
lea ecx, [ebp - 0x90]
call fcn.004345b4
push ebx
push 1
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.0041b413
cmp byte [ebp - 0x18], bl
je 0x43414e
lea eax, [ebp - 0x58]
push eax
call fcn.0041c484
pop ecx
xor esi, esi
inc esi
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], esi
jmp 0x434165
lea eax, [ebp - 0x74]
push eax
call fcn.0041c464
pop ecx
mov dword [ebp - 4], 5
mov dword [ebp - 0x14], esi
xor esi, esi
inc esi
mov edi, eax
lea eax, [ebp - 0xd4]
push eax
call fcn.0041c444
pop ecx
push edi
push eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 4], 6
call fcn.00418bb5
add esp, 0xc
push ebx
push esi
lea ecx, [ebp - 0xd4]
call fcn.0041b413
mov dword [ebp - 4], 9
test byte [ebp - 0x14], 2
je 0x4341b1
and dword [ebp - 0x14], 0xfffffffd
push ebx
push esi
lea ecx, [ebp - 0x74]
call fcn.0041b413
mov byte [ebp - 4], 8
test byte [ebp - 0x14], 1
je 0x4341c9
and dword [ebp - 0x14], 0xfffffffe
push ebx
push esi
lea ecx, [ebp - 0x58]
call fcn.0041b413
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x130]
push eax
call fcn.00401540
lea eax, [ebp - 0x58]
push eax
mov byte [ebp - 4], 0xb
call fcn.00421aff
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x4341f2
mov eax, dword [eax + 4]
jmp 0x4341f5
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 esi
lea ecx, [ebp - 0x58]
call fcn.0041b413
cmp dword [ebp + 8], ebx
je 0x43423f
cmp dword [ebp - 0x114], 0x10
mov eax, dword [ebp - 0x128]
jae 0x434227
lea eax, [ebp - 0x128]
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0xf4]
push eax
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetConnectA]
jmp 0x434241
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x94], eax
cmp eax, ebx
mov byte [ebp - 4], 0xd
jne 0x434295
push 0x472e5a
lea ecx, [ebp - 0x58]
call fcn.0041c1c2
lea eax, [ebp - 0x58]
push eax
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xe
call fcn.0041c1e4
mov edi, eax
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x20], 0x10
mov esi, dword [ebp - 0x34]
jae 0x434282
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 0x434476
cmp dword [ebp - 0x130], 4
mov edi, 0x84000900
jne 0x4342a8
mov edi, 0x84800900
cmp dword [ebp - 0xfc], ebx
je 0x4342b8
lea eax, [ebp - 0x110]
jmp 0x4342cd
push 0x4795f8
lea ecx, [ebp - 0x58]
call fcn.0041c1c2
mov byte [ebp - 4], 0x10
or dword [ebp - 0x14], 4
push eax
lea ecx, [ebp - 0xf0]
call fcn.0041c33e
mov dword [ebp - 4], 0x11
test byte [ebp - 0x14], 4
je 0x4342f0
push ebx
push esi
lea ecx, [ebp - 0x58]
call fcn.0041b413
cmp dword [ebp - 0xd8], 0x10
mov eax, dword [ebp - 0xec]
jae 0x434305
lea eax, [ebp - 0xec]
push ebx
push edi
push 0x48f790
push ebx
push ebx
push eax
push str.POST
push dword [ebp - 0x1c]
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
mov dword [ebp - 0x98], esi
cmp esi, ebx
mov byte [ebp - 4], 0x13
jne 0x434370
push 0x472e5a
lea ecx, [ebp - 0x58]
call fcn.0041c1c2
lea eax, [ebp - 0x58]
push eax
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x14
call fcn.0041c1e4
mov edi, eax
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x20], 0x10
mov esi, dword [ebp - 0x34]
jae 0x43435e
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 0x43428f
cmp dword [ebp - 0xa0], 0x10
mov eax, dword [ebp - 0xb4]
jae 0x434385
lea eax, [ebp - 0xb4]
push dword [ebp - 0xa4]
mov edi, str.Content_Type:_application_x_www_form_urlencoded
push eax
push edi
call fcn.00450c50
pop ecx
push eax
push edi
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x4343e8
push 0x472e5a
lea ecx, [ebp - 0x58]
call fcn.0041c1c2
lea eax, [ebp - 0x58]
push eax
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x16
call fcn.0041c1e4
mov edi, eax
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x20], 0x10
mov esi, dword [ebp - 0x34]
jae 0x4343d6
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 0x43428f
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x150], bl
lea edi, [ebp - 0x14f]
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 - 0x150]
push eax
push 0x13
push esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x3c], 0x20
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x43443d
push 0xa
lea eax, [ebp - 0x150]
push ebx
push eax
call fcn.00450952
add esp, 0xc
cmp eax, 0xc8
mov dword [ebp - 0x14], eax
je 0x434485
push 0x472e5a
lea ecx, [ebp - 0x58]
call fcn.0041c1c2
lea eax, [ebp - 0x58]
push eax
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x18
call fcn.0041c1e4
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x20], 0x10
mov ecx, dword [ebp - 0x34]
jae 0x43446c
lea ecx, [ebp - 0x34]
push dword [ebp - 0x14]
push ecx
push str.Bad_status_code_for__s:__d
push eax
call fcn.0041ba49
add esp, 0x10
mov ecx, eax
call fcn.0041c220
push esi
call fcn.0042020f
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xf0]
call fcn.0041b413
push dword [ebp - 0x1c]
call fcn.0042020f
cmp dword [ebp + 8], ebx
pop ecx
je 0x4344b1
push dword [ebp + 8]
call fcn.0042020f
pop ecx
lea esi, [ebp - 0x130]
call fcn.0040e50a
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.0041b413
push ebx
push 1
lea ecx, [ebp - 0xb8]
call fcn.0041b413
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4