Function at 0x44a200
Capabilities:
Check for foreground window switch
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x234
xor ecx, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], ecx
xor edx, edx
mov dword [esp + 0x1c], ecx
xor eax, eax
mov dword [esp + 0x50], edx
mov dword [esp + 0x64], ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x68], ecx
push ebx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x70], ecx
push esi
mov dword [esp + 0x64], edx
mov dword [esp + 0x78], ecx
xor ebx, ebx
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x6c], edx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], ebx
lea ebx, [ebx]
cmp dword [ebx + 0x4958b8], eax
je 0x44a601
mov edi, dword [ebp + 8]
lea esi, [ebx + 0x4958bc]
mov ecx, 3
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x44a594
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.0040aab0
mov al, byte [ebp + 0xc]
add esp, 0x10
test al, 8
mov dword [esp + 0x34], 1
je 0x44a309
call fcn.0044f290
mov esi, dword [ebx + 0x4958d0]
mov ecx, dword [ebx + 0x4958d4]
add esi, 0x7d0
adc ecx, 0
cmp edx, ecx
ja 0x44a309
jb 0x44a2f2
cmp eax, esi
jae 0x44a309
push 0x1f4
mov ecx, 0x491950
call fcn.00415670
mov dword [esp + 0x40], 1
lea eax, [esp + 0x18]
push eax
push edi
call fcn.004499e0
mov al, byte [ebp + 0xc]
add esp, 8
test al, 4
je 0x44a351
call fcn.0044f290
mov ecx, 0x491950
mov dword [ebx + 0x4958d0], eax
mov dword [ebx + 0x4958d4], edx
call fcn.00415a30
push edi
call fcn.00452750
push str.Got_Adapter_Arrival__do_not_do_Lasso_operation_yet
call fcn.0040aab0
add esp, 4
jmp 0x44a601
mov esi, dword [ebx + 0x4958c8]
push esi
push str.LASSO__PnPUpdateAdapter:_old_NumOfMonitorsConnected___d
call fcn.0040aab0
push 0
lea ecx, [esp + 0x24]
push ecx
push edi
call fcn.00449ee0
push eax
push str.LASSO__PnPUpdateAdapter:_new_NumOfMonitorsConnected___d
mov dword [ebx + 0x4958c8], eax
call fcn.0040aab0
mov ecx, dword [ebx + 0x4958c8]
add esp, 0x1c
xor edi, edi
cmp esi, ecx
je 0x44a558
xor eax, eax
mov edx, dword [esp + eax*8 + 0x1c]
test edx, edx
jne 0x44a3a5
inc eax
cmp eax, 2
jb 0x44a395
jmp 0x44a3aa
mov edi, 1
test ecx, ecx
jne 0x44a4b0
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.0040aab0
add esp, 0x10
test edi, edi
je 0x44a558
xor ebx, ebx
mov esi, 0x4958bc
xor edi, edi
mov edi, edi
cmp ebx, dword [esp + 0x30]
je 0x44a427
mov eax, dword [esi - 4]
test eax, eax
je 0x44a427
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.0040aab0
lea eax, [esp + 0x94]
push eax
push esi
call fcn.004499e0
push 0
lea ecx, [esp + 0xa0]
push ecx
push esi
call fcn.00449ee0
add esp, 0x24
test eax, eax
jne 0x44a450
add edi, 0x128
inc ebx
add esi, 0x128
cmp edi, 0x5c8
jb 0x44a3e0
push str.Lasso:_UpdateAdapter__look_for_other_adapters__Other_adapter_has_nothing_connected
call fcn.0040aab0
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x14], 1
xor esi, esi
lea ebx, [ebx]
mov eax, dword [esp + esi*8 + 0x1c]
test eax, eax
je 0x44a489
mov edx, dword [esp + 0x28]
cmp dword [esp + esi*8 + 0x18], edx
je 0x44a489
push str.Remove_ext_desltop
call fcn.0040aab0
mov eax, dword [esp + esi*8 + 0x1c]
add esp, 4
push eax
call fcn.00454390
inc esi
cmp esi, 2
jb 0x44a460
cmp dword [esp + 0x28], 0xffffffff
je 0x44a558
mov ebx, dword [esp + 0x2c]
mov eax, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], eax
jmp 0x44a601
test esi, esi
jne 0x44a558
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.00449a70
add esp, 8
cmp eax, 2
jne 0x44a558
test edi, edi
jne 0x44a57b
xor ebx, ebx
lea esp, [esp]
cmp dword [esp + ebx*8 + 0x18], 0xffffffff
je 0x44a552
call fcn.004289f0
test eax, eax
je 0x44a506
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xfa
call esi
call fcn.004289f0
test eax, eax
jne 0x44a4f6
mov eax, dword [esp + ebx*8 + 0x18]
push eax
call fcn.00454320
test eax, eax
je 0x44a552
mov edx, dword [esp + ebx*8 + 0x18]
xor eax, eax
mov ecx, 0x6a
lea edi, [esp + 0x98]
rep stosd dword es:[edi], eax
push eax
lea ecx, [esp + 0x9c]
push ecx
push edx
push eax
mov dword [esp + 0xa8], 0x1a8
call dword [sym.imp.USER32.dll_EnumDisplayDevicesA]
test eax, eax
je 0x44a552
test byte [esp + 0x13c], 1
jne 0x44a56d
inc ebx
cmp ebx, 2
jb 0x44a4e0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44a74b
mov ebx, dword [esp + 0x2c]
jmp 0x44a601
push 0x14
mov ecx, 0x491a60
call fcn.004322d0
jmp 0x44a558
mov eax, dword [esp + 0x40]
test eax, eax
je 0x44a558
cmp dword [esp + 0x28], 0xffffffff
je 0x44a558
mov dword [esp + 0x10], 1
jmp 0x44a601
lea eax, [esp + 0x48]
push eax
lea esi, [ebx + 0x4958bc]
push esi
call fcn.004499e0
push 0
lea ecx, [esp + 0x54]
push ecx
push esi
call fcn.00449ee0
add esp, 0x14
test eax, eax
je 0x44a601
xor eax, eax
jmp 0x44a5c0
mov ecx, dword [esp + eax*8 + 0x4c]
test ecx, ecx
jne 0x44a623
inc eax
cmp eax, 2
jb 0x44a5c0
mov ecx, dword [esp + 0x48]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x70], ecx
mov ecx, dword [esp + 0x54]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x58]
mov dword [esp + 0x44], 1
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov edx, dword [esp + 0x30]
add ebx, 0x128
inc edx
cmp ebx, 0x5c8
mov dword [esp + 0x30], edx
mov dword [esp + 0x2c], ebx
jae 0x44a655
xor eax, eax
jmp 0x44a280
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x54]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x64], ecx
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
jmp 0x44a601
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44a74b
mov eax, dword [esp + 0x34]
test eax, eax
je 0x44a74b
push str.bNeedsToSwitchPrimaryAndRemove
call fcn.0040aab0
add esp, 4
call fcn.004289f0
test eax, eax
je 0x44a6a0
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
push 0xfa
call esi
call fcn.004289f0
test eax, eax
jne 0x44a690
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x44a6ec
xor esi, esi
lea ebx, [ebx]
mov eax, dword [esp + esi*8 + 0x60]
test eax, eax
je 0x44a6e4
mov eax, dword [esp + 0x28]
push eax
mov ecx, 0x491a60
call fcn.004301a0
mov ecx, dword [esp + esi*8 + 0x5c]
push eax
push ecx
mov ecx, 0x491a60
call fcn.004301a0
push eax
call fcn.00449830
add esp, 8
test eax, eax
jne 0x44a739
inc esi
cmp esi, 2
jb 0x44a6b0
jmp 0x44a74b
mov eax, dword [esp + 0x44]
test eax, eax
je 0x44a74b
xor edi, edi
mov esi, dword [esp + edi*8 + 0x70]
cmp esi, 0xffffffff
je 0x44a731
push esi
call fcn.00454320
test eax, eax
je 0x44a731
mov edx, dword [esp + 0x28]
push edx
mov ecx, 0x491a60
call fcn.004301a0
push eax
push esi
mov ecx, 0x491a60
call fcn.004301a0
push eax
call fcn.00449830
add esp, 8
test eax, eax
jne 0x44a739
inc edi
cmp edi, 2
jb 0x44a6f6
jmp 0x44a74b
mov eax, dword [esp + 0x38]
test eax, eax
je 0x44a74b
mov eax, dword [esp + 0x28]
push eax
call fcn.00454390
mov eax, dword [esp + 0x14]
test eax, eax
je 0x44a77f
push 0x14
mov ecx, 0x491a60
call fcn.004322d0
mov esi, dword [ebp + 8]
push esi
push 0
lea ecx, [esp + 0x8c]
push ecx
push 0x10
call fcn.0040aac0
push eax
call fcn.0044cd30
add esp, 0x14
jmp 0x44a782
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x44a7ea
mov eax, dword [ebp + 0xc]
test eax, eax
jns 0x44a7ea
lea edx, [esp + 0x18]
push edx
push esi
call fcn.00449a70
add esp, 8
cmp eax, 2
jne 0x44a7ea
test esi, esi
je 0x44a7ea
push esi
call fcn.00449790
add esp, 4
test eax, eax
jne 0x44a7ea
push str.LASSO_UPDATE_NOTIFY_CCC.
call fcn.0040aab0
mov eax, dword [0x4929e0]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0x449d20
mov dword [esp + 0x2c], 0
call fcn.00423cb0
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret