Function at 0x518c00
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a35b5
mov eax, dword fs:[0]
push eax
sub esp, 0x54
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 esi, ecx
lea ecx, [ebp - 0x40]
call fcn.005734f0
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
xor edi, edi
mov eax, dword [esi + 0x188]
sub eax, edi
je 0x518f73
sub eax, 1
je 0x518d65
sub eax, 1
jne 0x5192a2
push eax
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push dword [esi + 0x88]
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push dword [esi + 0x8c]
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push dword [esi + 0xdc]
call dword [sym.imp.USER32.dll_EnableWindow]
push 5
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push dword [esi + 0x7c]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push dword [esi + 0xdc]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
push edi
push 0xf1
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push edi
push 0xf1
push dword [esi + 0xe4]
call dword [sym.imp.USER32.dll_SendMessageW]
push edi
push 1
push 0xf1
push dword [esi + 0xe8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x66fec0
lea ecx, [ebp - 0x40]
call fcn.00443fb0
push eax
push dword [esi + 0x5c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x672458
lea ecx, [ebp - 0x40]
call fcn.00443fb0
push eax
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x670070
lea ecx, [ebp - 0x40]
call fcn.00443fb0
push eax
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_SetWindowTextW]
jmp 0x5192a2
push 0
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0x7c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0xdc]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x6738b0
lea ecx, [ebp - 0x40]
call fcn.00443fb0
mov edx, eax
lea ebx, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x518da6
sub edx, ebx
lea ecx, [ebp - 0x28]
sar edx, 1
push edx
push eax
call fcn.004459d0
push 1
push 0x5dbde8
lea ecx, [ebp - 0x28]
call fcn.00447e80
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [esi + 0x5c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x6700d0
lea ecx, [ebp - 0x40]
call fcn.00443fb0
mov edx, eax
lea ebx, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x518df5
sub edx, ebx
lea ecx, [ebp - 0x28]
sar edx, 1
push edx
push eax
call fcn.004459d0
push 1
push 0x5dbde8
lea ecx, [ebp - 0x28]
call fcn.00447e80
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x6722f0
lea ecx, [ebp - 0x40]
call fcn.00443fb0
push eax
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 0
push 0xf1
push dword [esi + 0xe4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf1
push dword [esi + 0xe8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0xf1
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_SendMessageW]
push 1
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [esi + 0x5c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [esi + 0x8c]
call dword [sym.imp.USER32.dll_EnableWindow]
mov ecx, esi
call fcn.00515ec0
push dword [esi + 0x188]
mov ecx, esi
call fcn.00518400
mov eax, dword [esi + 0x164]
test eax, eax
je 0x518edb
mov edi, dword [eax + 0x4c]
cmp byte [esi + 0x190], 0
je 0x518f00
test edi, 0xd331
je 0x518f00
push 1
push dword [esi + 0x88]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 1
jmp 0x518f12
push 0
push dword [esi + 0x88]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0
push 0xf1
push dword [esi + 0x88]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [esi + 0x192], 0
je 0x518f3f
push 1
push dword [esi + 0xdc]
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x5192a2
push 0x670a48
lea ecx, [ebp - 0x40]
call fcn.00443fb0
push eax
push 0
push 0x14d
push dword [esi + 0xdc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esi + 0xdc]
call dword [sym.imp.USER32.dll_EnableWindow]
jmp 0x5192a2
push 0
push dword [esi + 0x38]
call dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esi + 0x7c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0xdc]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [esi + 0x3c]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x6738b0
lea ecx, [ebp - 0x40]
call fcn.00443fb0
mov edx, eax
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x518fb4
sub edx, edi
lea ecx, [ebp - 0x28]
sar edx, 1
push edx
push eax
call fcn.004459d0
push 1
push 0x5dbde8
lea ecx, [ebp - 0x28]
call fcn.00447e80
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [esi + 0x5c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x6700d0
lea ecx, [ebp - 0x40]
call fcn.00443fb0
mov edx, eax
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x519003
sub edx, edi
lea ecx, [ebp - 0x28]
sar edx, 1
push edx
push eax
call fcn.004459d0
push 1
push 0x5dbde8
lea ecx, [ebp - 0x28]
call fcn.00447e80
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [esi + 0x58]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x6722f0
lea ecx, [ebp - 0x40]
call fcn.00443fb0
push eax
push dword [esi + 0x48]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0
push 0
push 0xf1
push dword [esi + 0xe0]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf1
push dword [esi + 0xe8]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 1
push 0xf1
push dword [esi + 0xe4]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push 0
push 0xf1
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esi + 0x84]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0
push 0xf1
push dword [esi + 0x88]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esi + 0x88]
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [esi + 0x8c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x670a48
lea ecx, [ebp - 0x40]
call fcn.00443fb0
push eax
push 0
push 0x14d
push dword [esi + 0xdc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 0
push dword [esi + 0xdc]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x30]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esi + 0x5c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 0
push 0
push 0x14b
push dword [esi + 0x7c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 0x160]
cmp byte [ecx + 0xa8], 0
je 0x5191a1
mov eax, dword [ecx + 0x180]
mov ebx, eax
mov dword [ebp - 0x5c], eax
test al, 1
je 0x5191a3
call fcn.00532ef0
test al, al
jne 0x5191a3
mov ecx, dword [esi + 0x160]
lea eax, [ebp - 0x58]
push 0
push eax
call fcn.00532e50
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.00443fb0
push eax
push 0
push 0x143
push dword [esi + 0x7c]
call dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [ebp - 0x58]
call fcn.00444fa0
jmp 0x5191a3
xor ebx, ebx
mov dword [ebp - 0x60], vtable.CInstanceSmartPtr_class_CMainFrame_.0
call fcn.00546620
mov dword [ebp - 0x5c], eax
mov byte [ebp - 4], 3
test eax, eax
jne 0x5191e4
push eax
push eax
push 0xfe00000a
push str.CInstanceSmartPtr_CMainFrame_
push 0x45
push 0x2cf
push str.C:drone_srcGUIWindowsConfigNetwork.cpp
push str.CConfigNetwork::OnMediaChange
call fcn.00573980
add esp, 0x20
jmp 0x5192b4
mov ecx, eax
call fcn.00545f50
test al, al
jne 0x519284
mov edx, dword [esi + 0x160]
mov edi, 1
mov eax, dword [edx + 0x1c0]
sub eax, dword [edx + 0x1bc]
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp eax, edi
jbe 0x519284
mov eax, ebx
mov ecx, edi
sar eax, cl
test al, 1
je 0x51926a
push edi
lea eax, [ebp - 0x58]
mov ecx, edx
push eax
call fcn.00532e50
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call fcn.00443fb0
push eax
push 0
push 0x143
push dword [esi + 0x7c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x44]
cmp eax, 0x10
jb 0x519264
inc eax
push eax
push dword [ebp - 0x58]
call fcn.00446620
add esp, 8
mov edx, dword [esi + 0x160]
mov eax, dword [edx + 0x1c0]
inc edi
sub eax, dword [edx + 0x1bc]
sar eax, 3
imul eax, eax, 0xaaaaaaab
cmp edi, eax
jb 0x519217
push 0
push 0
push 0x14e
push dword [esi + 0x7c]
call dword [sym.imp.USER32.dll_SendMessageW]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x5c]
call fcn.005465d0
push 5
push 3
mov ecx, esi
call fcn.00518130
mov ecx, esi
call fcn.00518510
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x5192cf
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x28]
call fcn.00446620
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
call fcn.005734b0
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