Function at 0x10041bd0
Capabilities:
Create http request
Create thread
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 0x1009477e
mov eax, dword fs:[0]
push eax
sub esp, 0x474
mov eax, dword [0x100b2370]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x434], ecx
movzx eax, byte [ebp + 0x10]
test eax, eax
jne 0x10041cb7
push 0x34
call fcn.1004aa88
add esp, 4
mov dword [ebp - 0x444], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x444], 0
je 0x10041c40
mov ecx, dword [ebp - 0x444]
call fcn.10041f80
mov dword [ebp - 0x440], eax
jmp 0x10041c4a
mov dword [ebp - 0x440], 0
mov ecx, dword [ebp - 0x440]
mov dword [ebp - 0x448], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x448]
mov dword [ebp - 0x42c], edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x42c]
call fcn.100100f0
mov ecx, dword [ebp + 0xc]
push ecx
mov ecx, dword [ebp - 0x42c]
add ecx, 0x18
call fcn.100100f0
mov edx, dword [ebp - 0x42c]
mov eax, dword [ebp + 0x14]
mov dword [edx + 0x30], eax
push 0
push 0
mov ecx, dword [ebp - 0x42c]
push ecx
push 0x10041ac0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov al, 1
jmp 0x10041f58
mov dword [ebp - 0x414], 1
mov byte [ebp - 0x415], 0
mov dword [ebp - 0x424], 0
mov dword [ebp - 0x41c], 0
push 0
push 0
push 0
push 0
push str.ASDGQERQTYQW_1.0
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x428], eax
cmp dword [ebp - 0x428], 0
je 0x10041edf
push 0
mov edx, dword [ebp + 8]
push edx
lea eax, [ebp - 0x468]
push eax
mov ecx, dword [ebp - 0x434]
call fcn.10041550
mov dword [ebp - 0x44c], eax
push 0
push 0x4000000
push 0
push 0
mov ecx, dword [ebp - 0x44c]
call fcn.1000e0f0
push eax
mov ecx, dword [ebp - 0x428]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov dword [ebp - 0x420], eax
lea ecx, [ebp - 0x468]
call fcn.1000e020
cmp dword [ebp - 0x420], 0
je 0x10041ec8
mov edx, dword [ebp - 0x420]
push edx
mov ecx, dword [ebp - 0x434]
call fcn.100417b0
mov dword [ebp - 0x41c], eax
cmp dword [ebp - 0x41c], 0
jne 0x10041d8a
xor al, al
jmp 0x10041f58
push 0
mov eax, dword [ebp + 0xc]
push eax
lea ecx, [ebp - 0x480]
push ecx
mov ecx, dword [ebp - 0x434]
call fcn.10041550
mov dword [ebp - 0x450], eax
push 0x100a6c7c
mov ecx, dword [ebp - 0x450]
call fcn.1000e0f0
push eax
call fcn.100497dc
add esp, 8
mov dword [ebp - 0x430], eax
cmp dword [ebp - 0x430], 0
je 0x10041ddc
mov dword [ebp - 0x438], 1
jmp 0x10041de6
mov dword [ebp - 0x438], 0
mov dl, byte [ebp - 0x438]
mov byte [ebp - 0x417], dl
lea ecx, [ebp - 0x480]
call fcn.1000e020
movzx eax, byte [ebp - 0x417]
test eax, eax
je 0x10041eb1
cmp dword [ebp + 0x14], 0
je 0x10041e1e
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x14]
mov eax, dword [edx]
call eax
cmp dword [ebp - 0x414], 0
jbe 0x10041e9b
lea ecx, [ebp - 0x414]
push ecx
push 0x3ff
lea edx, [ebp - 0x410]
push edx
mov eax, dword [ebp - 0x420]
push eax
call dword [sym.imp.WININET.dll_InternetReadFile]
mov ecx, dword [ebp - 0x424]
add ecx, dword [ebp - 0x414]
mov dword [ebp - 0x424], ecx
mov edx, dword [ebp - 0x430]
push edx
mov eax, dword [ebp - 0x414]
push eax
push 1
lea ecx, [ebp - 0x410]
push ecx
call fcn.1004a2e1
add esp, 0x10
cmp dword [ebp + 0x14], 0
je 0x10041e99
mov edx, dword [ebp - 0x41c]
push edx
mov eax, dword [ebp - 0x424]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x14]
mov eax, dword [edx + 4]
call eax
jmp 0x10041e1e
mov ecx, dword [ebp - 0x430]
push ecx
call fcn.1004a9c7
add esp, 4
mov byte [ebp - 0x415], 1
mov edx, dword [ebp - 0x420]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x420], 0
mov eax, dword [ebp - 0x428]
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov dword [ebp - 0x428], 0
cmp dword [ebp + 0x14], 0
je 0x10041f23
movzx ecx, byte [ebp - 0x415]
test ecx, ecx
je 0x10041f07
mov edx, dword [ebp - 0x41c]
cmp edx, dword [ebp - 0x424]
jne 0x10041f07
mov byte [ebp - 0x416], 1
jmp 0x10041f0e
mov byte [ebp - 0x416], 0
movzx eax, byte [ebp - 0x416]
push eax
mov ecx, dword [ebp + 0x14]
mov edx, dword [ecx]
mov ecx, dword [ebp + 0x14]
mov eax, dword [edx + 8]
call eax
movzx ecx, byte [ebp - 0x415]
test ecx, ecx
je 0x10041f48
mov edx, dword [ebp - 0x41c]
cmp edx, dword [ebp - 0x424]
jne 0x10041f48
mov dword [ebp - 0x43c], 1
jmp 0x10041f52
mov dword [ebp - 0x43c], 0
mov al, byte [ebp - 0x43c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10048fad
mov esp, ebp
pop ebp
ret 0x10