Function at 0x56a270
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b289b
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x759990]
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 0x6fd454
push 1
push 0
push 0x6fd444
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jge 0x56a2d6
mov eax, dword [ebp - 0x448]
jmp 0x56a66c
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.00620a70
add esp, 0xc
lea ecx, [ebp - 0x428]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 2
push 0x6d3d24
lea edx, [ebp - 0x428]
push edx
call fcn.00627474
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
call fcn.00627455
add esp, 8
shl eax, 1
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x428]
push edx
call fcn.00627474
add esp, 0xc
push 0x20a
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.00620a70
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x428]
push ecx
call fcn.00627455
add esp, 8
shl eax, 1
push eax
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.006274b7
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 0x6fd534
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 0x6fd524
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.0045fb20
mov dword [ebp - 4], 0
lea edx, [ebp - 0x440]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.006224f0
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0057ec30
add esp, 0xc
push fcn.00627429
lea edx, [ebp - 0x45c]
push edx
lea ecx, [ebp - 0x440]
call fcn.0045f530
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x454]
push ecx
lea ecx, [ebp - 0x440]
call fcn.0045f500
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x440]
call fcn.0045f530
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x460]
push edx
call fcn.0056ae80
add esp, 0x14
push 0x6d3d28
lea eax, [ebp - 0x440]
push eax
call fcn.004a6b80
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x56a534
sub esp, 0x10
mov edx, esp
mov eax, dword [0x6fd4c4]
mov dword [edx], eax
mov ecx, dword [0x6fd4c8]
mov dword [edx + 4], ecx
mov eax, dword [0x6fd4cc]
mov dword [edx + 8], eax
mov ecx, dword [0x6fd4d0]
mov dword [edx + 0xc], ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [0x6fd4d4]
mov dword [edx], eax
mov ecx, dword [0x6fd4d8]
mov dword [edx + 4], ecx
mov eax, dword [0x6fd4dc]
mov dword [edx + 8], eax
mov ecx, dword [0x6fd4e0]
mov dword [edx + 0xc], ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [0x6fd4e4]
mov dword [edx], eax
mov ecx, dword [0x6fd4e8]
mov dword [edx + 4], ecx
mov eax, dword [0x6fd4ec]
mov dword [edx + 8], eax
mov ecx, dword [0x6fd4f0]
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.00569bd0
mov dword [ebp - 0x448], eax
jmp 0x56a60f
push str.mp43
lea ecx, [ebp - 0x440]
push ecx
call fcn.004a6b80
add esp, 8
movzx edx, al
test edx, edx
je 0x56a5ec
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x6d3cb4]
mov dword [eax], ecx
mov edx, dword [0x6d3cb8]
mov dword [eax + 4], edx
mov ecx, dword [0x6d3cbc]
mov dword [eax + 8], ecx
mov edx, dword [0x6d3cc0]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x6d3ca4]
mov dword [eax], ecx
mov edx, dword [0x6d3ca8]
mov dword [eax + 4], edx
mov ecx, dword [0x6d3cac]
mov dword [eax + 8], ecx
mov edx, dword [0x6d3cb0]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x6fd4b4]
mov dword [eax], ecx
mov edx, dword [0x6fd4b8]
mov dword [eax + 4], edx
mov ecx, dword [0x6fd4bc]
mov dword [eax + 8], ecx
mov edx, dword [0x6fd4c0]
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.00569bd0
mov dword [ebp - 0x448], eax
jmp 0x56a60f
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 0x56a634
mov ecx, dword [ebp + 0xc]
push ecx
push 0x6fd424
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.00460780
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.00622d3e
mov esp, ebp
pop ebp
ret 0xc