Function at 0x518510
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a355e
mov eax, dword fs:[0]
push eax
sub esp, 0xd4
mov eax, dword [0x6340c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0
push 0
push 0x147
push dword [ebx + 0x7c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov edx, dword [0x634ba0]
mov dword [ebp - 0xe0], edx
lea ecx, [ebp - 0xe0]
mov dword [ebp - 4], 0
push ecx
push eax
lea ecx, [ebx + 0x7c]
call fcn.0044ea10
mov eax, dword [ebx + 0x188]
mov ecx, 0xffffffff
mov esi, dword [ebp - 0xe0]
mov byte [ebp - 0xcd], 0
sub eax, 0
je 0x518a81
sub eax, 1
je 0x5185c1
sub eax, 1
jne 0x5186e3
push 5
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
jmp 0x518695
mov edi, dword [0x634ba0]
push 0x5d9130
mov dword [ebp - 0xd4], edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0xd8], eax
test eax, eax
je 0x51863b
push eax
lea ecx, [ebp - 0xd4]
call fcn.00443b60
mov edi, dword [ebp - 0xd4]
test eax, eax
je 0x51863b
mov eax, dword [ebp - 0xd8]
add eax, 1
jne 0x518607
test edi, edi
jne 0x518629
push eax
push edi
push 0xffffffffffffffff
push 0x5d9130
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test edi, edi
je 0x518629
test eax, eax
jle 0x518629
xor ecx, ecx
mov word [edi + eax*2 - 2], cx
push ecx
lea ecx, [ebp - 0xd4]
call fcn.00443a40
mov edi, dword [ebp - 0xd4]
push edi
push esi
call fcn.004d10a6
add esp, 8
test eax, eax
lea eax, [edi - 0xc]
sete byte [ebp - 0xd9]
cmp eax, 0x634ba4
je 0x518670
add edi, 0xfffffff4
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x518670
push edi
call fcn.004c59d6
add esp, 4
cmp byte [ebp - 0xd9], 0
je 0x51871e
push 0
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x4c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x50]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x70]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x74]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x78]
call dword [sym.imp.USER32.dll_ShowWindow]
or ecx, 0xffffffff
lea eax, [esi - 0xc]
cmp eax, 0x634ba4
je 0x518702
add esi, 0xfffffff4
lock xadd dword [esi], ecx
dec ecx
test ecx, ecx
jg 0x518702
push esi
call fcn.004c59d6
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004c59c5
mov esp, ebp
pop ebp
ret
cmp dword [esi - 0xc], 0
lea eax, [esi - 0xc]
push str.Enterprise
push ecx
mov ecx, esp
jl 0x518736
mov dword [ecx], esi
lock inc dword [eax]
jmp 0x518743
mov eax, dword [0x634ba0]
push esi
mov dword [ecx], eax
call fcn.004435e0
call fcn.005155a0
push eax
call fcn.004c8d90
add esp, 8
test eax, eax
jne 0x5189a4
push str.open1xDynamicWep
push ecx
lea eax, [ebp - 0xe0]
mov ecx, esp
push eax
call fcn.0044e290
call fcn.005155a0
push eax
call fcn.004d88a0
add esp, 8
test eax, eax
je 0x5189a4
push str.openNoEncryption
push ecx
lea eax, [ebp - 0xe0]
mov ecx, esp
push eax
call fcn.0044e290
call fcn.005155a0
push eax
call fcn.004d88a0
add esp, 8
test eax, eax
je 0x518864
push str.wpa3Open
push ecx
lea eax, [ebp - 0xe0]
mov ecx, esp
push eax
call fcn.0044e290
call fcn.005155a0
push eax
call fcn.004d88a0
add esp, 8
test eax, eax
je 0x518864
cmp dword [ebx + 0x168], 2
jne 0x5187f5
push 0x5e433c
mov byte [ebx + 0x185], 0
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 5
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebx + 0x4c]
call dword [sym.imp.USER32.dll_ShowWindow]
push str.Personal
push ecx
lea eax, [ebp - 0xe0]
mov ecx, esp
push eax
call fcn.0044e290
call fcn.005155a0
push eax
call fcn.004c8d90
add esp, 8
test eax, eax
jne 0x518885
push str.sharedStaticWep
push ecx
lea eax, [ebp - 0xe0]
mov ecx, esp
push eax
call fcn.0044e290
call fcn.005155a0
push eax
call fcn.004d88a0
add esp, 8
test eax, eax
jne 0x51888c
jmp 0x518885
push 0
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x4c]
call dword [sym.imp.USER32.dll_ShowWindow]
mov byte [ebp - 0xcd], 1
push 0
push dword [ebx + 0x50]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x70]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x74]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x78]
call dword [sym.imp.USER32.dll_ShowWindow]
cmp byte [ebx + 0x190], 0
je 0x518a59
cmp byte [ebp - 0xcd], 0
je 0x518a59
push 1
push dword [ebx + 0x88]
call dword [sym.imp.USER32.dll_EnableWindow]
cmp dword [ebx + 0x168], 2
mov al, byte [ebx + 0x191]
mov byte [ebp - 0xcd], al
jne 0x51896d
lea ecx, [ebp - 0xcc]
call fcn.00474e10
mov eax, ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebx + 0x160]
push eax
lea eax, [ebx + 0x16c]
push eax
call fcn.00532fe0
test eax, eax
jne 0x51893f
cmp byte [ebp - 0x4f], al
setne byte [ebp - 0xcd]
jmp 0x518962
push 0
push 0
push eax
push str.GetSavedNetwork
push 0x45
push 0x3cc
push str.C:drone_srcGUIWindowsConfigNetwork.cpp
push str.CConfigNetwork::OnSecurityChange
call fcn.00573980
add esp, 0x20
lea ecx, [ebp - 0xcc]
call fcn.00474e70
cmp byte [ebp - 0xcd], 0
mov eax, dword [ebx + 0x88]
push 0
je 0x518991
push 1
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x5186e0
push 0
push 0xf1
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x5186e0
push 0
push dword [ebx + 0x34]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x4c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebx + 0x50]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x70]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebx + 0x74]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebx + 0x78]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x146
push dword [ebx + 0x74]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x518a59
lea ecx, [ebp - 0x28]
call fcn.005734f0
mov byte [ebp - 4], 3
mov eax, dword [ebx]
push 5
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [0x5c3794]
mov ecx, ebx
call edi
push 0x670ce8
lea ecx, [ebp - 0x28]
call fcn.00443fb0
push eax
mov ecx, ebx
call fcn.00515090
lea ecx, [ebp - 0x28]
call fcn.005734b0
push 0
push dword [ebx + 0x88]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0
push 0xf1
push dword [ebx + 0x88]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x5186e0
cmp dword [esi - 0xc], 0
lea eax, [esi - 0xc]
push ecx
mov ecx, esp
jl 0x518a94
mov dword [ecx], esi
lock inc dword [eax]
jmp 0x518aa1
mov eax, dword [0x634ba0]
push esi
mov dword [ecx], eax
call fcn.004435e0
call fcn.005153f0
mov edi, eax
push str.openNoEncryption
push edi
mov dword [ebp - 0xd8], edi
call fcn.004d88a0
mov ecx, dword [ebx + 0x34]
add esp, 8
push 0
push ecx
test eax, eax
je 0x518682
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x48]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x4c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebx + 0x50]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebx + 0x74]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [ebx + 0x78]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push 0
push 0x146
push dword [ebx + 0x74]
call dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x518b5f
lea ecx, [ebp - 0x28]
call fcn.005734f0
mov byte [ebp - 4], 1
mov eax, dword [ebx]
push 5
mov edi, dword [eax + 0x10]
mov ecx, edi
call dword [0x5c3794]
mov ecx, ebx
call edi
push 0x670ce8
lea ecx, [ebp - 0x28]
call fcn.00443fb0
push eax
mov ecx, ebx
call fcn.00515090
lea ecx, [ebp - 0x28]
call fcn.005734b0
mov edi, dword [ebp - 0xd8]
mov eax, dword [ebx + 0x160]
cmp byte [eax + 0xa8], 0
je 0x518b7c
mov eax, dword [eax + 0x188]
mov dword [ebp - 0xd4], eax
jmp 0x518b86
mov dword [ebp - 0xd4], 0
push str.dot1xMacSec
push edi
call fcn.004d88a0
add esp, 8
test eax, eax
jne 0x518be0
cmp dword [ebp - 0xd4], eax
je 0x518be0
push 5
push dword [ebx + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
test byte [ebp - 0xd4], 1
mov eax, dword [ebx + 0x6c]
je 0x518bbb
push 5
jmp 0x518bbd
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
test byte [ebp - 0xd4], 2
mov eax, dword [ebx + 0x70]
je 0x518bd8
push 5
push eax
jmp 0x5186da
push 0
push eax
jmp 0x5186da
push 0
push dword [ebx + 0x54]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebx + 0x70]
jmp 0x5186da