Function at 0x404850
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x490
mov dword [ebp - 0x64], 0x7bfa0098
mov dword [ebp - 0x70], 0xf301ab7
mov dword [ebp - 0x88], 0x77cde3b5
mov dword [ebp - 0x2c], 0xf9811de
mov dword [ebp - 0x28], 0x2f09ea81
mov dword [ebp - 0x5c], 0x727f8a39
mov dword [ebp - 0x8c], 0x7e114333
mov dword [ebp - 0x84], 0x7e12c807
mov dword [ebp - 0x4c], 0x3a3ff75a
mov dword [ebp - 0x90], 0x2c5e4f61
mov dword [ebp - 0x50], 0xc00326e
mov dword [ebp - 0x34], 0x15f2b146
mov dword [ebp - 0x44], 0x585e35b0
mov dword [ebp - 0x48], 0x6a1d63cc
mov dword [ebp - 0x78], 0x49b2ceff
mov dword [ebp - 0x20], 0x2a1a5297
mov dword [ebp - 0x68], 0x7033dba6
mov dword [ebp - 0x24], 0x45d39088
mov dword [ebp - 0x58], 0xdf53b9d
mov dword [ebp - 0x7c], 0x497b6979
mov dword [ebp - 0x74], 0x6f36e214
mov dword [ebp - 0x1c], 0x19c7cbd3
mov dword [ebp - 0x54], 0x65eaa326
mov dword [ebp - 0x38], 0x68eeae01
mov dword [ebp - 0x80], 0x4e1bb4b7
mov dword [ebp - 0x18], 0x79eaf14a
mov dword [ebp - 0xc], 0x2a862fa7
mov dword [ebp - 4], 0x45b58e12
mov dword [ebp - 0x14], 0x939fa86
mov dword [ebp - 0x6c], 0x43905a93
mov dword [ebp - 0x30], 0x710bf55
mov dword [ebp - 0x3c], 0x72d536cd
mov dword [ebp - 8], 0x25f07124
mov dword [ebp - 0x10], 0x62a838ea
mov dword [ebp - 0x60], 0x74a9a81e
mov dword [ebp - 0x40], 0x41b37ba3
mov eax, 0x581f9111
mul dword [ebp - 0x70]
mov eax, dword [ebp - 0x70]
mov eax, 0x6e9c264e
mul dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
mov eax, 0x6dfdf5d5
mul dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
mov eax, 0x27585458
mul dword [ebp - 0x88]
mov eax, dword [ebp - 0x88]
sub dword [ebp - 0x28], 0x707c574f
add dword [ebp - 0x2c], 0x21446f12
add dword [ebp - 0x88], 0x317a7b4d
add dword [ebp - 0x84], 0x772e0e1c
sub dword [ebp - 0x5c], 0x792c3087
add dword [ebp - 0x70], 0xddc6221
sub dword [ebp - 0x8c], 0x36d8d152
sub dword [ebp - 0x90], 0x9508011
mov eax, 0x2ace4ebc
mul dword [ebp - 0x70]
mov eax, dword [ebp - 0x70]
mov eax, 0x70c28dfd
mul dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
add dword [ebp - 0x28], 0x2f440526
mov eax, 0x4d12d8ca
mul dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
mov eax, 0x7735a32b
mul dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
sub dword [ebp - 0x90], 0x32816d6c
add dword [ebp - 0x48], 0x41e56090
sub dword [ebp - 0x48], 0x5bd2494f
sub dword [ebp - 0x5c], 0x7b7d980d
mov eax, 0x3b8b9148
mul dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
sub dword [ebp - 0x34], 0x1d082c5a
add dword [ebp - 0x50], 0x2bc0de09
mov eax, 0x32c493fc
mul dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
mov eax, 0x3e254c7b
mul dword [ebp - 0x8c]
mov eax, dword [ebp - 0x8c]
mov eax, 0x75fdaa0a
mul dword [ebp - 0x84]
mov eax, dword [ebp - 0x84]
mov eax, 0x58bb642c
mul dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
add dword [ebp - 0x4c], 0x11e5a83d
add dword [ebp - 0x84], 0x59e49227
sub dword [ebp - 0x28], 0x46758486
mov eax, 0x78122d0e
mul dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
sub dword [ebp - 0x78], 0xb313d48
sub dword [ebp - 0x64], 0x729945f8
mov eax, 0x67de0475
mul dword [ebp - 0x70]
mov eax, dword [ebp - 0x70]
sub dword [ebp - 0x5c], 0x7d19fdc4
add dword [ebp - 0x54], 0x2dcf4fa4
sub dword [ebp - 0x58], 0x79ec51f9
mov eax, 0x3628c149
mul dword [ebp - 0x24]
mov eax, dword [ebp - 0x24]
mov eax, 0x6ad21ff3
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x68], 0x6e65b6bf
mov eax, 0x413fbd78
mul dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
mov eax, 0x20f83e88
mul dword [ebp - 0xc]
mov eax, dword [ebp - 0xc]
mov eax, 0x33d07ffb
mul dword [ebp - 0x78]
mov eax, dword [ebp - 0x78]
sub dword [ebp - 0x20], 0x441fba22
mov eax, 0x1d7d5797
mul dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
add dword [ebp - 4], 0x277f9dd0
add dword [ebp - 0x7c], 0x35ee62b7
mov eax, 0x722fc1d3
mul dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
mov eax, 0x293b5f0a
mul dword [ebp - 0x84]
mov eax, dword [ebp - 0x84]
mov eax, 0x156b1ed6
mul dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
sub dword [ebp - 0x28], 0x682daa57
mov eax, 0x15024b05
mul dword [ebp - 0x58]
mov eax, dword [ebp - 0x58]
add dword [ebp - 0x2c], 0x7bdf9395
sub dword [ebp - 0xc], 0x55911090
sub dword [ebp - 0x44], 0x6518fb6a
sub dword [ebp - 0x50], 0x2343d5db
add dword [ebp - 0x8c], 0x2235b9a5
sub dword [ebp - 0x7c], 0x26da9efe
sub dword [ebp - 0x10], 0x619e099d
add dword [ebp - 0x8c], 0x1ee2fed9
sub dword [ebp - 0x88], 0x1c06a35d
mov eax, 0xec9b015
mul dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
add dword [ebp - 0x20], 0x79267900
xor eax, eax
mov edi, edi
cmp eax, 0x166c480
jg 0x404bcf
inc eax
cmp eax, 0x37e3fd1
jl 0x404bc0
mov eax, dword [0x452edc]
push esi
push edi
mov dword [0x457d1c], eax
call fcn.00404590
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, 0x2ec37
jmp 0x404bf0
cmp dword [0x457d1c], 0x51f
jne 0x404c07
lea ecx, [ebp - 0x490]
push ecx
push 0
call esi
sub edi, 1
jne 0x404bf0
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10