Function at 0x140003c94
Capabilities:
Check if file exists
Set global application hook

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x280
mov rax, qword [0x140277970]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x290]
cmp qword [rax + 0x180], 0
je 0x140003ced
mov rax, qword [rsp + 0x290]
mov rcx, qword [rax + 0x180]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov rax, qword [rsp + 0x290]
mov qword [rax + 0x180], 0
xor eax, eax
mov word [rsp + 0x60], ax
lea rax, [rsp + 0x62]
mov rdi, rax
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov r8d, 0x104
lea rdx, [rsp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, 2
imul rax, rax, 8
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0x12
jae 0x140003d3b
jmp 0x140003d40
call fcn.1401ad030
xor eax, eax
mov rcx, qword [rsp + 0x28]
mov word [rsp + rcx + 0x40], ax
mov eax, 2
imul rax, rax, 7
mov ecx, reloc.WSOCK32.dll_WSACancelAsyncRequest
mov word [rsp + rax + 0x40], cx
mov eax, 2
imul rax, rax, 4
mov ecx, 0x2e
mov word [rsp + rax + 0x40], cx
mov eax, 2
imul rax, rax, 0
mov ecx, WSAAsyncGetProtoByNumber
mov word [rsp + rax + 0x40], cx
mov eax, 2
imul rax, rax, 6
mov ecx, reloc.WSOCK32.dll_WSACancelAsyncRequest
mov word [rsp + rax + 0x40], cx
mov eax, 2
imul rax, rax, 2
mov ecx, reloc.OLEAUT32.dll_VarBstrFromDisp
mov word [rsp + rax + 0x40], cx
mov eax, 2
imul rax, rax, 3
mov ecx, 0x78
mov word [rsp + rax + 0x40], cx
mov eax, 2
imul rax, rax, 1
mov ecx, WSAAsyncGetProtoByNumber
mov word [rsp + rax + 0x40], cx
mov eax, 2
imul rax, rax, 5
mov ecx, WSAAsyncGetProtoByNumber
mov word [rsp + rax + 0x40], cx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [rsp + 0x20], 0
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x140003f2e
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rcx, qword [rsp + 0x290]
mov qword [rcx + 0x180], rax
mov rax, qword [rsp + 0x290]
cmp qword [rax + 0x180], 0
je 0x140003f2e
mov eax, 1
imul rax, rax, 3
mov byte [rsp + rax + 0x38], 0x75
mov eax, 1
imul rax, rax, 4
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 5
jae 0x140003e65
jmp 0x140003e6a
call fcn.1401ad030
mov rax, qword [rsp + 0x30]
mov byte [rsp + rax + 0x38], 0
mov eax, 1
imul rax, rax, 1
mov byte [rsp + rax + 0x38], 0x61
mov eax, 1
imul rax, rax, 0
mov byte [rsp + rax + 0x38], 0x53
mov eax, 1
imul rax, rax, 2
mov byte [rsp + rax + 0x38], 0x74
lea rdx, [rsp + 0x38]
mov rax, qword [rsp + 0x290]
mov rcx, qword [rax + 0x180]
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [rsp + 0x290]
mov qword [rcx + 0x188], rax
mov rax, qword [rsp + 0x290]
cmp qword [rax + 0x188], 0
je 0x140003f2e
xor r9d, r9d
mov rax, qword [rsp + 0x290]
mov r8, qword [rax + 0x180]
mov rax, qword [rsp + 0x290]
mov rdx, qword [rax + 0x188]
mov ecx, 3
call qword [sym.imp.USER32.dll_SetWindowsHookExW]
mov rcx, qword [rsp + 0x290]
mov qword [rcx + 0x190], rax
mov rax, qword [rsp + 0x290]
cmp qword [rax + 0x190], 0
je 0x140003f2e
mov dword [rsp + 0x20], 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401ad2d0
add rsp, 0x280
pop rdi
ret