Function at 0x5009f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x664ef0
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x71ccd4]
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 0x69ae4c
push 1
push 0
push 0x69aedc
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jge 0x500a56
mov eax, dword [ebp - 0x448]
jmp 0x500dec
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.00602f50
add esp, 0xc
lea ecx, [ebp - 0x428]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 2
push 0x689e94
lea edx, [ebp - 0x428]
push edx
call fcn.00619666
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
call fcn.006194b6
add esp, 8
shl eax, 1
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x428]
push edx
call fcn.00619666
add esp, 0xc
push 0x20a
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.00602f50
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x428]
push ecx
call fcn.006194b6
add esp, 8
shl eax, 1
push eax
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.006196ab
add esp, 0xc
push 0
push 1
push 0
mov ecx, dword [ebp - 0x444]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x444]
push eax
mov ecx, dword [edx + 0x30]
call ecx
push 0
push 0
push 0x69aebc
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp - 0x444]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x444]
push edx
mov eax, dword [ecx + 0x3c]
call eax
push 0
push 1
push 0x69aecc
push 0
mov ecx, dword [ebp - 0x444]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x444]
push eax
mov ecx, dword [edx + 0x3c]
call ecx
lea ecx, [ebp - 0x440]
call fcn.0044b310
mov dword [ebp - 4], 0
lea edx, [ebp - 0x440]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00610260
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00519590
add esp, 0xc
push fcn.006197f2
lea edx, [ebp - 0x454]
push edx
lea ecx, [ebp - 0x440]
call fcn.005017a0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x458]
push ecx
lea ecx, [ebp - 0x440]
call fcn.005017e0
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x45c]
push eax
lea ecx, [ebp - 0x440]
call fcn.005017a0
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x460]
push edx
call fcn.005015d0
add esp, 0x14
push 0x689e98
lea eax, [ebp - 0x440]
push eax
call fcn.004c02e0
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x500cb4
sub esp, 0x10
mov edx, esp
mov eax, dword [0x69addc]
mov dword [edx], eax
mov ecx, dword [0x69ade0]
mov dword [edx + 4], ecx
mov eax, dword [0x69ade4]
mov dword [edx + 8], eax
mov ecx, dword [0x69ade8]
mov dword [edx + 0xc], ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [0x69adcc]
mov dword [edx], eax
mov ecx, dword [0x69add0]
mov dword [edx + 4], ecx
mov eax, dword [0x69add4]
mov dword [edx + 8], eax
mov ecx, dword [0x69add8]
mov dword [edx + 0xc], ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [0x69adbc]
mov dword [edx], eax
mov ecx, dword [0x69adc0]
mov dword [edx + 4], ecx
mov eax, dword [0x69adc4]
mov dword [edx + 8], eax
mov ecx, dword [0x69adc8]
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.00500350
mov dword [ebp - 0x448], eax
jmp 0x500d8f
push str.mp43
lea ecx, [ebp - 0x440]
push ecx
call fcn.004c02e0
add esp, 8
movzx edx, al
test edx, edx
je 0x500d6c
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x689f2c]
mov dword [eax], ecx
mov edx, dword [0x689f30]
mov dword [eax + 4], edx
mov ecx, dword [0x689f34]
mov dword [eax + 8], ecx
mov edx, dword [0x689f38]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x689f1c]
mov dword [eax], ecx
mov edx, dword [0x689f20]
mov dword [eax + 4], edx
mov ecx, dword [0x689f24]
mov dword [eax + 8], ecx
mov edx, dword [0x689f28]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [str._LTe_v]
mov dword [eax], ecx
mov edx, dword [0x69adf0]
mov dword [eax + 4], edx
mov ecx, dword [0x69adf4]
mov dword [eax + 8], ecx
mov edx, dword [0x69adf8]
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.00500350
mov dword [ebp - 0x448], eax
jmp 0x500d8f
push 0
lea edx, [ebp - 0x21c]
push edx
mov eax, dword [ebp - 0x444]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x444]
push edx
mov eax, dword [ecx + 0x40]
call eax
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jl 0x500db4
mov ecx, dword [ebp + 0xc]
push ecx
push 0x69ae6c
mov edx, dword [ebp - 0x444]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x444]
push ecx
mov edx, dword [eax]
call edx
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 - 0x450], ecx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x440]
call fcn.0044bc10
mov eax, dword [ebp - 0x450]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005c81cf
mov esp, ebp
pop ebp
ret 0xc