Function at 0x43d670
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 [0x4fba60]
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0
mov esi, eax
push esi
push dword [0x4fba60]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push esi
push dword [0x4fba60]
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.004b4960
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 [0x4fc518], eax
call ebp
mov edi, dword [esp + 0x24]
mov esi, eax
push ebx
push edi
push dword [0x4fc518]
mov dword [0x4fc514], 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 [0x4fc518]
add esp, 0x2c
mov byte [eax + ebx], 0
mov eax, dword [0x4fc514]
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 0x4fc51c
call fcn.0043d930
lea eax, [esp + 0x230]
push 0
push eax
call fcn.004660a0
add esp, 8
lea eax, [esp + 0x230]
push str.AutoHotkeyLib_
push eax
push 0x4fc524
call fcn.0043d930
push str.Lib_
push dword [esi + 0xaf0]
push 0x4fc52c
call fcn.0043d930
push 0x40c
call ebp
add esp, 4
mov esi, eax
lea eax, [esp + 0x20]
mov dword [0x4fc534], esi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test esi, esi
je 0x43d7b3
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 0x43d7a3
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
push 0x5c
push dword [0x4fc534]
call esi
movups xmm0, xmmword [str.Lib.lnk]
push 0x5c
movups xmmword [eax + 2], xmm0
push dword [0x4fc534]
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 0x4cfa80
push 1
push 0
push 0x4cfa90
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x43d8af
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push 0x4cfaa0
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x43d8a5
mov eax, dword [esp + 0x14]
push 0
push dword [0x4fc534]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x43d89b
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 [0x4fc534]
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 0x43d860
lea ecx, [esp + 0x20]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43d880
mov eax, dword [0x4fc534]
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 [0x4fc534]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, eax
lea ecx, [esp + 0x230]
call fcn.004b2130
push 0x44
push eax
call esi
add esp, 8
test eax, eax
jne 0x43d8f2
mov dword [0x4fc538], eax
mov dword [0x4fc534], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x428
ret 4
mov eax, dword [0x4fc534]
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43d900
pop edi
pop esi
sub eax, edx
sar eax, 1
pop ebp
mov dword [0x4fc538], eax
pop ebx
add esp, 0x428
ret 4