Function at 0x4013d9
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x854
and dword [ebp - 0xc], 0
push ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x2c], 0x9e3779b9
lea ecx, [ebp - 0xc]
mov dword [ebp - 0x24], edi
mov eax, dword [edi]
mov esi, dword [edi + 4]
mov dword [ebp - 0x18], eax
mov eax, dword [0x41a308]
mov dword [ebp - 0x20], eax
mov eax, dword [0x41a30c]
mov dword [ebp - 0x28], eax
call fcn.004013d2
mov eax, dword [0x41a314]
add dword [ebp - 0xc], 0x23f
mov edi, dword [0x41a310]
push 0x20
mov dword [ebp - 0x34], eax
pop ebx
mov dword [ebp - 0x1c], 2
add dword [ebp - 0x1c], 3
mov eax, dword [ebp - 0x18]
shl eax, 4
add eax, edi
mov dword [ebp - 0x10], 0xedeb2e40
cmp dword [0xb669e8], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0xb669e4]
cmove eax, dword [ebp - 0x10]
and dword [ebp - 0x10], 0
cmp dword [0xb669e8], 0x3eb
mov dword [0xb669e4], eax
mov eax, dword [0xb66470]
cmove eax, dword [ebp - 0x10]
mov dword [0xb66470], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x18]
shr eax, 5
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
xor ecx, dword [ebp - 0x10]
add eax, dword [ebp - 0x34]
xor eax, ecx
mov dword [0xb669e0], 0xf4ea3dee
cmp dword [0xb669e8], 0x213
mov dword [ebp - 4], ecx
mov dword [ebp - 8], eax
jne 0x40152b
push 0
push str.yaregerazezabamumadoboxa
push str.nepapigamozusitofen
call dword [sym.imp.KERNEL32.dll_CreateHardLinkA]
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_LockFile]
push 0
push str.cesusexuyehaxocogopujerigun_carocaxelo_gesixoxocepocudezo_macajigefen_gupotujemokuzak
call dword [sym.imp.KERNEL32.dll_LoadModule]
push 0
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
xor eax, eax
push eax
push eax
push eax
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsW]
lea eax, [ebp - 0x854]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x40]
push eax
push 0
lea eax, [ebp - 0x54]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_ReadConsoleInputA]
lea eax, [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov eax, dword [ebp - 8]
sub esi, eax
mov eax, esi
mov dword [ebp - 0x30], esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x20]
add dword [ebp - 4], eax
xor edx, edx
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0xc]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x30]
nop
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x1c]
mov eax, esi
shr eax, cl
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 8], eax
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0x10]
cmp dword [0xb669e8], 0xb03
mov dword [ebp - 4], eax
jne 0x40158b
push str.Poh_mucunaniroxocoyidoca_sojutugotufakiwufovo_xicinirizij
push edx
push edx
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x2c]
sub dword [ebp - 0xc], eax
dec ebx
jne 0x40142d
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x18]
mov dword [edi + 4], esi
mov dword [edi], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret