Function at 0x1800047b0
Capabilities:
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x990]
sub rsp, 0xa90
mov rax, qword [0x180110c00]
xor rax, rsp
mov qword [rbp + 0x980], rax
mov rbx, rdx
mov rsi, rcx
mov rdx, qword [rcx + 0x5f8]
test rdx, rdx
je 0x1800047ff
mov r8, qword [rcx]
lea rcx, str._p____p
call fcn.180003ff0
mov eax, dword [0x180112fc0]
inc eax
mov dword [0x180112fc0], eax
cmp eax, 0x9c4
jl 0x180004827
lea rcx, str.too_many_hooks:_cant_insert
call fcn.180003ff0
xor al, al
jmp 0x180004a86
test rbx, rbx
je 0x18000484b
cmp byte [rbx], 0
je 0x18000484b
lea rcx, [rsi + 0x1d0]
mov r9d, 0x3b
mov r8, rbx
mov edx, 0x3c
call fcn.1800c6730
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
lea rcx, [rsp + 0x70]
mov rdx, rsi
mov r8d, 0xa08
call fcn.1800dfbf0
mov r8d, ebx
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x30]
call fcn.180091380
cmp qword [rax + 0x18], 7
jbe 0x180004882
mov rax, qword [rax]
lea rdi, [rsi + 0x20c]
mov r8, rax
mov edx, 0x1f4
mov rcx, rdi
call fcn.1800c62a4
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x1800048db
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800048d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004ab3
call fcn.1800b78c8
movdqa xmm0, xmmword [0x1800e9bc0]
movdqu xmmword [rsp + 0x40], xmm0
xor r14d, r14d
mov word [rsp + 0x30], r14w
movsxd rax, dword [0x180112fc0]
imul rbx, rax, 0xac8
add rbx, qword [0x180112fb8]
lea rcx, [rsp + 0x70]
mov rdx, rsi
mov r8d, 0xa08
call fcn.1800dfbf0
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.180007800
test al, al
jne 0x180004a31
mov rdx, rdi
lea rcx, [rsp + 0x30]
call fcn.1800038c0
nop
mov r8d, 0xfde9
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.18008f320
nop
cmp qword [rax + 0x18], 0xf
jbe 0x18000495d
mov rax, qword [rax]
mov rdx, rax
lea rcx, str.failed_to_insert_hook__s
call fcn.180003ff0
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x1800049aa
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800049a5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004ab9
call fcn.1800b78c8
movdqa xmm0, xmmword [0x1800e9bd0]
movdqu xmmword [rsp + 0x60], xmm0
mov byte [rsp + 0x50], 0
mov rdx, qword [rsp + 0x48]
cmp rdx, 7
jbe 0x1800049ff
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800049fa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180004aad
call fcn.1800b78c8
movdqa xmm0, xmmword [0x1800e9bc0]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r14w
movsxd rax, dword [0x180112fc0]
imul rcx, rax, 0xac8
add rcx, qword [0x180112fb8]
call fcn.1800075e0
xor al, al
jmp 0x180004a86
mov dword [rsp + 0x70], 4
mov rax, qword [rsi]
mov qword [rsp + 0x78], rax
lea rcx, [rbp - 0x80]
sub rcx, rdi
nop dword [rax + rax]
movzx eax, word [rdi]
mov word [rdi + rcx], ax
lea rdi, [rdi + 2]
test ax, ax
jne 0x180004a50
mov qword [rsp + 0x20], r14
lea r9, [0x180112fd0]
mov r8d, 0x3f8
lea rdx, [rsp + 0x70]
mov rcx, qword [0x180110280]
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov al, 1
mov rcx, qword [rbp + 0x980]
xor rcx, rsp
call fcn.1800b7dc0
lea r11, [rsp + 0xa90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1800c6138
int3
call fcn.1800c6138
nop
call fcn.1800c6138
nop
int3