Function at 0x140002450
Capabilities:
Terminate thread

Disassembly:
push rdi
sub rsp, 0x20
cmp dword [rcx + 0x18], 0
mov rdi, rcx
je 0x1400024c5
mov qword [rsp + 0x30], rbx
mov rbx, qword [rcx + 0x20]
test rbx, rbx
je 0x1400024c0
cmp qword [rbx + 0x10], 0
je 0x1400024b2
mov rcx, qword [rbx + 0x20]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [rbx + 0x10]
mov edx, 0x3e8
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne case.default.0x1400024ce
mov rcx, qword [rbx + 0x10]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx + 0x10], 0
mov dword [rdi + 0x18], 0
mov dword [rdi + 0x1c], 1
mov rbx, qword [rsp + 0x30]
mov rcx, qword [rdi + 0x10]
add rsp, 0x20
pop rdi
jmp qword [sym.imp.KERNEL32.dll_SetEvent]
sub al, ch
invalid
scasd eax, dword [rdi]
invalid
invalid
sub dword [rdi + 0xbf51383], 0x3f
pop rdi
lahf
je 0x140047772
and ah, byte [rbp + 0x7c]
invalid
out 0x5e, eax
mov edi, 0x977f468b
mov byte [rsi], cl
cli
out dx, eax
adc al, 0x46
or ch, byte [rdx - 7]
cmp byte [rax - 0x28], dl
enter 0xffffffffffff91f8, 0xffffffffffffffb1
invalid
invalid
stosd dword [rdi], eax
sub ecx, dword [rbp + rax*8 - 0x67427dea]
mov edx, 0xcd8efbcd
sti
jg 0x1400479b9
repne stosb byte [rdi], al
push rbp
invalid
invalid
sub eax, 0xd37d8847
cmp dword [rdi + rdi*8 + 0x2de7aa97], ebp
fcmovu st(0), st(3)
pop rdi
push qword [rdx + 0x1e64844f]
mov dl, 0x4f
test byte [rsi + rbx + 0x2e], ah
jae 0x140047b87
mov dl, 0x4f
test byte [rsi + rbx + 0x2e], ah
jae 0x140047b87
invalid
fadd dword [rsi]
movsd dword [rdi], dword [rsi]
scasb al, byte [rdi]
adc dh, ch
mov eax, 0x9e0bfdde
rcr dword [rdi + 0x2fee02e0], cl
movabs dword [0xcef2c11a8bafa7b1], eax
sal edx, 0xce
sal edx, 0xce
and al, 0xf0
jp 0x140047bff
and al, 0xa6
movabs eax, dword [0xffd4ad9b4b56c78e]
stosd dword [rdi], eax
adc al, 0x7e
invalid
cmpsb byte [rsi], byte [rdi]
invalid
mov cl, byte [rbp - 0x10]
jmp case.0x1400024ce.15
hlt
fild dword [rax - 0xbc7b668]
sbb eax, 0x3054aaf4
xor byte [rbx], dl
or al, 0xc3
invalid
scasd eax, dword [rdi]
scasd eax, dword [rdi]
pop rdi
retf 0x6ca3
int3
invalid
pop rbx
push rbx
cmpsb byte [rsi], byte [rdi]
pop rbp
je 0x140047ce8
xchg edi, eax
wait
outsd dx, dword [rsi]
pop rdi
cmp ebx, dword [rax]
outsd dx, dword [rsi]
lodsb al, byte [rsi]
mov edi, 0xe1425271
loope case.0x1400024ce.32
loope case.0x1400024ce.32
rcr byte [rdx], cl
push rbx
lahf
mov esi, 0x54e6221b
pop rbp
sbb edi, dword [rcx + rbp*8 + 0x70]
invalid
xchg esi, eax
iretq
invalid
invalid
invalid
and byte [rdx + 0x2ccff055], dh
or byte [rbp - 0x58], bl
jbe 0x140047c8a
outsb dx, byte [rsi]
push rsi
invalid
push rbx
invalid
scasd eax, dword [rdi]
imul edx, dword [rdx + 0x21], 8
xor al, 0xb0
out dx, al
pushfq
and edx, dword [rsi]
out dx, eax
sbb al, 0xab
and al, 0x6b
adc dword [0x16e879f91], edi
invalid
invalid
mov esi, 0xf57adff7
or eax, 0xb9ffdd61
invalid
mov esi, 0xf240cf00
out dx, eax
adc eax, 0xffd2d7ba
mov ecx, 0xfc5fff5
call 0xf226e0a7
mov dl, 0xe2
invalid
mov dl, 0xe2
invalid
invalid
fcmovnu st(0), st(0)
and al, 0x5e
cli
or cl, byte [rbx + riz*2]
pop rsi
sub edx, dword [0x11f762cf2]
invalid
xchg ebx, eax
sbb edi, edi
cld
clc
dec dword [rbx - 0x25e475e7]
pop rsp
push rsp
jno 0x140047d70
mov ch, bh
invalid
scasd eax, dword [rdi]
div dword [rcx + 0x7f2ee2fe]
std
jle 0x140047dae
scasd eax, dword [rdi]
invalid
invalid
or ah, byte [rdx - 0x34]
scasd eax, dword [rdi]
xchg edx, eax
invalid
jmp 0x140047e02
invalid
std
out 0x36, eax
ret 0x9229
sub dword [rdx + 0x7a57fa28], edx
invalid
insd dword [rdi], dx
invalid
push rdi
jmp 0x1528dc4a6
jnp 0x140047e56
out dx, al
add edx, dword [rax]
invalid
fstp xword [rdi + 0x28]
mov ebx, 0x22b9c5fc
pop rbx
mov ebx, 0x7ef2cbf8
invalid
invalid
bnd jle 0x140047e55
jle 0x140047e55
dec byte [rbp + 0x7eff80dd]
xchg byte [rax], cl
sbb ecx, edx
neg al
invalid
invalid
jge 0x140047e33
fistp qword [rbp + 0x17313caf]
leave
call 0x1b24c9fcd
and qword [r8 + 0x72], r9
and qword [r8 + 0x72], r9
invalid
mov ebp, 0x46ae01f
invalid
sbb ah, bh
jmp 0x140047efc
invalid
invalid
xor r10, qword [rbp + r14 - 0x1f72ee9]
add byte [rdx], al
add eax, dword [rbx + 0x569cd652]
push rdx
invalid
pushfq
push rsi
invalid
push rdx
invalid
invalid
add dword [rsi], esi
adc esi, dword [rdi - 0x8f51dbd]
loop 0x140047f01
test dword [rcx + 0x525d6c98], 0x2632af68
loop 0x140047f01
test dword [rcx + 0x525d6c98], 0x2632af68
push rdx
push 0x3e2632af
mov ebp, 0x7f1e146
invalid
mov ebp, 0x7f1e146
invalid
jp 0x140047ef0
adc edi, ebp
out dx, eax
mov edx, 0x20d1210
add bh, byte [rsi + 0x7b5ea9e4]
add bh, byte [rsi + 0x7b5ea9e4]
in eax, dx
invalid
push 0x4b633d77
sete byte [rdx - 0x11]
invalid
movabs byte [0x448522da853ffa57], al
mov word [rax + 0x16], fs
mov esi, 0x975f128a
and dword [0x182024ca5], eax
movsb byte [rdi], byte [rsi]
movsb byte [rdi], byte [rsi]
invalid
mov edi, 0xe1f47ffe
mov ch, 0x72
iretd
jnp 0x140048058
invalid
ficomp word [rcx + 0x28]
test eax, 0x95288fde
out 0x2a, eax
invalid