Function at 0x43d920
Capabilities:
Extract resource via kernel32 functions
Get file attributes

Disassembly:
sub esp, 0x428
push ebx
push ebp
push esi
push edi
push 0xa
push str.C974C3B7677A402D93B047DA402587C7
push dword [0x4fba50]
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0
mov esi, eax
push esi
push dword [0x4fba50]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push esi
push dword [0x4fba50]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
lea edx, [esp + 0x1c]
mov ecx, eax
call fcn.004b4e10
mov ebp, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ebx, eax
lea esi, [ebx + 1]
push esi
call ebp
push esi
mov dword [0x4fc508], eax
call ebp
mov edi, dword [esp + 0x24]
mov esi, eax
push ebx
push edi
push dword [0x4fc508]
mov dword [0x4fc504], esi
call sub.VCRUNTIME140.dll_memcpy
push ebx
push edi
push esi
call sub.VCRUNTIME140.dll_memcpy
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov eax, dword [0x4fc508]
add esp, 0x2c
mov byte [eax + ebx], 0
mov eax, dword [0x4fc504]
push eax
mov byte [eax + ebx], 0
call dword [sym.imp.USER32.dll_CharLowerA]
mov esi, dword [esp + 0x1c]
push str.Lib_
push dword [esi + 0xae4]
push 0x4fc50c
call fcn.0043dbe0
lea eax, [esp + 0x230]
push 0
push eax
call fcn.00466430
add esp, 8
lea eax, [esp + 0x230]
push str.AutoHotkeyLib_
push eax
push 0x4fc514
call fcn.0043dbe0
push str.Lib_
push dword [esi + 0xaf0]
push 0x4fc51c
call fcn.0043dbe0
push 0x40c
call ebp
add esp, 4
mov esi, eax
lea eax, [esp + 0x20]
mov dword [0x4fc524], esi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test esi, esi
je 0x43da63
lea ecx, [esp + 0x20]
mov eax, ecx
sub esi, eax
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x43da53
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
push 0x5c
push dword [0x4fc524]
call esi
movups xmm0, xmmword [str.Lib.lnk]
push 0x5c
movups xmmword [eax + 2], xmm0
push dword [0x4fc524]
call esi
add esp, 0x10
xor ecx, ecx
mov word [eax + 0x10], cx
push ecx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x18]
push eax
push 0x4cfa90
push 1
push 0
push 0x4cfaa0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x43db5f
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push 0x4cfab0
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x43db55
mov eax, dword [esp + 0x14]
push 0
push dword [0x4fc524]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x43db4b
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x20]
push 2
push 0
push 0x104
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov edx, dword [0x4fc524]
lea ecx, [esp + 0x20]
nop dword [eax]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x43db10
lea ecx, [esp + 0x20]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43db30
mov eax, dword [0x4fc524]
sub ecx, edx
sar ecx, 1
mov dword [eax + ecx*2], 0x5c
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [0x4fc524]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, eax
lea ecx, [esp + 0x230]
call fcn.004b25e0
push 0x44
push eax
call esi
add esp, 8
test eax, eax
jne 0x43dba2
mov dword [0x4fc528], eax
mov dword [0x4fc524], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x428
ret 4
mov eax, dword [0x4fc524]
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43dbb0
pop edi
pop esi
sub eax, edx
sar eax, 1
pop ebp
mov dword [0x4fc528], eax
pop ebx
add esp, 0x428
ret 4