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

Disassembly:
mov eax, 0x466bf4
call fcn.00452544
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.00441366
add esp, 0x14
push 2
pop esi
cmp dword [edi], esi
push 0x471e5a
lea ecx, [ebp - 0x90]
sete byte [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.0041be0b
push edi
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 1
push dword [ebp + 8]
lea ecx, [ebp - 0x90]
call fcn.00434048
push ebx
push 1
lea ecx, [ebp - 0x90]
mov byte [ebp - 4], 3
call fcn.0041b05c
cmp byte [ebp - 0x18], bl
je 0x433be2
lea eax, [ebp - 0x58]
push eax
call fcn.0041c0cd
pop ecx
xor esi, esi
inc esi
mov byte [ebp - 4], 4
mov dword [ebp - 0x14], esi
jmp 0x433bf9
lea eax, [ebp - 0x74]
push eax
call fcn.0041c0ad
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.0041c08d
pop ecx
push edi
push eax
lea eax, [ebp - 0x38]
push eax
mov dword [ebp - 4], 6
call fcn.004187fe
add esp, 0xc
push ebx
push esi
lea ecx, [ebp - 0xd4]
call fcn.0041b05c
mov dword [ebp - 4], 9
test byte [ebp - 0x14], 2
je 0x433c45
and dword [ebp - 0x14], 0xfffffffd
push ebx
push esi
lea ecx, [ebp - 0x74]
call fcn.0041b05c
mov byte [ebp - 4], 8
test byte [ebp - 0x14], 1
je 0x433c5d
and dword [ebp - 0x14], 0xfffffffe
push ebx
push esi
lea ecx, [ebp - 0x58]
call fcn.0041b05c
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.00421748
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x433c86
mov eax, dword [eax + 4]
jmp 0x433c89
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.0041b05c
cmp dword [ebp + 8], ebx
je 0x433cd3
cmp dword [ebp - 0x114], 0x10
mov eax, dword [ebp - 0x128]
jae 0x433cbb
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 0x433cd5
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x94], eax
cmp eax, ebx
mov byte [ebp - 4], 0xd
jne 0x433d29
push 0x471e5a
lea ecx, [ebp - 0x58]
call fcn.0041be0b
lea eax, [ebp - 0x58]
push eax
push esi
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0xe
call fcn.0041be2d
mov edi, eax
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x20], 0x10
mov esi, dword [ebp - 0x34]
jae 0x433d16
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 0x433f0a
cmp dword [ebp - 0x130], 4
mov edi, 0x84000900
jne 0x433d3c
mov edi, 0x84800900
cmp dword [ebp - 0xfc], ebx
je 0x433d4c
lea eax, [ebp - 0x110]
jmp 0x433d61
push 0x478564
lea ecx, [ebp - 0x58]
call fcn.0041be0b
mov byte [ebp - 4], 0x10
or dword [ebp - 0x14], 4
push eax
lea ecx, [ebp - 0xf0]
call fcn.0041bf87
mov dword [ebp - 4], 0x11
test byte [ebp - 0x14], 4
je 0x433d84
push ebx
push esi
lea ecx, [ebp - 0x58]
call fcn.0041b05c
cmp dword [ebp - 0xd8], 0x10
mov eax, dword [ebp - 0xec]
jae 0x433d99
lea eax, [ebp - 0xec]
push ebx
push edi
push 0x48e790
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 0x433e04
push 0x471e5a
lea ecx, [ebp - 0x58]
call fcn.0041be0b
lea eax, [ebp - 0x58]
push eax
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x14
call fcn.0041be2d
mov edi, eax
mov byte [ebp - 4], 0x15
cmp dword [ebp - 0x20], 0x10
mov esi, dword [ebp - 0x34]
jae 0x433df2
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 0x433d23
cmp dword [ebp - 0xa0], 0x10
mov eax, dword [ebp - 0xb4]
jae 0x433e19
lea eax, [ebp - 0xb4]
push dword [ebp - 0xa4]
mov edi, str.Content_Type:_application_x_www_form_urlencoded
push eax
push edi
call fcn.004506e0
pop ecx
push eax
push edi
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x433e7c
push 0x471e5a
lea ecx, [ebp - 0x58]
call fcn.0041be0b
lea eax, [ebp - 0x58]
push eax
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x16
call fcn.0041be2d
mov edi, eax
mov byte [ebp - 4], 0x17
cmp dword [ebp - 0x20], 0x10
mov esi, dword [ebp - 0x34]
jae 0x433e6a
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 0x433d23
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 0x433ed1
push 0xa
lea eax, [ebp - 0x150]
push ebx
push eax
call fcn.004503e2
add esp, 0xc
cmp eax, 0xc8
mov dword [ebp - 0x14], eax
je 0x433f19
push 0x471e5a
lea ecx, [ebp - 0x58]
call fcn.0041be0b
lea eax, [ebp - 0x58]
push eax
push 1
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 0x18
call fcn.0041be2d
mov byte [ebp - 4], 0x19
cmp dword [ebp - 0x20], 0x10
mov ecx, dword [ebp - 0x34]
jae 0x433f00
lea ecx, [ebp - 0x34]
push dword [ebp - 0x14]
push ecx
push str.Bad_status_code_for__s:__d
push eax
call fcn.0041b692
add esp, 0x10
mov ecx, eax
call fcn.0041be69
push esi
call fcn.0041fe58
pop ecx
push ebx
push 1
lea ecx, [ebp - 0xf0]
call fcn.0041b05c
push dword [ebp - 0x1c]
call fcn.0041fe58
cmp dword [ebp + 8], ebx
pop ecx
je 0x433f45
push dword [ebp + 8]
call fcn.0041fe58
pop ecx
lea esi, [ebp - 0x130]
call fcn.0040e50a
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.0041b05c
push ebx
push 1
lea ecx, [ebp - 0xb8]
call fcn.0041b05c
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4