Function at 0x4510c0
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x633210
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x450
mov eax, dword [0x6cf520]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x458], ecx
mov eax, dword [ebx + 0xc]
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
mov dword [ebp - 0x460], eax
lea eax, [ebp - 0x454]
push eax
push 0x657ab8
push 1
push 0
push 0x657aa8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4514d1
push 0x105
lea eax, [ebp - 0x228]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0x20a
lea eax, [ebp - 0x438]
push 0
push eax
call fcn.005d34d0
add esp, 0xc
lea eax, [ebp - 0x438]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 2
lea eax, [ebp - 0x438]
push 0x67911c
push eax
call fcn.005e93ac
add esp, 0xc
lea eax, [ebp - 0x228]
push 0x104
push eax
call fcn.005e9513
add eax, eax
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.005e93ac
add esp, 0x14
lea eax, [ebp - 0x228]
push 0x20a
push 0
push eax
call fcn.005d34d0
add esp, 0xc
lea eax, [ebp - 0x438]
push 0x104
push eax
call fcn.005e9513
add eax, eax
push eax
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x228]
push eax
call fcn.005e96c3
mov ecx, dword [ebp - 0x454]
add esp, 0x14
mov eax, dword [ecx]
push 0
push 1
push 0
push ecx
call dword [eax + 0x30]
mov ecx, dword [ebp - 0x454]
push 0
push 0
push 0x657a68
mov eax, dword [ecx]
push edi
push ecx
call dword [eax + 0x3c]
mov ecx, dword [ebp - 0x454]
push 0
push 1
push 0x657a58
mov eax, dword [ecx]
push 0
push ecx
call dword [eax + 0x3c]
xorps xmm0, xmm0
mov dword [ebp - 0x440], 0
movups xmmword [ebp - 0x450], xmm0
mov dword [ebp - 0x43c], 0xf
mov byte [ebp - 0x450], 0
mov ecx, esi
mov dword [ebp - 4], 0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x451270
lea eax, [ebp - 0x450]
sub ecx, edx
push eax
push ecx
push esi
call fcn.004e9160
mov edx, dword [ebp - 0x440]
lea eax, [ebp - 0x450]
add esp, 0xc
lea edi, [ebp - 0x450]
cmp dword [ebp - 0x43c], 0x10
lea esi, [ebp - 0x450]
cmovae eax, dword [ebp - 0x450]
cmovae edi, dword [ebp - 0x450]
add eax, edx
cmp dword [ebp - 0x43c], 0x10
mov dword [ebp - 0x45c], eax
cmovae esi, dword [ebp - 0x450]
cmp esi, eax
je 0x4512f1
sub edi, esi
movsx eax, byte [esi]
push eax
call fcn.005e9801
mov byte [edi + esi], al
add esp, 4
inc esi
cmp esi, dword [ebp - 0x45c]
jne 0x4512d3
mov edx, dword [ebp - 0x440]
mov eax, dword [ebp - 0x43c]
lea ecx, [ebp - 0x450]
cmp eax, 0x10
cmovae ecx, dword [ebp - 0x450]
cmp edx, 3
jne 0x4513c0
mov edi, edx
mov esi, 0x679120
sub edi, 4
jb 0x451331
nop dword [eax]
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x451336
add ecx, 4
add esi, 4
sub edi, 4
jae 0x451320
cmp edi, 0xfffffffc
je 0x45136a
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x451363
cmp edi, 0xfffffffd
je 0x45136a
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x451363
cmp edi, 0xfffffffe
je 0x45136a
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x451363
cmp edi, 0xffffffff
je 0x45136a
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x45136a
sbb eax, eax
or eax, 1
jmp 0x45136c
xor eax, eax
test eax, eax
jne 0x4513ba
movups xmm0, xmmword [0x657ae8]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [0x657af8]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x657b08]
mov ecx, dword [ebp - 0x458]
sub esp, 0x10
mov eax, esp
push dword [ebp - 0x454]
movups xmmword [eax], xmm0
lea eax, [ebp - 0x228]
push eax
call fcn.00451500
jmp 0x451471
mov eax, dword [ebp - 0x43c]
cmp eax, 0x10
lea ecx, [ebp - 0x450]
cmovae ecx, dword [ebp - 0x450]
cmp edx, 4
jne 0x45145c
mov esi, str.mp43
sub edx, edx
jb 0x4513f3
mov eax, dword [ecx]
cmp eax, dword [esi]
jne 0x4513f8
add ecx, 4
add esi, 4
sub edx, 4
jae 0x4513e2
cmp edx, 0xfffffffc
je 0x45142c
mov al, byte [ecx]
cmp al, byte [esi]
jne 0x451425
cmp edx, 0xfffffffd
je 0x45142c
mov al, byte [ecx + 1]
cmp al, byte [esi + 1]
jne 0x451425
cmp edx, 0xfffffffe
je 0x45142c
mov al, byte [ecx + 2]
cmp al, byte [esi + 2]
jne 0x451425
cmp edx, 0xffffffff
je 0x45142c
mov al, byte [ecx + 3]
cmp al, byte [esi + 3]
je 0x45142c
sbb eax, eax
or eax, 1
jmp 0x45142e
xor eax, eax
test eax, eax
jne 0x45145c
movups xmm0, xmmword [0x67864c]
sub esp, 0x10
mov eax, esp
sub esp, 0x10
movups xmmword [eax], xmm0
mov eax, esp
movups xmm0, xmmword [0x67865c]
movups xmmword [eax], xmm0
movups xmm0, xmmword [0x657ad8]
jmp 0x451395
mov ecx, dword [ebp - 0x454]
lea edx, [ebp - 0x228]
push 0
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x40]
mov esi, eax
test esi, esi
js 0x45148d
mov eax, dword [ebp - 0x454]
push dword [ebp - 0x460]
push 0x657a88
mov ecx, dword [eax]
push eax
call dword [ecx]
mov eax, dword [ebp - 0x454]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x43c]
cmp ecx, 0x10
jb 0x4514cf
mov edx, dword [ebp - 0x450]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4514c5
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4514f1
push ecx
push edx
call fcn.00597369
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00597338
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 0xc
call fcn.005dd260
int3