Function at 0x140005484
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
mov edx, 1
mov rbx, rcx
call qword [sym.imp.USER32.dll_KillTimer]
cmp byte [0x140017581], 0
je 0x1400054c5
lea r8, str.Warning
lea rdx, str.Server_running_as_service._nStop_service_
mov r9d, 0x34
mov rcx, rbx
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
jne 0x1400054d3
jmp 0x1400054ce
cmp byte [0x140017582], 0
je 0x1400054d3
call fcn.1400046ec
mov rcx, qword [0x140017ad0]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp qword [0x140017ad8], 0
jne 0x14000550c
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [0x140017ad8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and qword [0x140017ad8], 0
mov rcx, qword [0x140017ae0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [0x140017588]
cmp rcx, 0xffffffffffffffff
je 0x140005534
call qword [sym.imp.KERNEL32.dll_CloseHandle]
or qword [0x140017588], 0xffffffffffffffff
mov rcx, qword [0x140017ad0]
call qword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov rcx, qword [0x140017ad0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.140004fa8
lea rbx, [0x140017ac0]
mov rcx, qword [rbx]
call qword [sym.imp.USER32.dll_DestroyIcon]
lea rax, [0x140017ad0]
add rbx, 8
cmp rbx, rax
jl case.default.0x14000557d
xor ecx, ecx
add rsp, 0x20
pop rbx
jmp qword [sym.imp.USER32.dll_PostQuitMessage]
mov dl, 0x4c
jg 0x1400260c5
push rcx
invalid
cmp eax, 0x3a3c3c3d
in eax, 0xa7
out dx, eax
push rsp
invalid
cli
cli
cli
clc
int 0x22
and byte [rax], ah
nop
invalid
and dword [rbp + 0x14a4a4a5], 0x2b0fcb5a
or ecx, dword [rcx]
or ebp, esi
loop 0x14002614b
invalid
movsb byte [rdi], byte [rsi]
movsb byte [rdi], byte [rsi]
adc al, 0x5a
retf
jbe 0x1400260e8
adc dh, byte [rdx]
xor byte [rax], dh
movabs al, byte [0xd8d8d8fa7935fd6]
xor dword [rdx - 0x17153dca], esi
ret 0xe8ea
xor dh, byte [rax]
xor byte [rax - 0x586ca02a], ah
invalid
ret 0xe8ea
call 0x18b19ffd5
outsd dx, dword [rsi]
invalid
add dh, dh
div dh
out 0xee, al
invalid
jae 0x14002617d
jae 0x14002617f
jae 0x140026181
invalid
invalid
mov cl, bh
jge 0x14002614d
sbb dword [0x107a18058], ebx
sbb eax, 0xc79f1f1f
xor bh, byte [rsi - 0x27270d66]
sbb dh, cl
push rbp
jl 0x1400261bf
je str._jkkk
stosd dword [rdi], eax
invalid
leave
leave
jns 0x140026133
invalid
movsb byte [rdi], byte [rsi]
push rax
push rax
push rax
and byte [rax + rbx*8 - 0x11], 0xee
xor dword [rbp + 0x5e6eaa3e], 0xe5c5c5c
outsb dx, byte [rsi]
pop rsi
pop rsp
pop rsp
pop rsp
invalid
jne str.xxxv
pop rsi
pop rsp
pop rsp
pop rsp
invalid
invalid
jmp qword [rbx - 0x7be0a85a]
stosd dword [rdi], eax
wait
mov byte [rdx + rbp*2], r13b
sub al, 0x6a
mov byte [rdx + rbp*2], ch
sub al, 0x6a
sub al, 0x6a
push 0x6b
imul ebp, dword [rbx - 0x26], 0x1e
invalid
mov edx, 0x444a4a4a
invalid
invalid
invalid
invalid
imul ebp, dword [rbx + 0x6b], 0xffffffda
invalid
jnp 0x14002618d
invalid
fisttp dword [rbx]
or ecx, dword [rbx]
invalid
or ecx, dword [rbx]
or ecx, dword [rbx]
or esi, dword [rax - 0x74]
movabs rax, 0x7878d4a0a7b6b8b8
mov eax, 0xa7b6b8b8
invalid
invalid
js 0x14002621b
mov eax, 0xa7b6b8b8
movabs al, byte [0x95318576787878d4]
js 0x14002621b
js 0x14002621b
test dword [rcx], esi
xchg ebp, eax
js 0x14002621b
js 0x14002621b
test dword [rcx], esi
xchg ebp, eax
xor dword [rbp + 0x39454545], edx
invalid
invalid
invalid
invalid
cmp dword [r8], r13d
invalid
sub byte [rdi], dl
invalid
insd dword [rdi], dx
insd dword [rdi], dx
insd dword [rdi], dx
jne case.0x14000cc67.22
insb byte [rdi], dx
imul eax, dword [rdx + rcx*2], 0xffffffbb
invalid
add al, 0x4a
mov ebx, 0xd1d39b3f
rol ecx, 1
jno case.0x14000cc88.19
pmaddwd mm6, mm6
mul dh
invalid
push si
sbb al, 0x89
invalid
lahf
rol edi, cl
lahf
popfq
popfq
sbb eax, 0xd03cb045
and al, 0x24
and al, 0xd4
sbb byte [rsi + 0x76], 0x75
pop rsi
jbe 0x140026272
or bh, byte [rdi + riz*4]
and esi, edi
mov edi, 0x6d3dbdbd
invalid
sbb cl, byte [rdx + 0x48]
mov al, 0xfa
jno case.0x14000cc67.24
push rsi
fisttp qword [rcx]
invalid
rol ebx, cl
mov edi, esi
ret
scasd eax, dword [rdi]
xlatb
pop rsp
push 0xffffffffffffff95
stc
fstp qword [rbp + 0xb9a9c9c]
or ecx, dword [rdi + 0xb]
cmp edi, dword [rdx]
cmp dh, byte [rdi + rax*2]
xchg edi, eax
cmpsd dword [rsi], dword [rdi]
cmpsb byte [rsi], byte [rdi]
cmpsb byte [rsi], byte [rdi]
movsb byte [rdi], byte [rsi]
sub al, 0xa8
cmp ebp, dword [rax]
wait
invalid