Function at 0x1400119c0
Capabilities:
Check for software breakpoints
Print debug messages

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x420
mov qword [rsp + 0xb0], 0xfffffffffffffffe
mov qword [rsp + 0x470], rbx
mov rax, qword [0x14012ce40]
xor rax, rsp
mov qword [rsp + 0x410], rax
mov rdi, rdx
mov r12, rcx
xor r13d, r13d
mov rax, qword [0x1401370f0]
test rax, rax
jne 0x140011a36
mov ecx, 0x310
call fcn.140084d88
mov qword [rsp + 0x58], rax
test rax, rax
je 0x140011a2c
mov rcx, rax
call fcn.140050830
jmp 0x140011a2f
mov rax, r13
mov qword [0x1401370f0], rax
lea rdx, str.WaitForWifiScanNew__
mov rcx, rax
call fcn.140050c00
lea rcx, [rsp + 0xc0]
call fcn.140006910
nop
mov r8, rdi
lea rdx, [rsp + 0xc0]
mov rcx, r12
call fcn.140008580
test eax, eax
jne 0x140011aa0
mov rcx, qword [rsp + 0xd0]
test rcx, rcx
je 0x140011a86
mov rax, qword [rsp + 0xf8]
test rax, rax
je 0x140011a86
call rax
mov rcx, qword [rsp + 0xc8]
test rcx, rcx
je 0x140011a99
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
xor eax, eax
jmp 0x14001254b
mov dword [rsp + 0x380], r13d
xor edx, edx
mov r8d, MsiSetInternalUI
lea rcx, [rsp + 0x384]
call fcn.1400b57e0
mov qword [rsp + 0x2f8], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x2f0], r13
mov byte [rsp + 0x2e0], 0
mov qword [rsp + 0x370], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x368], r13
mov byte [rsp + 0x358], 0
mov qword [rsp + 0x2d0], 7
mov qword [rsp + 0x2c8], r13
mov word [rsp + 0x2b8], 0
xor r8d, r8d
lea edx, [r8 + 0x23]
lea rcx, [rsp + 0x2b0]
call fcn.1400156c0
lea rcx, [rsp + 0x2b8]
mov rdx, qword [rsp + 0x2d0]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x2b8]
add rdx, rdx
mov r9d, 0x46
lea r8, str._IoMgmt_Adapters_wifi0_WifiNetworks
call fcn.1400b09f0
mov qword [rsp + 0x2c8], 0x23
lea rax, [rsp + 0x2b8]
cmp qword [rsp + 0x2d0], 8
cmovae rax, qword [rsp + 0x2b8]
mov word [rax + 0x46], 0
mov qword [rsp + 0x320], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x318], r13
mov byte [rsp + 0x308], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [r12 + 0xae6]
repne scasw ax, word [rdi]
not rcx
cmp rcx, 1
je 0x140011e11
mov edx, 7
mov qword [rsp + 0x50], rdx
mov r8, r13
mov qword [rsp + 0x48], r13
mov word [rsp + 0x38], ax
or rcx, 0xffffffffffffffff
lea rdi, [r12 + 0xae6]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rbx, rcx
movabs r14, 0x7ffffffffffffffe
cmp rcx, r14
jbe 0x140011c0d
call fcn.1400d8c10
mov rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x48]
cmp rdx, rbx
jae 0x140011c26
mov rdx, rbx
lea rcx, [rsp + 0x30]
call fcn.1400156c0
mov rdx, qword [rsp + 0x50]
jmp 0x140011c44
test rbx, rbx
jne 0x140011c44
mov qword [rsp + 0x48], r13
lea rax, [rsp + 0x38]
cmp rdx, 8
cmovae rax, qword [rsp + 0x38]
mov word [rax], bx
jmp 0x140011c8b
test rbx, rbx
je 0x140011c8b
lea rcx, [rsp + 0x38]
cmp rdx, 8
cmovae rcx, qword [rsp + 0x38]
lea rdi, [rbx + rbx]
add rdx, rdx
mov r9, rdi
lea r8, [r12 + 0xae6]
call fcn.1400b09f0
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 8
cmovae rax, qword [rsp + 0x38]
mov word [rdi + rax], 0
lea r8, [rsp + 0x30]
lea rdx, str._SSID
lea rcx, [rsp + 0x60]
call fcn.140015900
mov rbp, rax
mov rcx, qword [rax + 0x18]
or rsi, 0xffffffffffffffff
cmp rcx, rsi
cmovb rsi, rcx
or rcx, 0xffffffffffffffff
mov rdi, qword [rsp + 0x2c8]
sub rcx, rdi
cmp rcx, rsi
jbe 0x140011cd0
lea rax, [rdi + rsi]
cmp rax, rdi
jae 0x140011cdd
call fcn.1400d8c10
mov rdi, qword [rsp + 0x2c8]
test rsi, rsi
je 0x140011dbd
lea rbx, [rdi + rsi]
cmp rbx, r14
jbe 0x140011cfc
call fcn.1400d8c10
mov rdi, qword [rsp + 0x2c8]
cmp qword [rsp + 0x2d0], rbx
jae 0x140011d23
mov r8, rdi
mov rdx, rbx
lea rcx, [rsp + 0x2b0]
call fcn.1400156c0
mov rdi, qword [rsp + 0x2c8]
jmp 0x140011d4f
test rbx, rbx
jne 0x140011d4f
mov qword [rsp + 0x2c8], r13
lea rax, [rsp + 0x2b8]
cmp qword [rsp + 0x2d0], 8
cmovae rax, qword [rsp + 0x2b8]
mov word [rax], bx
jmp 0x140011dbd
test rbx, rbx
je 0x140011dbd
cmp qword [rbp + 0x20], 8
jb 0x140011d61
mov r8, qword [rbp + 8]
jmp 0x140011d65
lea r8, [rbp + 8]
lea rax, [rsp + 0x2b8]
mov rdx, qword [rsp + 0x2d0]
cmp rdx, 8
cmovae rax, qword [rsp + 0x2b8]
sub rdx, rdi
lea rcx, [rax + rdi*2]
lea r9, [rsi + rsi]
add rdx, rdx
call fcn.1400b09f0
mov qword [rsp + 0x2c8], rbx
lea rax, [rsp + 0x2b8]
cmp qword [rsp + 0x2d0], 8
cmovae rax, qword [rsp + 0x2b8]
mov word [rax + rbx*2], 0
cmp qword [rsp + 0x80], 8
jb 0x140011dd2
mov rcx, qword [rsp + 0x68]
call fcn.140084dcc
mov qword [rsp + 0x80], 7
mov qword [rsp + 0x78], r13
mov word [rsp + 0x68], 0
cmp qword [rsp + 0x50], 8
jb 0x140011dfc
mov rcx, qword [rsp + 0x38]
call fcn.140084dcc
mov qword [rsp + 0x50], 7
mov qword [rsp + 0x48], r13
mov word [rsp + 0x38], 0
mov r15, qword [rsp + 0xd0]
mov r14, qword [rsp + 0xc8]
mov rbp, qword [rsp + 0x140]
nop
nop
lea rsi, [rsp + 0x2b8]
cmp qword [rsp + 0x2d0], 8
cmovae rsi, qword [rsp + 0x2b8]
mov rbx, qword [0x1401370f0]
test rbx, rbx
jne 0x140011f06
mov ecx, 0x310
call fcn.140084d88
mov rbx, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x140011efd
call fcn.140087bd0
xor ecx, ecx
test rax, rax
setne cl
test ecx, ecx
je 0x140012212
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov word [rbx + 0x64], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x1400f5b5c]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x1400f5b5c]
mov rcx, rbx
call fcn.140006070
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x26c]
mov word [rcx], 0
lea r8, [0x1400f6478]
mov edx, 0x50
call fcn.1400b1b70
nop
jmp 0x140011eff
xor ebx, ebx
mov qword [0x1401370f0], rbx
mov r8, rsi
lea rdx, str.get_page___s
mov rcx, rbx
call fcn.140050c00
lea r8, [rsp + 0x2b8]
cmp qword [rsp + 0x2d0], 8
cmovae r8, qword [rsp + 0x2b8]
lea rdx, [rsp + 0x328]
lea rcx, [rsp + 0xc0]
call fcn.140007120
nop
lea rdi, [rsp + 0x330]
cmp qword [rsp + 0x348], 0x10
cmovae rdi, qword [rsp + 0x330]
test r15, r15
je 0x1400121a5
test rbp, rbp
jne 0x140011fd3
test r14, r14
je 0x140011fb4
lea rdx, str.GetPage
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rbp, rax
mov qword [rsp + 0x140], rax
test rax, rax
jne 0x140011fd3
mov dword [rsp + 0xc0], MsiSetInternalUI
lea rcx, str.EWSIntf::get_page:_Function_not_found_in_DLL:_GetPage_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor esi, esi
jmp 0x1400121a7
mov dword [rsp + 0xc0], 6
lea rcx, str.EWSIntf::get_page:_Attempting_to_lookup_GetPage_with_no_DLL_handle_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor esi, esi
jmp 0x1400121a7
xor esi, esi
mov qword [rsp + 0x90], rsi
mov qword [rsp + 0x98], rsi
mov qword [rsp + 0xa0], rsi
mov qword [rsp + 0xa8], 0x800
mov edx, 0x10000
lea rcx, [rsp + 0x90]
call fcn.140006850
mov rbx, qword [rsp + 0x90]
cmp al, 1
jne 0x140012196
mov dword [rsp + 0x58], esi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0xa0]
mov dword [rsp + 0x20], eax
mov r9, rbx
lea r8, [rsp + 0x380]
mov rdx, rdi
mov rcx, r15
call rbp
test eax, eax
je 0x140012196
mov eax, dword [rsp + 0x58]
mov qword [rsp + 0x98], rax
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rbx
repne scasb al, byte [rdi]
not rcx
lea rdi, [rcx - 1]
lea rax, [rsp + 0x2e0]
mov r8, qword [rsp + 0x2e0]
mov r10, qword [rsp + 0x2f8]
cmp r10, 0x10
cmovae rax, r8
cmp rbx, rax
jb 0x1400120e5
lea rdx, [rsp + 0x2e0]
cmp r10, 0x10
cmovae rdx, r8
mov rcx, qword [rsp + 0x2f0]
add rcx, rdx
cmp rcx, rbx
jbe 0x1400120e5
lea rax, [rsp + 0x2e0]
cmp r10, 0x10
cmovae rax, r8
mov r8, rbx
sub r8, rax
mov r9, rdi
lea rdx, [rsp + 0x2d8]
lea rcx, [rsp + 0x2d8]
call fcn.140014b30
jmp 0x140012196
cmp rdi, 0xfffffffffffffffe
jbe 0x1400120f0
call fcn.1400d8c10
cmp qword [rsp + 0x2f8], rdi
jae 0x140012114
mov r8, qword [rsp + 0x2f0]
mov rdx, rdi
lea rcx, [rsp + 0x2d8]
call fcn.140015290
jmp 0x140012140
test rdi, rdi
jne 0x140012140
mov qword [rsp + 0x2f0], rsi
lea rax, [rsp + 0x2e0]
cmp qword [rsp + 0x2f8], 0x10
cmovae rax, qword [rsp + 0x2e0]
mov byte [rax], dil
jmp 0x140012196
test rdi, rdi
je 0x140012196
lea rcx, [rsp + 0x2e0]
mov r10, qword [rsp + 0x2f8]
cmp r10, 0x10
cmovae rcx, qword [rsp + 0x2e0]
mov r9, rdi
mov r8, rbx
mov rdx, r10
call fcn.1400b09f0
mov qword [rsp + 0x2f0], rdi
lea rax, [rsp + 0x2e0]
cmp qword [rsp + 0x2f8], 0x10
cmovae rax, qword [rsp + 0x2e0]
mov byte [rdi + rax], 0
test rbx, rbx
je 0x1400121a7
mov rcx, rbx
call fcn.140084dcc
jmp 0x1400121a7
xor esi, esi
cmp qword [rsp + 0x348], 0x10
jb 0x1400121bf
mov rcx, qword [rsp + 0x330]
call fcn.140084dcc
mov qword [rsp + 0x348], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x340], rsi
mov byte [rsp + 0x330], 0
cmp qword [rsp + 0x2f0], 0
je 0x140012373
mov eax, dword [rsp + 0x384]
cmp eax, 0xca
jne 0x140012224
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
add r13d, 1
cmp r13d, 0xf
jae 0x14001221d
jmp 0x140011e30
mov ecx, 0x80004005
call fcn.140006300
nop
mov eax, dword [rsp + 0x384]
cmp eax, 0xcc
je 0x14001244d
xor edx, edx
mov r8d, 0x1bde
lea rcx, [r12 + 0xce6]
call fcn.1400b57e0
mov dword [r12 + 0xcf0], esi
mov edi, esi
lea rax, [rsp + 0x30]
mov qword [rsp + 0x88], rax
mov esi, 1
xor ebp, ebp
mov qword [rsp + 0x50], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x48], rbp
mov byte [rsp + 0x38], 0
mov r9d, SafeArrayGetDim
lea r8, str.io:WifiNetwork
lea edx, [r9 + 1]
lea rcx, [rsp + 0x38]
call fcn.1400b09f0
mov qword [rsp + 0x48], SafeArrayGetDim
lea rax, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rax, qword [rsp + 0x38]
mov byte [rax + 0xe], 0
mov qword [rsp + 0x80], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x78], rbp
mov byte [rsp + 0x68], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x2d8]
lea rcx, [rsp + 0x60]
call fcn.140014b30
nop
lea rax, [rsp + 0x300]
mov qword [rsp + 0x20], rax
mov r9d, edi
lea r8, [rsp + 0x30]
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.140007380
test eax, eax
je 0x14001235f
mov qword [rsp + 0x80], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x78], rbp
mov byte [rsp + 0x68], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x300]
lea rcx, [rsp + 0x60]
call fcn.140014b30
mov r9d, edi
lea r8, [r12 + 0xce6]
lea rdx, [rsp + 0x60]
mov rcx, r12
call fcn.1400077c0
mov dword [r12 + 0x28c4], esi
add edi, 1
cmp edi, 0x14
jb 0x140012262
mov dword [r12 + 0xcf0], edi
mov edi, 1
xor esi, esi
jmp 0x140012452
mov rbx, qword [0x1401370f0]
test rbx, rbx
jne 0x14001243a
mov ecx, 0x310
call fcn.140084d88
mov rbx, rax
mov qword [rsp + 0x88], rax
test rax, rax
je 0x140012430
call fcn.140087bd0
mov rdx, rax
mov ecx, esi
test rax, rax
setne cl
test ecx, ecx
jne 0x1400123c0
mov ecx, 0x80004005
call fcn.140006300
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbx], rax
mov word [rbx + 0x64], 0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [0x1400f5b5c]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x1400f5b5c]
mov rcx, rbx
call fcn.140006070
lea rcx, [rbx + 8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x30]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
lea rcx, [rbx + 0x26c]
mov word [rcx], 0
lea r8, [0x1400f6478]
mov edx, 0x50
call fcn.1400b1b70
nop
jmp 0x140012433
mov rbx, rsi
mov qword [0x1401370f0], rbx
lea rdx, str.get_path_returned_nothing
mov rcx, rbx
call fcn.140050c00
mov edi, esi
jmp 0x140012452
mov edi, 1
cmp qword [rsp + 0x320], 0x10
jb 0x14001246a
mov rcx, qword [rsp + 0x308]
call fcn.140084dcc
mov qword [rsp + 0x320], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x318], rsi
mov byte [rsp + 0x308], 0
cmp qword [rsp + 0x2d0], 8
jb 0x14001249e
mov rcx, qword [rsp + 0x2b8]
call fcn.140084dcc
mov qword [rsp + 0x2d0], 7
mov qword [rsp + 0x2c8], rsi
mov word [rsp + 0x2b8], 0
cmp qword [rsp + 0x370], 0x10
jb 0x1400124d4
mov rcx, qword [rsp + 0x358]
call fcn.140084dcc
mov qword [rsp + 0x370], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x368], rsi
mov byte [rsp + 0x358], 0
cmp qword [rsp + 0x2f8], 0x10
jb 0x140012508
mov rcx, qword [rsp + 0x2e0]
call fcn.140084dcc
mov qword [rsp + 0x2f8], reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x2f0], rsi
mov byte [rsp + 0x2e0], 0
test r15, r15
je 0x14001253b
mov rdx, qword [rsp + 0xf8]
test rdx, rdx
je 0x14001253b
mov rcx, r15
call rdx
test r14, r14
je 0x140012549
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, edi
mov rcx, qword [rsp + 0x410]
xor rcx, rsp
call fcn.1400b09d0
mov rbx, qword [rsp + 0x470]
add rsp, 0x420
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret