Function at 0x405290
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x498
mov dword [ebp - 0x88], 0x14ea381
mov dword [ebp - 0x40], 0x4637f5be
mov dword [ebp - 0x64], 0x65d91bbb
mov dword [ebp - 0x30], 0x5f07af00
mov dword [ebp - 0x98], 0x37671b82
mov dword [ebp - 0x90], 0x69355cfc
mov dword [ebp - 0x80], 0x141af807
mov dword [ebp - 0x1c], 0xe811e42
mov dword [ebp - 0x28], 0x6e47132b
mov dword [ebp - 0x14], 0x54b372cd
mov dword [ebp - 0x68], 0x312ea485
mov dword [ebp - 0x94], 0xf01a0ff
mov dword [ebp - 0x3c], 0x100c61e8
mov dword [ebp - 0xc], 0x343c3983
mov dword [ebp - 0x4c], 0x42bf8f4c
mov dword [ebp - 0x8c], 0x4cf2e03
mov dword [ebp - 0x10], 0x3990aba8
mov dword [ebp - 0x48], 0x2cf58971
mov dword [ebp - 4], 0x19387ccb
mov dword [ebp - 0x18], 0x19cecd33
mov dword [ebp - 0x38], 0x7d7c6cca
mov dword [ebp - 0x84], 0x57c0e056
mov dword [ebp - 0x60], 0x5f32b7c3
mov dword [ebp - 0x78], 0x300f53b3
mov dword [ebp - 0x5c], 0x6ad7928f
mov dword [ebp - 0x6c], 0x3a2ea297
mov dword [ebp - 0x54], 0x7a9ed8bf
mov dword [ebp - 0x7c], 0x6eb9db27
mov dword [ebp - 0x70], 0x7a675c92
mov dword [ebp - 0x50], 0x3c40c667
mov dword [ebp - 0x2c], 0x61e730d4
mov dword [ebp - 0x24], 0x38d4769f
mov dword [ebp - 0x58], 0x49e7b617
mov dword [ebp - 0x20], 0x599cbaa
mov dword [ebp - 0x34], 0x299f221e
mov dword [ebp - 0x44], 0x3b532e4d
mov dword [ebp - 0x74], 0x6ccb2ff2
mov dword [ebp - 8], 0x272e99b5
mov eax, 0x3b880034
mul dword [ebp - 0x88]
mov eax, dword [ebp - 0x88]
mov eax, 0x5162764b
mul dword [ebp - 0x88]
mov eax, dword [ebp - 0x88]
sub dword [ebp - 0x88], 0x5cbbd2ce
sub dword [ebp - 0x88], 0x40c30404
mov eax, 0x10d16420
mul dword [ebp - 0x88]
mov eax, dword [ebp - 0x88]
mov eax, 0x2f1758f6
mul dword [ebp - 0x88]
mov eax, dword [ebp - 0x88]
mov eax, 0x7fcd1e63
mul dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
sub dword [ebp - 0x40], 0xc5ba36a
mov eax, 0x27bed7ab
mul dword [ebp - 0x88]
mov eax, dword [ebp - 0x88]
sub dword [ebp - 0x64], 0x3464e672
add dword [ebp - 0x98], 0x1be6c481
sub dword [ebp - 0x98], 0x6771fad8
sub dword [ebp - 0x90], 0x17bd99b8
mov eax, 0x3af15cd4
mul dword [ebp - 0x90]
mov eax, dword [ebp - 0x90]
mov eax, 0x1ccdeb0c
mul dword [ebp - 0x98]
mov eax, dword [ebp - 0x98]
add dword [ebp - 0x1c], 0x5de5e83b
add dword [ebp - 0x1c], 0x1e00edaa
sub dword [ebp - 0x80], 0x68c786e6
sub dword [ebp - 0x1c], 0x573218da
mov eax, 0x168cd1a9
mul dword [ebp - 0x88]
mov eax, dword [ebp - 0x88]
mov eax, 0x9a54358
mul dword [ebp - 0x90]
mov eax, dword [ebp - 0x90]
mov eax, 0x175b318f
mul dword [ebp - 0x30]
mov eax, dword [ebp - 0x30]
add dword [ebp - 0x90], 0x30ce1f6f
mov eax, 0x51bcd19b
mul dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
mov eax, 0x12798e3
mul dword [ebp - 0x94]
mov eax, dword [ebp - 0x94]
sub dword [ebp - 0x1c], 0x5acebaf7
mov eax, 0x49339f98
mul dword [ebp - 0x68]
mov eax, dword [ebp - 0x68]
add dword [ebp - 0x98], 0x1aad502b
add dword [ebp - 0x94], 0x25230e3
mov eax, 0x55937631
mul dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
add dword [ebp - 0x28], 0x129de871
add dword [ebp - 0x68], 0x7b661d9
mov eax, 0x4c5ed752
mul dword [ebp - 4]
mov eax, dword [ebp - 4]
sub dword [ebp - 0x8c], 0x3975cd3f
add dword [ebp - 0x64], 0x1093a701
add dword [ebp - 0x88], 0x24dad026
add dword [ebp - 0xc], 0x79965233
mov eax, 0x74a9ac20
mul dword [ebp - 0x64]
mov eax, dword [ebp - 0x64]
sub dword [ebp - 0x14], 0x161b3cfc
mov eax, 0x1fead998
mul dword [ebp - 0x94]
mov eax, dword [ebp - 0x94]
mov eax, 0x1aa55f0d
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], 0x7c4cac38
sub dword [ebp - 0x60], 0x2eec8a8c
sub dword [ebp - 0x48], 0x54037862
sub dword [ebp - 0x38], 0x22ef9298
sub dword [ebp - 0x98], 0x67d36b3d
sub dword [ebp - 0x4c], 0x369ab216
sub dword [ebp - 0x14], 0x75743ea3
add dword [ebp - 0x24], 0x454ac132
mov eax, 0x22eb157c
mul dword [ebp - 0x1c]
mov eax, dword [ebp - 0x1c]
mov eax, 0x72be606b
mul dword [ebp - 0x48]
mov eax, dword [ebp - 0x48]
sub dword [ebp - 0x7c], 0x34bb4998
mov eax, 0x606ef86
mul dword [ebp - 0x84]
mov eax, dword [ebp - 0x84]
sub dword [ebp - 0x90], 0x1634b154
mov eax, 0xbfc1151
mul dword [ebp - 0x54]
mov eax, dword [ebp - 0x54]
add dword [ebp - 0x84], 0x18c354c7
sub dword [ebp - 0x34], 0x705f12fb
mov eax, 0x1128f821
mul dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
sub dword [ebp - 0x58], 0x624b13ab
sub dword [ebp - 0x80], 0x38ae3d2c
mov eax, 0xa7cbb5d
mul dword [ebp - 0x54]
mov eax, dword [ebp - 0x54]
mov eax, 0xdf595d3
mul dword [ebp - 0x7c]
mov eax, dword [ebp - 0x7c]
xor eax, eax
cmp eax, 0x166c480
jg 0x40564f
inc eax
cmp eax, 0x37e3fd1
jl 0x405640
mov eax, dword [0x492dbc]
push esi
push edi
mov dword [0x497c14], eax
call fcn.00404f80
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, 0x2ec37
jmp 0x405670
cmp dword [0x497c14], 0x51f
jne 0x405687
lea ecx, [ebp - 0x498]
push ecx
push 0
call esi
sub edi, 1
jne 0x405670
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10