Function at 0x545f90
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6c0660
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x772a40]
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 0x705370
push 1
push 0
push 0x705470
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x448], eax
cmp dword [ebp - 0x448], 0
jge 0x545ff6
mov eax, dword [ebp - 0x448]
jmp 0x546406
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.00650120
add esp, 0xc
lea ecx, [ebp - 0x428]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 2
push 0x6f0760
lea edx, [ebp - 0x428]
push edx
call fcn.0066a165
add esp, 0xc
push 0x104
lea eax, [ebp - 0x21c]
push eax
call fcn.00669fb5
add esp, 8
shl eax, 1
push eax
lea ecx, [ebp - 0x21c]
push ecx
lea edx, [ebp - 0x428]
push edx
call fcn.0066a165
add esp, 0xc
push 0x20a
push 0
lea eax, [ebp - 0x21c]
push eax
call fcn.00650120
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x428]
push ecx
call fcn.00669fb5
add esp, 8
shl eax, 1
push eax
lea edx, [ebp - 0x428]
push edx
lea eax, [ebp - 0x21c]
push eax
call fcn.0066a1aa
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 0x705450
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 0x705460
push 0
mov ecx, dword [ebp - 0x444]
push ecx
call dword [ebp - 0x458]
lea ecx, [ebp - 0x440]
call fcn.00442b80
mov dword [ebp - 4], 0
lea edx, [ebp - 0x440]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00660cd0
add esp, 4
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0055faa0
add esp, 0xc
lea edx, [ebp - 0x480]
push edx
lea ecx, [ebp - 0x440]
call fcn.0044c410
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.0044c460
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.0044c410
mov eax, dword [eax]
mov dword [ebp - 0x464], eax
mov ecx, dword [ebp - 0x464]
mov dword [ebp - 0x470], ecx
push fcn.00660012
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.0049bf40
add esp, 0x14
push 0x6f0764
lea eax, [ebp - 0x440]
push eax
call fcn.0048a630
add esp, 8
movzx ecx, al
test ecx, ecx
je 0x5462ba
sub esp, 0x10
mov edx, esp
mov eax, dword [0x705430]
mov dword [edx], eax
mov ecx, dword [0x705434]
mov dword [edx + 4], ecx
mov eax, dword [0x705438]
mov dword [edx + 8], eax
mov ecx, dword [0x70543c]
mov dword [edx + 0xc], ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [0x705420]
mov dword [edx], eax
mov ecx, dword [0x705424]
mov dword [edx + 4], ecx
mov eax, dword [0x705428]
mov dword [edx + 8], eax
mov ecx, dword [0x70542c]
mov dword [edx + 0xc], ecx
sub esp, 0x10
mov edx, esp
mov eax, dword [0x705410]
mov dword [edx], eax
mov ecx, dword [0x705414]
mov dword [edx + 4], ecx
mov eax, dword [0x705418]
mov dword [edx + 8], eax
mov ecx, dword [0x70541c]
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.005457e0
mov dword [ebp - 0x448], eax
jmp 0x54639f
push str.mp43
lea ecx, [ebp - 0x440]
push ecx
call fcn.0048a630
add esp, 8
movzx edx, al
test edx, edx
je 0x546372
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x6f06f0]
mov dword [eax], ecx
mov edx, dword [0x6f06f4]
mov dword [eax + 4], edx
mov ecx, dword [0x6f06f8]
mov dword [eax + 8], ecx
mov edx, dword [0x6f06fc]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [0x6f06e0]
mov dword [eax], ecx
mov edx, dword [0x6f06e4]
mov dword [eax + 4], edx
mov ecx, dword [0x6f06e8]
mov dword [eax + 8], ecx
mov edx, dword [0x6f06ec]
mov dword [eax + 0xc], edx
sub esp, 0x10
mov eax, esp
mov ecx, dword [str._LTe_v]
mov dword [eax], ecx
mov edx, dword [0x705444]
mov dword [eax + 4], edx
mov ecx, dword [0x705448]
mov dword [eax + 8], ecx
mov edx, dword [0x70544c]
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.005457e0
mov dword [ebp - 0x448], eax
jmp 0x54639f
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 0x5463ce
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 0x705390
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.00442a70
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.00616d7d
mov esp, ebp
pop ebp
ret 0xc