Function at 0x44a4a0
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 + 0x4a1868], eax
je 0x44a8a1
mov edi, dword [ebp + 8]
lea esi, [ebx + 0x4a186c]
mov ecx, 3
xor edx, edx
repe cmpsd dword [esi], dword es:[edi]
jne 0x44a834
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.0040a4a0
mov al, byte [ebp + 0xc]
add esp, 0x10
test al, 8
mov dword [esp + 0x34], 1
je 0x44a5a9
call fcn.0044f550
mov esi, dword [ebx + 0x4a1880]
mov ecx, dword [ebx + 0x4a1884]
add esi, 0x7d0
adc ecx, 0
cmp edx, ecx
ja 0x44a5a9
jb 0x44a592
cmp eax, esi
jae 0x44a5a9
push 0x1f4
mov ecx, 0x492950
call fcn.00415470
mov dword [esp + 0x40], 1
lea eax, [esp + 0x18]
push eax
push edi
call fcn.00449c80
mov al, byte [ebp + 0xc]
add esp, 8
test al, 4
je 0x44a5f1
call fcn.0044f550
mov ecx, 0x492950
mov dword [ebx + 0x4a1880], eax
mov dword [ebx + 0x4a1884], edx
call fcn.00415830
push edi
call fcn.00452a70
push str.Got_Adapter_Arrival__do_not_do_Lasso_operation_yet
call fcn.0040a4a0
add esp, 4
jmp 0x44a8a1
mov esi, dword [ebx + 0x4a1878]
push esi
push str.LASSO__PnPUpdateAdapter:_old_NumOfMonitorsConnected___d
call fcn.0040a4a0
push 0
lea ecx, [esp + 0x24]
push ecx
push edi
call fcn.0044a180
push eax
push str.LASSO__PnPUpdateAdapter:_new_NumOfMonitorsConnected___d
mov dword [ebx + 0x4a1878], eax
call fcn.0040a4a0
mov ecx, dword [ebx + 0x4a1878]
add esp, 0x1c
xor edi, edi
cmp esi, ecx
je 0x44a7f8
xor eax, eax
mov edx, dword [esp + eax*8 + 0x1c]
test edx, edx
jne 0x44a645
inc eax
cmp eax, 2
jb 0x44a635
jmp 0x44a64a
mov edi, 1
test ecx, ecx
jne 0x44a750
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.0040a4a0
add esp, 0x10
test edi, edi
je 0x44a7f8
xor ebx, ebx
mov esi, 0x4a186c
xor edi, edi
mov edi, edi
cmp ebx, dword [esp + 0x30]
je 0x44a6c7
mov eax, dword [esi - 4]
test eax, eax
je 0x44a6c7
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.0040a4a0
lea eax, [esp + 0x94]
push eax
push esi
call fcn.00449c80
push 0
lea ecx, [esp + 0xa0]
push ecx
push esi
call fcn.0044a180
add esp, 0x24
test eax, eax
jne 0x44a6f0
add edi, 0x128
inc ebx
add esi, 0x128
cmp edi, 0x5c8
jb 0x44a680
push str.Lasso:_UpdateAdapter__look_for_other_adapters__Other_adapter_has_nothing_connected
call fcn.0040a4a0
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 0x44a729
mov edx, dword [esp + 0x28]
cmp dword [esp + esi*8 + 0x18], edx
je 0x44a729
push str.Remove_ext_desltop
call fcn.0040a4a0
mov eax, dword [esp + esi*8 + 0x1c]
add esp, 4
push eax
call fcn.004547e0
inc esi
cmp esi, 2
jb 0x44a700
cmp dword [esp + 0x28], 0xffffffff
je 0x44a7f8
mov ebx, dword [esp + 0x2c]
mov eax, 1
mov dword [esp + 0x10], eax
mov dword [esp + 0x38], eax
jmp 0x44a8a1
test esi, esi
jne 0x44a7f8
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x18]
push ecx
push edx
call fcn.00449d10
add esp, 8
cmp eax, 2
jne 0x44a7f8
test edi, edi
jne 0x44a81b
xor ebx, ebx
lea esp, [esp]
cmp dword [esp + ebx*8 + 0x18], 0xffffffff
je 0x44a7f2
call fcn.00428be0
test eax, eax
je 0x44a7a6
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 0xfa
call esi
call fcn.00428be0
test eax, eax
jne 0x44a796
mov eax, dword [esp + ebx*8 + 0x18]
push eax
call fcn.00454770
test eax, eax
je 0x44a7f2
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 0x44a7f2
test byte [esp + 0x13c], 1
jne 0x44a80d
inc ebx
cmp ebx, 2
jb 0x44a780
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44a9eb
mov ebx, dword [esp + 0x2c]
jmp 0x44a8a1
push 0x14
mov ecx, 0x492a60
call fcn.00432530
jmp 0x44a7f8
mov eax, dword [esp + 0x40]
test eax, eax
je 0x44a7f8
cmp dword [esp + 0x28], 0xffffffff
je 0x44a7f8
mov dword [esp + 0x10], 1
jmp 0x44a8a1
lea eax, [esp + 0x48]
push eax
lea esi, [ebx + 0x4a186c]
push esi
call fcn.00449c80
push 0
lea ecx, [esp + 0x54]
push ecx
push esi
call fcn.0044a180
add esp, 0x14
test eax, eax
je 0x44a8a1
xor eax, eax
jmp 0x44a860
mov ecx, dword [esp + eax*8 + 0x4c]
test ecx, ecx
jne 0x44a8c3
inc eax
cmp eax, 2
jb 0x44a860
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 0x44a8f5
xor eax, eax
jmp 0x44a520
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 0x44a8a1
mov eax, dword [esp + 0x10]
test eax, eax
je 0x44a9eb
mov eax, dword [esp + 0x34]
test eax, eax
je 0x44a9eb
push str.bNeedsToSwitchPrimaryAndRemove
call fcn.0040a4a0
add esp, 4
call fcn.00428be0
test eax, eax
je 0x44a940
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
lea esp, [esp]
push 0xfa
call esi
call fcn.00428be0
test eax, eax
jne 0x44a930
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x44a98c
xor esi, esi
lea ebx, [ebx]
mov eax, dword [esp + esi*8 + 0x60]
test eax, eax
je 0x44a984
mov eax, dword [esp + 0x28]
push eax
mov ecx, 0x492a60
call fcn.004304a0
mov ecx, dword [esp + esi*8 + 0x5c]
push eax
push ecx
mov ecx, 0x492a60
call fcn.004304a0
push eax
call fcn.00449ad0
add esp, 8
test eax, eax
jne 0x44a9d9
inc esi
cmp esi, 2
jb 0x44a950
jmp 0x44a9eb
mov eax, dword [esp + 0x44]
test eax, eax
je 0x44a9eb
xor edi, edi
mov esi, dword [esp + edi*8 + 0x70]
cmp esi, 0xffffffff
je 0x44a9d1
push esi
call fcn.00454770
test eax, eax
je 0x44a9d1
mov edx, dword [esp + 0x28]
push edx
mov ecx, 0x492a60
call fcn.004304a0
push eax
push esi
mov ecx, 0x492a60
call fcn.004304a0
push eax
call fcn.00449ad0
add esp, 8
test eax, eax
jne 0x44a9d9
inc edi
cmp edi, 2
jb 0x44a996
jmp 0x44a9eb
mov eax, dword [esp + 0x38]
test eax, eax
je 0x44a9eb
mov eax, dword [esp + 0x28]
push eax
call fcn.004547e0
mov eax, dword [esp + 0x14]
test eax, eax
je 0x44aa1f
push 0x14
mov ecx, 0x492a60
call fcn.00432530
mov esi, dword [ebp + 8]
push esi
push 0
lea ecx, [esp + 0x8c]
push ecx
push 0x10
call fcn.0040a4b0
push eax
call fcn.0044cfd0
add esp, 0x14
jmp 0x44aa22
mov esi, dword [ebp + 8]
mov eax, dword [esp + 0x34]
test eax, eax
je 0x44aa8a
mov eax, dword [ebp + 0xc]
test eax, eax
jns 0x44aa8a
lea edx, [esp + 0x18]
push edx
push esi
call fcn.00449d10
add esp, 8
cmp eax, 2
jne 0x44aa8a
test esi, esi
je 0x44aa8a
push esi
call fcn.00449a30
add esp, 4
test eax, eax
jne 0x44aa8a
push str.LASSO_UPDATE_NOTIFY_CCC.
call fcn.0040a4a0
mov eax, dword [0x49e994]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0x449fc0
mov dword [esp + 0x2c], 0
call fcn.00424010
add esp, 0x18
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret