Function at 0x45fdb0
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x1023c
call fcn.004ebaf0
mov eax, dword [0x526b24]
xor eax, esp
mov dword [esp + 0x10238], eax
push ebx
mov ebx, dword [esp + 0x10244]
push esi
push edi
mov edi, ecx
push str.Lib_
push dword [edi + 0x6b8]
push ebx
call fcn.00460030
call fcn.004e3d40
push str.AutoHotkeyLib_
mov esi, eax
lea ecx, [ebx + 8]
push esi
push ecx
mov ecx, edi
call fcn.00460030
push esi
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push str.Lib_
push dword [edi + 0x6c8]
lea eax, [ebx + 0x10]
mov ecx, edi
push eax
call fcn.00460030
lea eax, [esp + 0x240]
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
lea eax, [esp + 0x14]
push 0x4f5b70
push eax
mov dword [esp + 0x1c], 0x4f5b70
mov dword [esp + 0x20], 0xffffffff
mov dword [esp + 0x30], 0
mov dword [esp + 0x38], 1
call fcn.0048c190
mov eax, dword [0x62271c]
add esp, 8
mov ecx, dword fs:[0x2c]
lea esi, [eax*4]
mov eax, dword [esi + ecx]
cmp byte [eax + 0x2198], 0
jne 0x45fe8a
call fcn.004ebad3
mov ecx, dword fs:[0x2c]
mov eax, dword [esi + ecx]
push 0x40c
mov ecx, dword [eax + 0x260]
call fcn.004df760
mov edx, dword [esp + 0x24]
mov dword [ebx + 0x18], eax
movzx ecx, word [edx]
lea edx, [edx + 2]
mov word [eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x45fea4
push 0x5c
push dword [ebx + 0x18]
call sub.VCRUNTIME140.dll_wcsrchr
movups xmm0, xmmword [str.Lib.lnk]
add esp, 8
movups xmmword [eax + 2], xmm0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0xc]
push eax
push 0x508320
push 1
push 0
push 0x508380
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x45ffc3
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x10]
push edx
push 0x508370
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
js 0x45ffb9
mov ecx, dword [esp + 0x10]
push 0
push dword [ebx + 0x18]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
test eax, eax
js 0x45ffaf
mov eax, dword [esp + 0xc]
lea edx, [esp + 0x34]
push 2
push 0
push 0x104
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov edx, dword [ebx + 0x18]
lea ecx, [esp + 0x34]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x45ff47
lea ecx, [esp + 0x34]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ff60
mov eax, dword [ebx + 0x18]
sub ecx, edx
sar ecx, 1
mov edx, 0x5c
mov word [eax + ecx*2], dx
lea ecx, [esp + 0x34]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x45ff82
sub ecx, edx
mov eax, 0x205
sar ecx, 1
sub eax, ecx
add eax, eax
push eax
mov eax, dword [ebx + 0x18]
push 0
lea eax, [eax + ecx*2]
add eax, 2
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0xc]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [ebx + 0x18]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
lea eax, [esp + 0x244]
push eax
call fcn.004e3920
push 0x44
push eax
call sub.VCRUNTIME140.dll_wcsrchr
add esp, 0x10
test eax, eax
jne 0x45fff7
mov dword [ebx + 0x1c], eax
mov dword [ebx + 0x18], eax
jmp 0x460012
mov ecx, dword [ebx + 0x18]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x460000
sub ecx, edx
sar ecx, 1
mov dword [ebx + 0x1c], ecx
mov ecx, dword [esp + 0x10244]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004ebadf
add esp, 0x1023c
ret 4