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

Disassembly:
mov eax, 0x4657fd
call fcn.00451324
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.0043fb8a
add esp, 0x14
push 2
pop esi
cmp dword [edi], esi
push 0x470e4a
lea ecx, [ebp - 0x90]
sete byte [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.0041b5d0
push edi
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 1
push dword [ebp + 8]
lea ecx, [ebp - 0x90]
call fcn.00432dd5
push ebx
push 1
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.0041a87c
cmp byte [ebp - 0x18], bl
je 0x43296f
lea eax, [ebp - 0x58]
push eax
call fcn.0041b892
pop ecx
xor esi, esi
inc esi
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], esi
jmp 0x432986
lea eax, [ebp - 0x74]
push eax
call fcn.0041b872
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.0041b852
pop ecx
push edi
push eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 4], 6
call fcn.0041801e
add esp, 0xc
push ebx
push esi
lea ecx, [ebp - 0xd4]
call fcn.0041a87c
mov dword [ebp - 4], 9
test byte [ebp - 0x14], 2
je 0x4329d2
and dword [ebp - 0x14], 0xfffffffd
push ebx
push esi
lea ecx, [ebp - 0x74]
call fcn.0041a87c
mov byte [ebp - 4], 8
test byte [ebp - 0x14], 1
je 0x4329ea
and dword [ebp - 0x14], 0xfffffffe
push ebx
push esi
lea ecx, [ebp - 0x58]
call fcn.0041a87c
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.00420d4e
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x432a13
mov eax, dword [eax + 4]
jmp 0x432a16
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.0041a87c
cmp dword [ebp + 8], ebx
je 0x432a60
cmp dword [ebp - 0x114], 0x10
mov eax, dword [ebp - 0x128]
jae 0x432a48
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 0x432a62
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x94], eax
cmp eax, ebx
mov byte [ebp - 4], 0xd
jne 0x432ab6
push 0x470e4a
lea ecx, [ebp - 0x58]
call fcn.0041b5d0
lea eax, [ebp - 0x58]
push eax
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xe
call fcn.0041b5f2
mov edi, eax
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x20], 0x10
mov esi, dword [ebp - 0x34]
jae 0x432aa3
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 0x432c97
cmp dword [ebp - 0x130], 4
mov edi, 0x84000900
jne 0x432ac9
mov edi, 0x84800900
cmp dword [ebp - 0xfc], ebx
je 0x432ad9
lea eax, [ebp - 0x110]
jmp 0x432aee
push 0x477464
lea ecx, [ebp - 0x58]
call fcn.0041b5d0
mov byte [ebp - 4], 0x10
or dword [ebp - 0x14], 4
push eax
lea ecx, [ebp - 0xf0]
call fcn.0041b74c
mov dword [ebp - 4], 0x11
test byte [ebp - 0x14], 4
je 0x432b11
push ebx
push esi
lea ecx, [ebp - 0x58]
call fcn.0041a87c
cmp dword [ebp - 0xd8], 0x10
mov eax, dword [ebp - 0xec]
jae 0x432b26
lea eax, [ebp - 0xec]
push ebx
push edi
push 0x48d708
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 0x432b91
push 0x470e4a
lea ecx, [ebp - 0x58]
call fcn.0041b5d0
lea eax, [ebp - 0x58]
push eax
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x14
call fcn.0041b5f2
mov edi, eax
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x20], 0x10
mov esi, dword [ebp - 0x34]
jae 0x432b7f
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 0x432ab0
cmp dword [ebp - 0xa0], 0x10
mov eax, dword [ebp - 0xb4]
jae 0x432ba6
lea eax, [ebp - 0xb4]
push dword [ebp - 0xa4]
mov edi, str.Content_Type:_application_x_www_form_urlencoded
push eax
push edi
call fcn.0044f4c0
pop ecx
push eax
push edi
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x432c09
push 0x470e4a
lea ecx, [ebp - 0x58]
call fcn.0041b5d0
lea eax, [ebp - 0x58]
push eax
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x16
call fcn.0041b5f2
mov edi, eax
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x20], 0x10
mov esi, dword [ebp - 0x34]
jae 0x432bf7
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 0x432ab0
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 0x432c5e
push 0xa
lea eax, [ebp - 0x150]
push ebx
push eax
call fcn.0044f1c2
add esp, 0xc
cmp eax, 0xc8
mov dword [ebp - 0x14], eax
je 0x432ca6
push 0x470e4a
lea ecx, [ebp - 0x58]
call fcn.0041b5d0
lea eax, [ebp - 0x58]
push eax
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x18
call fcn.0041b5f2
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x20], 0x10
mov ecx, dword [ebp - 0x34]
jae 0x432c8d
lea ecx, [ebp - 0x34]
push dword [ebp - 0x14]
push ecx
push str.Bad_status_code_for__s:__d
push eax
call fcn.0041aecf
add esp, 0x10
mov ecx, eax
call fcn.0041b62e
push esi
call fcn.0041f611
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xf0]
call fcn.0041a87c
push dword [ebp - 0x1c]
call fcn.0041f611
cmp dword [ebp + 8], ebx
pop ecx
je 0x432cd2
push dword [ebp + 8]
call fcn.0041f611
pop ecx
lea esi, [ebp - 0x130]
call fcn.0040dde7
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.0041a87c
push ebx
push 1
lea ecx, [ebp - 0xb8]
call fcn.0041a87c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4