Function at 0x401850
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x470
push ebx
push esi
mov dword [ebp - 4], 0x1eea8e36
mov dword [ebp - 0xc], 0x1563a1a7
mov dword [ebp - 0x18], 0x4ec57e6d
mov dword [ebp - 0x10], 0xce8e116
mov dword [ebp - 0x20], 0x521f0733
mov dword [ebp - 0x1c], 0x17e5c762
mov dword [ebp - 8], 0x713b89a5
mov dword [ebp - 0x24], 0x4c930d24
mov dword [ebp - 0x14], 0x2fb89421
mov dword [ebp - 0x2c], 0x173eca99
mov dword [ebp - 0x28], 0x7f3ef4df
mov dword [ebp - 0x30], 0x6c051a32
mov dword [ebp - 0x3c], 0x1abc8703
mov dword [ebp - 0x34], 0x64024ce1
mov dword [ebp - 0x64], 0xd40bda
mov dword [ebp - 0x38], 0x1ef28302
mov dword [ebp - 0x4c], 0x299d063d
mov dword [ebp - 0x40], 0x48f6df9
mov dword [ebp - 0x70], 0x878ae44
mov dword [ebp - 0x54], 0x3f93f343
mov dword [ebp - 0x44], 0x32ced513
mov dword [ebp - 0x5c], 0x70dc275d
mov dword [ebp - 0x48], 0x89fbffd
mov dword [ebp - 0x50], 0x251abc90
mov dword [ebp - 0x58], 0x7e0255e8
mov dword [ebp - 0x60], 0xcbc0a93
sub dword [ebp - 4], 0x4ae662c9
add dword [ebp - 4], 0x3752729d
mov eax, 0x7cb57e80
mul dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, 0x2393f09d
mul dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
sub dword [ebp - 0x10], 0x547df628
mov eax, 0x1913598
mul dword [ebp - 4]
mov eax, dword [ebp - 4]
add dword [ebp - 0x18], 0x2cf7e7d3
add dword [ebp - 4], 0x27e92c0c
sub dword [ebp - 4], 0x12e309c0
mov eax, 0x5a8773b9
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
sub dword [ebp - 0x20], 0x204362c1
sub dword [ebp - 4], 0x11ca3008
mov eax, 0x72fa8c97
mul dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, 0x2fabb480
mul dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
mov eax, 0x3324181e
mul dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov eax, 0x208eaef1
mul dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
add dword [ebp - 4], 0x67ae330d
add dword [ebp - 0x18], 0x1109fb94
mov eax, 0x144eaed3
mul dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
sub dword [ebp - 0x20], 0x4896797c
sub dword [ebp - 8], 0x17a94ed0
sub dword [ebp - 4], 0x7d13cc0b
mov eax, 0x1d98ac37
mul dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
sub dword [ebp - 0x10], 0x694980c4
mov eax, 0x793070fd
mul dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, 0x1440536f
mul dword [ebp - 8]
mov eax, dword [ebp - 8]
add dword [ebp - 0x14], 0x78ca8061
sub dword [ebp - 0x14], 0x4d2386e0
add dword [ebp - 0x1c], 0x76168b66
add dword [ebp - 0x30], 0x55350d52
mov eax, 0x99de82b
mul dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
sub dword [ebp - 0xc], 0x576d6b75
mov eax, 0x62f87f65
mul dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
sub dword [ebp - 0x10], 0x1b37011a
add dword [ebp - 0x3c], 0x836b165
add dword [ebp - 0x24], 0x75793ef6
add dword [ebp - 0x28], 0x475f5602
add dword [ebp - 0x34], 0x3f17bdd6
add dword [ebp - 0x1c], 0x369d5f12
mov eax, 0x5f48ea7b
mul dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x24], 0x63e5574d
sub dword [ebp - 0xc], 0x3e258ae2
sub dword [ebp - 0x2c], 0x6d7ac3c3
sub dword [ebp - 0xc], 0xd365152
mov eax, 0x6b9799d5
mul dword [ebp - 4]
mov eax, dword [ebp - 4]
add dword [ebp - 8], 0x3b769c25
mov eax, 0x51afed81
mul dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
mov eax, 0x4b51b9cf
mul dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, 0x23142986
mul dword [ebp - 4]
mov eax, dword [ebp - 4]
mov eax, 0x6db5574
mul dword [ebp - 0x28]
mov eax, dword [ebp - 0x28]
mov eax, 0x131301dd
mul dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, 0x37db4410
mul dword [ebp - 4]
mov eax, dword [ebp - 4]
sub dword [ebp - 8], 0x2749e518
mov eax, 0x20f74480
mul dword [ebp - 0x20]
mov eax, dword [ebp - 0x20]
mov eax, 0x537579da
mul dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, 0x15ea0e6f
mul dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
sub dword [ebp - 8], 0x10dce0b8
sub dword [ebp - 0x10], 0x56f70c95
sub dword [ebp - 0x28], 0x66df052d
mov eax, 0x72390419
mul dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
add dword [ebp - 0x1c], 0x1bd77bd
mov eax, 0x3f20caa1
mul dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov eax, 0x4b3a52c7
mul dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov eax, 0x79cd4023
mul dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
xor ebx, ebx
cmp dword [0x258b4f8], 0x400
jne 0x401b87
push ebx
push ebx
push ebx
lea eax, [ebp - 0x68]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_BackupRead]
push ebx
call fcn.00403511
push ebx
push ebx
push ebx
call fcn.004041cb
push ebx
call fcn.00404299
push ebx
call fcn.00403fe7
push ebx
push ebx
call fcn.0040349a
add esp, 0x20
mov esi, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, 0x207138
jg 0x401ba1
inc esi
cmp esi, 0x4f672
jl 0x401b89
mov esi, ebx
cmp esi, 0xb36
jge 0x401bb1
call dword [sym.imp.USER32.dll_GetCaretBlinkTime]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
cmp esi, 0x2b157b
jg 0x401bd3
inc esi
cmp esi, 0xa379e2
jl 0x401ba3
mov esi, ebx
call dword [sym.imp.KERNEL32.dll_GetACP]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp esi, 0x58bc14
jle 0x401bf9
cmp dword [ebp - 0x68], 0x7a45f535
jne 0x401c02
inc esi
cmp esi, 0xe154
jl 0x401bd5
mov eax, dword [0x41a3dc]
mov dword [0x258b4f8], eax
call fcn.0040160b
mov esi, 0x3078f
cmp dword [0x258b4f8], 0x51f
jne 0x401c37
push ebx
lea eax, [ebp - 0x470]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
dec esi
jne 0x401c16
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 0x10