Function at 0x46eb50
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x61aa7b
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x6c4490]
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 0x65cdd4
push 1
push 0
push 0x65cdc4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x46ee9e
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.005e39f0
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 0x66cf08
push eax
call fcn.005e22e7
add esp, 0xc
lea eax, [ebp - 0x224]
push 0x104
push eax
call fcn.005e232a
add eax, eax
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.005e22e7
add esp, 0x14
lea eax, [ebp - 0x224]
push 0x20a
push 0
push eax
call fcn.005e39f0
add esp, 0xc
lea eax, [ebp - 0x434]
push 0x104
push eax
call fcn.005e232a
add eax, eax
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.005e2349
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 0x65cd84
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x450]
push 0
push 1
push 0x65cd74
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 0x46ece0
lea eax, [ebp - 0x44c]
sub ecx, edx
push eax
push ecx
push esi
call fcn.00535a40
mov edi, dword [ebp - 0x438]
lea eax, [ebp - 0x44c]
mov ebx, dword [ebp - 0x44c]
lea edx, [ebp - 0x44c]
mov esi, dword [ebp - 0x43c]
lea ecx, [ebp - 0x44c]
add esp, 0xc
cmp edi, 0x10
cmovae eax, ebx
cmovae edx, ebx
add eax, esi
cmp edi, 0x10
cmovae ecx, ebx
cmp ecx, eax
je 0x46ed5c
push fcn.005e24cc
push edx
push eax
push ecx
lea eax, [ebp - 0x45c]
push eax
call fcn.0046f3a0
mov edi, dword [ebp - 0x438]
add esp, 0x14
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 0x66cf0c
push ecx
call fcn.00464d30
add esp, 0xc
test eax, eax
jne 0x46ede1
cmp esi, 3
jb 0x46ede1
cmp esi, 3
setne al
test eax, eax
jne 0x46ede1
movdqu xmm0, xmmword [0x65ce04]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmm0, xmmword [0x65ce14]
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [0x65ce24]
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.0046eec0
jmp 0x46ee5d
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.00464d30
add esp, 0xc
test eax, eax
jne 0x46ee48
cmp esi, 4
jb 0x46ee48
cmp esi, 4
setne al
test eax, eax
jne 0x46ee48
movdqu xmm0, xmmword [0x6607cc]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmm0, xmmword [0x6607dc]
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [0x65cdf4]
jmp 0x46edbe
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 0x46ee79
mov eax, dword [ebp - 0x450]
push dword [ebp - 0x458]
push 0x65cda4
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 0x46ee9c
push dword [ebp - 0x44c]
call fcn.004ec310
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.005dfa14
mov esp, ebp
pop ebp
ret 0xc