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]
mov edi, 0x47a78ae8
jbe 0x140047758
iretq
jmp 0x1698cce19
xor edi, esi
idiv dword [rdi]
cli
invalid
rol byte [rdx - 0x53], 0xda
out dx, eax
mov edi, 0x3b43749c
fcmovnu st(0), st(7)
dec dword ds:[rbx - 0x25]
invalid
scasd eax, dword [rdi]
test eax, 0x32468e97
and al, 0x44
jmp 0x13f79ba3d
add ebx, dword [rdi + 0x7d]
mov ecx, 0x3064b455
invalid
invalid
and dword [rcx + 0x76cb97d8], edx
xchg esp, eax
mov edi, ss
invalid
movabs eax, dword [0xd41a15c4ab8da0a]
enter 0x307c, 0xffffffffffffff82
or bl, dl
mov eax, 0x41a15c4a
or eax, 0x82307cc8
pop rsi
mov ch, 0x47
shl ch, 1
xchg r10, rax
xchg r10, rax
xchg r10, rax
xchg r10, rax
xchg byte [rsi], ah
loop 0x140047b9f
cld
out 0xbe, eax
call rsi
test byte [0x15621d49c], al
movabs byte [0x903f922f07e2a478], al
invalid
xchg edx, eax
invalid
nop
clc
invalid
invalid
sub dl, byte [0x1808bb693]
jbe 0x140047bef
movsb byte [rdi], byte [rsi]
mov cl, 0x76
cmp dh, ch
invalid
in al, 0xff
xchg edx, eax
dec byte ds:[rdx]
loopne 0x140047c0f
sar esp, cl
cld
movabs dword [0xeb5adbfb391e2f76], eax
push rax
xor al, 0xf2
mov edi, 0x67734de5
int1
and eax, 0x7967a32b
sub esp, dword [rbx - 0x565f8699]
sahf
add byte [rdx + 0xe77bfde], 0x63
sub esp, dword [rbx - 0x565f8699]
sahf
add byte [rdx + 0xe77bfde], 0x63
shr dword [rcx + 0x4781132f], cl
jns 0x140047bb1
test eax, 0xde82809e
mov edi, 0xd3630e77
test eax, 0x4781132f
invalid
loopne 0x140047c28
mov ebx, dword [rdi]
mov ah, byte [rcx]
mov esp, 0x57eeea1e
pop rsp
movsd dword [rdi], dword [rsi]
outsw dx, word gs:[rsi]
retf
mov bh, 0x36
invalid
invalid
movabs al, byte [0xcddccee4e529c3f2]
cld
out dx, al
invalid
jns 0x140047d07
cwde
pop rsp
out dx, al
mov esi, 0xe2aedff
adc esi, ecx
push 0xffffffffffffff86
mov ebp, 0x5f3cbe2e
and al, 0xb4
mov ah, 0x6d
mov ah, 0x6d
sahf
invalid
div al
movabs al, byte [0x5657e17e4b90150a]
and al, 0x62
adc bh, dl
pop rax
invalid
push qword [rsi - 2]
invalid
cmp dword [rsi - 0x18480006], edi
mov esp, 0x90129d68
cmp eax, 0x324707af
scasd eax, dword [rdi]
invalid
xor r10b, r15b
adc dl, byte [rax + 0x4707af3d]
xor dl, bh
scasd eax, dword [rdi]
invalid
movabs eax, dword [0xf3fff4f3fff5ef47]
invalid
push 5
cmp dh, dl
pop rdx
jb 0x140047d00
dec dword [rbx - 1]
dec dword [rdi + 0x61]
pop rax
invalid
lea eax, [rdi + 0x4ac25326]
xchg esp, eax
add eax, 0xffc67a03
jp 0x140047cd8
inc dword [rbx]
wait
cmp al, 0x6b
lodsb al, byte [rsi]
sub dword [rbx - 0x3a], edi
jp 0x140047cd8
inc dword [rbx]
wait
cmp al, 0x6b
lodsb al, byte [rsi]
sub dword [rbx - 0x3a], edi
push rcx
cwde
cmpsb byte [rsi], byte [rdi]
test dword [rcx - 0x3f], 0xff0f7a2e
sti
xchg edi, eax
invalid
xchg ecx, eax
loopne case.0x1400024ce.30
sbb esi, dword [rsi]
invalid
lahf
sbb eax, 0x14d6c778
scasb al, byte [edi]
mov edi, 0x9c9c94
sub eax, 0x8a8ed438
cmp ah, dl
mov cs, word [rdx + 0x2972ff90]
cmp ah, dl
mov cs, word [rdx + 0x2972ff90]
add ebp, ebx
adc byte [rbx - 0x75037491], bh
invalid
invalid
mov ecx, 0x7785fffe
insb byte [rdi], dx
mov ebx, 0xd3e9ee8f
sub eax, 0x20834139
xchg edi, eax
iretd
jae 0x140047dbf
add edi, edi
invalid
stc
invalid
fcomp st(4)
sar word [r8 - 0x1c431c89], cl
xor eax, 0x7efde75d
std
jle 0x140047dae
scasd eax, dword [rdi]
invalid
push rcx
invalid
scasb al, byte [rdi]
mov ebx, 0x7f8ca91c
jrcxz 0x140047d6c
jrcxz 0x140047de7
pop rbp
out 0xfd, eax
std
std
jle 0x140047dae
scasd eax, dword [rdi]
invalid
test eax, 0x4d807f8c
scasd eax, dword [rdi]
rcr dword [rsi - 0x565753cd], 1
jl 0x140047de6
invalid
or byte [rbp - 0x51], 0xd1
sahf
xor ebp, dword [rax + rbp*4 - 0x70e68357]
sbb dword [rdi + 0x152c0669], ecx
mov cl, 0xe4
sbb dword [rdi + 0x152c0669], ecx
mov cl, 0xe4
invalid
mov esp, 0x2046aec4
xchg ecx, eax
out dx, eax
mov edx, dword [rax + rax*2 - 0x4e]
jle 0x140047e41
cmp dword [rdi], ebp
push rsi
mov dh, 0x65
sbb dh, bl
invalid
invalid
je 0x140047d95
ret
std
out 0x7b, eax
add eax, 0x3b7c697b
outsd dx, dword [rsi]
imul dword [rdx]
repne scasd eax, dword [rdi]
movabs byte [0x80df24425f3a778b], al
pop rbp
mov ecx, 0xb25eab20
invalid
jl 0x140047e6c
invalid
hlt
js 0x140047e4a
jno 0x140047e4e
jmp 0x140047e8a
xor al, 0x64
invalid
invalid
add bh, byte [rsi - 0xc2445]
pop rax
adc eax, 0xe69c39dd
push rdx
mov ebx, 0x4c7ed9db
movabs r14, 0xd5897323c55802dc
mov esi, 0xc55802dc
and esi, dword [rbx - 0x77]
invalid
mov byte [rdi - 0x49c71da4], bl
mov dh, 0x1f
mov esi, 0xc55802dc
and esi, dword [rbx - 0x77]
invalid
lahf
pop rsp
loop 0x140047ea8
mov dh, 0x1f
add dword [rsi], 0xffffffd6
cwde
imul ebx, dword [rdx + 0xcea047], 0x4c
invalid
add byte [rdi + riz*8 - 0x76], cl
invalid
invalid
xlatb
shr esi, 1
out dx, al
out dx, al
out dx, eax
int3
cmp bh, byte [0xfd7bcf91]
cwde
pushfq
scasb al, byte [rdi]
test byte [rcx - 5], 0x5b
sti
pop rbx
add dword [rdx + 0x6e42641b], ebp
in al, dx
invalid
and bl, bl
push rbp
in eax, dx
fdivr qword [rbp + 0x4d8c8a22]
fisubr word [rcx]
and cl, byte [rdx + 0x29de4d8c]
cmp ch, byte [rax + 0x73]
fbstp tbyte [rbp + 0x7f]
jae 0x140047ea5
jne 0x140047f47
cld
fmul dword [rax]
outsb dx, byte [rsi]
sti
fucomi st(1)
invalid
scasd eax, dword [rdi]
sub eax, 0x4785b0d3
cmp byte [0x195464fae], dil
test dword [rdi + 0x4a], eax
cmp byte [0x195464fae], bh
hlt
mov esi, 0x2a8d6728
mov ecx, 0xdcf03072
xchg esp, eax
jne 0x140047ebc
sub byte [rcx], al
mov ah, 0xfd
std
std
movabs dword [0xc9373af0efcafd3f], eax
sbb dh, bh
invalid
jno 0x140047ed4
out 0x13, eax
std
out dx, eax
sbb dword [rbp - 0x3a], edi
jns case.0x1400024ce.19
invalid
jrcxz 0x140047f20
invalid
ja 0x140047f8b
scasb al, byte [rdi]
jns 0x140047f39
mov ah, 0x83
xchg r10, rax
invalid
mov ah, 0x2a
jo 0x140047f85
invalid
invalid
repz ret 0x4c6d
mov ebx, 0x7edb8a32
xor ebx, ebp
jle 0x140047f21
xchg ecx, eax
stosb byte [rdi], al
xchg esp, eax
jns 0x140047f6a
and dh, byte [rax + rbp*4 - 0x2742bdfc]
test byte [rbx + 0x78], cl
mov ah, 0xa8
add al, 0x42
mov ebp, 0x784b84d8
push rdx
cmp al, 0x91
or rax, r9
pop rdx
invalid
invalid
xchg ebx, eax
invalid
invalid
push rsi
cmp dh, byte [rbp + rdi + 0x1b]
invalid
jbe 0x140048007
invalid
pop rdx
xor bl, byte [rbp - 0x44e544b6]
xchg ebx, eax
jb 0x14004802f
xchg ebx, eax
sal byte [0x1a974f0dd], 1
cmp eax, 0x37ce9e98
jnp 0x140048031
sbb byte [rdi], al
fistp dword [rbx - 0x7a943b7d]
retf 0x77a1