Function at 0x41ba80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x5b7c96
mov eax, dword fs:[0]
push eax
sub esp, 0x1d8
mov eax, dword [0x63ee20]
xor eax, esp
mov dword [esp + 0x1d0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x63ee20]
xor eax, esp
push eax
lea eax, [esp + 0x1ec]
mov dword fs:[0], eax
mov eax, dword [esp + 0x1fc]
xor esi, esi
mov dword [esp + 0x44], eax
mov dword [esp + 0x50], ecx
cmp dword [eax], esi
jne 0x41bad8
lea eax, [esi + 1]
jmp 0x41c457
push 6
lea ecx, [esp + 0x68]
call fcn.00424cf0
push esi
lea ecx, [esp + 0x58]
mov dword [esp + 0x1f8], esi
call fcn.00424cf0
mov byte [esp + 0x1f4], 1
push str.Select__FROM_Win32_DesktopMonitor
lea ebx, [esp + 0x24]
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x1c], esi
call fcn.00410ff0
mov esi, eax
push 0x617e80
lea ebx, [esp + 0x3c]
mov byte [esp + 0x1f8], 2
call fcn.00410ff0
mov byte [esp + 0x1f4], 3
mov ecx, dword [esi]
xor ebp, ebp
cmp ecx, ebp
je 0x41bb42
mov ecx, dword [ecx]
jmp 0x41bb44
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebp
je 0x41bb4e
mov edx, dword [eax]
jmp 0x41bb50
xor edx, edx
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov esi, dword [eax]
lea edi, [esp + 0x18]
push edi
push ebp
push 0x30
push ecx
mov ecx, dword [esi + 0x50]
push edx
push eax
call ecx
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
mov edi, eax
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x41bbb2
mov esi, eax
add eax, 8
push eax
call ebx
cmp eax, ebp
jne 0x41bbae
cmp esi, ebp
je 0x41bbae
mov eax, dword [esi]
cmp eax, ebp
je 0x41bb95
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x41bba5
push eax
call fcn.0044f8b0
add esp, 4
push esi
call fcn.0044f8b0
add esp, 4
mov dword [esp + 0x38], ebp
mov byte [esp + 0x1f4], 1
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x41bbf8
mov esi, eax
add eax, 8
push eax
call ebx
cmp eax, ebp
jne 0x41bbf8
cmp esi, ebp
je 0x41bbf8
mov eax, dword [esi]
cmp eax, ebp
je 0x41bbdf
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x41bbef
push eax
call fcn.0044f8b0
add esp, 4
push esi
call fcn.0044f8b0
add esp, 4
cmp edi, ebp
mov eax, dword [esp + 0x18]
jge 0x41bc10
cmp eax, ebp
je 0x41bc10
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x18]
xor ecx, ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x34], ebp
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], ebp
mov word [esp + 0xec], cx
mov byte [esp + 0x1f4], 4
cmp eax, ebp
je 0x41c18b
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
lea ecx, [esp + 0x34]
push ecx
lea ecx, [esp + 0x20]
push ecx
push 1
push 0xffffffffffffffff
push eax
call edx
cmp dword [esp + 0x34], ebp
je 0x41c17b
cmp eax, ebp
jne 0x41c17b
push ebp
xor eax, eax
push ebp
lea edx, [esp + 0x2c]
push edx
mov word [esp + 0x30], ax
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], eax
mov word [esp + 0x3e], ax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push ebp
push str.PNPDeviceID
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp eax, ebp
jne 0x41be56
cmp word [esp + 0x24], 1
je 0x41be56
mov edi, dword [esp + 0x2c]
lea ecx, [esp + 0x40]
push ecx
call fcn.00410e00
mov byte [esp + 0x1f4], 5
mov eax, dword [eax]
cmp eax, ebp
je 0x41bcd1
mov eax, dword [eax]
jmp 0x41bcd3
xor eax, eax
mov ecx, eax
lea esi, [ecx + 2]
jmp 0x41bce0
mov dx, word [ecx]
add ecx, 2
cmp dx, bp
jne 0x41bce0
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0xec]
call fcn.0040e1e0
lea edi, [esp + 0x40]
mov byte [esp + 0x1f4], 4
call fcn.00410fa0
mov eax, dword [esp + 0xfc]
xor esi, esi
cmp eax, ebp
jbe 0x41bd82
cmp esi, eax
jbe 0x41bd2a
call fcn.0058ab72
mov eax, dword [esp + 0xfc]
mov ecx, dword [esp + 0xec]
mov edi, 8
cmp dword [esp + 0x100], edi
jae 0x41bd46
lea ecx, [esp + 0xec]
cmp word [ecx + esi*2], 0x5c
jne 0x41bd7d
cmp esi, eax
jbe 0x41bd56
call fcn.0058ab72
mov eax, dword [esp + 0xec]
cmp dword [esp + 0x100], edi
jae 0x41bd6d
lea eax, [esp + 0xec]
mov edx, 0x20
mov word [eax + esi*2], dx
mov eax, dword [esp + 0xfc]
inc esi
cmp esi, eax
jb 0x41bd2a
cmp dword [esp + 0x100], 8
mov edi, dword [esp + 0xec]
jae 0x41bd9a
lea edi, [esp + 0xec]
lea eax, [esp + 0x38]
push eax
call fcn.00410e00
mov bl, 6
mov byte [esp + 0x1f4], bl
mov esi, dword [eax]
cmp esi, ebp
je 0x41bdc8
cmp dword [esi + 4], ebp
jne 0x41bdc3
mov ecx, dword [esi]
push ecx
call fcn.005ac930
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x41bdca
xor esi, esi
push esi
lea ecx, [esp + 0xc8]
call fcn.00424f20
push eax
push str.Manufacturer
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1fc], 7
call fcn.004260e0
mov ecx, eax
call fcn.00425380
lea ecx, [esp + 0xc4]
mov byte [esp + 0x1f4], bl
call fcn.00425280
mov byte [esp + 0x1f4], 4
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x41be56
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
jne 0x41be52
cmp esi, ebp
je 0x41be52
mov eax, dword [esi]
cmp eax, ebp
je 0x41be39
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x41be49
push eax
call fcn.0044f8b0
add esp, 4
push esi
call fcn.0044f8b0
add esp, 4
mov dword [esp + 0x38], ebp
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebp
push ebp
lea ecx, [esp + 0x2c]
push ecx
push ebp
push str.ScreenHeight
push eax
call edx
cmp eax, ebp
jne 0x41bec6
cmp word [esp + 0x24], 1
je 0x41bec6
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0xb8]
call fcn.00424e20
push eax
push str.Current_Resolution_Height
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1fc], 8
call fcn.004260e0
mov ecx, eax
call fcn.00425380
lea ecx, [esp + 0xb4]
mov byte [esp + 0x1f4], 4
call fcn.00425280
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x48], ecx
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebp
push ebp
lea ecx, [esp + 0x2c]
push ecx
push ebp
push str.ScreenWidth
push eax
call edx
cmp eax, ebp
jne 0x41bf38
cmp word [esp + 0x24], 1
je 0x41bf38
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0xd8]
call fcn.00424e20
push eax
push str.Current_Resolution_Width
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1fc], 9
call fcn.004260e0
mov ecx, eax
call fcn.00425380
lea ecx, [esp + 0xd4]
mov byte [esp + 0x1f4], 4
call fcn.00425280
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x4c], eax
jmp 0x41bf3c
mov eax, dword [esp + 0x4c]
cmp eax, ebp
je 0x41bf70
mov ecx, dword [esp + 0x48]
cmp ecx, ebp
je 0x41bf70
mov dword [esp + 0x3c], eax
fild dword [esp + 0x3c]
test eax, eax
jge 0x41bf5a
fadd dword [0x618c3c]
mov dword [esp + 0x3c], ecx
fild dword [esp + 0x3c]
test ecx, ecx
jge 0x41bf6c
fadd dword [0x618c3c]
fdivp st(1)
jmp 0x41bf76
fld dword [0x618c38]
fstp dword [esp + 0x3c]
mov ecx, 4
fld dword [esp + 0x3c]
mov word [esp + 0x84], cx
fstp dword [esp + 0x8c]
lea esi, [esp + 0x84]
lea edi, [esp + 0x20]
mov byte [esp + 0x1f4], 0xa
call fcn.0041e5f0
mov byte [esp + 0x1f4], 0xb
mov esi, dword [eax]
cmp esi, ebp
je 0x41bfcd
cmp dword [esi + 4], ebp
jne 0x41bfc8
mov edx, dword [esi]
push edx
call fcn.005ac930
mov dword [esi + 4], eax
mov esi, dword [esi + 4]
jmp 0x41bfcf
xor esi, esi
push esi
lea ecx, [esp + 0x98]
call fcn.00424f20
push eax
push str.Width_Height
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1fc], 0xc
call fcn.004260e0
mov ecx, eax
call fcn.00425380
lea ecx, [esp + 0x94]
mov byte [esp + 0x1f4], 0xb
call fcn.00425280
mov eax, dword [esp + 0x20]
cmp eax, ebp
je 0x41c054
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebp
jne 0x41c050
cmp esi, ebp
je 0x41c050
mov eax, dword [esi]
cmp eax, ebp
je 0x41c037
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebp
je 0x41c047
push eax
call fcn.0044f8b0
add esp, 4
push esi
call fcn.0044f8b0
add esp, 4
mov dword [esp + 0x20], ebp
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0xdc
lea ecx, [esp + 0x108]
push ebp
push ecx
xor esi, esi
xor edi, edi
call fcn.00588e40
add esp, 0xc
push ebp
lea eax, [esp + 0x108]
push eax
push ebp
mov edx, 0xdc
push ebp
mov word [esp + 0x158], dx
xor ebx, ebx
call dword [sym.imp.USER32.dll_EnumDisplaySettingsExW]
test eax, eax
je 0x41c0d0
mov eax, dword [esp + 0x1b4]
inc ebx
cmp eax, esi
jbe 0x41c0ae
mov esi, eax
mov eax, dword [esp + 0x1b0]
cmp eax, edi
jbe 0x41c0bb
mov edi, eax
push ebp
lea ecx, [esp + 0x108]
push ecx
push ebx
push ebp
call dword [sym.imp.USER32.dll_EnumDisplaySettingsExW]
test eax, eax
jne 0x41c0a0
push esi
lea ecx, [esp + 0xa8]
call fcn.00424e20
push eax
push str.Max_Height
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1fc], 0xd
call fcn.004260e0
mov ecx, eax
call fcn.00425380
lea ecx, [esp + 0xa4]
mov byte [esp + 0x1f4], 4
call fcn.00425280
push edi
lea ecx, [esp + 0x78]
call fcn.00424e20
push eax
push str.Max_Width
lea ecx, [esp + 0x5c]
mov byte [esp + 0x1fc], 0xe
call fcn.004260e0
mov ecx, eax
call fcn.00425380
lea ecx, [esp + 0x74]
mov byte [esp + 0x1f4], 4
call fcn.00425280
lea edx, [esp + 0x54]
push edx
lea ecx, [esp + 0x68]
call fcn.00426350
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x18]
cmp eax, ebp
jne 0x41bc44
jmp 0x41c18b
mov eax, dword [esp + 0x18]
cmp eax, ebp
je 0x41c18b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push str.Select__FROM_Win32_DisplayConfiguration
lea ebx, [esp + 0x44]
mov dword [esp + 0x1c], ebp
call fcn.00410ff0
mov esi, eax
push 0x617e80
lea ebx, [esp + 0x24]
mov byte [esp + 0x1f8], 0xf
call fcn.00410ff0
mov byte [esp + 0x1f4], 0x10
mov ecx, dword [esi]
xor ebx, ebx
cmp ecx, ebx
je 0x41c1c9
mov edx, dword [ecx]
jmp 0x41c1cb
xor edx, edx
mov eax, dword [eax]
cmp eax, ebx
je 0x41c1d5
mov ecx, dword [eax]
jmp 0x41c1d7
xor ecx, ecx
mov eax, dword [esp + 0x44]
mov eax, dword [eax]
mov esi, dword [eax]
lea edi, [esp + 0x18]
push edi
push ebx
push 0x30
push edx
push ecx
mov ecx, dword [esi + 0x50]
push eax
call ecx
mov edi, eax
mov eax, dword [esp + 0x20]
cmp eax, ebx
je 0x41c237
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x41c233
cmp esi, ebx
je 0x41c233
mov eax, dword [esi]
cmp eax, ebx
je 0x41c21a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x41c22a
push eax
call fcn.0044f8b0
add esp, 4
push esi
call fcn.0044f8b0
add esp, 4
mov dword [esp + 0x20], ebx
mov byte [esp + 0x1f4], 4
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x41c281
mov esi, eax
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
cmp eax, ebx
jne 0x41c281
cmp esi, ebx
je 0x41c281
mov eax, dword [esi]
cmp eax, ebx
je 0x41c268
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
cmp eax, ebx
je 0x41c278
push eax
call fcn.0044f8b0
add esp, 4
push esi
call fcn.0044f8b0
add esp, 4
cmp edi, ebx
mov eax, dword [esp + 0x18]
jge 0x41c2f6
cmp eax, ebx
je 0x41c295
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
cmp dword [esp + 0x100], 8
jb 0x41c2af
mov ecx, dword [esp + 0xec]
push ecx
call fcn.0044f8b0
add esp, 4
xor edx, edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], ebx
mov word [esp + 0xec], dx
mov byte [esp + 0x1f4], bl
call fcn.00425280
lea ecx, [esp + 0x64]
mov dword [esp + 0x1f4], 0xffffffff
call fcn.00425280
mov eax, edi
jmp 0x41c457
mov edi, dword [esp + 0x50]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x34], ebx
cmp eax, ebx
je 0x41c3e3
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
lea edx, [esp + 0x20]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [esp + 0x34], ebx
je 0x41c3d3
cmp eax, ebx
jne 0x41c3d3
push ebx
xor ecx, ecx
xor eax, eax
push ebx
mov word [esp + 0x2c], cx
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x32], eax
mov dword [esp + 0x36], eax
mov dword [esp + 0x3a], eax
mov word [esp + 0x3e], ax
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push 0x61852c
push eax
call edx
cmp eax, ebx
jne 0x41c3b2
cmp word [esp + 0x24], 1
je 0x41c3b2
mov eax, dword [esp + 0x2c]
push eax
lea ecx, [esp + 0x78]
call fcn.00424e20
push eax
push str.BitsPerPel
mov ecx, edi
mov byte [esp + 0x1fc], 0x11
call fcn.004260e0
mov ecx, eax
call fcn.00425380
lea ecx, [esp + 0x74]
mov byte [esp + 0x1f4], 4
call fcn.00425280
lea ecx, [esp + 0x24]
push ecx
call esi
mov eax, dword [esp + 0x1c]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x41c310
jmp 0x41c3e3
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x41c3e3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
lea eax, [esp + 0x64]
push eax
push str.Monitor
mov ecx, edi
call fcn.004260e0
mov ecx, eax
call fcn.00425380
cmp dword [esp + 0x100], 8
jb 0x41c415
mov ecx, dword [esp + 0xec]
push ecx
call fcn.0044f8b0
add esp, 4
xor edx, edx
lea ecx, [esp + 0x54]
mov dword [esp + 0x100], 7
mov dword [esp + 0xfc], ebx
mov word [esp + 0xec], dx
mov byte [esp + 0x1f4], bl
call fcn.00425280
lea ecx, [esp + 0x64]
mov dword [esp + 0x1f4], 0xffffffff
call fcn.00425280
xor eax, eax
mov ecx, dword [esp + 0x1ec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x1d0]
xor ecx, esp
call fcn.0058844d
add esp, 0x1e4
ret 4