Function at 0x427120
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x4b66e8
mov eax, dword fs:[0]
push eax
push ebp
push esi
push edi
mov eax, dword [0x4e88d0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov edi, dword [esp + 0x20]
add edi, 0x5b4
push ebx
mov ecx, edi
call fcn.0047b2c9
mov esi, eax
test esi, esi
je 0x42737c
cmp dword [esp + 0x24], 0
je 0x4271da
movzx eax, word [esi]
movzx ecx, word [esi + 2]
push eax
lea edx, [esp + 0x28]
push edx
call fcn.00403680
add esp, 8
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x24]
push eax
push 0
push ebx
mov ecx, edi
call fcn.0047b29c
mov ebp, dword [esi + 4]
push 0x5c
push ebp
call fcn.00492b3a
add esp, 8
test eax, eax
je 0x4271a7
lea ebp, [eax + 2]
push ebp
push 1
push ebx
mov ecx, edi
call fcn.0047b29c
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4271da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esi + 0xc]
test eax, eax
je 0x4271f7
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x20]
push eax
push edx
call dword [sym.imp.USER32.dll_UnregisterHotKey]
mov dword [esi + 0xc], 0
cmp dword [esi + 8], 0
jne 0x427221
push str.Disabled
push 2
push ebx
mov ecx, edi
call fcn.0047b29c
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 8
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x427253
push str.Script_file_does_not_exist_
push 2
push ebx
mov ecx, edi
call fcn.0047b29c
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 8
call fcn.0047b116
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x42726d
push 0x80004005
call fcn.00402120
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], 1
mov eax, dword [esp + 0x20]
call fcn.00427e00
mov ebp, eax
movzx eax, word [esi + 2]
xor ecx, ecx
test al, 1
je 0x42729f
mov ecx, 4
test al, 2
je 0x4272a6
or ecx, 2
test al, 4
je 0x4272ad
or ecx, 1
movzx edx, word [esi]
mov eax, dword [esp + 0x20]
push edx
push ecx
mov ecx, dword [eax + 0x20]
push ebp
push ecx
call dword [sym.imp.USER32.dll_RegisterHotKey]
test eax, eax
jne 0x427342
movzx edx, word [esi]
movzx ecx, word [esi + 2]
push edx
lea eax, [esp + 0x24]
push eax
call fcn.00403680
mov byte [esp + 0x20], 2
mov ecx, dword [esp + 0x28]
push ecx
lea edx, [esp + 0x30]
push str.Hotkey__s_conflict_
push edx
call fcn.004021f0
mov esi, dword [esp + 0x38]
add esp, 0x14
push 0
push 0
push esi
call fcn.0047ad92
push str.Hotkey_conflict_
push 2
push ebx
mov ecx, edi
call fcn.0047b29c
mov byte [esp + 0x18], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x427335
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x18], 0xffffffff
lea eax, [esi - 0x10]
jmp 0x427363
push str.Enabled
push 2
push ebx
mov ecx, edi
mov dword [esi + 0xc], ebp
call fcn.0047b29c
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42737c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0xc
ret 8