Function at 0x401407
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x91c
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [0x1a1b2d0], 0x594
push edi
mov dword [ebp - 0x34], esi
mov eax, dword [esi]
mov edi, dword [esi + 4]
mov dword [ebp - 0x18], eax
jne 0x40143d
push ebx
lea eax, [ebp - 0x91c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov eax, dword [0x41a308]
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x28], eax
mov eax, dword [0x41a30c]
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x24], eax
call fcn.00401400
mov ebx, dword [ebp - 0x10]
mov ecx, dword [0x41a310]
add ebx, 0x23f
mov eax, dword [0x41a314]
push 0x20
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x30], eax
pop esi
mov dword [ebp - 0x1c], 2
add dword [ebp - 0x1c], 3
mov edx, dword [ebp - 0x18]
mov eax, edx
shl eax, 4
add eax, ecx
mov dword [ebp - 0xc], 0xedeb2e40
cmp dword [0x1a1b2d0], 0xfa9
mov dword [ebp - 4], eax
mov eax, dword [0x1a1b2cc]
cmove eax, dword [ebp - 0xc]
and dword [ebp - 0xc], 0
cmp dword [0x1a1b2d0], 0x3eb
mov dword [0x1a1b2cc], eax
mov eax, dword [0x1a1acc0]
cmove eax, dword [ebp - 0xc]
mov dword [0x1a1acc0], eax
lea eax, [ebx + edx]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
shr eax, 5
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
xor ebx, ebx
xor ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x30]
xor eax, ecx
mov dword [ebp - 4], ecx
mov ecx, dword [0x1a1b2d0]
mov dword [0x1a1b2c8], 0xf4ea3dee
mov dword [ebp - 8], eax
cmp ecx, 0x213
jne 0x4015a7
push ebx
push str.jixelecevidadasubokahep
push str.bapijusabowo
call dword [sym.imp.KERNEL32.dll_CreateHardLinkW]
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetCommState]
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumTimeFormatsA]
lea eax, [ebp - 0x91c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0x30
lea eax, [ebp - 0x70]
mov dword [ebp - 0x74], ebx
push ebx
push eax
call fcn.0040b090
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push ebx
push str.howav_yaf_wenegomoyekidig_xim
call dword [sym.imp.KERNEL32.dll_CommConfigDialogA]
lea eax, [ebp - 0x40]
push eax
push ebx
lea eax, [ebp - 0x88]
push eax
push ebx
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_InterlockedIncrement]
mov eax, dword [ebp - 8]
mov ecx, dword [0x1a1b2d0]
sub edi, eax
mov dword [ebp - 0x20], edi
cmp ecx, 0xc
jne 0x4015b8
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalUnWire]
mov eax, edi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 4], eax
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x10]
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x20]
nop
add dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0x1c]
mov eax, edi
shr eax, cl
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
add dword [ebp - 8], eax
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0xc]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
sub dword [ebp - 0x18], eax
lea ecx, [ebp - 0x10]
call fcn.004013f9
dec esi
je 0x401611
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x2c]
jmp 0x401478
mov esi, dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
mov dword [esi + 4], edi
pop edi
mov dword [esi], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret