Function at 0x401828
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x89c
push ebx
push esi
mov dword [ebp - 0xc], 0x70b5f13a
mov dword [ebp - 4], 0x731170d5
mov dword [ebp - 0x1c], 0x45e16f8c
mov dword [ebp - 8], 0x22bcff1d
mov dword [ebp - 0x20], 0x1b7de369
mov dword [ebp - 0x34], 0x266c48d7
mov dword [ebp - 0x44], 0x501d028a
mov dword [ebp - 0x10], 0x1b1e6341
mov dword [ebp - 0x48], 0x762b03d2
mov dword [ebp - 0x28], 0x797d5eb2
mov dword [ebp - 0x40], 0x45a89ece
mov dword [ebp - 0x24], 0x4f283c76
mov dword [ebp - 0x50], 0x56971c9b
mov dword [ebp - 0x2c], 0x338c5020
mov dword [ebp - 0x14], 0x16c0559d
mov dword [ebp - 0x70], 0x351c4ebf
mov dword [ebp - 0x18], 0x6fb063b9
mov dword [ebp - 0x68], 0x7bc3583d
mov dword [ebp - 0x58], 0x8d7ed5
mov dword [ebp - 0x90], 0x358e7893
mov dword [ebp - 0x3c], 0x41fca147
mov dword [ebp - 0x54], 0x356a7a0c
mov dword [ebp - 0x60], 0x4eb09984
mov dword [ebp - 0x88], 0xd915afe
mov dword [ebp - 0x78], 0x69579eb6
mov dword [ebp - 0x30], 0x1446ab18
mov dword [ebp - 0x9c], 0x68b2db1
mov dword [ebp - 0x80], 0x3e4d89ad
mov dword [ebp - 0x38], 0x3f00edc2
mov dword [ebp - 0x64], 0x2b71b0b1
mov dword [ebp - 0x6c], 0x6889c8ee
mov dword [ebp - 0x4c], 0x3f4be2a4
mov dword [ebp - 0x74], 0x57cef7b0
mov dword [ebp - 0x7c], 0x92bab03
mov dword [ebp - 0x5c], 0x34531cab
mov dword [ebp - 0x84], 0x7fee571e
mov dword [ebp - 0x8c], 0x63c0c86a
mov eax, 0x352025fa
mul dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
sub dword [ebp - 4], 0x70011a9f
sub dword [ebp - 0xc], 0x282b4360
sub dword [ebp - 8], 0x444162e5
mov eax, 0x10df881c
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
add dword [ebp - 8], 0x23465665
mov eax, 0x1849942
mul dword [ebp - 4]
mov eax, dword [ebp - 4]
sub dword [ebp - 4], 0x38f50789
add dword [ebp - 0xc], 0x24a31ad8
add dword [ebp - 4], 0x50c99946
mov eax, 0x329ef995
mul dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov eax, 0x7df04505
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 8], 0x5a6b68a4
mov eax, 0x7472634d
mul dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x10], 0x2c495f22
add dword [ebp - 0x44], 0x7a17d029
add dword [ebp - 0x20], 0x69f70b69
mov eax, 0xe9c1e19
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 8], 0x54060443
mov eax, 0x30f3da31
mul dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, 0x7dd145e0
mul dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, 0x62328e37
mul dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x40], 0xfa6c860
sub dword [ebp - 4], 0x5bbdb243
sub dword [ebp - 0x20], 0x14a1608f
mov eax, 0x1f5e58c6
mul dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
add dword [ebp - 8], 0x2f4b5fd5
mov eax, 0x2f3c9636
mul dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
sub dword [ebp - 0x10], 0x5c52e9bc
mov eax, 0x737d34ae
mul dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
sub dword [ebp - 0x2c], 0x50bb731a
sub dword [ebp - 0x50], 0x117119a2
sub dword [ebp - 0x48], 0x798c189b
add dword [ebp - 0x58], 0x904d4bf
mov eax, 0x40d86e8b
mul dword [ebp - 0x3c]
mov eax, dword [ebp - 0x3c]
add dword [ebp - 0x30], 0x5bdd8f08
sub dword [ebp - 0x24], 0x38655eae
mov eax, 0x1ff36be
mul dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
sub dword [ebp - 0x10], 0x6461c7af
mov eax, 0x673927ca
mul dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov eax, 0x2d81f483
mul dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
add dword [ebp - 4], 0x4eba4edb
mov eax, 0xdaf0fed
mul dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0x4c], 0x3224436e
add dword [ebp - 0xc], 0x75d1fa77
sub dword [ebp - 0x2c], 0x2072928b
mov eax, 0x1b80997c
mul dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
sub dword [ebp - 0x54], 0x477e9542
add dword [ebp - 0x34], 0xa9320f0
sub dword [ebp - 0x34], 0x3e7a3be6
sub dword [ebp - 0x5c], 0x71b64c18
add dword [ebp - 8], 0x7b18cacd
add dword [ebp - 0x14], 0x69e7f233
xor ebx, ebx
mov esi, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, 0x207138
jg 0x401b20
inc esi
cmp esi, 0x4f672
jl 0x401b08
mov esi, ebx
cmp esi, 0xb36
jge 0x401b35
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.GDI32.dll_GetCharWidthI]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomW]
cmp esi, 0xb8615b
jg 0x401b57
inc esi
cmp esi, 0x1e70dee2
jl 0x401b22
cmp dword [0x258baf8], 0x400
jne 0x401b9a
push ebx
push ebx
push ebx
lea eax, [ebp - 0x94]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_BackupRead]
push ebx
push ebx
call fcn.00403124
push ebx
push ebx
push ebx
call fcn.00403b8e
push ebx
call fcn.00403c5c
push ebx
call fcn.004039aa
push ebx
call fcn.004039aa
add esp, 0x20
mov esi, ebx
call dword [sym.imp.KERNEL32.dll_GetOEMCP]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, 0x58bc14
jle 0x401bc3
cmp dword [ebp - 0x94], 0x7a45f535
jne 0x401bcc
inc esi
cmp esi, 0xe154
jl 0x401b9c
mov eax, dword [0x41a3e4]
mov dword [0x258baf8], eax
call fcn.004015ec
mov esi, 0x3078f
cmp dword [0x258baf8], 0x51f
jne 0x401c01
push ebx
lea eax, [ebp - 0x89c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
dec esi
jne 0x401be0
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10