Function at 0x4560f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc20
mov eax, dword [0x4cd724]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x456139
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.RegisterFile__s___s___d___File_doesnt_exits_
call fcn.00456a00
add esp, 0x10
mov eax, dword [ebp - 4]
jmp 0x456343
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov dword [ebp - 8], eax
push str..exe
mov edx, dword [ebp - 8]
push edx
call fcn.0046b42e
add esp, 8
test eax, eax
jne 0x456205
xor eax, eax
mov word [ebp - 0x810], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x80e]
push ecx
call fcn.004677c0
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
push 0x400
lea eax, [ebp - 0x810]
push eax
call fcn.0046a10d
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x4561b7
push str.__regserver
push 0x400
lea ecx, [ebp - 0x810]
push ecx
call fcn.00467c81
add esp, 0xc
jmp 0x4561d0
push str.__unregserver
push 0x400
lea edx, [ebp - 0x810]
push edx
call fcn.00467c81
add esp, 0xc
mov dword [ebp - 0xc], 0
push 0
lea eax, [ebp - 0xc]
push eax
push 0
push 1
push str.open
push 0
lea ecx, [ebp - 0x810]
push ecx
mov edx, dword [ebp + 8]
push edx
push 0
call fcn.00454880
add esp, 0x24
mov dword [ebp - 4], eax
jmp 0x456340
push str..dll
mov eax, dword [ebp - 8]
push eax
call fcn.0046b42e
add esp, 8
test eax, eax
jne 0x456327
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [ebp - 0x814], eax
cmp dword [ebp - 0x814], 0
je 0x45631f
mov byte [ebp - 0xc18], 0
push 0x3ff
push 0
lea edx, [ebp - 0xc17]
push edx
call fcn.004677c0
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x456281
push str.DllRegisterServer
push 0x400
lea eax, [ebp - 0xc18]
push eax
call fcn.00469f5d
add esp, 0xc
jmp 0x45629a
push str.DllUnregisterServer
push 0x400
lea ecx, [ebp - 0xc18]
push ecx
call fcn.00469f5d
add esp, 0xc
lea edx, [ebp - 0xc18]
push edx
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0xc1c], eax
cmp dword [ebp - 0xc1c], 0
je 0x456312
call dword [ebp - 0xc1c]
mov dword [ebp - 0xc20], eax
cmp dword [ebp - 0xc20], 0
jne 0x4562f3
mov dword [ebp - 4], 1
lea ecx, [ebp - 0xc18]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.RegisterFile_____s__s_successfully_
call fcn.00456a00
add esp, 0xc
jmp 0x456312
mov eax, dword [ebp - 0xc20]
push eax
lea ecx, [ebp - 0xc18]
push ecx
mov edx, dword [ebp + 8]
push edx
push str.RegisterFile_____s__s_failed____x_
call fcn.00456a00
add esp, 0x10
mov eax, dword [ebp - 0x814]
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
call dword [sym.imp.ole32.dll_OleUninitialize]
jmp 0x456340
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
push str.RegisterFile__s___s___d___File_not_supported_
call fcn.00456a00
add esp, 0x10
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004677af
mov esp, ebp
pop ebp
ret