Function at 0x44b0b0
Capabilities:
Check for foreground window switch

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
xor edx, edx
mov dword [ebp - 0xc], ecx
xor eax, eax
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x5c], edx
mov dword [ebp - 0x70], ecx
push ebx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x6c], ecx
push esi
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x68], ecx
xor ebx, ebx
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ebx
lea esp, [esp]
cmp dword [ebx + 0x4aad10], eax
je 0x44b463
mov edi, dword [ebp + 8]
lea esi, [ebx + 0x4aad14]
mov ecx, 3
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x44b40b
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
push eax
push ecx
push edx
push str.LASSO__PnPUpdateAdapter:_get_target_bus__d__dev__d__fun__d_
call fcn.0040acd0
mov al, byte [ebp + 0xc]
add esp, 0x10
test al, 8
mov dword [ebp - 0x28], 1
je 0x44b197
call fcn.00450150
mov esi, dword [ebx + 0x4aad28]
mov ecx, dword [ebx + 0x4aad2c]
add esi, 0x7d0
adc ecx, 0
cmp edx, ecx
ja 0x44b197
jb 0x44b181
cmp eax, esi
jae 0x44b197
push 0x1f4
mov ecx, 0x4a8698
call fcn.00415d70
mov dword [ebp - 0x34], 1
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.0044a8a0
mov al, byte [ebp + 0xc]
add esp, 8
test al, 4
je 0x44b1de
call fcn.00450150
mov ecx, 0x4a8698
mov dword [ebx + 0x4aad28], eax
mov dword [ebx + 0x4aad2c], edx
call fcn.00416130
push edi
call fcn.00453080
push str.Got_Adapter_Arrival__do_not_do_Lasso_operation_yet
call fcn.0040acd0
add esp, 4
jmp 0x44b463
mov esi, dword [ebx + 0x4aad20]
push esi
push str.LASSO__PnPUpdateAdapter:_old_NumOfMonitorsConnected___d
call fcn.0040acd0
push 0
lea ecx, [ebp - 0x1c]
push ecx
push edi
call fcn.0044adb0
push eax
push str.LASSO__PnPUpdateAdapter:_new_NumOfMonitorsConnected___d
mov dword [ebx + 0x4aad20], eax
call fcn.0040acd0
mov ecx, dword [ebx + 0x4aad20]
add esp, 0x1c
xor edi, edi
cmp esi, ecx
je 0x44b3d4
xor eax, eax
mov edx, dword [ebp + eax*8 - 0x18]
test edx, edx
jne 0x44b231
inc eax
cmp eax, 2
jb 0x44b221
jmp 0x44b236
mov edi, 1
test ecx, ecx
jne 0x44b331
mov eax, dword [ebp + 8]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
push edx
mov edx, dword [eax]
push ecx
push edx
push str.Nothing_connected_on_adapter_bus__d__dev__d__fun__d_
call fcn.0040acd0
add esp, 0x10
test edi, edi
je 0x44b3d4
xor ebx, ebx
mov esi, 0x4aad14
xor edi, edi
lea ebx, [ebx]
cmp ebx, dword [ebp - 0x24]
je 0x44b2b4
mov eax, dword [esi - 4]
test eax, eax
je 0x44b2b4
mov eax, dword [esi + 8]
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push eax
push ecx
push edx
push str.Lasso:_UpdateAdapter__look_for_other_adapters_device_connection_bus__d__dev__d__fun__d_
call fcn.0040acd0
lea eax, [ebp - 0x88]
push eax
push esi
call fcn.0044a8a0
push 0
lea ecx, [ebp - 0x88]
push ecx
push esi
call fcn.0044adb0
add esp, 0x24
test eax, eax
jne 0x44b2dd
add edi, 0x128
inc ebx
add esi, 0x128
cmp edi, 0x5c8
jb 0x44b270
push str.Lasso:_UpdateAdapter__look_for_other_adapters__Other_adapter_has_nothing_connected
call fcn.0040acd0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 8], 1
xor esi, esi
mov eax, dword [ebp + esi*8 - 0x18]
test eax, eax
je 0x44b30e
mov edx, dword [ebp - 0xc]
cmp dword [ebp + esi*8 - 0x1c], edx
je 0x44b30e
push str.Remove_ext_desltop
call fcn.0040acd0
mov eax, dword [ebp + esi*8 - 0x1c]
add esp, 4
push eax
call fcn.00455ab0
inc esi
cmp esi, 2
jb 0x44b2e6
cmp dword [ebp - 0xc], 0xffffffff
je 0x44b3d4
mov ebx, dword [ebp - 0x20]
mov eax, 1
mov dword [ebp - 4], eax
mov dword [ebp - 0x2c], eax
jmp 0x44b463
test esi, esi
jne 0x44b3d4
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0x1c]
push ecx
push edx
call fcn.0044a930
add esp, 8
cmp eax, 2
jne 0x44b3d4
test edi, edi
jne 0x44b3f5
xor ebx, ebx
lea esp, [esp]
cmp dword [ebp + ebx*8 - 0x1c], 0xffffffff
je 0x44b3ce
call fcn.004285b0
test eax, eax
je 0x44b386
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xfa
call esi
call fcn.004285b0
test eax, eax
jne 0x44b376
mov eax, dword [ebp + ebx*8 - 0x1c]
push eax
call fcn.00455a40
test eax, eax
je 0x44b3ce
mov edx, dword [ebp + ebx*8 - 0x1c]
xor eax, eax
mov ecx, 0x6a
lea edi, [ebp - 0x230]
rep stosd dword es:[edi], eax
push eax
lea ecx, [ebp - 0x230]
push ecx
push edx
push eax
mov dword [ebp - 0x230], 0x1a8
call dword [sym.imp.USER32.dll_EnumDisplayDevicesA]
test eax, eax
je 0x44b3ce
test byte [ebp - 0x18c], 1
jne 0x44b3e7
inc ebx
cmp ebx, 2
jb 0x44b360
mov eax, dword [ebp - 4]
test eax, eax
je 0x44b596
mov ebx, dword [ebp - 0x20]
jmp 0x44b463
push 0x14
mov ecx, 0x49c088
call fcn.00432560
jmp 0x44b3d4
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x44b3d4
cmp dword [ebp - 0xc], 0xffffffff
je 0x44b3d4
mov dword [ebp - 4], 1
jmp 0x44b463
lea eax, [ebp - 0x4c]
push eax
lea esi, [ebx + 0x4aad14]
push esi
call fcn.0044a8a0
push 0
lea ecx, [ebp - 0x4c]
push ecx
push esi
call fcn.0044adb0
add esp, 0x14
test eax, eax
je 0x44b463
xor eax, eax
mov ecx, dword [ebp + eax*8 - 0x48]
test ecx, ecx
jne 0x44b482
inc eax
cmp eax, 2
jb 0x44b430
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x70], edx
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x38], 1
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x64], edx
mov edx, dword [ebp - 0x24]
add ebx, 0x128
inc edx
cmp ebx, 0x5c8
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ebx
jae 0x44b4a9
xor eax, eax
jmp 0x44b110
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x60], edx
mov edx, dword [ebp - 0x40]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x58], ecx
mov dword [ebp - 0x54], edx
mov dword [ebp - 0x50], eax
jmp 0x44b463
mov eax, dword [ebp - 4]
test eax, eax
je 0x44b596
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x44b596
push str.bNeedsToSwitchPrimaryAndRemove
call fcn.0040acd0
add esp, 4
call fcn.004285b0
test eax, eax
je 0x44b4f0
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x44b4e0
push 0xfa
call esi
call fcn.004285b0
test eax, eax
jne 0x44b4e0
mov eax, dword [ebp - 0x30]
test eax, eax
je 0x44b53b
xor esi, esi
lea esp, [esp]
mov eax, dword [ebp + esi*8 - 0x5c]
test eax, eax
je 0x44b533
mov eax, dword [ebp - 0xc]
push eax
mov ecx, 0x49c088
call fcn.00430410
mov ecx, dword [ebp + esi*8 - 0x60]
push eax
push ecx
mov ecx, 0x49c088
call fcn.00430410
push eax
call fcn.0044a6f0
add esp, 8
test eax, eax
jne 0x44b586
inc esi
cmp esi, 2
jb 0x44b500
jmp 0x44b596
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x44b596
xor edi, edi
mov esi, dword [ebp + edi*8 - 0x74]
cmp esi, 0xffffffff
je 0x44b57e
push esi
call fcn.00455a40
test eax, eax
je 0x44b57e
mov edx, dword [ebp - 0xc]
push edx
mov ecx, 0x49c088
call fcn.00430410
push eax
push esi
mov ecx, 0x49c088
call fcn.00430410
push eax
call fcn.0044a6f0
add esp, 8
test eax, eax
jne 0x44b586
inc edi
cmp edi, 2
jb 0x44b544
jmp 0x44b596
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x44b596
mov eax, dword [ebp - 0xc]
push eax
call fcn.00455ab0
mov eax, dword [ebp - 8]
test eax, eax
je 0x44b5c8
push 0x14
mov ecx, 0x49c088
call fcn.00432560
mov esi, dword [ebp + 8]
push esi
push 0
lea ecx, [ebp - 0x88]
push ecx
push 0x10
call fcn.0040ace0
push eax
call fcn.0044dac0
add esp, 0x14
jmp 0x44b5cb
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x44b62f
mov eax, dword [ebp + 0xc]
test eax, eax
jns 0x44b62f
lea edx, [ebp - 0x1c]
push edx
push esi
call fcn.0044a930
add esp, 8
cmp eax, 2
jne 0x44b62f
test esi, esi
je 0x44b62f
push esi
call fcn.0044a630
add esp, 4
test eax, eax
jne 0x44b62f
push str.LASSO_UPDATE_NOTIFY_CCC.
call fcn.0040acd0
mov eax, dword [0x4a7fd0]
push eax
lea ecx, [ebp - 8]
push ecx
push 0
push 0
push 0x44abe0
mov dword [ebp - 8], 0
call fcn.00423be0
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret