Function at 0x473e20
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x612c1b
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x6b64f0]
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 0x651218
push 1
push 0
push 0x651208
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x474168
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.005dad10
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 0x6607b8
push eax
call fcn.005d9605
add esp, 0xc
lea eax, [ebp - 0x224]
push 0x104
push eax
call fcn.005d9648
add eax, eax
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x434]
push eax
call fcn.005d9605
add esp, 0x14
lea eax, [ebp - 0x224]
push 0x20a
push 0
push eax
call fcn.005dad10
add esp, 0xc
lea eax, [ebp - 0x434]
push 0x104
push eax
call fcn.005d9648
add eax, eax
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.005d9667
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 0x6511c8
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x3c]
mov eax, dword [ebp - 0x450]
push 0
push 1
push 0x6511b8
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 0x473fb0
lea eax, [ebp - 0x44c]
sub ecx, edx
push eax
push ecx
push esi
call fcn.00532e80
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 0x474026
push ecx
push ecx
push eax
lea ecx, [ebp - 0x45c]
call fcn.00474670
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 0x6607bc
push ecx
call fcn.004638a0
add esp, 0xc
test eax, eax
jne 0x4740ab
cmp esi, 3
jb 0x4740ab
cmp esi, 3
setne al
test eax, eax
jne 0x4740ab
movdqu xmm0, xmmword [0x651248]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmm0, xmmword [0x651258]
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [0x651268]
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.00474190
jmp 0x474127
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.004638a0
add esp, 0xc
test eax, eax
jne 0x474112
cmp esi, 4
jb 0x474112
cmp esi, 4
setne al
test eax, eax
jne 0x474112
movdqu xmm0, xmmword [0x65404c]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movdqu xmmword [eax], xmm0
mov eax, esp
movdqu xmm0, xmmword [0x65405c]
movdqu xmmword [eax], xmm0
movdqu xmm0, xmmword [0x651238]
jmp 0x474088
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 0x474143
mov eax, dword [ebp - 0x450]
push dword [ebp - 0x458]
push 0x6511e8
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 0x474166
push dword [ebp - 0x44c]
call fcn.004e41e0
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.005d67d1
mov esp, ebp
pop ebp
ret 0xc