Function at 0x45b7e0
Capabilities:
Check if file exists
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5992d1
mov eax, dword fs:[0]
push eax
sub esp, 0x698
mov eax, dword [0x604654]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x220], eax
xor eax, eax
push 0x208
push eax
mov dword [ebp - 0x6a0], eax
mov dword [ebp - 0x6a4], eax
lea eax, [ebp - 0x218]
push eax
call fcn.0053c7b0
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.Shcore.dll
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x45b8a5
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov edi, eax
test edi, edi
je 0x45b8a5
push str.SetProcessDpiAwareness
push edi
call esi
push str.GetProcessDpiAwareness
push edi
mov dword [ebp - 0x6a0], eax
call esi
push str.GetDpiForMonitor
push edi
call esi
push str.User32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edi, eax
test edi, edi
je 0x45b8dc
push str.SetProcessDPIAware
push edi
call esi
push str.IsProcessDPIAware
push edi
mov dword [ebp - 0x6a4], eax
call esi
push str.LogicalToPhysicalPoint
push edi
call esi
push str.PhysicalToLogicalPoint
push edi
call esi
mov eax, dword [ebp - 0x6a0]
test eax, eax
je 0x45b8ee
push 2
call eax
test eax, eax
jns 0x45b8fa
mov eax, dword [ebp - 0x6a4]
test eax, eax
je 0x45b8fa
call eax
call fcn.00457c00
push 0xa0
lea eax, [ebp - 0x2c0]
push 0
push eax
call fcn.0053c7b0
add esp, 0xc
lea ecx, [ebp - 0x2c0]
push 0x40
call fcn.004526e0
mov ecx, dword [ebp - 0x2b8]
lea eax, [ebp - 0x2c0]
mov edx, dword [ebp - 0x2b4]
mov dword [ebp - 4], 0
mov dword [ebp - method.CDuilib_MessageFilter.virtual_0], vtable.CDuilib_MessageFilter.0
mov dword [0x60fb64], eax
cmp ecx, edx
jne 0x45b9ab
mov edi, dword [ebp - 0x2bc]
lea eax, [ebp - 0x690]
cmp eax, edi
jb 0x45b96f
lea eax, [edi + edx*4]
lea esi, [ebp - 0x690]
cmp esi, eax
jb 0x45bc44
test edx, edx
jne 0x45b978
lea esi, [edx + 1]
jmp 0x45b987
lea esi, [ecx + ecx]
test esi, esi
js 0x45b9cd
cmp esi, 0x1fffffff
ja 0x45b9cd
push 4
push esi
push edi
call fcn.0054b06f
add esp, 0xc
test eax, eax
je 0x45b9cd
mov ecx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2b4], esi
mov dword [ebp - 0x2bc], eax
jmp 0x45b9b1
mov eax, dword [ebp - 0x2bc]
lea eax, [eax + ecx*4]
test eax, eax
je 0x45b9c6
lea ecx, [ebp - 0x21c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x2b8]
inc ecx
mov dword [ebp - 0x2b8], ecx
push 0x3cc
lea eax, [ebp - 0x68c]
mov byte [ebp - 4], 1
push 0
push eax
call fcn.0053c7b0
add esp, 0xc
lea ecx, [ebp - 0x68c]
call fcn.00435fd0
push 0
sub esp, 0x10
mov byte [ebp - 4], 2
mov eax, esp
lea ecx, [ebp - 0x68c]
xorps xmm0, xmm0
push 0x110
push 0x86c80000
push 0x5ac628
push 0
movups xmmword [eax], xmm0
call fcn.004aea80
lea ecx, [ebp - 0x68c]
mov esi, eax
call fcn.004a63c0
mov dword [0x60fb68], eax
mov eax, dword [ebp - 0x220]
push eax
mov dword [ebp - 0x698], 0
mov dword [ebp - 0x69c], 0x5355434c
mov dword [ebp - 0x694], eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x698], eax
lea eax, [ebp - 0x69c]
push eax
push eax
push 0x4a
push esi
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x68c]
call fcn.004386f0
mov edi, dword [0x60fcc4]
test edi, edi
jne 0x45bafa
push 0x603360
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x60fcc4], edi
jne 0x45bae9
push 0xcc
call fcn.004a3da5
mov esi, eax
add esp, 4
mov dword [ebp - 0x220], esi
mov byte [ebp - 4], 3
test esi, esi
je 0x45bad3
push 0xcc
push edi
push esi
call fcn.0053c7b0
add esp, 0xc
mov ecx, esi
call fcn.0045e040
jmp 0x45bad5
xor eax, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x220]
xor edx, edx
lock or dword [ecx], edx
mov dword [0x60fcc4], eax
push 0x603360
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, dword [0x60fcc4]
push 0
push ecx
mov esi, esp
mov dword [ebp - 0x6a4], esi
call fcn.0040c960
mov ecx, eax
test ecx, ecx
je 0x45bc4e
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
push 0x5ab0c0
mov ecx, esi
mov byte [ebp - 4], 4
call fcn.0040c510
test al, al
jne 0x45bb42
push 0
push 0x5ab0c0
mov ecx, esi
call fcn.0040e8d0
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0045e460
lea eax, [ebp - 0x2c0]
push eax
call fcn.0045b590
push 0xffffffffffffffff
mov edi, eax
push 0x60fc28
mov dword [ebp - 0x6a0], edi
call fcn.00431b20
lea ecx, [ebp - 0x68c]
mov dword [0x60fb68], 0
call fcn.00436720
mov esi, dword [0x60fb64]
mov byte [ebp - 4], 5
mov dword [ebp - method.CDuilib_MessageFilter.virtual_0], vtable.CDuilib_MessageFilter.0
test esi, esi
je 0x45bc1a
mov edx, dword [esi + 8]
xor ecx, ecx
test edx, edx
jle 0x45bc0a
mov eax, dword [esi + 4]
nop word [eax + eax]
lea edi, [ebp - 0x21c]
cmp dword [eax], edi
mov edi, dword [esi + 4]
je 0x45bbc7
inc ecx
add eax, 4
cmp ecx, edx
jl 0x45bbb0
jmp 0x45bc04
cmp ecx, 0xffffffff
je 0x45bc04
test ecx, ecx
js 0x45bc04
cmp ecx, edx
jge 0x45bc04
lea eax, [edx - 1]
cmp ecx, eax
je 0x45bbf8
sub edx, ecx
lea ecx, [edi + ecx*4]
shl edx, 2
lea eax, [edx - 4]
push eax
lea eax, [ecx + 4]
push eax
push edx
push ecx
call fcn.0045d3e0
mov edx, dword [esi + 8]
add esp, 0x10
lea eax, [edx - 1]
mov dword [esi + 8], eax
mov esi, dword [0x60fb64]
mov edi, dword [ebp - 0x6a0]
push esi
call fcn.0043bdb0
mov dword [0x60fb64], 0
lea ecx, [ebp - 0x2c0]
call fcn.00452cb0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a408b
mov esp, ebp
pop ebp
ret 8
push 0x80004005
call fcn.0040c4f0
push 0x80004005
call fcn.0040c4f0
int3