Function at 0x14001ffc0
Capabilities:
Enumerate process modules
Enumerate processes

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x818]
sub rsp, 0x918
mov rax, qword [0x1401f5698]
xor rax, rsp
mov qword [rbp + 0x800], rax
mov r12d, dword [rbp + 0x880]
mov esi, r8d
movsxd rbx, r9d
mov edi, edx
mov dword [rsp + 0x60], r8d
mov r14, rcx
mov dword [rsp + 0x64], edx
call fcn.140113cb4
xor r13d, r13d
test al, al
jne 0x140020086
cmp dword [r14 + 0x7b4c], r13d
jne 0x140020382
mov rax, qword [rbp + 0x888]
lea r9, [0x14022a980]
mov dword [r14 + 0x7b4c], 1
mov r8, rbx
mov rcx, qword [0x14022a9e8]
mov qword [0x14022a9a8], rax
mov eax, dword [rbp + 0x890]
mov dword [0x14022a99c], eax
mov dword [0x14022a980], 0x30
mov dword [0x14022a98c], edi
mov dword [0x14022a984], esi
mov dword [0x14022a994], r12d
mov edx, dword [r14 + 0x7b48]
call qword [sym.imp.USER32.dll_PostMessageW]
jmp 0x140020382
cmp byte [0x14022a9b0], r13b
jne 0x140020382
xor edx, edx
mov dword [rbp + 0x3b0], 0x238
mov r8d, 0x234
lea rcx, [rbp + 0x3b4]
call fcn.14012d4b0
xor edx, edx
mov dword [rsp + 0x70], 0x438
mov r8d, 0x434
lea rcx, [rsp + 0x74]
call fcn.14012d4b0
cmp dword [rbp + 0x890], 0x40
mov ecx, 8
mov edx, r12d
mov rsi, r13
lea eax, [rcx + 0x10]
cmovne ecx, eax
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
xor edx, edx
lea rcx, [rbp + 0x5f0]
mov r8d, 0x208
mov rdi, rax
call fcn.14012d4b0
lea rcx, [rdi - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x1400201c1
lea rdx, [rsp + 0x70]
mov rcx, rdi
call sub.KERNEL32.dll_Module32FirstW
test eax, eax
je 0x1400201b8
mov r15, qword [rbp + 0x888]
cmp dword [rsp + 0x78], r12d
jne 0x14002018e
cmp word [rbp + 0x5f0], r13w
jne 0x140020183
cmp word [rbp + 0x1a0], r13w
lea rax, [rbp - 0x60]
lea rbx, [rbp + 0x1a0]
cmove rbx, rax
mov rcx, rbx
call fcn.140118e88
lea rdx, [0x140177028]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
jne 0x140020183
mov r8d, 0x104
lea rcx, [rbp + 0x5f0]
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
test r15, r15
je 0x1400201a1
cmp qword [rbp - 0x68], r15
je 0x1400201a1
lea rdx, [rsp + 0x70]
mov rcx, rdi
call sub.KERNEL32.dll_Module32NextW
test eax, eax
je 0x1400201b8
jmp 0x140020129
cmp word [rbp + 0x1a0], r13w
lea rsi, [rbp + 0x1a0]
lea rax, [rbp - 0x60]
cmove rsi, rax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, 2
cmp word [rbp + 0x5f0], r13w
jne 0x140020236
xor edx, edx
mov ecx, edi
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov rbx, rax
lea rcx, [rax - 1]
cmp rcx, 0xfffffffffffffffd
ja 0x140020236
lea rdx, [rbp + 0x3b0]
mov rcx, rax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x14002022d
cmp dword [rbp + 0x3b8], r12d
je 0x140020213
lea rdx, [rbp + 0x3b0]
mov rcx, rbx
call sub.KERNEL32.dll_Process32NextW
jmp 0x1400201f5
mov r8d, 0x104
lea rdx, [rbp + 0x3dc]
lea rcx, [rbp + 0x5f0]
call qword [sym.imp.KERNEL32.dll_lstrcpynW]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or rbx, 0xffffffffffffffff
test rsi, rsi
jne 0x140020271
cmp word [rbp + 0x5f0], r13w
je 0x140020271
lea rcx, [rbp + 0x5f0]
call fcn.140118eac
mov rcx, rax
call fcn.1401179f0
test al, al
je 0x140020271
lea rsi, str._Check_plugins_in__FARHOME_Plugins_folder_
mov byte [0x14022a9b0], 1
jmp 0x14002027d
mov byte [0x14022a9b0], 1
test rsi, rsi
je 0x14002028c
mov rax, rbx
inc rax
cmp word [rsi + rax*2], r13w
jne 0x140020280
jmp 0x14002028f
mov rax, r13
lea r13, [r14 + 0xae0]
mov rcx, rbx
lea r15, [r14 + 0xa80]
xor edx, edx
inc rcx
cmp word [r15 + rcx*2], dx
jne 0x1400202a2
mov r8, rbx
inc r8
cmp word [r13 + r8*2], dx
jne 0x1400202af
add ecx, eax
lea r9, [rbp + 0x5f0]
mov rax, rbx
inc rax
cmp word [r9 + rax*2], dx
jne 0x1400202c6
add r8d, 0xff
mov rdx, rdi
add ecx, r8d
add eax, ecx
movsxd rbx, eax
mov rcx, rbx
call fcn.140113de8
mov rdi, rax
lea r8, [0x1401759d0]
mov rcx, r8
lea rax, [0x1401788dc]
test rsi, rsi
mov r9, r15
mov rdx, rbx
cmovne rcx, rax
cmovne r8, rsi
mov qword [rsp + 0x58], rcx
lea rax, [rbp + 0x5f0]
mov qword [rsp + 0x50], r8
mov rcx, rdi
mov qword [rsp + 0x48], rax
lea r8, str._s_received_wrong_version_packet__n_s_n_nCommandID:__i__Version:__i__ReqVersion:__i__PID:__u_n_s_n_s_n_sPlease_check_installation_files
mov eax, dword [rsp + 0x60]
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x38], 0xa7
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x64]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], r13
call fcn.1401145a0
or r9, 0xffffffffffffffff
mov byte [rsp + 0x20], 1
lea r8, [r14 + 0x4c68]
mov rcx, rdi
lea edx, [r9 + 0x41]
call fcn.1400297d8
mov rcx, rdi
call fcn.140113e18
and dword [r14 + 0x7b4c], 0
mov rcx, qword [rbp + 0x800]
xor rcx, rsp
call fcn.14012bda0
add rsp, 0x918
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret