Function at 0x140006af0
Capabilities:
Check mutex on windows
Get system information on windows

Disassembly:
push rbp
push rdi
sub rsp, 0x218
lea rbp, [rsp + 0x20]
lea rdi, [rsp + 0x20]
mov ecx, 0x4e
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov qword [rbp + 0x38], 0
mov qword [rbp + 0xf8], 0
mov qword [rbp + 0x118], 0
call fcn.140006830
lea rax, [rbp + 8]
mov qword [rbp + 0x10], rax
mov rax, qword [rbp + 0x10]
mov qword [rbp + 8], rax
call section..text
cmp dword [0x1400158c8], 0
jne 0x140006b83
lea r8, str.hsfjuukjzloqu28oajh727190
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateMutexA]
mov qword [rbp + 0x38], rax
xor edx, edx
mov rcx, qword [rbp + 0x38]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x140006b83
mov eax, 1
jmp 0x140006dcf
call fcn.140006770
cmp eax, 0xe
jne 0x140006bd8
mov edx, 1
xor ecx, ecx
call fcn.140009310
test eax, eax
jne 0x140006ba7
mov eax, 1
jmp 0x140006dcf
xor ecx, ecx
call fcn.1400097e0
test eax, eax
jne 0x140006bbc
mov eax, 1
jmp 0x140006dcf
mov rdx, qword [0x1400158c0]
xor ecx, ecx
call fcn.1400096a0
xor ecx, ecx
call fcn.140009ae0
xor eax, eax
jmp 0x140006dcf
lea rcx, [rbp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
call fcn.140006770
cmp eax, 0xa
jne 0x140006bf7
mov eax, dword [rbp + 0x78]
mov dword [rbp + 0x1e4], eax
jmp 0x140006c02
mov eax, dword [rbp + 0x78]
shl eax, 1
mov dword [rbp + 0x1e4], eax
mov eax, dword [rbp + 0x1e4]
mov qword [rbp + 0xa8], rax
call fcn.140006770
cmp eax, 0xa
je 0x140006c23
call fcn.140006770
cmp eax, 0xb
jne 0x140006c54
mov rdx, qword [rbp + 0xa8]
xor ecx, ecx
call fcn.140009310
test eax, eax
jne 0x140006c3f
mov eax, 1
jmp 0x140006dcf
xor ecx, ecx
call fcn.1400097e0
test eax, eax
jne 0x140006c54
mov eax, 1
jmp 0x140006dcf
call fcn.140006770
cmp eax, 0xa
je 0x140006c68
call fcn.140006770
cmp eax, 0xc
jne 0x140006c9f
mov rdx, qword [rbp + 0xa8]
mov ecx, 1
call fcn.140009310
test eax, eax
jne 0x140006c87
mov eax, 1
jmp 0x140006dcf
mov ecx, 1
call fcn.1400097e0
test eax, eax
jne 0x140006c9f
mov eax, 1
jmp 0x140006dcf
lea rax, [rbp + 0xc8]
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0xd0]
mov qword [rbp + 0xc8], rax
lea rcx, [rbp + 0xc8]
call fcn.140008630
lea rcx, [rbp + 0xc8]
call fcn.1400052f0
xor ecx, ecx
call fcn.140003ac0
call fcn.140006770
cmp eax, 0xa
je 0x140006cee
call fcn.140006770
cmp eax, 0xb
jne 0x140006d56
lea rcx, [rbp + 8]
call fcn.1400056e0
test eax, eax
je 0x140006d56
mov qword [rbp + 0xf8], 0
mov rax, qword [rbp + 8]
mov qword [rbp + 0x118], rax
jmp 0x140006d24
mov rax, qword [rbp + 0x118]
mov rax, qword [rax]
mov qword [rbp + 0x118], rax
lea rax, [rbp + 8]
cmp qword [rbp + 0x118], rax
je 0x140006d56
mov rax, qword [rbp + 0x118]
sub rax, 8
mov qword [rbp + 0xf8], rax
mov rax, qword [rbp + 0xf8]
mov rdx, qword [rax]
xor ecx, ecx
call fcn.1400096a0
jmp 0x140006d13
call fcn.140006770
cmp eax, 0xa
je 0x140006d6a
call fcn.140006770
cmp eax, 0xc
jne 0x140006d7b
lea rcx, str.call_StartScan_n
call fcn.140006df0
call fcn.1400083a0
xor ecx, ecx
call fcn.140009540
test eax, eax
je 0x140006d99
lea rcx, str.call_Wait_LOCAL_THREADPOOL__n
call fcn.140006df0
xor ecx, ecx
call fcn.140009ae0
mov ecx, 1
call fcn.140009540
test eax, eax
je 0x140006dbd
lea rcx, str.call_Wait_NETWORK_THREADPOOL__n
call fcn.140006df0
mov ecx, 1
call fcn.140009ae0
lea rcx, str.main_EXIT_SUCCESS_n
call fcn.140006df0
xor eax, eax
jmp 0x140006dcf
mov rdi, rax
lea rcx, [rbp - 0x20]
lea rdx, reloc.WS2_32.dll_closesocket
call fcn.14000a0a0
mov rax, rdi
lea rsp, [rbp + 0x1f8]
pop rdi
pop rbp
ret