Function at 0x438dc0
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 [0x4e6a50]
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0
mov esi, eax
push esi
push dword [0x4e6a50]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push esi
push dword [0x4e6a50]
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.004a0ca0
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 [0x4e7508], eax
call ebp
mov edi, dword [esp + 0x24]
mov esi, eax
push ebx
push edi
push dword [0x4e7508]
mov dword [0x4e7504], 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 [0x4e7508]
add esp, 0x2c
mov byte [eax + ebx], 0
mov eax, dword [0x4e7504]
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 0x4e750c
call fcn.00439080
lea eax, [esp + 0x230]
push 0
push eax
call fcn.0045e4e0
add esp, 8
lea eax, [esp + 0x230]
push str.AutoHotkeyLib_
push eax
push 0x4e7514
call fcn.00439080
push str.Lib_
push dword [esi + 0xaf0]
push 0x4e751c
call fcn.00439080
push 0x40c
call ebp
add esp, 4
mov esi, eax
lea eax, [esp + 0x20]
mov dword [0x4e7524], esi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test esi, esi
je 0x438f03
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 0x438ef3
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
push 0x5c
push dword [0x4e7524]
call esi
movups xmm0, xmmword [str.Lib.lnk]
push 0x5c
movups xmmword [eax + 2], xmm0
push dword [0x4e7524]
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 0x4baa80
push 1
push 0
push 0x4baa90
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x438fff
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push 0x4baaa0
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x438ff5
mov eax, dword [esp + 0x14]
push 0
push dword [0x4e7524]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x438feb
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 [0x4e7524]
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 0x438fb0
lea ecx, [esp + 0x20]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438fd0
mov eax, dword [0x4e7524]
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 [0x4e7524]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, eax
lea ecx, [esp + 0x230]
call fcn.0049e650
push 0x44
push eax
call esi
add esp, 8
test eax, eax
jne 0x439042
mov dword [0x4e7528], eax
mov dword [0x4e7524], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x428
ret 4
mov eax, dword [0x4e7524]
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x439050
pop edi
pop esi
sub eax, edx
sar eax, 1
pop ebp
mov dword [0x4e7528], eax
pop ebx
add esp, 0x428
ret 4