Function at 0x43c150
Capabilities:
Extract resource via kernel32 functions
Get common file path
Get file attributes

Disassembly:
sub esp, 0x428
push ebx
push ebp
push esi
push edi
push 0xa
push str.C974C3B7677A402D93B047DA402587C7
push dword [0x4fb9d0]
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
push esi
push dword [0x4fb9d0]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push esi
push dword [0x4fb9d0]
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.004af380
mov ebx, eax
lea esi, [ebx + 1]
push esi
call fcn.004c4e35
push esi
mov dword [0x4fc400], eax
call fcn.004c4e35
mov edi, dword [esp + 0x20]
mov esi, eax
push ebx
push edi
push dword [0x4fc400]
mov dword [0x4fc3fc], esi
call fcn.004c2440
push ebx
push edi
push esi
call fcn.004c2440
push edi
call fcn.004c4247
mov eax, dword [0x4fc400]
add esp, 0x2c
mov byte [eax + ebx], 0
mov eax, dword [0x4fc3fc]
push eax
mov byte [eax + ebx], 0
call dword [sym.imp.USER32.dll_CharLowerA]
push str.Lib_
push dword [ebp + 0x61c]
push 0x4fc404
call fcn.0043c4e0
lea eax, [esp + 0x120]
push eax
push 0
push 0
push 5
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathA]
movzx ecx, byte [esp + 0x120]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov byte [esp + 0x120], cl
lea ecx, [esp + 0x120]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43c246
sub ecx, edx
je 0x43c262
cmp byte [esp + ecx + 0x11f], 0x5c
jne 0x43c262
mov byte [esp + ecx + 0x11f], al
xor ecx, ecx
nop dword [eax]
nop dword [eax + eax]
mov al, byte [esp + ecx + 0x120]
lea ecx, [ecx + 1]
mov byte [esp + ecx + 0x17], al
test al, al
jne 0x43c270
push str.AutoHotkeyLib_
lea eax, [esp + 0x1c]
push eax
push 0x4fc40c
call fcn.0043c4e0
push str.Lib_
push dword [ebp + 0x628]
push 0x4fc414
call fcn.0043c4e0
push 0x206
call fcn.004c4e35
add esp, 4
mov esi, eax
lea eax, [esp + 0x120]
mov dword [0x4fc41c], esi
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test esi, esi
je 0x43c2f1
lea ecx, [esp + 0x120]
mov eax, ecx
sub esi, eax
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [esi + ecx - 1], al
test al, al
jne 0x43c2e4
push 0x5c
push dword [0x4fc41c]
call fcn.004c7059
push 0x5c
mov dword [eax + 1], 0x2e62694c
mov dword [eax + 5], 0x6b6e6c
push dword [0x4fc41c]
call fcn.004c7059
add esp, 0x10
mov byte [eax + 8], 0
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
lea eax, [esp + 0x14]
push eax
push 0x4de930
push 1
push 0
push 0x4de940
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x43c40b
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x10]
push edx
push 0x4de950
push ecx
mov eax, dword [ecx]
call dword [eax]
test eax, eax
js 0x43c401
push 0x105
lea eax, [esp + 0x22c]
push eax
push 0xffffffffffffffff
push dword [0x4fc41c]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x228]
push 0
push edx
push ecx
mov eax, dword [ecx]
call dword [eax + 0x14]
test eax, eax
js 0x43c3f7
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x120]
push 2
push 0
push 0x104
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0xc]
mov edx, dword [0x4fc41c]
lea ecx, [esp + 0x120]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx], al
lea edx, [edx + 1]
test al, al
jne 0x43c3c3
lea ecx, [esp + 0x120]
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43c3e0
mov eax, dword [0x4fc41c]
sub ecx, edx
mov edx, 0x5c
mov word [ecx + eax], dx
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 [0x4fc41c]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
movzx edx, byte [esp + 0x18]
mov ecx, eax
and ecx, 1
mov esi, 0x52
cmovne edx, esi
mov byte [esp + 0x18], dl
test al, 0x20
je 0x43c43d
mov byte [esp + ecx + 0x18], 0x41
inc ecx
test al, 4
je 0x43c447
mov byte [esp + ecx + 0x18], 0x53
inc ecx
test al, 2
je 0x43c451
mov byte [esp + ecx + 0x18], 0x48
inc ecx
test al, al
jns 0x43c45b
mov byte [esp + ecx + 0x18], 0x4e
inc ecx
test al, 0x10
je 0x43c465
mov byte [esp + ecx + 0x18], 0x44
inc ecx
test eax, 0x1000
je 0x43c472
mov byte [esp + ecx + 0x18], 0x4f
inc ecx
test eax, 0x800
je 0x43c47f
mov byte [esp + ecx + 0x18], 0x43
inc ecx
test eax, 0x100
je 0x43c48c
mov byte [esp + ecx + 0x18], 0x54
inc ecx
lea eax, [esp + 0x18]
mov byte [esp + ecx + 0x18], 0
push 0x44
push eax
call fcn.004c7059
add esp, 8
test eax, eax
jne 0x43c4bb
mov dword [0x4fc420], eax
mov dword [0x4fc41c], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x428
ret 4
mov ecx, dword [0x4fc41c]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43c4c4
pop edi
pop esi
sub ecx, edx
pop ebp
mov dword [0x4fc420], ecx
pop ebx
add esp, 0x428
ret 4