Function at 0x46b160
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5fbc1b
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x69a450]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x454], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x458], eax
lea eax, [ebp - 0x450]
push eax
push 0x637e04
push 1
push 0
push 0x637df4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x46b4a8
push 0x105
lea eax, [ebp - 0x224]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x20a
lea eax, [ebp - 0x434]
push 0
push eax
call fcn.005c8180
add esp, 0xc
lea eax, [ebp - 0x434]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 2
lea eax, [ebp - 0x434]
push 0x646b74
push eax
call fcn.005c6937
add esp, 0xc
lea eax, [ebp - 0x224]
push 0x104
push eax
call fcn.005c697a
add eax, eax
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.005c6937
add esp, 0x14
lea eax, [ebp - 0x224]
push 0x20a
push 0
push eax
call fcn.005c8180
add esp, 0xc
lea eax, [ebp - 0x434]
push 0x104
push eax
call fcn.005c697a
add eax, eax
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.005c6999
mov eax, dword [ebp - 0x450]
add esp, 0x14
mov ecx, dword [eax]
push 0
push 1
push 0
push eax
call dword [ecx + 0x30]
mov eax, dword [ebp - 0x450]
push 0
push 0
push 0x637db4
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x450]
push 0
push 1
push 0x637da4
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x3c]
mov dword [ebp - 0x438], 0xf
mov dword [ebp - 0x43c], 0
mov byte [ebp - 0x44c], 0
mov ecx, esi
mov dword [ebp - 4], 0
lea edx, [ecx + 1]
lea ecx, [ecx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46b2f0
lea eax, [ebp - 0x44c]
sub ecx, edx
push eax
push ecx
push esi
call fcn.005262b0
mov edi, dword [ebp - 0x438]
lea eax, [ebp - 0x44c]
mov ebx, dword [ebp - 0x44c]
lea ecx, [ebp - 0x44c]
mov esi, dword [ebp - 0x43c]
lea edx, [ebp - 0x44c]
add esp, 0xc
cmp edi, 0x10
cmovae eax, ebx
cmovae ecx, ebx
add eax, esi
cmp edi, 0x10
cmovae edx, ebx
cmp edx, eax
je 0x46b366
push ecx
push ecx
push eax
lea ecx, [ebp - 0x45c]
call fcn.0046b9f0
mov edi, dword [ebp - 0x438]
add esp, 0xc
mov esi, dword [ebp - 0x43c]
mov ebx, dword [ebp - 0x44c]
cmp edi, 0x10
lea ecx, [ebp - 0x44c]
mov eax, 3
cmovae ecx, ebx
cmp esi, eax
cmovb eax, esi
push eax
push 0x646b78
push ecx
call fcn.00467c20
add esp, 0xc
test eax, eax
jne 0x46b3eb
cmp esi, 3
jb 0x46b3eb
cmp esi, 3
setne al
test eax, eax
jne 0x46b3eb
movdqu xmm0, xmmword [0x637e34]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmm0, xmmword [0x637e44]
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [0x637e54]
mov ecx, dword [ebp - 0x454]
sub esp, 0x10
mov eax, esp
push dword [ebp - 0x450]
movdqu xmmword [eax], xmm0
lea eax, [ebp - 0x224]
push eax
call fcn.0046b4d0
jmp 0x46b467
cmp edi, 0x10
lea ecx, [ebp - 0x44c]
mov eax, 4
cmovae ecx, ebx
cmp esi, eax
cmovb eax, esi
push eax
push str.mp43
push ecx
call fcn.00467c20
add esp, 0xc
test eax, eax
jne 0x46b452
cmp esi, 4
jb 0x46b452
cmp esi, 4
setne al
test eax, eax
jne 0x46b452
movdqu xmm0, xmmword [0x63ac40]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmm0, xmmword [0x63ac50]
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [0x637e24]
jmp 0x46b3c8
mov eax, dword [ebp - 0x450]
lea edx, [ebp - 0x224]
push 0
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x40]
mov esi, eax
test esi, esi
js 0x46b483
mov eax, dword [ebp - 0x450]
push dword [ebp - 0x458]
push 0x637dd4
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [ebp - 0x450]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0x438], 0x10
jb 0x46b4a6
push dword [ebp - 0x44c]
call fcn.004d6210
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.005c46a4
mov esp, ebp
pop ebp
ret 0xc