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

Disassembly:
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x280
mov rax, qword [0x1402779a0]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rax, qword [rsp + 0x290]
cmp qword [rax + 0x180], 0
je 0x140003c9d
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 0x140003ceb
jmp 0x140003cf0
call fcn.1401acfd4
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, WSAAsyncGetHostByAddr
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, WSAAsyncGetHostByAddr
mov word [rsp + rax + 0x40], cx
mov eax, 2
imul rax, rax, 5
mov ecx, WSAAsyncGetHostByAddr
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 0x140003ede
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 0x140003ede
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 0x140003e15
jmp 0x140003e1a
call fcn.1401acfd4
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], reloc.WSOCK32.dll_WSACleanup
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 0x140003ede
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 0x140003ede
mov dword [rsp + 0x20], 1
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.1401ad280
add rsp, 0x280
pop rdi
ret