Function at 0x4181a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4afa49
mov eax, dword fs:[0]
push eax
sub esp, 0x6e0
mov eax, dword [0x4d7a50]
xor eax, ebp
mov dword [ebp - 0x60], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x69c], ecx
mov ecx, dword [ebp - 0x69c]
call fcn.0047eaa2
mov eax, dword [ebp - 0x69c]
mov dword [eax + 0x4c6df0], 0xa
push 0
mov ecx, dword [ebp - 0x69c]
call fcn.00451fe0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
je 0x418270
lea ecx, [ebp - 0x170]
call fcn.0040fe00
mov dword [ebp - 4], 0
push 0x65
lea ecx, [ebp - 0x170]
call fcn.00410030
lea ecx, [ebp - 0x170]
call fcn.0040e620
movzx ecx, al
test ecx, ecx
jne 0x41825e
push 0
push 0
push 0x800
mov ecx, dword [ebp - 0x34]
call fcn.00451f50
lea ecx, [ebp - 0x170]
call fcn.0040ff40
push eax
push 0x10
push 0
mov ecx, dword [ebp - 0x34]
call fcn.00451f50
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.0040fec0
push 1
mov edx, dword [ebp - 0x69c]
mov eax, dword [edx + 0x594c84]
push eax
mov ecx, dword [ebp - 0x69c]
call fcn.004520e0
push 0
mov ecx, dword [ebp - 0x69c]
mov edx, dword [ecx + 0x594c84]
push edx
mov ecx, dword [ebp - 0x69c]
call fcn.004520e0
lea eax, [ebp - 0x16c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea ecx, [ebp - 0x16c]
push ecx
mov ecx, dword [ebp - 0x69c]
add ecx, 0x4c6de0
call fcn.0040ff00
call fcn.0040fd30
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x50]
call fcn.00479b1e
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00479b1e
mov byte [ebp - 4], 2
lea edx, [ebp - 0x50]
push edx
push ecx
mov eax, esp
mov dword [ebp - 0x66c], esp
push str.lish
mov ecx, dword [ebp - 0x58]
add ecx, 0xbc
push ecx
push eax
call fcn.0040e470
add esp, 0xc
mov dword [ebp - 0x6a0], eax
call fcn.00402610
add esp, 8
lea ecx, [ebp - 0x50]
call fcn.0040fb60
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x30]
call fcn.0040fc50
push 0x3fa
mov ecx, dword [ebp - 0x69c]
call fcn.00480f30
mov dword [ebp - 0x54], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.00452030
push 0
mov ecx, dword [ebp - 0x54]
call fcn.00481111
xor eax, eax
je 0x418ef3
push 0x448
mov ecx, dword [ebp - 0x69c]
call fcn.00480f30
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.00452030
push 0
mov ecx, dword [ebp - 0x54]
call fcn.00481111
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x69c]
call fcn.00480737
push 1
mov eax, dword [ebp - 0x69c]
push eax
lea ecx, [ebp - 0x30]
push ecx
push 0x50300001
mov ecx, dword [ebp - 0x69c]
add ecx, 0x4e4354
call fcn.0048743d
push 0x429
mov ecx, dword [ebp - 0x69c]
add ecx, 0x4e4354
call fcn.00452eb0
mov edx, dword [ebp - 0x69c]
mov dword [edx + 0x501870], 2
mov ecx, dword [ebp - 0x69c]
add ecx, 0x4e4354
call fcn.0046aaa0
push 0x495
mov ecx, dword [ebp - 0x69c]
call fcn.00480f30
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.00452030
push 0
mov ecx, dword [ebp - 0x54]
call fcn.00481111
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x69c]
call fcn.00480737
push 1
mov edx, dword [ebp - 0x69c]
push edx
lea eax, [ebp - 0x30]
push eax
push 0x50300001
mov ecx, dword [ebp - 0x69c]
add ecx, 0x5018ac
call fcn.0048743d
push 0x429
mov ecx, dword [ebp - 0x69c]
add ecx, 0x5018ac
call fcn.00452eb0
mov ecx, dword [ebp - 0x69c]
mov dword [ecx + 0x51edc8], 3
mov ecx, dword [ebp - 0x69c]
add ecx, 0x5018ac
call fcn.0046aaa0
push 0x4c0
mov ecx, dword [ebp - 0x69c]
call fcn.00480f30
mov dword [ebp - 0x54], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.00452030
push 0
mov ecx, dword [ebp - 0x54]
call fcn.00481111
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x69c]
call fcn.00480737
push 1
mov ecx, dword [ebp - 0x69c]
push ecx
lea edx, [ebp - 0x30]
push edx
push 0x50300001
mov ecx, dword [ebp - 0x69c]
add ecx, 0x51ee04
call fcn.0048743d
push 0x429
mov ecx, dword [ebp - 0x69c]
add ecx, 0x51ee04
call fcn.00452eb0
mov eax, dword [ebp - 0x69c]
mov dword [eax + 0x53c320], 3
mov ecx, dword [ebp - 0x69c]
add ecx, 0x51ee04
call fcn.0046aaa0
push 0x509
mov ecx, dword [ebp - 0x69c]
call fcn.00480f30
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.00452030
push 0
mov ecx, dword [ebp - 0x54]
call fcn.00481111
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x69c]
call fcn.00480737
push 1
mov eax, dword [ebp - 0x69c]
push eax
lea ecx, [ebp - 0x30]
push ecx
push 0x50300001
mov ecx, dword [ebp - 0x69c]
add ecx, 0x53c35c
call fcn.0048743d
push 0x429
mov ecx, dword [ebp - 0x69c]
add ecx, 0x53c35c
call fcn.00452eb0
mov edx, dword [ebp - 0x69c]
mov dword [edx + 0x559878], 3
mov ecx, dword [ebp - 0x69c]
add ecx, 0x53c35c
call fcn.0046aaa0
push 0x53c
mov ecx, dword [ebp - 0x69c]
call fcn.00480f30
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x54]
call fcn.00452030
push 0
mov ecx, dword [ebp - 0x54]
call fcn.00481111
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x69c]
call fcn.00480737
push 1
mov edx, dword [ebp - 0x69c]
push edx
lea eax, [ebp - 0x30]
push eax
push 0x50300001
mov ecx, dword [ebp - 0x69c]
add ecx, 0x5598b4
call fcn.0048743d
push 0x429
mov ecx, dword [ebp - 0x69c]
add ecx, 0x5598b4
call fcn.00452eb0
mov ecx, dword [ebp - 0x69c]
mov dword [ecx + 0x576dd0], 3
mov ecx, dword [ebp - 0x69c]
add ecx, 0x5598b4
call fcn.0046aaa0
push 0x543
mov ecx, dword [ebp - 0x69c]
call fcn.00480f30
mov dword [ebp - 0x54], eax
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x54]
call fcn.00452030
push 0
mov ecx, dword [ebp - 0x54]
call fcn.00481111
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp - 0x69c]
call fcn.00480737
push 1
mov ecx, dword [ebp - 0x69c]
push ecx
lea edx, [ebp - 0x30]
push edx
push 0x50300001
mov ecx, dword [ebp - 0x69c]
add ecx, 0x576e0c
call fcn.0048743d
push 0x429
mov ecx, dword [ebp - 0x69c]
add ecx, 0x576e0c
call fcn.00452eb0
mov eax, dword [ebp - 0x69c]
mov dword [eax + 0x594328], 3
mov ecx, dword [ebp - 0x69c]
add ecx, 0x576e0c
call fcn.0046aaa0
push 0x3fe
mov ecx, dword [ebp - 0x69c]
call fcn.00480f30
mov dword [ebp - 0x54], eax
lea ecx, [ebp - 0x30]
push ecx
mov ecx, dword [ebp - 0x54]
call fcn.00452030
push 0
mov ecx, dword [ebp - 0x54]
call fcn.00481111
lea edx, [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x69c]