Function at 0x4fee50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65fcab
mov eax, dword fs:[0]
push eax
sub esp, 0x478
mov eax, dword [0x704e7c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x484], ecx
lea eax, [ebp - 0x458]
push eax
push 0x6a33dc
push 1
push 0
push 0x6a346c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x45c], eax
cmp dword [ebp - 0x45c], 0
jge 0x4feeb6
mov eax, dword [ebp - 0x45c]
jmp 0x4ff258
push 0x105
lea ecx, [ebp - 0x454]
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 - 0x224]
push eax
call fcn.0060fff0
add esp, 0xc
lea ecx, [ebp - 0x224]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 2
push 0x68588c
lea edx, [ebp - 0x224]
push edx
call fcn.0061613a
add esp, 0xc
push 0x104
lea eax, [ebp - 0x454]
push eax
call fcn.0061611b
add esp, 8
shl eax, 1
push eax
lea ecx, [ebp - 0x454]
push ecx
lea edx, [ebp - 0x224]
push edx
call fcn.0061613a
add esp, 0xc
push 0x20a
push 0
lea eax, [ebp - 0x454]
push eax
call fcn.0060fff0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x224]
push ecx
call fcn.0061611b
add esp, 8
shl eax, 1
push eax
lea edx, [ebp - 0x224]
push edx
lea eax, [ebp - 0x454]
push eax
call fcn.006160d1
add esp, 0xc
push 0
push 1
push 0
mov ecx, dword [ebp - 0x458]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x458]
push eax
mov ecx, dword [edx + 0x30]
call ecx
push 0
push 0
push 0x6a344c
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x458]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x458]
push edx
mov eax, dword [ecx + 0x3c]
call eax
push 0
push 1
push 0x6a345c
push 0
mov ecx, dword [ebp - 0x458]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x458]
push eax
mov ecx, dword [edx + 0x3c]
call ecx
lea ecx, [ebp - 0x240]
call fcn.004161c0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x240]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00610cb0
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00584a40
add esp, 0xc
push fcn.006160a5
lea edx, [ebp - 0x464]
push edx
lea ecx, [ebp - 0x240]
call fcn.00420d70
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x46c]
push eax
lea ecx, [ebp - 0x240]
call fcn.00420a10
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x474]
push eax
lea ecx, [ebp - 0x240]
call fcn.00420d70
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x47c]
push eax
call fcn.004ffd90
add esp, 0x20
push 0x685890
lea ecx, [ebp - 0x240]
push ecx
call fcn.004c7f10
add esp, 8
movzx edx, al
test edx, edx
je 0x4ff126
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x6a336c]
mov dword [eax], ecx
mov edx, dword [0x6a3370]
mov dword [eax + 4], edx
mov ecx, dword [0x6a3374]
mov dword [eax + 8], ecx
mov edx, dword [0x6a3378]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x6a335c]
mov dword [eax], ecx
mov edx, dword [0x6a3360]
mov dword [eax + 4], edx
mov ecx, dword [0x6a3364]
mov dword [eax + 8], ecx
mov edx, dword [0x6a3368]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x6a334c]
mov dword [eax], ecx
mov edx, dword [0x6a3350]
mov dword [eax + 4], edx
mov ecx, dword [0x6a3354]
mov dword [eax + 8], ecx
mov edx, dword [0x6a3358]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 0x458]
push eax
lea ecx, [ebp - 0x454]
push ecx
mov ecx, dword [ebp - 0x484]
call fcn.004ff780
mov dword [ebp - 0x45c], eax
jmp 0x4ff1fb
push str.mp43
lea edx, [ebp - 0x240]
push edx
call fcn.004c7f10
add esp, 8
movzx eax, al
test eax, eax
je 0x4ff1d8
sub esp, 0x10
mov ecx, esp
mov edx, dword [0x68581c]
mov dword [ecx], edx
mov eax, dword [0x685820]
mov dword [ecx + 4], eax
mov edx, dword [0x685824]
mov dword [ecx + 8], edx
mov eax, dword [0x685828]
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [0x68580c]
mov dword [ecx], edx
mov eax, dword [0x685810]
mov dword [ecx + 4], eax
mov edx, dword [0x685814]
mov dword [ecx + 8], edx
mov eax, dword [0x685818]
mov dword [ecx + 0xc], eax
sub esp, 0x10
mov ecx, esp
mov edx, dword [str._LTe_v]
mov dword [ecx], edx
mov eax, dword [0x6a3380]
mov dword [ecx + 4], eax
mov edx, dword [0x6a3384]
mov dword [ecx + 8], edx
mov eax, dword [0x6a3388]
mov dword [ecx + 0xc], eax
mov ecx, dword [ebp - 0x458]
push ecx
lea edx, [ebp - 0x454]
push edx
mov ecx, dword [ebp - 0x484]
call fcn.004ff780
mov dword [ebp - 0x45c], eax
jmp 0x4ff1fb
push 0
lea eax, [ebp - 0x454]
push eax
mov ecx, dword [ebp - 0x458]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x458]
push eax
mov ecx, dword [edx + 0x40]
call ecx
mov dword [ebp - 0x45c], eax
cmp dword [ebp - 0x45c], 0
jl 0x4ff220
mov edx, dword [ebp + 0xc]
push edx
push 0x6a33fc
mov eax, dword [ebp - 0x458]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x458]
push edx
mov eax, dword [ecx]
call eax
mov ecx, dword [ebp - 0x458]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x458]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x45c]
mov dword [ebp - 0x480], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x240]
call fcn.0050f430
mov eax, dword [ebp - 0x480]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.006108ae
mov esp, ebp
pop ebp
ret 0xc