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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x214
cmp dword [0x4db3dc], 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 0x42b2f6
mov ecx, dword [esi + 0xacc]
push str.Lib_
mov ebx, 0x4db3dc
call fcn.0042b1f0
lea edx, [esp + 0x18]
push 0
push edx
call fcn.0044f800
add esp, 8
push str.AutoHotkeyLib_
lea ecx, [esp + 0x1c]
mov ebx, 0x4db3e4
call fcn.0042b1f0
mov ecx, dword [esi + 0xad8]
push str.Lib_
mov ebx, 0x4db3ec
call fcn.0042b1f0
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x42b317
mov eax, dword [ebp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x42b303
sub eax, edx
sar eax, 1
mov dword [ebp + 0xc], eax
mov edi, eax
cmp edi, 0xfd
ja 0x42b3f3
mov eax, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], 0
xor ebx, ebx
jmp 0x42b340
mov eax, dword [ebx*8 + 0x4db3dc]
cmp word [eax], 0
je 0x42b399
mov ecx, dword [ebx*8 + 0x4db3e0]
mov edx, dword [esp + 0x14]
lea esi, [edi + edi]
push esi
lea eax, [eax + ecx*2]
push edx
push eax
call fcn.004a3860
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 0x42b373
mov eax, dword [ebx*8 + 0x4db3dc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42b399
test al, 0x10
je 0x42b3fe
inc ebx
cmp ebx, 3
jl 0x42b340
mov esi, dword [ebp + 8]
push 0x5f
push esi
call fcn.0049a429
add esp, 8
test eax, eax
je 0x42b3f3
sub eax, esi
sar eax, 1
mov edi, eax
cmp edi, 0xfe
jae 0x42b3f3
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.004a3860
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 0x42b332
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
mov eax, dword [ebx*8 + 0x4db3e0]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebx*8 + 0x4db3dc]
lea edi, [ebx*8 + 0x4db3e0]
lea ebx, [ebx*8 + 0x4db3dc]
mov byte [edx], 1
lea esi, [ecx + eax*2 - 2]
xor edx, edx
mov word [esi], dx
mov eax, dword [ebx]
call fcn.0044b880
mov eax, 0x5c
mov word [esi], ax
mov esi, dword [esp + 0x10]
mov ecx, dword [esi + 0xaec]
test ecx, ecx
je 0x42b460
cmp byte [ebp + 0x18], 0
je 0x42b460
mov eax, dword [ebx]
mov edx, dword [edi]
push eax
push eax
push edx
push str.Include___0.s_nIncludeAgain__s_n
call fcn.0041d590
add esp, 0x10
mov ebx, dword [ebx]
mov eax, dword [0x4da5cc]
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.0041f390
mov ebx, dword [esp + 0xc]
mov edi, eax
cmp edi, 3
jne 0x42b49c
mov edx, dword [esp + 0x10]
push edx
push ebx
push esi
call fcn.0041f780
mov edi, eax
test ebx, ebx
je 0x42b4aa
mov eax, dword [ebx]
mov edx, dword [eax]
push 1
mov ecx, ebx
call edx
test edi, edi
jne 0x42b4bf
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.0042b4e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14