Function at 0x46bb50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60131b
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x6a1450]
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 0x63dea4
push 1
push 0
push 0x63de94
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x46be98
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.005cd520
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 0x64d4ec
push eax
call fcn.005cbe1d
add esp, 0xc
lea eax, [ebp - 0x224]
push 0x104
push eax
call fcn.005cbe60
add eax, eax
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.005cbe1d
add esp, 0x14
lea eax, [ebp - 0x224]
push 0x20a
push 0
push eax
call fcn.005cd520
add esp, 0xc
lea eax, [ebp - 0x434]
push 0x104
push eax
call fcn.005cbe60
add eax, eax
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.005cbe7f
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 0x63de54
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x450]
push 0
push 1
push 0x63de44
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 0x46bce0
lea eax, [ebp - 0x44c]
sub ecx, edx
push eax
push ecx
push esi
call fcn.0052b2e0
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 0x46bd56
push ecx
push ecx
push eax
lea ecx, [ebp - 0x45c]
call fcn.0046c3e0
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 0x64d4f0
push ecx
call fcn.004685e0
add esp, 0xc
test eax, eax
jne 0x46bddb
cmp esi, 3
jb 0x46bddb
cmp esi, 3
setne al
test eax, eax
jne 0x46bddb
movdqu xmm0, xmmword [0x63ded4]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmm0, xmmword [0x63dee4]
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [0x63def4]
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.0046bec0
jmp 0x46be57
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.004685e0
add esp, 0xc
test eax, eax
jne 0x46be42
cmp esi, 4
jb 0x46be42
cmp esi, 4
setne al
test eax, eax
jne 0x46be42
movdqu xmm0, xmmword [0x641660]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmm0, xmmword [0x641670]
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [0x63dec4]
jmp 0x46bdb8
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 0x46be73
mov eax, dword [ebp - 0x450]
push dword [ebp - 0x458]
push 0x63de74
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 0x46be96
push dword [ebp - 0x44c]
call fcn.004dbb70
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.005c9914
mov esp, ebp
pop ebp
ret 0xc