Function at 0x42b1f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
cmp dword [0x4db444], 0
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0x14]
push edi
mov dword [esp + 0x10], esi
mov byte [eax], 0
mov byte [ecx], 0
jne 0x42b266
mov ecx, dword [esi + 0xacc]
push str.Lib_
mov ebx, 0x4db444
call fcn.0042b160
lea edx, [esp + 0x18]
push 0
push edx
call fcn.0044f6c0
add esp, 8
push str.AutoHotkeyLib_
lea ecx, [esp + 0x1c]
mov ebx, 0x4db44c
call fcn.0042b160
mov ecx, dword [esi + 0xad8]
push str.Lib_
mov ebx, 0x4db454
call fcn.0042b160
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x42b287
mov eax, dword [ebp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42b273
sub eax, edx
sar eax, 1
mov dword [ebp + 0xc], eax
mov edi, eax
cmp edi, 0xfd
ja 0x42b363
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0
xor ebx, ebx
jmp 0x42b2b0
mov eax, dword [ebx*8 + 0x4db444]
cmp word [eax], 0
je 0x42b309
mov ecx, dword [ebx*8 + 0x4db448]
mov edx, dword [esp + 0x14]
lea esi, [edi + edi]
push esi
lea eax, [eax + ecx*2]
push edx
push eax
call fcn.004a3af0
mov ecx, str..ahk
add esp, 0xc
sub esi, ecx
lea edx, [esi + eax]
movzx eax, word [ecx]
mov word [edx + ecx], ax
add ecx, 2
test ax, ax
jne 0x42b2e3
mov eax, dword [ebx*8 + 0x4db444]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42b309
test al, 0x10
je 0x42b36e
inc ebx
cmp ebx, 3
jl 0x42b2b0
mov esi, dword [ebp + 8]
push 0x5f
push esi
call fcn.0049a7fe
add esp, 8
test eax, eax
je 0x42b363
sub eax, esi
sar eax, 1
mov edi, eax
cmp edi, 0xfe
jae 0x42b363
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x18]
lea esi, [edi + edi]
push esi
push edx
mov eax, ecx
push eax
mov dword [esp + 0x20], ecx
call fcn.004a3af0
mov eax, dword [esp + 0x18]
inc eax
xor ecx, ecx
add esp, 0xc
mov word [esp + esi + 0x18], cx
mov dword [esp + 0xc], eax
cmp eax, 2
jl 0x42b2a2
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebx*8 + 0x4db448]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebx*8 + 0x4db444]
lea edi, [ebx*8 + 0x4db448]
lea ebx, [ebx*8 + 0x4db444]
mov byte [edx], 1
lea esi, [ecx + eax*2 - 2]
xor edx, edx
mov word [esi], dx
mov eax, dword [ebx]
call fcn.0044b720
mov eax, 0x5c
mov word [esi], ax
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0xaec]
test ecx, ecx
je 0x42b3d0
cmp byte [ebp + 0x18], 0
je 0x42b3d0
mov eax, dword [ebx]
mov edx, dword [edi]
push eax
push eax
push edx
push str.Include___0.s_nIncludeAgain__s_n
call fcn.0041d4b0
add esp, 0x10
mov ebx, dword [ebx]
mov eax, dword [0x4da634]
push 0
push 0
push ebx
lea ecx, [esp + 0x18]
push ecx
push esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], 0
call fcn.0041f300
mov ebx, dword [esp + 0xc]
mov edi, eax
cmp edi, 3
jne 0x42b40c
mov edx, dword [esp + 0x10]
push edx
push ebx
push esi
call fcn.0041f6f0
mov edi, eax
test ebx, ebx
je 0x42b41a
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
test edi, edi
jne 0x42b42f
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push 0
push ecx
push edx
mov ecx, esi
call fcn.0042b450
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14