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

Disassembly:
mov eax, 0x45bdeb
call fcn.004485c4
sub esp, 0xc0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov esi, ecx
push dword [esi]
mov eax, dword [esi + 0x18]
push eax
push str.MessageSender::DoSendMessage_180
push str._s__len_text__d_type_d
xor ebx, ebx
push ebx
call fcn.00437bbc
add esp, 0x14
cmp dword [esi], 2
push 0x465cf2
lea ecx, [ebp - 0x84]
sete byte [ebp - 0x14]
mov dword [ebp - 4], ebx
call fcn.00418739
push esi
lea eax, [ebp - 0xac]
push eax
mov byte [ebp - 4], 1
push dword [ebp + 8]
lea ecx, [ebp - 0x84]
call fcn.0042b9f1
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 3
call fcn.00417a85
cmp byte [ebp - 0x14], bl
mov eax, 0x468c7c
jne 0x42b6a5
mov eax, str.st.openinstall.com
push eax
lea ecx, [ebp - 0x38]
call fcn.00418739
lea eax, [ebp - 0x68]
push eax
mov byte [ebp - 4], 4
call fcn.0041c5de
cmp dword [eax + 0x18], 0x10
pop ecx
jb 0x42b6c7
mov eax, dword [eax + 4]
jmp 0x42b6ca
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 - 0x68]
call fcn.00417a85
cmp dword [ebp + 8], ebx
je 0x42b70a
cmp dword [ebp - 0x20], 0x10
mov eax, dword [ebp - 0x34]
jae 0x42b6f3
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 - 0x18], eax
jmp 0x42b70d
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x90], eax
cmp eax, ebx
mov byte [ebp - 4], 6
jne 0x42b761
push 0x465cf2
lea ecx, [ebp - 0x68]
call fcn.00418739
lea eax, [ebp - 0x68]
push eax
push edi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 7
call fcn.0041875b
mov ebx, eax
mov byte [ebp - 4], 8
cmp dword [ebp - 0x20], 0x10
mov esi, dword [ebp - 0x34]
jae 0x42b74e
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 ebx
jmp 0x42b8d5
push edi
push 0x800
push 0x47e488
push ebx
push ebx
push 0x46b778
push str.POST
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
mov dword [ebp - 0x8c], esi
cmp esi, ebx
mov byte [ebp - 4], 9
jne 0x42b7ce
push 0x465cf2
lea ecx, [ebp - 0x68]
call fcn.00418739
lea eax, [ebp - 0x68]
push eax
push edi
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xa
call fcn.0041875b
mov ebx, eax
mov byte [ebp - 4], 0xb
cmp dword [ebp - 0x20], 0x10
mov esi, dword [ebp - 0x34]
jae 0x42b7bf
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 0x42b75b
cmp dword [ebp - 0x94], 0x10
mov eax, dword [ebp - 0xa8]
jae 0x42b7e3
lea eax, [ebp - 0xa8]
push dword [ebp - 0x98]
mov edi, str.Content_Type:_application_x_www_form_urlencoded
push eax
push edi
call fcn.00446610
pop ecx
push eax
push edi
push esi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x42b847
push 0x465cf2
lea ecx, [ebp - 0x68]
call fcn.00418739
lea eax, [ebp - 0x68]
push eax
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xc
call fcn.0041875b
mov edi, eax
mov byte [ebp - 4], 0xd
cmp dword [ebp - 0x20], 0x10
mov esi, dword [ebp - 0x34]
jae 0x42b834
lea esi, [ebp - 0x34]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.Cant_send_request_to__s:_err_d
push edi
jmp 0x42b8d5
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0xcc], bl
lea edi, [ebp - 0xcb]
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 - 0xcc]
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 0x42b89c
push 0xa
lea eax, [ebp - 0xcc]
push ebx
push eax
call fcn.00446312
add esp, 0xc
cmp eax, 0xc8
mov dword [ebp - 0x1c], eax
je 0x42b8e4
push 0x465cf2
lea ecx, [ebp - 0x68]
call fcn.00418739
lea eax, [ebp - 0x68]
push eax
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 0xe
call fcn.0041875b
mov byte [ebp - 4], 0xf
cmp dword [ebp - 0x20], 0x10
mov ecx, dword [ebp - 0x34]
jae 0x42b8cb
lea ecx, [ebp - 0x34]
push dword [ebp - 0x1c]
push ecx
push str.Bad_status_code_for__s:__d
push eax
call fcn.004180c3
add esp, 0x10
mov ecx, eax
call fcn.00418793
push esi
call fcn.0041af1f
push dword [ebp - 0x18]
call fcn.0041af1f
cmp dword [ebp + 8], ebx
pop ecx
pop ecx
je 0x42b902
push dword [ebp + 8]
call fcn.0041af1f
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00417a85
push ebx
push 1
lea ecx, [ebp - 0xac]
call fcn.00417a85
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4