Function at 0x140008c40
Capabilities:
Check mutex on windows
Create thread
Hide graphical window

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0xf0]
sub rsp, 0x1f0
mov rax, qword [0x1400780d0]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov rbx, r8
mov rdi, rcx
call fcn.1400262c0
test al, al
jne 0x140008c78
call fcn.140026ea0
lea rdx, [0x140069c10]
mov rcx, rbx
call fcn.140035114
test rax, rax
setne byte [0x14007b59c]
test rax, rax
je 0x140008e96
call qword [sym.imp.kernel32.dll_GetConsoleWindow]
test rax, rax
jne 0x140008caa
call fcn.140028960
cmp byte [0x14007b59d], 0
sete al
mov byte [0x14007b59d], al
movzx ebx, al
call qword [sym.imp.kernel32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.user32.dll_ShowWindow]
lea rcx, [0x140069c20]
call fcn.1400011c0
xorps xmm0, xmm0
mov byte [rbp - 0x18], 0
xor edx, edx
lea rcx, [rbp - 0x10]
mov r8d, 0xc0
movdqu xmmword [rbp - 0x28], xmm0
call fcn.140035cb0
movdqa xmm0, xmmword [0x14006c5e0]
xor ebx, ebx
movdqa xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
xorps xmm0, xmm0
mov qword [rbp + 8], 7
movups xmmword [rbp + 0x58], xmm0
mov word [rbp + 0x58], bx
lea edi, [rbx - 1]
movups xmmword [rbp + 0x10], xmm1
mov word [rbp - 0x10], bx
mov word [rbp + 0x10], bx
mov byte [rbp + 0x30], bl
mov qword [rbp + 0x38], rbx
movdqa xmmword [rbp + 0x40], xmm0
mov byte [rbp + 0x50], bl
mov qword [rbp + 0x68], rbx
mov qword [rbp + 0x70], 7
mov qword [rbp + 0x78], rbx
mov qword [rbp + 0x80], rbx
mov qword [rbp + 0x88], rbx
movdqa xmmword [rbp + 0x90], xmm0
mov qword [rbp + 0xa0], rbx
mov byte [rbp + 0xa8], bl
mov dword [rbp + 0xac], ebx
mov ecx, 0x64
call qword [sym.imp.kernel32.dll_Sleep]
lea rcx, [rsp + 0x60]
call fcn.140004d30
mov rbx, rax
mov ecx, dword [rax]
lea rdx, [rax + 8]
mov dword [rbp - 0x30], ecx
mov ecx, dword [rax + 4]
mov dword [rbp - 0x2c], ecx
lea rcx, [rbp - 0x28]
call fcn.140009520
movzx eax, byte [rbx + 0x18]
mov rbx, qword [rsp + 0x70]
mov byte [rbp - 0x18], al
test rbx, rbx
je 0x140008ddd
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x140008ddd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x140008ddd
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
cmp dword [rbp - 0x30], 0
je 0x140008d73
lea rcx, [0x140069c38]
call fcn.1400011c0
lea rcx, [0x140069c50]
call fcn.1400011c0
xor r8d, r8d
lea rdx, [rbp - 0x30]
lea rcx, [rbp - 0x10]
call fcn.1400064d0
test al, al
jne 0x140008e2e
lea rcx, [0x140069c60]
call fcn.1400011c0
lea rcx, [0x140069b28]
call fcn.1400011c0
call fcn.140042744
jmp 0x140008e45
lea rcx, [0x140069c88]
call fcn.1400011c0
mov ecx, 0xbb8
call qword [sym.imp.kernel32.dll_Sleep]
lea rcx, [rbp - 0x10]
call fcn.1400083f0
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140008f59
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x140008f59
mov rbx, qword [rbp - 0x20]
mov rcx, rbx
mov rax, qword [rbx]
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x140008f59
mov rcx, qword [rbp - 0x20]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
jmp 0x140009150
lea r8, [0x140069be0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_CreateMutexA]
mov qword [0x14007b590], rax
test rax, rax
jne 0x140008f0b
xor r9d, r9d
lea r8, [0x140069bec]
lea rdx, [0x140069bf8]
xor ecx, ecx
call qword [sym.imp.user32.dll_MessageBoxA]
cmp byte [0x14007b59b], 0
jne 0x140008f36
call qword [sym.imp.kernel32.dll_GetConsoleWindow]
test rax, rax
jne 0x140008ee5
call fcn.140028960
cmp byte [0x14007b59d], 0
sete al
mov byte [0x14007b59d], al
movzx ebx, al
call qword [sym.imp.kernel32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.user32.dll_ShowWindow]
jmp 0x140008f3b
call qword [sym.imp.kernel32.dll_GetLastError]
cmp eax, 0xb7
jne 0x140008ecc
xor r9d, r9d
lea r8, [0x140069bec]
lea rdx, [0x140069cc0]
xor ecx, ecx
call qword [sym.imp.user32.dll_MessageBoxA]
jmp 0x140009150
call fcn.140028960
cmp byte [0x140078d12], 0
je 0x140008f60
lea rcx, [0x140069ce8]
call fcn.1400011c0
call fcn.140028e60
test al, al
je 0x140008f60
xor eax, eax
jmp 0x140009150
cmp byte [0x14007b59b], 0
mov qword [rsp + 0x218], rsi
jne 0x140008fbc
lea rcx, [0x140069d08]
call fcn.1400011c0
mov ecx, 0x7d0
call qword [sym.imp.kernel32.dll_Sleep]
call qword [sym.imp.kernel32.dll_GetConsoleWindow]
test rax, rax
jne 0x140008f98
call fcn.140028960
cmp byte [0x14007b59d], 0
sete al
mov byte [0x14007b59d], al
movzx ebx, al
call qword [sym.imp.kernel32.dll_GetConsoleWindow]
mov rcx, rax
mov edx, ebx
call qword [sym.imp.user32.dll_ShowWindow]
xor ebx, ebx
mov qword [rbp - 0x80], 0x50
lea rax, [0x140028160]
mov qword [rbp - 0x70], rbx
mov edx, 0x7f00
mov qword [rbp - 0x78], rax
xor ecx, ecx
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x68], rdi
call qword [sym.imp.user32.dll_LoadCursorA]
xor ecx, ecx
mov qword [rbp - 0x58], rax
call qword [sym.imp.gdi32.dll_GetStockObject]
lea rsi, [0x14006bf50]
mov qword [rbp - 0x48], rbx
lea rcx, [rbp - 0x80]
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], rsi
mov qword [rbp - 0x38], rbx
call qword [sym.imp.user32.dll_RegisterClassExA]
mov qword [rsp + 0x58], rbx
lea r8, [0x14006bf60]
mov qword [rsp + 0x50], rdi
xor r9d, r9d
mov qword [rsp + 0x48], rbx
mov rdx, rsi
mov qword [rsp + 0x40], rbx
xor ecx, ecx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
call qword [sym.imp.user32.dll_CreateWindowExA]
mov rsi, qword [rsp + 0x218]
mov qword [0x14007b5b8], rax
test rax, rax
je 0x14000914e
lea edx, [rbx + 0x65]
mov dword [0x14007b5c0], 0x210
mov rcx, rdi
mov qword [0x14007b5c8], rax
mov dword [0x14007b5d0], 0x65
mov dword [0x14007b5d4], 7
mov dword [0x14007b5d8], 0x8001
call qword [sym.imp.user32.dll_LoadIconA]
lea r8, [0x14006bf60]
mov edx, 0x80
lea rcx, [0x14007b5e8]
mov qword [0x14007b5e0], rax
call fcn.1400441a0
lea rdx, [0x14007b5c0]
xor ecx, ecx
call qword [sym.imp.shell32.dll_Shell_NotifyIconA]
xor r9d, r9d
mov qword [rsp + 0x28], rbx
lea r8, [0x1400085a0]
mov dword [rsp + 0x20], ebx
xor edx, edx
xor ecx, ecx
call qword [sym.imp.kernel32.dll_CreateThread]
xor r9d, r9d
lea rcx, [rbp + 0xb0]
xor r8d, r8d
mov qword [0x14007b7d0], rax
xor edx, edx
call qword [sym.imp.user32.dll_GetMessageA]
test eax, eax
je 0x140009148
nop
cmp eax, 0xffffffff
je 0x14000912f
lea rcx, [rbp + 0xb0]
call qword [sym.imp.user32.dll_TranslateMessage]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.user32.dll_DispatchMessageA]
xor r9d, r9d
lea rcx, [rbp + 0xb0]
xor r8d, r8d
xor edx, edx
call qword [sym.imp.user32.dll_GetMessageA]
test eax, eax
jne 0x140009110
mov ebx, dword [rbp + 0xc0]
mov eax, ebx
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.140033210
add rsp, 0x1f0
pop rdi
pop rbx
pop rbp
ret