Function at 0x401544
Capabilities:
Connect to http server
Create http request
Parse url
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43255b
mov eax, dword fs:[0]
push eax
mov eax, 0x4564
call fcn.0042bb20
mov eax, dword [0x4431c0]
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 eax, dword [ebp + 8]
mov dword [ebp - 0x4510], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x4500], eax
mov eax, dword [ebp + 0x10]
mov esi, ecx
mov dword [ebp - 0x4504], esi
mov dword [ebp - 0x4508], eax
xor edi, edi
inc edi
xor ebx, ebx
mov dword [ebp - 4], edi
cmp esi, ebx
jne 0x4015d5
push ebx
push edi
lea esi, [ebp + 0x14]
call fcn.00405f67
push ebx
push edi
lea ecx, [ebp + 0x34]
call fcn.004059be
xor eax, eax
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.004195bf
leave
ret
push 0x3c
pop edi
push edi
lea eax, [ebp - 0x456c]
push ebx
push eax
mov dword [ebp - 0x450c], ebx
call fcn.0041c7e0
lea eax, [ebp - 0x458]
mov dword [ebp - 0x455c], eax
lea eax, [ebp - 0x1458]
mov dword [ebp - 0x4540], eax
lea eax, [ebp - 0x4440]
add esp, 0xc
mov dword [ebp - 0x4538], eax
lea eax, [ebp - 0x456c]
push eax
push 0x90000000
push esi
mov dword [ebp - 0x456c], edi
mov dword [ebp - 0x4558], 0x100
mov dword [ebp - 0x453c], 0x800
mov dword [ebp - 0x4534], 0x824
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
push esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
je 0x401d01
push ebx
push ebx
push ebx
push ebx
push str.AskInstallHelper
call dword [sym.imp.WININET.dll_InternetOpenW]
push ebx
cmp eax, ebx
je 0x4016db
push ebx
push 3
push ebx
push ebx
push 0x50
lea ecx, [ebp - 0x458]
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectW]
push ebx
push 0x8064c200
mov esi, eax
lea eax, [ebp - 0x4520]
push eax
push ebx
push str.HTTP_1.0
lea eax, [ebp - 0x1458]
push eax
push str.POST
push esi
mov dword [ebp - 0x4518], esi
mov dword [ebp - 0x4520], str.text___image_gif__image_x_xbitmap__image_jpeg__image_pjpeg__application_x_shockwave_flash___
mov dword [ebp - 0x451c], ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov dword [ebp - 0x44f0], eax
cmp eax, ebx
jne 0x4016ed
cmp esi, ebx
jne 0x401cf9
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebx
push 1
lea esi, [ebp + 0x14]
call fcn.00405f67
push ebx
push 1
jmp 0x4015b1
push str.ewogICJleHBpcmF0aW9uIjogIjIwMjAtMTItMzFUMTI6MDA6MDAuMDAwWiIsCiAgImNvbmRpdGlvbnMiOiBbCiAgICB7ImJ1Y2tldCI6ICJhcG5hbmFseXRpY3MifSwgCiAgICBbInN0YXJ0cy13aXRoIiwgIiRrZXkiLCAibG9ncy9pbnN0YWxsZXIiXSwKICAgIHsiYWNsIjogInByaXZhdGUifSwKICAgIFsic3RhcnRzLXdpdGgiLCAiJENvbnRlbnQtVHlwZSIsICJ0ZXh0Il0sCiAgICBbImNvbnRlbnQtbGVuZ3RoLXJhbmdlIiwgMCwgMjA5NzE1Ml0KICBdCn0K
lea ecx, [ebp - 0x44e8]
call fcn.00405601
push str.Content_Type:_multipart_form_data__boundaryendofdata20100601
lea ecx, [ebp - 0x44cc]
mov byte [ebp - 4], 2
call fcn.00405601
cmp dword [ebp - 0x44b4], 0x10
mov eax, dword [ebp - 0x44c8]
jae 0x401726
lea eax, [ebp - 0x44c8]
push 0x60000000
push dword [ebp - 0x44b8]
push eax
push dword [ebp - 0x44f0]
call dword [sym.imp.WININET.dll_HttpAddRequestHeadersA]
push ebx
lea ecx, [ebp - 0x445c]
mov dword [ebp - 0x4444], 0xf
call fcn.00406217
push str.__endofdata20100601_r_nContent_Disposition:_form_data__name_key__r_n_r_n
lea ecx, [ebp - 0x445c]
mov byte [ebp - 4], 4
call fcn.00405900
push str.logs_installer_
lea ecx, [ebp - 0x4478]
call fcn.00405601
push str.1.11.3
lea eax, [ebp - 0x4478]
push eax
mov byte [ebp - 4], 5
call fcn.00405653
push 0x4393fc
lea eax, [ebp - 0x4478]
push eax
call fcn.00405653
push 0xffffffffffffffff
push ebx
lea eax, [ebp + 0x34]
lea esi, [ebp - 0x4478]
call fcn.00405ff8
lea eax, [ebp - 0x4530]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov esi, 0x1ff
push esi
lea eax, [ebp - 0x257]
push ebx
push eax
mov byte [ebp - 0x258], bl
call fcn.0041c7e0
movzx eax, word [ebp - 0x452a]
add esp, 0xc
push eax
movzx eax, word [ebp - 0x452e]
push eax
movzx eax, word [ebp - 0x4530]
push eax
push str.__02u_02u_02u
mov ecx, esi
lea edi, [ebp - 0x258]
call fcn.00401117
add esp, 0x10
cmp dword [ebp + 0x30], ebx
jne 0x40181f
push str._success
lea eax, [ebp - 0x4478]
push eax
call fcn.00405653
mov eax, edi
jmp 0x40186a
push 7
pop ecx
push dword [ebp + 0x30]
mov byte [ebp - 0x54], bl
xor eax, eax
lea edi, [ebp - 0x53]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x43941c
stosb byte es:[edi], al
push 0x20
pop ecx
lea edi, [ebp - 0x54]
call fcn.00401117
pop ecx
pop ecx
push str._failure
lea eax, [ebp - 0x4478]
push eax
call fcn.00405653
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x4478]
push eax
call fcn.00405653
mov eax, edi
push eax
lea eax, [ebp - 0x4478]
push eax
call fcn.00405653
xor eax, eax
mov dword [ebp - 0x447c], 7
mov dword [ebp - 0x4480], ebx
mov word [ebp - 0x4490], ax
lea eax, [ebp - 0x4494]
push eax
mov byte [ebp - 4], 6
call fcn.004115ce
pop ecx
test eax, eax
je 0x401914
mov esi, 0x4393fc
push esi
lea eax, [ebp - 0x4478]
push eax
call fcn.00405653
cmp dword [ebp - 0x447c], 8
mov eax, dword [ebp - 0x4490]
jae 0x4018cc
lea eax, [ebp - 0x4490]
push eax
lea edi, [ebp - 0x44fc]
call fcn.004011f0
mov byte [ebp - 4], 7
push dword [eax + 4]
lea eax, [ebp - 0x4478]
push eax
call fcn.00405653
mov byte [ebp - 4], 6
push dword [ebp - 0x44fc]
call fcn.0041a129
pop ecx
push dword [ebp - 0x44f8]
call fcn.0041a129
pop ecx
push esi
lea eax, [ebp - 0x4478]
push eax
call fcn.00405653
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x4478]
lea esi, [ebp - 0x445c]
call fcn.00405ff8
cmp dword [ebp + 0x2c], 8
mov eax, dword [ebp + 0x18]
jae 0x401934
lea eax, [ebp + 0x18]
push eax
lea edi, [ebp - 0x44fc]
call fcn.004011f0
mov byte [ebp - 4], 8
push dword [eax + 4]
lea eax, [ebp - 0x445c]
push eax
call fcn.00405653
mov byte [ebp - 4], 6
push dword [ebp - 0x44fc]
call fcn.0041a129
pop ecx
push dword [ebp - 0x44f8]
call fcn.0041a129
lea eax, [ebp - 0x445c]
mov dword [esp], str..zip
push eax
call fcn.00405653
mov edi, str._r_n__endofdata20100601_r_n
push edi
lea eax, [ebp - 0x445c]
push eax
call fcn.00405653
push str.Content_Disposition:_form_data__name_acl__r_n_r_nprivate_r_n__endofdata20100601_r_n
lea eax, [ebp - 0x445c]
push eax
call fcn.00405653
push str.Content_Disposition:_form_data__name_content_type__r_n_r_ntext_plain_r_n__endofdata20100601_r_n
lea eax, [ebp - 0x445c]
push eax
call fcn.00405653
push str.Content_Disposition:_form_data__name_AWSAccessKeyId__r_n_r_nAKIAJSB5S6KPUAVHNLKA_r_n__endofdata20100601_r_n
lea eax, [ebp - 0x445c]
push eax
call fcn.00405653
push str.Content_Disposition:_form_data__name_Policy__r_n_r_n
lea eax, [ebp - 0x445c]
push eax
call fcn.00405653
push 0xffffffffffffffff
push ebx
lea eax, [ebp - 0x44e8]
lea esi, [ebp - 0x445c]
call fcn.00405ff8
push edi
mov eax, esi
push eax
call fcn.00405653
push str.Content_Disposition:_form_data__name_Signature__r_n_r_n4lZ6G3Ih4adipz5HrVioRPlvVo_r_n__endofdata20100601_r_n
mov eax, esi
push eax
call fcn.00405653
push str.Content_Disposition:_form_data__name_file___filename_
mov eax, esi
push eax
call fcn.00405653
cmp dword [ebp + 0x2c], 8
mov eax, dword [ebp + 0x18]
jae 0x401a1a
lea eax, [ebp + 0x18]
push eax
lea edi, [ebp - 0x44fc]
call fcn.004011f0
mov byte [ebp - 4], 9
push dword [eax + 4]
lea eax, [ebp - 0x445c]
push eax
call fcn.00405653
mov byte [ebp - 4], 6
push dword [ebp - 0x44fc]
call fcn.0041a129
pop ecx
push dword [ebp - 0x44f8]
call fcn.0041a129
lea eax, [ebp - 0x445c]
mov dword [esp], str..zip
push eax
call fcn.00405653
push str.__r_nContent_Type:_textplain_r_n_r_n
lea eax, [ebp - 0x445c]
push eax
call fcn.00405653
push str._r_n__endofdata20100601_r_nContent_Disposition:_form_data__name_submit__r_n_r_nUpload_to_Amazon_S3_r_n__endofdata20100601___r_n
lea ecx, [ebp - 0x44b0]
call fcn.00405601
mov byte [ebp - 4], 0xa
mov esi, str.http:__
lea edi, [ebp - 0x20]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0x449c]
mov eax, dword [ebp - 0x4448]
movsd dword es:[edi], dword [esi]
mov esi, str.https:__
lea edi, [ebp - 0x34]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, dword [ebp - 0x4500]
mov dword [ebp - 0x44f8], ecx
add ecx, eax
lea esi, [ecx + edi + 1]
push esi
mov dword [ebp - 0x44ec], eax
call fcn.0041874e
cmp dword [ebp - 0x4444], 0x10
mov dword [ebp - 0x44f4], eax
mov eax, dword [ebp - 0x4458]
pop ecx
jae 0x401aec
lea eax, [ebp - 0x4458]
push dword [ebp - 0x44ec]
push eax
push esi
push dword [ebp - 0x44f4]
call fcn.0041a5b2
mov eax, dword [ebp - 0x44ec]
push edi
push dword [ebp - 0x4510]
mov ecx, esi
sub ecx, eax
dec ecx
push ecx
mov ecx, dword [ebp - 0x44f4]
add ecx, eax
push ecx
call fcn.0041a5b2
mov eax, dword [ebp - 0x44ac]
add esp, 0x20
cmp dword [ebp - 0x4498], 0x10
jae 0x401b38
lea eax, [ebp - 0x44ac]
push dword [ebp - 0x44f8]
push eax
mov eax, esi
sub eax, edi
sub eax, dword [ebp - 0x44ec]
dec eax
push eax
mov eax, dword [ebp - 0x44f4]
add edi, eax
add edi, dword [ebp - 0x44ec]
push edi
call fcn.0041a5b2
add esp, 0x10
push esi
push dword [ebp - 0x44f4]
push ebx
push ebx
push dword [ebp - 0x44f0]
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
je 0x401c94
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x4500], ebx
mov dword [ebp - 0x44f8], 4
call edi
mov esi, dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
push eax
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 0x4504]
call esi
test eax, eax
je 0x401bcd
lea eax, [ebp - 0x34]
push eax
call edi
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x4504]
call esi
test eax, eax
jne 0x401c94
push ebx
lea eax, [ebp - 0x44f8]
push eax
lea eax, [ebp - 0x4500]
push eax
push 0x20000013
push dword [ebp - 0x44f0]
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
je 0x401c94
mov eax, dword [ebp - 0x4500]
add eax, 0xffffff38
cmp eax, 6
ja 0x401c94
mov eax, dword [ebp - 0x4508]
mov dword [ebp - 0x450c], 1
call fcn.00405797
mov esi, dword [sym.imp.WININET.dll_InternetReadFile]
mov edi, 0x1f9f
jmp 0x401c73
cmp dword [ebp - 0x44ec], ebx
je 0x401c94
lea eax, [ebp - 0x33f8]
push eax
lea eax, [ebp - 0x4514]
push eax
call fcn.00401261
mov byte [ebp - 4], 0xb
push dword [eax]
push dword [ebp - 0x4508]
call fcn.0040576e
mov byte [ebp - 4], 0xa
push dword [ebp - 0x4514]
call fcn.0041a129
pop ecx
push dword [ebp - 0x4510]
call fcn.0041a129
pop ecx
lea eax, [ebp - 0x44ec]
push eax
push edi
lea eax, [ebp - 0x33f8]
push eax
push dword [ebp - 0x44f0]
mov dword [ebp - 0x44ec], ebx
call esi
test eax, eax
jne 0x401c2b
cmp dword [ebp - 0x44f4], ebx
je 0x401ca8
push dword [ebp - 0x44f4]
call fcn.0041a129
pop ecx
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x44b0]
call fcn.004059be
push ebx
push edi
lea esi, [ebp - 0x4494]
call fcn.00405f67
push ebx
push edi
lea ecx, [ebp - 0x4478]
call fcn.004059be
push ebx
push edi
lea ecx, [ebp - 0x445c]
call fcn.004059be
push ebx
push edi
lea ecx, [ebp - 0x44cc]
call fcn.004059be
push ebx
push edi
lea ecx, [ebp - 0x44e8]
call fcn.004059be
cmp dword [ebp - 0x44f0], ebx
jne 0x401d07
push ebx
jmp 0x4016d4
cmp dword [ebp - 0x4518], ebx
jne 0x401d35
push ebx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
xor edi, edi
push ebx
push 1
lea esi, [ebp + 0x14]
call fcn.00405f67
push ebx
push 1
lea ecx, [ebp + 0x34]
call fcn.004059be
mov eax, edi
jmp 0x4015bb
mov edi, dword [ebp - 0x450c]
jmp 0x401d18