Function at 0x180019670
Capabilities:
Create thread

Disassembly:
push rdi
mov eax, 0x1210
call fcn.1800517b0
sub rsp, rax
mov qword [rsp + 0x1f0], 0xfffffffffffffffe
mov qword [rsp + 0x1228], rbx
mov qword [rsp + 0x1230], rsi
mov rax, qword [0x180071080]
xor rax, rsp
mov qword [rsp + 0x1200], rax
mov rdx, rcx
xor esi, esi
mov dword [rsp + 0x30], esi
and dword [rsp + 0xa8], 0xfffffe00
mov qword [rsp + 0xb0], rsi
mov qword [rsp + 0xb8], rsi
mov qword [rsp + 0xc0], rsi
mov dword [0x180075694], esi
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rsi
mov byte [rsp + 0x58], sil
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rsp + 0x50]
call fcn.180005780
nop
mov dword [rsp + 0x30], 1
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x50]
call fcn.180011810
test al, al
je 0x18001973c
cmp byte [rsp + 0xa8], 7
jne 0x18001973c
mov dil, 1
jmp 0x18001973f
xor dil, dil
cmp qword [rsp + 0x70], 0x10
jb 0x180019751
mov rcx, qword [rsp + 0x58]
call fcn.18003c784
test dil, dil
je 0x180019d58
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rsi
mov byte [rsp + 0x58], 0
mov r8d, 0xa
lea rdx, str.SSIDManage
lea rcx, [rsp + 0x50]
call fcn.180005780
nop
and dword [rsp + 0x80], 0xfffffe00
mov qword [rsp + 0x88], rsi
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x98], rsi
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xa0]
call fcn.1800119f0
movzx ecx, byte [rsp + 0x80]
test al, al
je 0x18001983d
cmp cl, 7
jne 0x18001983d
lea r8, [0x18005d2fa]
lea rdx, str.value_bool
lea rcx, [rsp + 0x78]
call fcn.18002aa7c
mov rcx, rax
call fcn.18002b11c
test al, al
jne 0x180019803
lea rcx, [rsp + 0x78]
call fcn.180029ac8
jmp 0x1800198ab
lea r8, [0x18005d2fa]
lea rdx, str.value_bool
lea rcx, [rsp + 0x78]
call fcn.18002aa7c
mov rcx, rax
call fcn.180029e28
cmp eax, 1
sete dil
lea rcx, [rsp + 0x78]
call fcn.180029ac8
test dil, dil
je 0x1800198ab
mov al, 1
jmp 0x1800198ad
movsx eax, cl
cmp eax, 4
je 0x180019869
add eax, 0xfffffffa
cmp eax, 1
ja 0x18001987e
mov rdi, qword [rsp + 0x78]
test rdi, rdi
je 0x18001987e
mov rcx, rdi
call fcn.18002e1e8
mov rcx, rdi
call fcn.18003c784
jmp 0x18001987e
bt dword [rsp + 0x80], 8
jae 0x18001987e
mov rcx, qword [rsp + 0x78]
call fcn.18003dd10
mov rcx, qword [rsp + 0x88]
test rcx, rcx
je 0x1800198ab
lea rdi, [rcx - 8]
lea r9, [0x1800294a0]
mov r8d, dword [rdi]
mov edx, 8
call fcn.18004bf1c
mov rcx, rdi
call fcn.18004bcec
xor al, al
movzx eax, al
mov dword [0x180075694], eax
cmp qword [rsp + 0x70], 0x10
jb 0x1800198c8
mov rcx, qword [rsp + 0x58]
call fcn.18003c784
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rsi
mov byte [rsp + 0x58], 0
mov r8d, 0x12
lea rdx, str.SSIDManageWorkMode
lea rcx, [rsp + 0x50]
call fcn.180005780
nop
lea r8, [0x180075698]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0xa0]
call fcn.180018ab0
nop
cmp qword [rsp + 0x70], 0x10
jb 0x18001991f
mov rcx, qword [rsp + 0x58]
call fcn.18003c784
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rsi
mov byte [rsp + 0x58], 0
mov r8d, 0xf
lea rdx, str.SSIDManageSSIDs
lea rcx, [rsp + 0x50]
call fcn.180005780
nop
lea r8, [rsp + 0x50]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0xf8]
call fcn.180018d00
nop
mov rdx, rax
lea rcx, [rsp + 0x130]
call fcn.18001b2f0
nop
mov rcx, qword [rsp + 0x110]
test rcx, rcx
je 0x1800199cc
mov rbx, qword [rsp + 0x118]
cmp rcx, rbx
je 0x1800199c7
lea rdi, [rcx + 0x20]
cmp qword [rdi], 0x10
jb 0x1800199a3
mov rcx, qword [rdi - 0x18]
call fcn.18003c784
mov qword [rdi], 0xf
mov qword [rdi - 8], rsi
mov byte [rdi - 0x18], 0
add rdi, 0x28
lea rax, [rdi - 0x20]
cmp rax, rbx
jne 0x180019994
mov rcx, qword [rsp + 0x110]
call fcn.18003c784
mov qword [rsp + 0x110], rsi
mov qword [rsp + 0x118], rsi
mov qword [rsp + 0x120], rsi
mov rcx, qword [rsp + 0xf8]
call fcn.18003c784
nop
cmp qword [rsp + 0x70], 0x10
jb 0x180019a04
mov rcx, qword [rsp + 0x58]
call fcn.18003c784
mov qword [rsp + 0x70], 0xf
mov qword [rsp + 0x68], rsi
mov byte [rsp + 0x58], 0
lea rax, [rsp + 0xd8]
mov qword [rsp + 0x30], rax
lea rax, [0x18005d908]
mov qword [rsp + 0xd8], rax
lea rax, [fcn.18001b430]
mov qword [rsp + 0xe0], rax
lea rax, [rsp + 0xd8]
mov qword [rsp + 0xf0], rax
lea rax, [0x18005d8d0]
mov qword [rsp + 0x78], rax
lea rax, [fcn.180009450]
mov qword [rsp + 0x80], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x90], rax
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x1b0]
call fcn.18001b5d0
nop
lea r8, [rsp + 0xd8]
mov rdx, rax
lea rcx, [rsp + 0x170]
call fcn.18001b5d0
mov rdi, rax
lea rbx, [0x180075bb0]
cmp rbx, rax
je 0x180019b1d
mov rdx, qword [0x180075be0]
mov qword [rsp + 0x38], rdx
mov rax, qword [0x180075bb0]
mov qword [rsp + 0x30], rax
mov rdx, qword [rdx]
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x40], rax
movaps xmm0, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm0
movaps xmm1, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm1
lea r9, [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0xc8]
mov rcx, rbx
call fcn.180004aa0
mov rdx, rdi
mov rcx, rbx
call fcn.180004c70
nop
mov rax, qword [rsp + 0x1a0]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x170]
mov qword [rsp + 0x40], rcx
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x170]
call fcn.180004aa0
mov rcx, qword [rsp + 0x1a0]
call fcn.18003c784
mov qword [rsp + 0x1a0], rsi
mov qword [rsp + 0x1a8], rsi
mov rcx, qword [rsp + 0x170]
call fcn.18003c784
nop
mov rax, qword [rsp + 0x1e0]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x1b0]
mov qword [rsp + 0x40], rcx
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x1b0]
call fcn.180004aa0
mov rcx, qword [rsp + 0x1e0]
call fcn.18003c784
mov qword [rsp + 0x1e0], rsi
mov qword [rsp + 0x1e8], rsi
mov rcx, qword [rsp + 0x1b0]
call fcn.18003c784
cmp dword [0x180075694], 0
je 0x180019cd1
cmp qword [0x1800756a0], 0
jne 0x180019cd1
lea rax, str.SSIDManage_thread
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x62
lea r9, str.._ssidmanage.cpp
lea r8, str._s._d:_s
mov edx, 0x800
lea rcx, [rsp + 0x200]
call qword [sym.imp.SHLWAPI.dll_wnsprintfW]
mov dword [rsp + 0x30], esi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, [0x180019650]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
je 0x180019cc0
lea r8, [rsp + 0x200]
mov edx, dword [rsp + 0x30]
lea rcx, str.thread__d_created:__s
call fcn.18001cbb8
mov qword [0x1800756a0], rdi
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x48], rax
mov rcx, qword [rsp + 0x130]
mov qword [rsp + 0x40], rcx
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rcx
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movaps xmm1, xmmword [rsp + 0x30]
movdqa xmmword [rsp + 0x30], xmm1
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0xc8]
lea rcx, [rsp + 0x130]
call fcn.18001a8e0
mov rcx, qword [rsp + 0x160]
call fcn.18003c784
mov qword [rsp + 0x160], rsi
mov qword [rsp + 0x168], rsi
mov rcx, qword [rsp + 0x130]
call fcn.18003c784
nop
movsx eax, byte [rsp + 0xa8]
cmp eax, 4
je 0x180019d8c
add eax, 0xfffffffa
cmp eax, 1
ja 0x180019da4
mov rdi, qword [rsp + 0xa0]
test rdi, rdi
je 0x180019da4
mov rcx, rdi
call fcn.18002e1e8
mov rcx, rdi
call fcn.18003c784
jmp 0x180019da4
bt dword [rsp + 0xa8], 8
jae 0x180019da4
mov rcx, qword [rsp + 0xa0]
call fcn.18003dd10
mov rcx, qword [rsp + 0xb0]
test rcx, rcx
je 0x180019dd1
lea rdi, [rcx - 8]
lea r9, [0x1800294a0]
mov r8d, dword [rdi]
mov edx, 8
call fcn.18004bf1c
mov rcx, rdi
call fcn.18004bcec
mov rcx, qword [rsp + 0x1200]
xor rcx, rsp
call fcn.18003c160
lea r11, [rsp + 0x1210]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret