Function at 0x48883a
Capabilities:
Check http status code
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49cee5
mov eax, dword fs:[0]
push eax
mov eax, 0x2898
call fcn.00497da0
mov eax, dword [0x4cb0b0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x287c], ebx
mov dword [ebp - 0x2878], ebx
mov dword [ebp - 0x2874], ebx
lea eax, [esi + 0x28]
mov dword [ebp - 4], ebx
push eax
push str.Content_type:_multipart_form_data__boundary
lea eax, [ebp - 0x2840]
mov dword [ebp - 0x2830], ebx
push eax
mov dword [ebp - 0x2838], ebx
mov edi, ebx
mov dword [ebp - 0x282c], ebx
call fcn.0047b8ea
push 0xfff
lea eax, [ebp - 0x1c0f]
mov dword [ebp - 0x2868], 0x4a377c
push ebx
push eax
mov dword [ebp - 0x2864], ebx
mov byte [ebp - 0x1c10], bl
call sub.MSVCR120.dll_memset
mov eax, dword [0x4cb014]
add esp, 0xc
mov dword [ebp - 0x283c], ebx
mov dword [ebp - 0x2820], eax
push 1
push ebx
push ecx
xorps xmm0, xmm0
mov byte [ebp - 4], 2
mov ecx, esp
movlpd qword [ebp - 0x2870], xmm0
push str.Calculating_size_of_data_to_send.
call fcn.0045f630
mov ecx, dword [esi + 0x14]
call fcn.004620ac
lea eax, [ebp - 0x2870]
mov ecx, esi
push eax
call fcn.0048854c
push 1
push ebx
push ecx
mov ecx, esp
test eax, eax
jne 0x488933
push str.Error_calculating_size_of_data_to_send_
jmp 0x488f42
push str.Opening_Internet_connection.
call fcn.0045f630
mov ecx, dword [esi + 0x14]
call fcn.004620ac
push ebx
push ebx
push ebx
push ebx
push 0x4a385c
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x2830], eax
test eax, eax
jne 0x48896e
push 1
push ebx
push ecx
mov ecx, esp
push str.Error_opening_Internet_session
jmp 0x488f42
push 0x400
lea eax, [ebp - 0x2810]
mov ecx, 0x200
push eax
lea eax, [ebp - 0x282c]
push eax
push ecx
lea eax, [ebp - 0xc10]
push eax
push ecx
lea eax, [ebp - 0x2010]
mov ecx, esi
push eax
push dword [esi]
call fcn.00488fe7
push 1
push ebx
push ecx
mov ecx, esp
push str.Connecting_to_server
call fcn.0045f630
mov ecx, dword [esi + 0x14]
call fcn.004620ac
push ebx
push ebx
push 3
push ebx
push ebx
push dword [ebp - 0x282c]
lea eax, [ebp - 0xc10]
push eax
mov eax, dword [ebp - 0x2830]
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
mov dword [ebp - 0x2838], eax
test eax, eax
jne 0x4889f1
push 1
push ebx
push ecx
mov ecx, esp
push str.Error_connecting_to_server
jmp 0x488f42
push 4
lea ecx, [ebp - 0x2860]
mov dword [ebp - 0x2860], ebx
push ecx
push 6
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov ecx, dword [esi + 0x14]
call fcn.00461fed
test al, al
jne 0x488f4f
push 1
push ebx
push ecx
mov ecx, esp
push str.Opening_HTTP_request...
call fcn.0045f630
mov ecx, dword [esi + 0x14]
call fcn.004620ac
cmp dword [ebp - 0x282c], 0x1bb
mov eax, 0x4a00000
mov edx, 0x4200000
mov ecx, ebx
cmove edx, eax
mov eax, ebx
mov dword [ebp - 0x281c], edx
mov dword [ebp - 0x2834], eax
test ecx, ecx
je 0x488a64
test eax, eax
je 0x488ef4
push ebx
push edx
lea eax, [ebp - 0x2868]
inc ecx
push eax
push ebx
push ebx
lea eax, [ebp - 0x2810]
mov dword [ebp - 0x2848], ecx
push eax
push str.POST
push dword [ebp - 0x2838]
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov edi, eax
test edi, edi
je 0x488f37
lea eax, [ebp - 0x2850]
mov dword [ebp - 0x2824], ebx
push eax
lea eax, [ebp - 0x2824]
mov dword [ebp - 0x2850], 4
push eax
push 0x1f
push edi
call dword [sym.imp.WININET.dll_InternetQueryOptionW]
or dword [ebp - 0x2824], 0x3280
lea eax, [ebp - 0x2824]
push 4
push eax
push 0x1f
push edi
call dword [sym.imp.WININET.dll_InternetSetOptionW]
mov eax, dword [ebp - 0x2840]
push 1
push ebx
mov dword [ebp - 0x289c], eax
push ecx
mov dword [ebp - 0x28a4], 0x28
mov ecx, esp
mov dword [ebp - 0x28a0], ebx
mov eax, dword [eax - 8]
mov dword [ebp - 0x2898], eax
mov eax, dword [ebp - 0x2870]
push str.Sending_HTTP_request...
mov dword [ebp - 0x2894], ebx
mov dword [ebp - 0x2890], ebx
mov dword [ebp - 0x288c], ebx
mov dword [ebp - 0x2888], eax
mov dword [ebp - 0x2884], ebx
mov dword [ebp - 0x2880], ebx
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebx
call fcn.0045f630
mov ecx, dword [esi + 0x14]
call fcn.004620ac
push ebx
push ebx
push ebx
lea eax, [ebp - 0x28a4]
push eax
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestExW]
test eax, eax
je 0x488f2a
mov eax, dword [esi + 4]
mov ecx, dword [eax]
mov dword [ebp - 0x2818], ecx
cmp ecx, eax
je 0x488ba2
push ecx
lea eax, [ecx + 0x10]
mov ecx, esp
push eax
call fcn.0045e6a5
push edi
mov ecx, esi
call fcn.00489655
test eax, eax
je 0x488f4f
lea ecx, [ebp - 0x2818]
call fcn.0047b6d3
mov ecx, dword [ebp - 0x2818]
cmp ecx, dword [esi + 4]
jne 0x488b70
mov eax, dword [esi + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x2818], ecx
cmp ecx, eax
je 0x488be3
push ecx
lea eax, [ecx + 0x10]
mov ecx, esp
push eax
call fcn.0045e6a5
push edi
mov ecx, esi
call fcn.00489344
test eax, eax
je 0x488f4f
lea ecx, [ebp - 0x2818]
call fcn.0047b699
mov ecx, dword [ebp - 0x2818]
cmp ecx, dword [esi + 0xc]
jne 0x488bb1
push edi
mov ecx, esi
call fcn.004898e4
test eax, eax
je 0x488f4f
push 1
push ebx
push ecx
mov ecx, esp
push str.Ending_HTTP_request...
call fcn.0045f630
mov ecx, dword [esi + 0x14]
call fcn.004620ac
push ebx
push ebx
push ebx
push edi
call dword [sym.imp.WININET.dll_HttpEndRequestW]
push 1
push ebx
push ecx
mov ecx, esp
test eax, eax
je 0x488f23
push str.Reading_server_response...
call fcn.0045f630
mov ecx, dword [esi + 0x14]
call fcn.004620ac
push ebx
lea eax, [ebp - 0x2854]
mov dword [ebp - 0x2828], ebx
push eax
lea eax, [ebp - 0x2828]
mov dword [ebp - 0x2854], 4
push eax
push 0x20000013
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
mov dword [ebp - 0x2818], eax
test eax, eax
je 0x488c9e
push dword [ebp - 0x2828]
lea eax, [ebp - 0x2820]
push str.Server_response_code:__ld
push eax
call fcn.0045fd48
add esp, 0xc
lea eax, [ebp - 0x2820]
push 1
push ebx
push ecx
mov ecx, esp
push eax
call fcn.0045e6a5
mov ecx, dword [esi + 0x14]
call fcn.004620ac
lea eax, [ebp - 0x283c]
push eax
push 0xfff
lea eax, [ebp - 0x1c10]
push eax
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
mov eax, dword [ebp - 0x283c]
cmp eax, 0x1000
jae 0x488f1e
push eax
mov byte [ebp + eax - 0x1c10], bl
lea ecx, [ebp - 0x2858]
lea eax, [ebp - 0x1c10]
push eax
call fcn.004882de
push eax
lea ecx, [ebp - 0x2820]
mov byte [ebp - 4], 3
call fcn.0045f6df
lea ecx, [ebp - 0x2858]
mov byte [ebp - 4], 2
call fcn.0045e73f
lea eax, [ebp - 0x2820]
push eax
push str.Server_response_body:
lea eax, [ebp - 0x2844]
push eax
call fcn.0047b8ea
push eax
lea ecx, [ebp - 0x2820]
mov byte [ebp - 4], 4
call fcn.0045f6df
lea ecx, [ebp - 0x2844]
mov byte [ebp - 4], 2
call fcn.0045e73f
push 1
push ebx
push ecx
lea eax, [ebp - 0x2820]
mov ecx, esp
push eax
call fcn.0045e6a5
mov ecx, dword [esi + 0x14]
call fcn.004620ac
cmp dword [ebp - 0x283c], 0
jbe 0x488d6e
mov al, byte [ebp - 0x1c10]
cmp al, 0x30
jb 0x488d6e
cmp al, 0x39
jbe 0x488e94
cmp dword [ebp - 0x2818], 0
je 0x488f11
cmp dword [ebp - 0x2828], 0x12e
jne 0x488ee8
mov eax, dword [ebp - 0x2834]
test eax, eax
jne 0x488edb
inc eax
mov dword [ebp - 0x2834], eax
xor eax, eax
push 0x7fe
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push ebx
push eax
call sub.MSVCR120.dll_memset
add esp, 0xc
mov dword [ebp - 0x284c], 0x800
lea eax, [ebp - 0x285c]
mov dword [ebp - 0x285c], ebx
push eax
lea eax, [ebp - 0x284c]
push eax
lea eax, [ebp - 0x810]
push eax
push 0x21
push edi
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x488ece
push 0x400
lea eax, [ebp - 0x2810]
mov ecx, 0x200
push eax
lea eax, [ebp - 0x282c]
push eax
push ecx
lea eax, [ebp - 0xc10]
push eax
push ecx
lea eax, [ebp - 0x2010]
mov ecx, esi
push eax
lea eax, [ebp - 0x810]
push eax
call fcn.00488fe7
mov eax, dword [0x4cb014]
mov dword [ebp - 0x2818], eax
lea eax, [ebp - 0x810]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2818]
push str.Redirecting_to__s
push eax
call fcn.0045fd48
add esp, 0xc
lea eax, [ebp - 0x2818]
push 1
push ebx
push ecx
mov ecx, esp
push eax
call fcn.0045e6a5
mov ecx, dword [esi + 0x14]
call fcn.004620ac
lea ecx, [ebp - 0x2818]
mov byte [ebp - 4], 2
call fcn.0045e73f
mov eax, dword [ebp - 0x2834]
mov ecx, dword [ebp - 0x2848]
mov edx, dword [ebp - 0x281c]
jmp 0x488a58
push 1
push ebx
push ecx
mov ecx, esp
push str.Assuming_legacy_method_of_determining_delivery_status__from_HTTP_response_body_.
call fcn.0045f630
mov ecx, dword [esi + 0x14]
call fcn.004620ac
lea eax, [ebp - 0x1c10]
push eax
call dword [sym.imp.MSVCR120.dll_atoi]
pop ecx
cmp eax, 0xc8
je 0x488ef4
push ebx
push 0x64
push ecx
mov ecx, esp
push str.Failed__HTTP_response_body_doesnt_start_with_code_200_.
jmp 0x488f42
push ebx
push 0x64
push ecx
mov ecx, esp
push str.Failed_to_redirect.
jmp 0x488f42
push ebx
push 0x64
push ecx
mov ecx, esp
push str.Multiple_redirects_are_not_allowed.
jmp 0x488f42
cmp dword [ebp - 0x2828], 0xc8
jne 0x488f11
push ebx
push 0x64
push ecx
mov ecx, esp
push str.Error_report_has_been_sent_OK_
call fcn.0045f630
mov ecx, dword [esi + 0x14]
call fcn.004620ac
xor ebx, ebx
inc ebx
jmp 0x488f67
push ebx
push 0x64
push ecx
mov ecx, esp
push str.Failed__HTTP_response_code_is_not_equal_to_200_.
jmp 0x488f42
call fcn.004974a2
push str.HttpEndRequest_has_failed.
jmp 0x488f42
push 1
push ebx
push ecx
mov ecx, esp
push str.HttpSendRequestEx_has_failed.
jmp 0x488f42
push 1
push ebx
push ecx
mov ecx, esp
push str.HttpOpenRequest_has_failed.
call fcn.0045f630
mov ecx, dword [esi + 0x14]
call fcn.004620ac
push ebx
push 0x64
push ecx
mov ecx, esp
push str.Error_sending_HTTP_request.
call fcn.0045f630
mov ecx, dword [esi + 0x14]
call fcn.004620ac
test edi, edi
je 0x488f72
push edi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x2838]
test eax, eax
je 0x488f83
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x2830]
test eax, eax
je 0x488f94
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov ecx, dword [esi + 0x14]
xor eax, eax
test ebx, ebx
sete al
push eax
call fcn.00462054
lea ecx, [ebp - 0x2820]
call fcn.0045e73f
lea ecx, [ebp - 0x2840]
call fcn.0045e73f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x287c]
call fcn.0045f6ac
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004971ea
mov esp, ebp
pop ebp
ret