Function at 0x40143e
Capabilities:
Get common file path
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x91c
cmp dword [0x1dda5a8], 0x594
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x34], esi
mov edi, dword [esi]
mov ebx, dword [esi + 4]
mov dword [ebp - 0x14], edi
jne 0x401474
push 0
lea eax, [ebp - 0x91c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x41a220]
lea ecx, [ebp - 0xc]
and dword [ebp - 0xc], 0
mov dword [ebp - 0x24], eax
mov eax, dword [0x41a224]
mov dword [ebp - 0x2c], 0x9e3779b9
mov dword [ebp - 0x28], eax
call fcn.00401437
mov eax, dword [0x41a22c]
add dword [ebp - 0xc], 0x23f
mov esi, dword [0x41a228]
push 0x20
pop edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], 2
add dword [ebp - 0x1c], 3
mov eax, edi
mov edx, 0xedeb2e40
shl eax, 4
add eax, esi
cmp dword [0x1dda5a8], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x1dda5a4]
cmove eax, edx
xor edx, edx
cmp dword [0x1dda5a8], 0x3eb
mov dword [0x1dda5a4], eax
mov eax, dword [0x1dd9f98]
cmove eax, edx
mov dword [0x1dd9f98], eax
mov eax, dword [ebp - 0xc]
add eax, edi
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
shr eax, 5
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x18]
xor eax, ecx
mov dword [ebp - 4], ecx
mov ecx, dword [0x1dda5a8]
mov dword [0x1dda5a0], 0xf4ea3dee
mov dword [ebp - 8], eax
cmp ecx, 0x213
jne 0x4015eb
push 0
push str.genafoyejucivafuxerocudametojalo_daregitabiridixadexo_mimicofosupugeholedesohohola
push str.jomeruxosewamekasilijetusari
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
xor eax, eax
push eax
push eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
lea eax, [ebp - 0x51c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
and dword [ebp - 0x74], 0
lea eax, [ebp - 0x70]
push 0x30
push 0
push eax
call fcn.0040aad0
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push 0
push str.zupuzi_yaf_podaf_xim
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
lea eax, [ebp - 0x38]
push eax
push 0
lea eax, [ebp - 0x88]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputW]
lea eax, [ebp - 0x11c]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [ebp - 8]
mov ecx, dword [0x1dda5a8]
mov edx, dword [ebp - 0x18]
sub ebx, eax
mov dword [ebp - 0x14], ebx
cmp ecx, 0xc
jne 0x401600
push 0
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatus]
mov edx, dword [ebp - 0x18]
mov eax, ebx
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
nop
add dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x1c]
mov eax, ebx
shr eax, cl
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
xor eax, dword [ebp - 0x20]
xor ecx, eax
sub edi, ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 0xc], eax
dec edx
mov dword [ebp - 0x18], edx
jne 0x4014b2
mov esi, dword [ebp - 0x34]
mov dword [esi], edi
pop edi
mov dword [esi + 4], ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret