Function at 0x14003edd0
Capabilities:
Encode data using xor
Terminate thread

Disassembly:
xchg rdi, rbx
mov qword [rsp + 8], rdi
xchg rdi, rbx
xchg rbp, r13
mov qword [rsp + 0x10], r13
xchg r13, rbp
xchg rsi, r12
mov qword [rsp + 0x18], r12
xchg rsi, r12
push rdi
push r14
push r9
mov qword [rsp], r15
sub rsp, 0x20
xchg r11, rcx
mov rdi, r11
xchg rcx, r11
mov byte [rcx + 0x5f0], 0x3a
sub byte [rcx + 0x5f0], 0x39
xor r15d, r15d
cmp qword [rcx + 0x5c0], r15
je 0x14003ee7d
mov rcx, qword [rcx + 0x5c8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, 0x5b252574
xor edx, 0x5b25269c
xchg rbp, rcx
mov rbp, qword [rdi + 0x5c0]
xchg rcx, rbp
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14003ee70
xor edx, edx
xchg r12, rcx
mov r12, qword [rdi + 0x5c0]
xchg rcx, r12
call qword [sym.imp.KERNEL32.dll_TerminateThread]
xchg r15, rcx
mov qword [rdi + 0x5c0], rcx
xchg rcx, r15
mov edx, 0x6c5defa1
xor edx, 0x6c5dec49
mov rcx, qword [rdi + 0x5d0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x14003eeb5
xor edx, edx
xchg rcx, r8
mov r8, qword [rdi + 0x5d0]
xchg r8, rcx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
nop
movabs rsi, 0xffffffff00562e95
add rsi, 0x7fffffff
xor rsi, 0x7fa9d16b
mov qword [rdi + 0x5d0], rsi
xchg rdx, rbp
mov rdx, qword [rdi + 0x2f8]
xchg rdx, rbp
xchg r9, r14
mov r9, qword [rdi + 0x2f0]
xchg r9, r14
cmp r14, rbp
je 0x14003ef51
mov rbx, qword [r14]
xchg r11, rax
mov r11, qword [rbx]
xchg r11, rax
xchg rcx, rbx
mov rbx, rcx
xchg rcx, rbx
call qword [rax + 0x18]
xchg r8, rcx
mov r8, rax
xchg rcx, r8
call fcn.1401102d0
xchg rcx, rax
mov rcx, qword [rbx]
xchg rcx, rax
mov edx, 0x36bb226e
xor edx, 0x36bb226f
xchg rbx, r15
mov rcx, r15
xchg rbx, r15
call qword [rax]
nop
sub r14, 0x782c6e27
add r14, 0x782c6e2f
cmp r14, rbp
jne 0x14003eef8
xchg rcx, r9
mov r9, qword [rdi + 0x2b8]
xchg r9, rcx
test rcx, rcx
je 0x14003ef6c
call fcn.1401102d0
mov rcx, qword [rdi + 0x2c0]
test rcx, rcx
je 0x14003ef81
call fcn.1401102d0
mov rcx, qword [rdi + 0x2c8]
test rcx, rcx
je 0x14003ef96
call fcn.1401102d0
mov rcx, qword [rdi + 0x140]
test rcx, rcx
je 0x14003efab
call fcn.1401102d0
mov rcx, qword [rdi + 0x2d0]
test rcx, rcx
je 0x14003efc0
call fcn.1401102d0
lea rcx, [rdi + 0x5d8]
call fcn.14002ab80
lea rcx, [rdi + 0x560]
call fcn.14002ab80
lea rcx, [rdi + 0x548]
call fcn.14002ab80
mov rbx, qword [rdi + 0x320]
test rbx, rbx
je 0x14003f035
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14003f035
xchg r9, rax
mov r9, qword [rbx]
xchg r9, rax
xchg rbx, r13
mov rcx, r13
xchg rbx, r13
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14003f035
mov rax, qword [rbx]
xchg rbx, rcx
mov rbx, rcx
xchg rcx, rbx
call qword [rax + 8]
mov rbx, qword [rdi + 0x310]
test rbx, rbx
je 0x14003f086
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14003f086
mov rax, qword [rbx]
xchg rbx, rdi
mov rcx, rdi
xchg rdi, rbx
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14003f086
xchg rdi, rax
mov rdi, qword [rbx]
xchg rdi, rax
xchg r8, rbx
mov rcx, r8
xchg rbx, r8
call qword [rax + 8]
mov rcx, qword [rdi + 0x2f0]
test rcx, rcx
je 0x14003f0ed
mov rdx, qword [rdi + 0x300]
sub rdx, rcx
and rdx, 0xfffffffffffffff8
cmp rdx, 0x1000
jb 0x14003f0d3
neg rdx
add rdx, 0xffffffffffffffd9
neg rdx
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14003f5ff
mov rcx, r8
call fcn.1401102d0
mov qword [rdi + 0x2f0], r15
mov qword [rdi + 0x2f8], r15
mov qword [rdi + 0x300], r15
mov rbx, qword [rdi + 0x2e8]
test rbx, rbx
je 0x14003f13e
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14003f13e
mov rax, qword [rbx]
xchg rbx, r10
mov rcx, r10
xchg rbx, r10
call qword [rax]
mov eax, esi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14003f13e
xchg r12, rax
mov r12, qword [rbx]
xchg r12, rax
xchg rbx, rcx
mov rbx, rcx
xchg rbx, rcx
call qword [rax + 8]
mov rbx, qword [rdi + 0x2d8]
test rbx, rbx
je 0x14003f16f
mov rcx, rbx
call fcn.1400a9890
mov edx, 0x60525e03
sub edx, 0x60525d63
xchg r9, rbx
mov rcx, r9
xchg r9, rbx
call fcn.1401102d0
mov rbx, qword [rdi + 0x2b0]
test rbx, rbx
je 0x14003f1a6
xchg rcx, rbx
mov rbx, rcx
xchg rcx, rbx
call fcn.1400a9890
mov edx, 0x11d823e3
sub edx, 0x11d82343
xchg rbx, r14
mov rcx, r14
xchg rbx, r14
call fcn.1401102d0
mov rbx, qword [rdi + 0x2a8]
test rbx, rbx
je 0x14003f1dd
xchg rcx, rsi
mov rsi, rbx
xchg rsi, rcx
call fcn.1400a6bd0
mov edx, 0x5d8a33d5
sub edx, 0x5d8a3335
xchg rbx, rbp
mov rcx, rbp
xchg rbx, rbp
call fcn.1401102d0
xchg rbx, rcx
mov rcx, qword [rdi + 0x2a0]
xchg rbx, rcx
test rbx, rbx
je 0x14003f21a
xchg r14, rcx
mov r14, rbx
xchg r14, rcx
call fcn.1400a7250
mov edx, 0xdf0db91
xor edx, 0xdf0db39
xchg rbx, rcx
mov rbx, rcx
xchg rbx, rcx
call fcn.1401102d0
mov rbx, qword [rdi + 0x298]
test rbx, rbx
je 0x14003f24b
xchg rbx, rsi
mov rcx, rsi
xchg rsi, rbx
call fcn.1400a6bd0
mov edx, 0x6783926f
xor edx, 0x678392cf
mov rcx, rbx
call fcn.1401102d0
lea rcx, [rdi + 0x278]
call fcn.14000f270
lea rcx, [rdi + 0x258]
call fcn.14000f270
lea rcx, [rdi + 0x238]
call fcn.14000f270
lea rcx, [rdi + 0x218]
call fcn.14000f270
lea rcx, [rdi + 0x1f8]
call fcn.14000f270
lea rcx, [rdi + 0x1d8]
call fcn.14000f270
xchg rbx, rsi
mov rsi, qword [rdi + 0x1d0]
xchg rbx, rsi
test rbx, rbx
je 0x14003f2d0
xchg rbx, r12
mov rcx, r12
xchg rbx, r12
call fcn.1400aefa0
mov edx, 0x4dbb81e
xor edx, 0x4dbb936
xchg rbx, rcx
mov rbx, rcx
xchg rcx, rbx
call fcn.1401102d0
lea rcx, [rdi + 0x1b0]
call fcn.14000f270
mov rbx, qword [rdi + 0x1a8]
test rbx, rbx
je 0x14003f313
xchg rcx, rbx
mov rbx, rcx
xchg rcx, rbx
call fcn.1400a9890
mov edx, 0x3aec3471
sub edx, 0x3aec33d1
xchg rcx, r8
mov r8, rbx
xchg rcx, r8
call fcn.1401102d0
mov rbx, qword [rdi + 0x1a0]
test rbx, rbx
je 0x14003f34a
xchg rcx, rbp
mov rbp, rbx
xchg rcx, rbp
call fcn.1400aefa0
mov edx, 0x47f6f858
sub edx, 0x47f6f730
xchg rbx, r9
mov rcx, r9
xchg rbx, r9
call fcn.1401102d0
xchg r14, rbx
mov r14, qword [rdi + 0x198]
xchg rbx, r14
test rbx, rbx
je 0x14003f387
xchg rsi, rbx
mov rcx, rsi
xchg rsi, rbx
call fcn.1400a9890
mov edx, 0x9152373
xor edx, 0x91523d3
xchg rcx, rbx
mov rbx, rcx
xchg rcx, rbx
call fcn.1401102d0
lea rcx, [rdi + 0x178]
call fcn.14000f270
xchg rbx, rsi
mov rsi, qword [rdi + 0x170]
xchg rsi, rbx
test rbx, rbx
je 0x14003f3d0
xchg rbx, r9
mov rcx, r9
xchg r9, rbx
call fcn.1400b1610
mov edx, 0x2627a49
xor edx, 0x2627a89
xchg rcx, rbp
mov rbp, rbx
xchg rcx, rbp
call fcn.1401102d0
mov rbx, qword [rdi + 0x168]
test rbx, rbx
je 0x14003f407
xchg rbx, r10
mov rcx, r10
xchg r10, rbx
call fcn.1400b1b30
mov edx, 0x16468667
sub edx, 0x164685bf
xchg rcx, rsi
mov rsi, rbx
xchg rcx, rsi
call fcn.1401102d0
xchg rdx, rbx
mov rdx, qword [rdi + 0x160]
xchg rdx, rbx
test rbx, rbx
je 0x14003f444
xchg rcx, rbx
mov rbx, rcx
xchg rbx, rcx
call fcn.1400a6bd0
mov edx, 0x3957c5cf
xor edx, 0x3957c56f
xchg rcx, rbx
mov rbx, rcx
xchg rcx, rbx
call fcn.1401102d0
lea rcx, [rdi + 0x148]
call 0x14003e910
lea rcx, [rdi + 0x110]
call fcn.14000f270
lea rcx, [rdi + 0xf0]
call fcn.14000f270
lea rcx, [rdi + 0xc8]
call fcn.14000f270
lea rcx, [rdi + 0xa8]
call fcn.14000f270
lea rcx, [rdi + 0x88]
call fcn.14000f270
mov r8, qword [rdi + 0x78]
mov r8, qword [r8 + 8]
lea rdx, [rdi + 0x78]
lea rcx, [rdi + 0x78]
call fcn.14002ffd0
mov edx, 0x7dc004a6
xor edx, 0x7dc0043e
xchg rcx, r14
mov r14, qword [rdi + 0x78]
xchg rcx, r14
call fcn.1401102d0
xchg rbx, r13
mov r13, qword [rdi + 0x70]
xchg r13, rbx
test rbx, rbx
je 0x14003f4f5
xchg rcx, rbx
mov rbx, rcx
xchg rbx, rcx
call fcn.1400b2ca0
mov edx, 0x3f8c5480
sub edx, 0x3f8c5388
xchg rcx, rbx
mov rbx, rcx
xchg rcx, rbx
call fcn.1401102d0
xchg rbx, rdx
mov rdx, qword [rdi + 0x68]
xchg rbx, rdx
test rbx, rbx
je 0x14003f529
xchg rdi, rbx
mov rcx, rdi
xchg rdi, rbx
call fcn.140025e70
mov edx, 0x26652709
xor edx, 0x26652779
mov rcx, rbx
call fcn.1401102d0
xchg rbx, rbp
mov rbp, qword [rdi + 0x60]
xchg rbx, rbp
test rbx, rbx
je 0x14003f563
xchg r8, rcx
mov r8, rbx
xchg r8, rcx
call fcn.1400c4ff0
mov edx, 0x24db8d16
xor edx, 0x24db8d4e
xchg rbx, rcx
mov rbx, rcx
xchg rbx, rcx
call fcn.1401102d0
mov rbx, qword [rdi + 0x58]
test rbx, rbx
je 0x14003f5a9
mov eax, esi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14003f5a9
xchg r14, rax
mov r14, qword [rbx]
xchg r14, rax
xchg rcx, rbx
mov rbx, rcx
xchg rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], esi
cmp esi, 1
jne 0x14003f5a9
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
lea rcx, [rdi + 0x30]
call fcn.14003e9e0
lea rcx, [rdi + 0x18]
call fcn.14003e9e0
xchg rcx, rdi
mov rdi, rcx
xchg rdi, rcx
mov rbx, qword [rsp + 0x40]
mov rbp, qword [rsp + 0x48]
xchg rsi, rdx
mov rdx, qword [rsp + 0x50]
xchg rdx, rsi
add rsp, 0x20
nop
xchg qword [rsp], r15
add rsp, 8
nop
xchg qword [rsp], r14
add rsp, 8
push rcx
xchg qword [rsp + 8], rdi
pop rcx
add rsp, 8
jmp fcn.14003e9e0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3