Function at 0x1800022a0
Capabilities:
Create thread
Read file on windows
Terminate process
Write file on windows

Disassembly:
push rbp
push rsi
push r14
lea rbp, [rsp - 0x47]
sub rsp, 0xc0
mov rax, qword [0x180020008]
xor rax, rsp
mov qword [rbp + 0x27], rax
cmp byte [rcx + 0x18], 0
mov r14, rcx
je 0x1800026c0
mov rdx, qword [rcx + 0x28]
mov rcx, qword [rcx + 0x20]
call fcn.180004f8c
test rax, rax
je 0x18000266f
lea rax, [rbp + 0x1f]
mov qword [rsp + 0xe8], rbx
xor esi, esi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0xf0], rdi
lea r8, [0x180002150]
mov r9, r14
mov dword [rsp + 0x20], esi
xor edx, edx
mov qword [rsp + 0xb0], r15
xor ecx, ecx
mov dword [rbp + 0x1f], esi
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov r8d, dword [r14 + 0x48]
lea r9, [r14 + 0x58]
mov rdx, qword [r14 + 0x50]
mov rcx, qword [r14 + 0x10]
call fcn.180001320
mov r15, rax
cmp qword [r14 + 0x38], rsi
je 0x180002426
lea ecx, [rsi + 0x18]
call fcn.1800036ec
mov rdi, rax
xorps xmm0, xmm0
xor eax, eax
xor ecx, ecx
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r9d, [rsi + 0x18]
mov r8, rdi
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.KERNEL32.dll_K32GetModuleInformation]
mov rbx, qword [rdi]
mov edi, dword [rdi + 8]
add rdi, rbx
cmp rbx, rdi
jae 0x1800023ad
mov r15, qword [r14 + 0x38]
nop
mov r8d, 0x24
mov rdx, r15
mov rcx, rbx
call fcn.180014b10
test eax, eax
je 0x1800023dd
inc rbx
cmp rbx, rdi
jb 0x180002390
mov rdi, qword [rsp + 0xf0]
mov rbx, qword [rsp + 0xe8]
mov r15, qword [rsp + 0xb0]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1800036c0
add rsp, 0xc0
pop r14
pop rsi
pop rbp
ret
mov edx, 0x24
mov dword [rbp + 0x17], esi
lea r9, [rbp + 0x17]
mov rcx, rbx
lea r8d, [rdx - 0x20]
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
mov rax, qword [r14 + 0x38]
lea r9, [rbp + 0x17]
mov r8d, dword [rbp + 0x17]
mov edx, 0x24
mov rcx, rbx
movups xmm0, xmmword [rax]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbx + 0x10], xmm1
mov eax, dword [rax + 0x20]
mov dword [rbx + 0x20], eax
call qword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1800023ad
mov ecx, dword [r14 + 0x1c]
mov qword [rsp + 0xb8], r13
call fcn.180009844
mov r8d, dword [r14 + 0x1c]
xor edx, edx
mov rcx, rax
mov r13, rax
call fcn.180005720
mov r8d, dword [r14 + 0x1c]
mov rdx, r13
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea rcx, [rbp - 0x39]
call fcn.180002720
mov rcx, rax
call fcn.180002ba0
mov edi, dword [r14 + 0x1c]
mov edx, 0x2e
mov rcx, r13
mov rbx, rax
call entry0
mov r8, rbx
mov edx, edi
mov rcx, rax
call fcn.180008c20
lea rcx, [rbp - 0x49]
mov qword [rbp + 0x17], rsi
call fcn.180002740
mov rcx, rax
call fcn.1800029a0
mov r8, rax
lea rcx, [rbp + 0x17]
mov rdx, r13
call fcn.1800090d4
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x18000265a
xor edx, edx
mov qword [rsp + 0xf8], r12
lea r8d, [rdx + 2]
call fcn.180008b7c
mov rcx, qword [rbp + 0x17]
call fcn.1800086dc
mov rcx, qword [rbp + 0x17]
movsxd rdi, eax
call fcn.180008c80
mov ecx, edi
mov rax, 0xffffffffffffffff
add ecx, 1
cmovb rcx, rax
call fcn.180009844
mov r14, rax
xor edx, edx
lea eax, [rdi + 1]
mov rcx, r14
cdqe
mov r8, rax
mov qword [rbp - 0x49], rax
call fcn.180005720
mov r9, qword [rbp + 0x17]
mov r8, rdi
mov edx, 1
mov rcx, r14
call fcn.18000977c
mov rcx, qword [rbp + 0x17]
call fcn.180008910
mov rbx, rsi
mov r12d, esi
mov r10d, esi
test edi, edi
jle 0x180002585
nop word [rax + rax]
mov r11d, r10d
lea rcx, [rbp - 0x39]
add r11, r14
call fcn.180002760
mov rcx, rax
call fcn.180002ba0
mov rcx, qword [r11]
cmp rcx, qword [rax]
jne 0x180002572
mov rcx, qword [r11 + 8]
cmp rcx, qword [rax + 8]
jne 0x180002572
mov ecx, dword [r11 + 0x10]
cmp ecx, dword [rax + 0x10]
je 0x18000257c
inc r10d
cmp r10d, edi
jl 0x180002540
jmp 0x180002585
mov r12d, edi
mov rbx, r11
sub r12d, r10d
movsxd r10, r12d
xor r9b, r9b
mov r12, qword [rsp + 0xf8]
mov rcx, rsi
test r10, r10
jle 0x180002602
nop dword [rax + rax]
mov r8d, esi
lea rdx, [r8 + rbx]
call fcn.180002800
test r9b, r9b
jne 0x1800025d4
test al, al
je 0x1800025d8
movups xmm0, xmmword [r15]
mov r9b, 1
movups xmmword [rcx + rbx], xmm0
movups xmm1, xmmword [r15 + 0x10]
movups xmmword [rcx + rbx + 0x10], xmm1
mov eax, dword [r15 + 0x20]
mov dword [rcx + rbx + 0x20], eax
jmp 0x1800025d8
test al, al
jne 0x1800025e4
inc esi
inc rcx
cmp rcx, r10
jl 0x1800025a0
jmp 0x180002602
movups xmm0, xmmword [r15 + 0x25]
movups xmmword [r8 + rbx], xmm0
movups xmm1, xmmword [r15 + 0x35]
movups xmmword [r8 + rbx + 0x10], xmm1
mov eax, dword [r15 + 0x45]
mov dword [r8 + rbx + 0x20], eax
lea rcx, [rbp - 0x39]
call fcn.180002780
mov rcx, rax
call fcn.1800029a0
mov r8, rax
lea rcx, [rbp + 0x17]
mov rdx, r13
call fcn.1800090d4
mov r9, qword [rbp + 0x17]
test r9, r9
je 0x180002644
mov r8, rdi
mov edx, 1
mov rcx, r14
call fcn.180008f94
mov rcx, qword [rbp + 0x17]
call fcn.180008910
mov r8, qword [rbp - 0x49]
xor edx, edx
mov rcx, r14
call fcn.180005720
mov rcx, r14
call fcn.18000912c
mov rcx, r13
call fcn.18000912c
mov r13, qword [rsp + 0xb8]
jmp 0x1800023ad
mov r11, qword [r14]
lea rcx, [rbp - 0x39]
call fcn.1800027c0
mov rcx, rax
call fcn.1800029a0
lea rcx, [rbp - 0x19]
mov r10, rax
call fcn.1800027a0
mov rcx, rax
call fcn.180002a00
xor esi, esi
mov dword [rsp + 0x28], 0xfa0
mov r9d, 0x200010
mov word [rsp + 0x20], si
mov r8, r10
mov rdx, rax
xor ecx, ecx
call r11
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]
mov r11, qword [rcx]
lea rcx, [rbp - 0x39]
call fcn.1800027c0
mov rcx, rax
call fcn.1800029a0
lea rcx, [rbp - 0x19]
mov r10, rax
call fcn.1800027e0
mov rcx, rax
call fcn.180002a00
xor esi, esi
mov dword [rsp + 0x28], 0xfa0
mov r9d, 0x200010
mov word [rsp + 0x20], si
mov r8, r10
mov rdx, rax
xor ecx, ecx
call r11
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_ExitProcess]