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

Disassembly:
sub esp, 0x420
push ebx
push ebp
push esi
push edi
push 0xa
push str.C974C3B7677A402D93B047DA402587C7
push dword [0x51eb40]
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
push esi
push dword [0x51eb40]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push dword [0x51eb40]
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push 0
push edi
lea edx, [esp + 0x18]
mov ecx, eax
call fcn.004b2fd0
mov ebx, eax
lea esi, [ebx + 1]
push esi
call fcn.004cfec5
push esi
mov dword [0x51f5f8], eax
call fcn.004cfec5
mov edi, dword [esp + 0x20]
mov esi, eax
push ebx
push edi
push dword [0x51f5f8]
mov dword [0x51f5f4], esi
call fcn.004cc730
push ebx
push edi
push esi
call fcn.004cc730
push edi
call fcn.004cfed0
mov eax, dword [0x51f5f8]
add esp, 0x2c
mov byte [eax + ebx], 0
mov eax, dword [0x51f5f4]
push eax
mov byte [eax + ebx], 0
call dword [sym.imp.USER32.dll_CharLowerA]
push str.Lib_
push dword [ebp + 0xae4]
push 0x51f5fc
call fcn.0043c530
lea eax, [esp + 0x228]
push 0
push eax
call fcn.00465a80
add esp, 8
lea eax, [esp + 0x228]
push str.AutoHotkeyLib_
push eax
push 0x51f604
call fcn.0043c530
push str.Lib_
push dword [ebp + 0xaf0]
push 0x51f60c
call fcn.0043c530
push 0x40c
call fcn.004cfec5
add esp, 4
mov esi, eax
lea eax, [esp + 0x18]
mov dword [0x51f614], esi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test esi, esi
je 0x43c3c1
lea ecx, [esp + 0x18]
mov eax, ecx
sub esi, eax
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [esi + ecx - 2], ax
test ax, ax
jne 0x43c3b1
push 0x5c
push dword [0x51f614]
call fcn.004cbcce
movups xmm0, xmmword [str.Lib.lnk]
push 0x5c
movups xmmword [eax + 2], xmm0
push dword [0x51f614]
call fcn.004cbcce
add esp, 0x10
xor ecx, ecx
mov word [eax + 0x10], cx
push ecx
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x14]
push eax
push 0x4eb930
push 1
push 0
push 0x4eb940
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x43c4af
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push 0x4eb950
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
js 0x43c4a5
mov ecx, dword [esp + 0x10]
push 0
push dword [0x51f614]
mov eax, dword [ecx]
push ecx
call dword [eax + 0x14]
test eax, eax
js 0x43c49b
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x18]
push 2
push 0
push 0x104
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov edx, dword [0x51f614]
lea ecx, [esp + 0x18]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx], ax
lea edx, [edx + 2]
test ax, ax
jne 0x43c466
lea ecx, [esp + 0x18]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c480
mov eax, dword [0x51f614]
sub ecx, edx
sar ecx, 1
mov dword [eax + ecx*2], 0x5c
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push dword [0x51f614]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, eax
lea ecx, [esp + 0x228]
call fcn.004b0870
push 0x44
push eax
call fcn.004cbcce
add esp, 8
test eax, eax
jne 0x43c4f5
mov dword [0x51f618], eax
mov dword [0x51f614], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x420
ret 4
mov eax, dword [0x51f614]
lea edx, [eax + 2]
nop dword [eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43c500
pop edi
pop esi
sub eax, edx
sar eax, 1
pop ebp
mov dword [0x51f618], eax
pop ebx
add esp, 0x420
ret 4