Function at 0x438130
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 [0x4e5a50]
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0
mov esi, eax
push esi
push dword [0x4e5a50]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push esi
push dword [0x4e5a50]
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.0049fd70
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 [0x4e64fc], eax
call ebp
mov edi, dword [esp + 0x24]
mov esi, eax
push ebx
push edi
push dword [0x4e64fc]
mov dword [0x4e64f8], 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 [0x4e64fc]
add esp, 0x2c
mov byte [eax + ebx], 0
mov eax, dword [0x4e64f8]
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 0x4e6500
call fcn.004383f0
lea eax, [esp + 0x230]
push 0
push eax
call fcn.0045d820
add esp, 8
lea eax, [esp + 0x230]
push str.AutoHotkeyLib_
push eax
push 0x4e6508
call fcn.004383f0
push str.Lib_
push dword [esi + 0xaf0]
push 0x4e6510
call fcn.004383f0
push 0x40c
call ebp
add esp, 4
mov esi, eax
lea eax, [esp + 0x20]
mov dword [0x4e6518], esi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test esi, esi
je 0x438273
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 0x438263
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
push 0x5c
push dword [0x4e6518]
call esi
movups xmm0, xmmword [str.Lib.lnk]
push 0x5c
movups xmmword [eax + 2], xmm0
push dword [0x4e6518]
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 0x4b9a90
push 1
push 0
push 0x4b9aa0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x43836f
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push 0x4b9ab0
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x438365
mov eax, dword [esp + 0x14]
push 0
push dword [0x4e6518]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x43835b
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 [0x4e6518]
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 0x438320
lea ecx, [esp + 0x20]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x438340
mov eax, dword [0x4e6518]
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 [0x4e6518]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, eax
lea ecx, [esp + 0x230]
call fcn.0049d720
push 0x44
push eax
call esi
add esp, 8
test eax, eax
jne 0x4383b2
mov dword [0x4e651c], eax
mov dword [0x4e6518], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x428
ret 4
mov eax, dword [0x4e6518]
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4383c0
pop edi
pop esi
sub eax, edx
sar eax, 1
pop ebp
mov dword [0x4e651c], eax
pop ebx
add esp, 0x428
ret 4