Function at 0x140007050
Capabilities:
Link many functions at runtime
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x140200d38]
xor rax, rsp
mov qword [rbp + 0x37], rax
cmp qword [rcx], 0
mov rbx, rcx
je 0x14000754a
cmp qword [rcx + 8], 0
je 0x14000754a
cmp qword [rcx + 0x10], 0
je 0x14000754a
call fcn.140009150
test eax, eax
jne 0x140007525
mov qword [rsp + 0xf0], rdi
call fcn.140010f10
mov edi, eax
test eax, eax
jne 0x1400070b8
call fcn.140012770
test edi, edi
jne 0x140007546
mov qword [rsp + 0xe8], rsi
lea esi, [rdi + 1]
xor edi, edi
cmp qword [0x14020f580], rdi
je 0x1400071e1
lea rcx, [0x14020f588]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov r8d, edi
mov dword [0x14020f5b0], esi
mov edx, edi
lea rcx, [0x14020f560]
lea r9d, [rsi + 7]
nop dword [rax]
mov dword [rcx], edi
lea rdx, [rdx + 0x40]
mov rax, qword [0x14020f580]
lea rcx, [rcx + 4]
lea r8, [r8 + 0x40]
mov dword [r8 + rax - 0x20], 0xb2d05e0
mov rax, qword [0x14020f580]
mov dword [r8 + rax - 0x1c], 0xb2d05e0
mov rax, qword [0x14020f580]
mov word [r8 + rax - 0x40], si
mov rax, qword [0x14020f580]
mov word [r8 + rax - 0x3e], di
mov rax, qword [0x14020f580]
mov byte [rdx + rax - 0x17], 0x64
mov rax, qword [0x14020f580]
mov byte [rdx + rax - 0x18], 0x64
mov rax, qword [0x14020f580]
mov byte [rdx + rax - 0x13], 0x64
mov rax, qword [0x14020f580]
mov byte [rdx + rax - 0x14], 0x64
mov rax, qword [0x14020f580]
mov byte [rdx + rax - 0xf], 0x64
mov rax, qword [0x14020f580]
mov byte [rdx + rax - 0x10], 0x64
mov rax, qword [0x14020f580]
mov byte [rdx + rax - 0xb], 0x64
mov rax, qword [0x14020f580]
mov byte [rdx + rax - 0xc], 0x64
mov rax, qword [0x14020f580]
mov byte [rdx + rax - 7], 0x64
mov rax, qword [0x14020f580]
mov byte [rdx + rax - 8], 0x64
mov rax, qword [0x14020f580]
mov byte [rdx + rax - 3], 0x64
mov rax, qword [0x14020f580]
mov byte [rdx + rax - 4], 0x64
sub r9, rsi
jne 0x140007100
mov rcx, rbx
call fcn.14000a570
test eax, eax
jne 0x140007515
lea rax, [rbp - 0x39]
movaps xmmword [rsp + 0xc0], xmm6
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov dword [rbp - 0x45], esi
lea rdx, str.SOFTWAREMicrosoftWindows_NTCurrentVersion_
mov dword [rbp - 0x49], 0x20
mov rcx, 0xffffffff80000002
xorps xmm6, xmm6
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x39]
test eax, eax
jne 0x140007272
lea rax, [rbp - 0x49]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea r9, [rbp - 0x45]
lea rax, [rbp - 9]
lea rdx, str.CurrentVersion
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x39]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rcx, [rbp - 9]
call fcn.14014e010
movaps xmm6, xmm0
jmp 0x140007278
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
comisd xmm6, xmmword [str.333333]
mov eax, edi
movaps xmm6, xmmword [rsp + 0xc0]
setae al
mov dword [0x140355e1c], eax
mov ecx, eax
test eax, eax
je 0x1400073e3
lea rcx, str.Wlanapi.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [0x140357270], rax
test rax, rax
je 0x1400073d0
lea rdx, str.WlanOpenHandle
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140357270]
lea rdx, str.WlanEnumInterfaces
mov qword [0x140357658], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140357270]
lea rdx, str.WlanFreeMemory
mov qword [0x1403576d8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140357270]
lea rdx, str.WlanIhvControl
mov qword [0x1403576f0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140357270]
lea rdx, str.WFDCloseHandle
mov qword [0x1403576e0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140357270]
lea rdx, str.WlanGetAvailableNetworkList
mov qword [0x140357548], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140357270]
lea rdx, str.WlanQueryInterface
mov qword [0x1403575f8], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rcx, qword [0x140357270]
lea rdx, str.WlanGetNetworkBssList
mov qword [0x1403576d0], rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov r10, qword [0x140357658]
mov qword [0x1403576e8], rax
test r10, r10
jne 0x1400073c4
mov rcx, qword [0x140357270]
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
mov qword [0x140357270], rdi
mov dword [0x140355e1c], eax
mov ecx, eax
mov r10, rdi
mov qword [0x140357658], rdi
jmp 0x1400073ea
mov eax, esi
mov dword [0x140355e1c], eax
mov ecx, eax
jmp 0x1400073ea
mov r10, qword [0x140357658]
mov eax, edi
mov dword [0x140355e1c], eax
mov ecx, eax
jmp 0x1400073ea
mov r10, qword [0x140357658]
cmp eax, esi
jne 0x1400074bf
test ecx, ecx
je 0x1400074bf
mov dword [rbp - 0x41], edi
mov rcx, rdi
mov qword [rbp - 0x31], rcx
test r10, r10
je 0x140007427
xor edx, edx
lea r9, [rbp - 0x31]
lea r8, [rbp - 0x41]
lea ecx, [rdx + 2]
call r10
mov rcx, qword [rbp - 0x31]
test eax, eax
cmovne rcx, rdi
mov qword [rbp - 0x31], rcx
mov qword [0x140357278], rcx
test rcx, rcx
je 0x1400074bf
xor eax, eax
mov qword [rbp - 0x29], rdi
lea r8, [rbp - 0x29]
mov qword [rbp - 0x21], rax
xor edx, edx
mov qword [rbp - 0x19], rax
call qword [0x1403576d8]
mov r8, qword [rbp - 0x29]
mov ebx, eax
test eax, eax
jne 0x14000748a
movsxd rdx, dword [r8]
test rdx, rdx
jle 0x140007485
dec rdx
lea rcx, [r8 + 8]
shr rdx, 1
inc rdx
movups xmm0, xmmword [rcx]
lea rcx, [rcx + 0x428]
movups xmmword [rbp - 0x21], xmm0
sub rdx, rsi
jne 0x140007470
jmp 0x14000748a
mov ebx, 0x490
test r8, r8
je 0x14000749c
mov rcx, r8
call qword [0x1403576f0]
mov qword [rbp - 0x29], rdi
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [0x140357260], xmm0
test ebx, ebx
je 0x1400074bf
mov rcx, qword [0x140357278]
call qword [0x140357548]
mov qword [0x140357278], rdi
mov rcx, qword [0x14020f650]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov rcx, qword [0x14020f640]
cmp rcx, 0xffffffffffffffff
je 0x1400074fe
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [0x14020f640]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_ResetEvent]
test ebx, ebx
je 0x140007503
mov edi, 0x1f
jmp 0x140007503
mov edi, 0x72
test edi, edi
jne 0x140007542
lock inc dword [0x14020f534]
mov ecx, esi
call fcn.14000b470
mov rsi, qword [rsp + 0xe8]
mov rdi, qword [rsp + 0xf0]
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.140121cc0
mov rbx, qword [rsp + 0xf8]
add rsp, 0xd0
pop rbp
ret
mov eax, edi
jmp 0x140007515
mov eax, edi
jmp 0x14000751d
mov eax, 0x57
jmp 0x140007525