Function at 0x51cf48
Capabilities:
Get common file path

Disassembly:
mov eax, 0x5eaadf
call fcn.00594e8c
sub esp, 0xa0
push esi
push edi
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x6c]
call fcn.004165ab
and dword [ebp - 4], 0
mov eax, dword [ebp - 0x6c]
mov dword [eax], method.CCommandLineInfo.virtual_0
mov ecx, dword [ebp - 0x6c]
add ecx, 8
call fcn.0040b0ee
mov byte [ebp - 4], 1
cmp dword [0x65a4f0], 0
jne 0x51cf92
mov eax, dword [ebp - 0x6c]
mov dword [0x65a4f0], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp eax, 0x80000000
jae 0x51d154
push 0x617968
lea ecx, [ebp - 0x1c]
call fcn.0040e04b
mov byte [ebp - 4], 2
cmp dword [0x68385c], 0
jne 0x51d01c
push 0x104
call fcn.005b9586
pop ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
push 0x32
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push dword [ebp - 0x20]
lea ecx, [ebp - 0x28]
call fcn.0040e04b
mov dword [ebp - 0x70], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x74], eax
mov byte [ebp - 4], 3
push dword [ebp - 0x74]
lea ecx, [ebp - 0x1c]
call fcn.0040b132
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.0040b121
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
call fcn.005b958b
pop ecx
jmp 0x51d02f
mov eax, dword [0x68385c]
add eax, 0x80bbc
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040b132
push 0x61796c
lea ecx, [ebp - 0x30]
call fcn.0040e04b
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x7c], eax
mov byte [ebp - 4], 4
push 0x617974
lea ecx, [ebp - 0x34]
call fcn.0040e04b
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
mov byte [ebp - 4], 5
push dword [ebp - 0x84]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.0041d645
add esp, 0xc
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 6
push 0x65a920
push dword [ebp - 0x8c]
lea eax, [ebp - 0x3c]
push eax
call fcn.0041d645
add esp, 0xc
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 7
push dword [ebp - 0x7c]
push dword [ebp - 0x94]
lea eax, [ebp - 0x40]
push eax
call fcn.0041d645
add esp, 0xc
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x9c], eax
mov byte [ebp - 4], 8
push dword [ebp - 0x9c]
mov ecx, dword [ebp - 0x6c]
add ecx, 8
call fcn.0040b132
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x40]
call fcn.0040b121
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x3c]
call fcn.0040b121
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x38]
call fcn.0040b121
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x34]
call fcn.0040b121
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.0040b121
mov eax, dword [ebp - 0x6c]
add eax, 8
push eax
mov ecx, 0x836bb8
call fcn.0040b132
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.0040b121
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x51d1ef
mov eax, dword [ebp - 0x6c]
add eax, 4
push eax
push 0x630b64
push 1
push 0
push 0x630b54
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x51d1ef
mov eax, dword [ebp - 0x6c]
add eax, 8
push eax
lea ecx, [ebp - 0x64]
call fcn.0051e194
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0xa4], eax
mov byte [ebp - 4], 9
mov esi, dword [ebp - 0xa4]
lea edi, [ebp - 0x54]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x14]
push eax
sub esp, 0x10
lea esi, [ebp - 0x54]
mov edi, esp
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x6c]
push dword [eax + 4]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 4]
mov eax, dword [eax]
call dword [eax + 0xe8]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.004bcacf
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x6c]
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
push ecx
call dword [eax + 0xb4]
cmp dword [ebp - 0x10], 0
jne 0x51d278
push 0x617978
lea ecx, [ebp - 0x68]
call fcn.0051e07d
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xac], eax
mov byte [ebp - 4], 0xa
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xac]
call fcn.00517034
push eax
mov eax, dword [ebp - 0x6c]
push dword [eax + 4]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 4]
mov eax, dword [eax]
call dword [eax + 0xbc]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x68]
call fcn.004c646f
push 0
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x6c]
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
push ecx
call dword [eax + 0x54]
mov byte [0x836bb4], 1
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x6c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
leave
ret