Function at 0x4046d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x478
mov dword [ebp - 0x5c], 0x5165fb20
mov dword [ebp - 4], 0x15747034
mov dword [ebp - 0x34], 0x5aee1fd8
mov dword [ebp - 0x40], 0x488fd1cc
mov dword [ebp - 0x74], 0x23637cc2
mov dword [ebp - 0x50], 0x572905ed
mov dword [ebp - 0x4c], 0x6a0f1388
mov dword [ebp - 0x14], 0x30c2ed87
mov dword [ebp - 0x78], 0x204a6ca4
mov dword [ebp - 0x44], 0x24929dbe
mov dword [ebp - 0x2c], 0x12a8ab54
mov dword [ebp - 0x24], 0x2ee3c6fb
mov dword [ebp - 0x20], 0x23e0e678
mov dword [ebp - 0x10], 0x45dcb335
mov dword [ebp - 0x38], 0x262f27d4
mov dword [ebp - 0xc], 0x498d81de
mov dword [ebp - 8], 0x62570e16
mov dword [ebp - 0x6c], 0x8199c08
mov dword [ebp - 0x18], 0x61308d9
mov dword [ebp - 0x60], 0x76bf3562
mov dword [ebp - 0x70], 0x6dda6446
mov dword [ebp - 0x1c], 0x2ed9ab85
mov dword [ebp - 0x54], 0x366711db
mov dword [ebp - 0x64], 0x7daa8079
mov dword [ebp - 0x58], 0x27fd654d
mov dword [ebp - 0x48], 0x78f6ea3b
mov dword [ebp - 0x28], 0x2469183f
mov dword [ebp - 0x30], 0x4e249394
mov dword [ebp - 0x68], 0x7d85f264
mov dword [ebp - 0x3c], 0x40459dff
sub dword [ebp - 4], 0x737dab2e
add dword [ebp - 0x5c], 0x38755e76
mov eax, 0x1cf6560a
mul dword [ebp - 0x5c]
mov eax, dword [ebp - 0x5c]
sub dword [ebp - 0x34], 0x58483b14
add dword [ebp - 0x74], 0x1d997603
sub dword [ebp - 0x50], 0x1d6636d0
add dword [ebp - 0x50], 0x35cc4def
mov eax, 0x3bd5b00d
mul dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
sub dword [ebp - 0x5c], 0x433a87f3
add dword [ebp - 0x34], 0x5a357dd3
sub dword [ebp - 0x40], 0x390e4fb5
mov eax, 0x3db2ca91
mul dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
mov eax, 0x2b9ae06d
mul dword [ebp - 0x5c]
mov eax, dword [ebp - 0x5c]
sub dword [ebp - 0x40], 0x539abe13
sub dword [ebp - 0x14], 0x3b9fb42e
sub dword [ebp - 0x34], 0x1a6626b5
add dword [ebp - 0x14], 0x3db74b53
add dword [ebp - 0x5c], 0x3b8a2460
mov eax, 0x101f47c4
mul dword [ebp - 0x78]
mov eax, dword [ebp - 0x78]
add dword [ebp - 0x4c], 0x9e95309
sub dword [ebp - 0x40], 0x7c729300
sub dword [ebp - 0x2c], 0x73b496e1
mov eax, 0x174b59e
mul dword [ebp - 0x4c]
mov eax, dword [ebp - 0x4c]
mov eax, 0x4a979ca8
mul dword [ebp - 0x44]
mov eax, dword [ebp - 0x44]
mov eax, 0x2ba65cb9
mul dword [ebp - 0x74]
mov eax, dword [ebp - 0x74]
mov eax, 0x2f2f084d
mul dword [ebp - 0x74]
mov eax, dword [ebp - 0x74]
mov eax, 0x7b6d015
mul dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x24], 0x4acd8371
add dword [ebp - 0x5c], 0x6468447b
mov eax, 0x1f51dda4
mul dword [ebp - 0x2c]
mov eax, dword [ebp - 0x2c]
add dword [ebp - 0x34], 0x2d2b1a4f
sub dword [ebp - 0x40], 0x411df2cf
add dword [ebp - 4], 0x1d3d1093
add dword [ebp - 0x38], 0x33cca917
sub dword [ebp - 4], 0x4abee0e4
add dword [ebp - 0x5c], 0x3473a8f7
sub dword [ebp - 0x14], 0x4a22b621
add dword [ebp - 0x74], 0x505381af
mov eax, 0x2c4ff57
mul dword [ebp - 8]
mov eax, dword [ebp - 8]
mov eax, 0x51d62eac
mul dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
add dword [ebp - 0x78], 0x74ad435d
add dword [ebp - 0x38], 0x3143fd9
sub dword [ebp - 0x14], 0x68f9491f
sub dword [ebp - 0x14], 0xce56782
add dword [ebp - 0x6c], 0x12334800
mov eax, 0x4821a53b
mul dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
sub dword [ebp - 0x34], 0x4a94ea21
sub dword [ebp - 0x24], 0x16f053b4
mov eax, 0x4aae610e
mul dword [ebp - 0x60]
mov eax, dword [ebp - 0x60]
mov eax, 0x268bf991
mul dword [ebp - 0x34]
mov eax, dword [ebp - 0x34]
sub dword [ebp - 0x34], 0x1c8d4d3f
add dword [ebp - 0x24], 0x44db8a5e
mov eax, 0x36587bf5
mul dword [ebp - 0x60]
mov eax, dword [ebp - 0x60]
sub dword [ebp - 0x78], 0x7fb7576f
add dword [ebp - 0x50], 0x623b4322
mov eax, 0x112720f6
mul dword [ebp - 0x60]
mov eax, dword [ebp - 0x60]
mov eax, 0x44d1c722
mul dword [ebp - 0x70]
mov eax, dword [ebp - 0x70]
add dword [ebp - 0x38], 0x74e21185
add dword [ebp - 0x50], 0x7b1e7372
sub dword [ebp - 0x24], 0x2cd0e618
sub dword [ebp - 0x24], 0x885e122
mov eax, 0x31fe1f57
mul dword [ebp - 0x78]
mov eax, dword [ebp - 0x78]
mov eax, 0x71d0f08a
mul dword [ebp - 0x74]
mov eax, dword [ebp - 0x74]
mov eax, 0xd8bb0f0
mul dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
add dword [ebp - 0x78], 0x5be2b827
add dword [ebp - 8], 0x675587db
add dword [ebp - 0x10], 0x72715241
sub dword [ebp - 0x4c], 0x397298
mov eax, 0x2db26975
mul dword [ebp - 0x74]
mov eax, dword [ebp - 0x74]
sub dword [ebp - 0x24], 0x4c4f05e9
xor eax, eax
cmp eax, 0x166c480
jg 0x404a02
inc eax
cmp eax, 0x37e3fd1
jl 0x4049f3
mov eax, dword [0x44ffcc]
push esi
push edi
mov dword [0x454e24], eax
call fcn.00404440
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov edi, 0x2ec37
mov edi, edi
cmp dword [0x454e24], 0x51f
jne 0x404a37
lea ecx, [ebp - 0x478]
push ecx
push 0
call esi
sub edi, 1
jne 0x404a20
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10