Function at 0x43c2a0
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 [0x4f9a50]
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push 0
mov esi, eax
push esi
push dword [0x4f9a50]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push esi
push dword [0x4f9a50]
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.004b3140
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 [0x4fa508], eax
call ebp
mov edi, dword [esp + 0x24]
mov esi, eax
push ebx
push edi
push dword [0x4fa508]
mov dword [0x4fa504], 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 [0x4fa508]
add esp, 0x2c
mov byte [eax + ebx], 0
mov eax, dword [0x4fa504]
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 0x4fa50c
call fcn.0043c560
lea eax, [esp + 0x230]
push 0
push eax
call fcn.00465a70
add esp, 8
lea eax, [esp + 0x230]
push str.AutoHotkeyLib_
push eax
push 0x4fa514
call fcn.0043c560
push str.Lib_
push dword [esi + 0xaf0]
push 0x4fa51c
call fcn.0043c560
push 0x40c
call ebp
add esp, 4
mov esi, eax
lea eax, [esp + 0x20]
mov dword [0x4fa524], esi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test esi, esi
je 0x43c3e3
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 0x43c3d3
mov esi, dword [sym.imp.VCRUNTIME140.dll_wcsrchr]
push 0x5c
push dword [0x4fa524]
call esi
movups xmm0, xmmword [str.Lib.lnk]
push 0x5c
movups xmmword [eax + 2], xmm0
push dword [0x4fa524]
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 0x4cda90
push 1
push 0
push 0x4cdaa0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x43c4df
mov eax, dword [esp + 0x18]
lea edx, [esp + 0x14]
push edx
push 0x4cdab0
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x43c4d5
mov eax, dword [esp + 0x14]
push 0
push dword [0x4fa524]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
test eax, eax
js 0x43c4cb
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 [0x4fa524]
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 0x43c490
lea ecx, [esp + 0x20]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x43c4b0
mov eax, dword [0x4fa524]
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 [0x4fa524]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov edx, eax
lea ecx, [esp + 0x230]
call fcn.004b0a00
push 0x44
push eax
call esi
add esp, 8
test eax, eax
jne 0x43c522
mov dword [0x4fa528], eax
mov dword [0x4fa524], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x428
ret 4
mov eax, dword [0x4fa524]
lea edx, [eax + 2]
nop word [eax + eax]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x43c530
pop edi
pop esi
sub eax, edx
sar eax, 1
pop ebp
mov dword [0x4fa528], eax
pop ebx
add esp, 0x428
ret 4