Function at 0x595a00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b123b
mov eax, dword fs:[0]
push eax
sub esp, 0x454
mov eax, dword [0x762dc0]
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 0x7096fc
push 1
push 0
push 0x70980c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jge 0x595a66
mov eax, dword [ebp - 0x448]
jmp 0x595dfc
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.006593c0
add esp, 0xc
lea ecx, [ebp - 0x428]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 2
push 0x6dad68
lea edx, [ebp - 0x428]
push edx
call fcn.00660f70
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
call fcn.00660f51
add esp, 8
shl eax, 1
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x428]
push edx
call fcn.00660f70
add esp, 0xc
push 0x20a
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.006593c0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x428]
push ecx
call fcn.00660f51
add esp, 8
shl eax, 1
push eax
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.00660fb3
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 0x70981c
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 0x70982c
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.00461390
mov dword [ebp - 4], 0
lea edx, [ebp - 0x440]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.0065aee0
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.005ab380
add esp, 0xc
push fcn.00661136
lea edx, [ebp - 0x45c]
push edx
lea ecx, [ebp - 0x440]
call fcn.00460e20
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x454]
push ecx
lea ecx, [ebp - 0x440]
call fcn.00460de0
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x458]
push eax
lea ecx, [ebp - 0x440]
call fcn.00460e20
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x460]
push edx
call fcn.00596610
add esp, 0x14
push 0x6dad6c
lea eax, [ebp - 0x440]
push eax
call fcn.00543d50
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x595cc4
sub esp, 0x10
mov edx, esp
mov eax, dword [0x70978c]
mov dword [edx], eax
mov ecx, dword [0x709790]
mov dword [edx + 4], ecx
mov eax, dword [0x709794]
mov dword [edx + 8], eax
mov ecx, dword [0x709798]
mov dword [edx + 0xc], ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [0x7097ac]
mov dword [edx], eax
mov ecx, dword [0x7097b0]
mov dword [edx + 4], ecx
mov eax, dword [0x7097b4]
mov dword [edx + 8], eax
mov ecx, dword [0x7097b8]
mov dword [edx + 0xc], ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [0x7097dc]
mov dword [edx], eax
mov ecx, dword [0x7097e0]
mov dword [edx + 4], ecx
mov eax, dword [0x7097e4]
mov dword [edx + 8], eax
mov ecx, dword [0x7097e8]
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.00595360
mov dword [ebp - 0x448], eax
jmp 0x595d9f
push str.mp43
lea ecx, [ebp - 0x440]
push ecx
call fcn.00543d50
add esp, 8
movzx edx, al
test edx, edx
je 0x595d7c
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x6dae00]
mov dword [eax], ecx
mov edx, dword [0x6dae04]
mov dword [eax + 4], edx
mov ecx, dword [0x6dae08]
mov dword [eax + 8], ecx
mov edx, dword [0x6dae0c]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x6dadf0]
mov dword [eax], ecx
mov edx, dword [0x6dadf4]
mov dword [eax + 4], edx
mov ecx, dword [0x6dadf8]
mov dword [eax + 8], ecx
mov edx, dword [0x6dadfc]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [str._LTe_v]
mov dword [eax], ecx
mov edx, dword [0x7097c0]
mov dword [eax + 4], edx
mov ecx, dword [0x7097c4]
mov dword [eax + 8], ecx
mov edx, dword [0x7097c8]
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.00595360
mov dword [ebp - 0x448], eax
jmp 0x595d9f
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 0x595dc4
mov ecx, dword [ebp + 0xc]
push ecx
push 0x70976c
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.00462020
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.0065b5b4
mov esp, ebp
pop ebp
ret 0xc