Function at 0x54cf10
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c4540
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x78d5fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44c], ecx
lea eax, [ebp - 0x444]
push eax
push 0x714588
push 1
push 0
push 0x714688
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jge 0x54cf76
mov eax, dword [ebp - 0x448]
jmp 0x54d386
push 0x105
lea ecx, [ebp - 0x21c]
push ecx
push 0xffffffffffffffff
mov edx, dword [ebp + 8]
push edx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x20a
push 0
lea eax, [ebp - 0x428]
push eax
call fcn.00653fd0
add esp, 0xc
lea ecx, [ebp - 0x428]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 2
push 0x6ffec4
lea edx, [ebp - 0x428]
push edx
call fcn.0066e4dc
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
call fcn.0066e32c
add esp, 8
shl eax, 1
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x428]
push edx
call fcn.0066e4dc
add esp, 0xc
push 0x20a
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.00653fd0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x428]
push ecx
call fcn.0066e32c
add esp, 8
shl eax, 1
push eax
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.0066e521
add esp, 0xc
mov ecx, dword [ebp - 0x444]
mov edx, dword [ecx]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x450], eax
push 0
push 1
push 0
mov ecx, dword [ebp - 0x444]
push ecx
call dword [ebp - 0x450]
mov edx, dword [ebp - 0x444]
mov eax, dword [edx]
mov ecx, dword [eax + 0x3c]
mov dword [ebp - 0x454], ecx
push 0
push 0
push 0x714668
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x444]
push eax
call dword [ebp - 0x454]
mov ecx, dword [ebp - 0x444]
mov edx, dword [ecx]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0x458], eax
push 0
push 1
push 0x714678
push 0
mov ecx, dword [ebp - 0x444]
push ecx
call dword [ebp - 0x458]
lea ecx, [ebp - 0x440]
call fcn.00451b40
mov dword [ebp - 4], 0
lea edx, [ebp - 0x440]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00664b40
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00566b20
add esp, 0xc
lea edx, [ebp - 0x480]
push edx
lea ecx, [ebp - 0x440]
call fcn.0045c970
mov eax, dword [eax]
mov dword [ebp - 0x45c], eax
mov ecx, dword [ebp - 0x45c]
mov dword [ebp - 0x468], ecx
lea edx, [ebp - 0x484]
push edx
lea ecx, [ebp - 0x440]
call fcn.0045c9c0
mov eax, dword [eax]
mov dword [ebp - 0x460], eax
mov ecx, dword [ebp - 0x460]
mov dword [ebp - 0x46c], ecx
lea edx, [ebp - 0x488]
push edx
lea ecx, [ebp - 0x440]
call fcn.0045c970
mov eax, dword [eax]
mov dword [ebp - 0x464], eax
mov ecx, dword [ebp - 0x464]
mov dword [ebp - 0x470], ecx
push fcn.00663e42
mov edx, dword [ebp - 0x468]
push edx
mov eax, dword [ebp - 0x46c]
push eax
mov ecx, dword [ebp - 0x470]
push ecx
lea edx, [ebp - 0x48c]
push edx
call fcn.004a6250
add esp, 0x14
push 0x6ffec8
lea eax, [ebp - 0x440]
push eax
call fcn.00494670
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x54d23a
sub esp, 0x10
mov edx, esp
mov eax, dword [0x714648]
mov dword [edx], eax
mov ecx, dword [0x71464c]
mov dword [edx + 4], ecx
mov eax, dword [0x714650]
mov dword [edx + 8], eax
mov ecx, dword [0x714654]
mov dword [edx + 0xc], ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [0x714638]
mov dword [edx], eax
mov ecx, dword [0x71463c]
mov dword [edx + 4], ecx
mov eax, dword [0x714640]
mov dword [edx + 8], eax
mov ecx, dword [0x714644]
mov dword [edx + 0xc], ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [0x714628]
mov dword [edx], eax
mov ecx, dword [0x71462c]
mov dword [edx + 4], ecx
mov eax, dword [0x714630]
mov dword [edx + 8], eax
mov ecx, dword [0x714634]
mov dword [edx + 0xc], ecx
mov edx, dword [ebp - 0x444]
push edx
lea eax, [ebp - 0x21c]
push eax
mov ecx, dword [ebp - 0x44c]
call fcn.0054c760
mov dword [ebp - 0x448], eax
jmp 0x54d31f
push str.mp43
lea ecx, [ebp - 0x440]
push ecx
call fcn.00494670
add esp, 8
movzx edx, al
test edx, edx
je 0x54d2f2
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x6fff5c]
mov dword [eax], ecx
mov edx, dword [0x6fff60]
mov dword [eax + 4], edx
mov ecx, dword [0x6fff64]
mov dword [eax + 8], ecx
mov edx, dword [0x6fff68]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x6fff4c]
mov dword [eax], ecx
mov edx, dword [0x6fff50]
mov dword [eax + 4], edx
mov ecx, dword [0x6fff54]
mov dword [eax + 8], ecx
mov edx, dword [0x6fff58]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [str._LTe_v]
mov dword [eax], ecx
mov edx, dword [0x71465c]
mov dword [eax + 4], edx
mov ecx, dword [0x714660]
mov dword [eax + 8], ecx
mov edx, dword [0x714664]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x444]
push eax
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, dword [ebp - 0x44c]
call fcn.0054c760
mov dword [ebp - 0x448], eax
jmp 0x54d31f
mov edx, dword [ebp - 0x444]
mov eax, dword [edx]
mov ecx, dword [eax + 0x40]
mov dword [ebp - 0x474], ecx
push 0
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp - 0x444]
push eax
call dword [ebp - 0x474]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jl 0x54d34e
mov ecx, dword [ebp - 0x444]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x478], eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x7145a8
mov edx, dword [ebp - 0x444]
push edx
call dword [ebp - 0x478]
mov eax, dword [ebp - 0x444]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x444]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x448]
mov dword [ebp - 0x47c], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.00451a30
mov eax, dword [ebp - 0x47c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0061abe2
mov esp, ebp
pop ebp
ret 0xc