Function at 0x431350
Capabilities:
Check for time delay via gettickcount
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5e0f26
mov eax, dword fs:[0]
push eax
sub esp, 0x570
mov eax, dword [0x663000]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x434], ecx
xor eax, eax
mov dword [ebp - 0x3ec], 0
mov dword [ebp - 0x3dc], 0
mov dword [ebp - 0x3d8], 7
mov word [ebp - 0x3ec], ax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x3ec]
push str.srl::Monitor::GetMonitorInfoW
mov byte [ebp - 0x3f0], al
call fcn.00415110
mov dword [ebp - 4], 1
call fcn.0041ca00
cmp dword [eax + 4], 4
jl 0x4313e1
push ecx
lea ecx, [ebp - 0x3f0]
call fcn.00412f80
lea eax, [ebp - 0x420]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSetEnumDISPLAY
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x432702
xor ecx, ecx
mov dword [ebp - 0x414], 0x100
mov dword [ebp - 0x410], ecx
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x414]
mov dword [ebp - 0x430], ecx
push eax
lea eax, [ebp - 0x32c]
push eax
push ecx
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov esi, eax
test esi, esi
jne 0x432698
call fcn.0041ca00
cmp dword [eax + 4], 3
jl 0x431ac8
call fcn.0041ca00
push ecx
lea ecx, [ebp - 0x51c]
mov dword [ebp - 0x40c], eax
call fcn.00415de0
xor eax, eax
mov dword [ebp - 0x35c], esi
mov dword [ebp - 0x34c], esi
mov dword [ebp - 0x348], 7
mov word [ebp - 0x35c], ax
push str.TRACE
lea ecx, [ebp - 0x35c]
mov byte [ebp - 4], 3
call fcn.00415110
xor edx, edx
mov dword [ebp - 0x344], esi
mov edi, 7
mov dword [ebp - 0x334], edx
xor eax, eax
mov dword [ebp - 0x330], edi
mov word [ebp - 0x344], ax
mov eax, dword [ebp - 0x40c]
mov byte [ebp - 4], 4
cmp dword [eax + 0xc], esi
jle 0x431543
cmp esi, 0xa
jge 0x431543
mov eax, edi
lea ecx, [ebp - 0x344]
sub eax, edx
cmp eax, 2
jb 0x43150e
cmp edi, 8
lea eax, [edx + 2]
mov dword [ebp - 0x334], eax
cmovae ecx, dword [ebp - 0x344]
mov eax, dword [0x6315a0]
mov dword [ecx + edx*2], eax
xor eax, eax
mov word [ecx + edx*2 + 4], ax
jmp 0x431529
push 2
push 0x6315a0
mov byte [ebp - 0x43c], 0
push dword [ebp - 0x43c]
push 2
call fcn.0041d780
mov eax, dword [ebp - 0x40c]
inc esi
cmp esi, dword [eax + 0xc]
jge 0x431543
mov edi, dword [ebp - 0x330]
mov edx, dword [ebp - 0x334]
jmp 0x4314d6
xor eax, eax
mov dword [ebp - 0x374], 0
mov dword [ebp - 0x364], 0
mov dword [ebp - 0x360], 7
mov word [ebp - 0x374], ax
mov dword [ebp - 0x3a4], eax
mov dword [ebp - 0x394], eax
mov dword [ebp - 0x390], 7
mov word [ebp - 0x3a4], ax
mov byte [ebp - 4], 6
call fcn.005bb7bb
lea eax, [ebp - 0x28]
push 0xb
push eax
call fcn.005bb8c6
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x374]
push eax
call fcn.00415110
push ecx
lea ecx, [ebp - 0xdc]
call fcn.00415de0
mov esi, dword [ebp - 0x40c]
mov byte [ebp - 4], 7
cmp dword [esi + 0x10], 0
jne 0x4315e1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
lea ecx, [ebp - 0xcc]
mov dword [esi + 0x10], eax
call fcn.00410290
jmp 0x431611
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x10]
lea ecx, [ebp - 0xcc]
movd xmm0, eax
cvtdq2pd xmm1, xmm0
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x6376f0]
divsd xmm1, qword [0x637690]
call fcn.0041d1a0
lea eax, [ebp - 0x3d4]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00416850
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x390]
cmp ecx, 8
jb 0x431667
mov edx, dword [ebp - 0x3a4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43165d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43281b
push ecx
push edx
call fcn.005af9e7
add esp, 8
movups xmm0, xmmword [ebp - 0x3d4]
xor eax, eax
lea ecx, [ebp - 0xdc]
mov word [ebp - 0x3d4], ax
movups xmmword [ebp - 0x3a4], xmm0
movq xmm0, qword [ebp - 0x3c4]
movq qword [ebp - 0x394], xmm0
mov dword [ebp - 0x3c4], 0
mov dword [ebp - 0x3c0], 7
mov byte [ebp - 4], 6
call fcn.00415cc0
cmp dword [ebp - 0x330], 8
lea eax, [ebp - 0x344]
push 0x2040
cmovae eax, dword [ebp - 0x344]
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x46c]
push eax
call fcn.005b1d32
mov ecx, dword [ebp - 0x50c]
lea edx, [ebp - 0x50c]
push dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
add ecx, edx
push ecx
call eax
cmp dword [ebp - 0x360], 8
lea edx, [ebp - 0x374]
push dword [ebp - 0x364]
cmovae edx, dword [ebp - 0x374]
lea ecx, [ebp - 0x50c]
call fcn.00413940
mov esi, eax
lea eax, [ebp - 0x464]
push 0x10
push eax
call fcn.005b1d32
mov edx, 0x6311e0
mov ecx, esi
mov edi, eax
call fcn.00413680
push dword [edi + 4]
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
push ecx
mov ecx, dword [edi]
call ecx
push 0
lea eax, [ebp - 0x57c]
push 6
push eax
call fcn.005b1d60
mov edx, eax
mov ecx, esi
call fcn.0041d750
mov esi, eax
mov eax, 0x30
push 0
push 3
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov word [ecx + esi + 0x40], ax
lea eax, [ebp - 0x52c]
push eax
call fcn.005b1d46
mov edx, eax
mov ecx, esi
call fcn.0041d750
cmp dword [ebp - 0x390], 8
lea edx, [ebp - 0x3a4]
push dword [ebp - 0x394]
cmovae edx, dword [ebp - 0x3a4]
mov ecx, eax
call fcn.00413940
add esp, 0x40
mov edi, eax
push 0
push 5
lea eax, [ebp - 0x53c]
push eax
call fcn.005b1d60
mov edx, 0x6311e0
mov ecx, edi
mov esi, eax
call fcn.00413680
mov edx, esi
mov ecx, eax
call fcn.0041d750
mov esi, eax
mov eax, 0x20
push 0x40
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov word [ecx + esi + 0x40], ax
lea eax, [ebp - 0x45c]
push eax
call fcn.005b1d32
mov ecx, dword [esi]
push dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
add ecx, esi
push ecx
call eax
cmp dword [ebp - 0x348], 8
lea edx, [ebp - 0x35c]
push dword [ebp - 0x34c]
cmovae edx, dword [ebp - 0x35c]
mov ecx, esi
call fcn.00413940
add esp, 0x20
mov edx, 0x6315e0
mov ecx, eax
call fcn.00413680
mov edx, dword [ebp - 0x40c]
mov ecx, eax
call fcn.00413680
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x66d948]
cmp eax, dword [ecx + 4]
jg 0x432773
lea eax, [ebp - 0x3bc]
push eax
lea ecx, [ebp - 0x504]
call fcn.00416850
mov byte [ebp - 4], 9
mov ecx, dword [0x663aec]
cmp ecx, 8
jb 0x4318b3
mov edx, dword [0x663ad8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4318a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43281b
push ecx
push edx
call fcn.005af9e7
add esp, 8
movups xmm0, xmmword [ebp - 0x3bc]
xor eax, eax
mov word [ebp - 0x3bc], ax
movups xmmword [0x663ad8], xmm0
movq xmm0, qword [ebp - 0x3ac]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x390]
movq qword [0x663ae8], xmm0
mov dword [ebp - 0x3ac], 0
mov dword [ebp - 0x3a8], 7
cmp ecx, 8
jb 0x431932
mov edx, dword [ebp - 0x3a4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x431928
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43281b
push ecx
push edx
call fcn.005af9e7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x360]
mov dword [ebp - 0x394], 0
mov dword [ebp - 0x390], 7
mov word [ebp - 0x3a4], ax
cmp ecx, 8
jb 0x431993
mov edx, dword [ebp - 0x374]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x431989
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43281b
push ecx
push edx
call fcn.005af9e7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x330]
mov dword [ebp - 0x364], 0
mov dword [ebp - 0x360], 7
mov word [ebp - 0x374], ax
cmp ecx, 8
jb 0x4319f4
mov edx, dword [ebp - 0x344]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4319ea
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43281b
push ecx
push edx
call fcn.005af9e7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x348]
mov dword [ebp - 0x334], 0
mov dword [ebp - 0x330], 7
mov word [ebp - 0x344], ax
cmp ecx, 8
jb 0x431a55
mov edx, dword [ebp - 0x35c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x431a4b
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43281b
push ecx
push edx
call fcn.005af9e7
add esp, 8
xor eax, eax
mov dword [ebp - 0x34c], 0
lea ecx, [ebp - 0x51c]
mov dword [ebp - 0x348], 7
mov word [ebp - 0x35c], ax
mov byte [ebp - 4], 1
call fcn.00415cc0
call fcn.0041ca00
cmp dword [0x663aec], 8
mov edx, 0x663ad8
push dword [0x663ae8]
cmovae edx, dword [0x663ad8]
mov ecx, eax
call fcn.00413940
mov edx, str.Display_Key_Name:
mov ecx, eax
call fcn.004121f0
lea edx, [ebp - 0x32c]
mov ecx, eax
call fcn.00413680
push eax
call fcn.00414970
add esp, 8
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp - 0x408]
call fcn.00407953
lea eax, [ebp - 0x41c]
mov byte [ebp - 4], 0xa
push eax
push 0x20019
push 0
lea eax, [ebp - 0x32c]
push eax
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
call fcn.0041ca00
test edi, edi
jne 0x4325ed
cmp dword [eax + 4], 3
jl 0x432187
call fcn.0041ca00
push ecx
lea ecx, [ebp - 0x51c]
mov dword [ebp - 0x40c], eax
call fcn.00415de0
xor eax, eax
mov dword [ebp - 0x374], edi
mov dword [ebp - 0x364], edi
mov dword [ebp - 0x360], 7
mov word [ebp - 0x374], ax
push str.TRACE
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 0xc
call fcn.00415110
mov dword [ebp - 0x344], edi
xor edx, edx
mov edi, 7
mov dword [ebp - 0x334], edx
xor eax, eax
mov dword [ebp - 0x330], edi
mov word [ebp - 0x344], ax
mov eax, dword [ebp - 0x40c]
xor esi, esi
mov byte [ebp - 4], 0xd
cmp dword [eax + 0xc], esi
jle 0x431c02
cmp esi, 0xa
jge 0x431c02
mov eax, edi
lea ecx, [ebp - 0x344]
sub eax, edx
cmp eax, 2
jb 0x431bcd
cmp edi, 8
lea eax, [edx + 2]
mov dword [ebp - 0x334], eax
cmovae ecx, dword [ebp - 0x344]
mov eax, dword [0x6315a0]
mov dword [ecx + edx*2], eax
xor eax, eax
mov word [ecx + edx*2 + 4], ax
jmp 0x431be8
push 2
push 0x6315a0
mov byte [ebp - 0x438], 0
push dword [ebp - 0x438]
push 2
call fcn.0041d780
mov eax, dword [ebp - 0x40c]
inc esi
cmp esi, dword [eax + 0xc]
jge 0x431c02
mov edi, dword [ebp - 0x330]
mov edx, dword [ebp - 0x334]
jmp 0x431b95
xor eax, eax
mov dword [ebp - 0x35c], 0
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 7
mov word [ebp - 0x35c], ax
mov dword [ebp - 0x38c], eax
mov dword [ebp - 0x37c], eax
mov dword [ebp - 0x378], 7
mov word [ebp - 0x38c], ax
mov byte [ebp - 4], 0xf
call fcn.005bb7bb
lea eax, [ebp - 0x28]
push 0xb
push eax
call fcn.005bb8c6
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x35c]
push eax
call fcn.00415110
push ecx
lea ecx, [ebp - 0xdc]
call fcn.00415de0
mov esi, dword [ebp - 0x40c]
mov byte [ebp - 4], 0x10
cmp dword [esi + 0x10], 0
jne 0x431ca0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
lea ecx, [ebp - 0xcc]
mov dword [esi + 0x10], eax
call fcn.00410290
jmp 0x431cd0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x10]
lea ecx, [ebp - 0xcc]
movd xmm0, eax
cvtdq2pd xmm1, xmm0
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x6376f0]
divsd xmm1, qword [0x637690]
call fcn.0041d1a0
lea eax, [ebp - 0x3bc]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00416850
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x378]
cmp ecx, 8
jb 0x431d26
mov edx, dword [ebp - 0x38c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x431d1c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43281b
push ecx
push edx
call fcn.005af9e7
add esp, 8
movups xmm0, xmmword [ebp - 0x3bc]
xor eax, eax
lea ecx, [ebp - 0xdc]
mov word [ebp - 0x3bc], ax
movups xmmword [ebp - 0x38c], xmm0
movq xmm0, qword [ebp - 0x3ac]
movq qword [ebp - 0x37c], xmm0
mov dword [ebp - 0x3ac], 0
mov dword [ebp - 0x3a8], 7
mov byte [ebp - 4], 0xf
call fcn.00415cc0
cmp dword [ebp - 0x330], 8
lea eax, [ebp - 0x344]
push 0x2040
cmovae eax, dword [ebp - 0x344]
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0x454]
push eax
call fcn.005b1d32
mov ecx, dword [ebp - 0x50c]
lea edx, [ebp - 0x50c]
push dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
add ecx, edx
push ecx
call eax
cmp dword [ebp - 0x348], 8
lea edx, [ebp - 0x35c]
push dword [ebp - 0x34c]
cmovae edx, dword [ebp - 0x35c]
lea ecx, [ebp - 0x50c]
call fcn.00413940
mov esi, eax
lea eax, [ebp - 0x44c]
push 0x10
push eax
call fcn.005b1d32
mov edx, 0x6311e0
mov ecx, esi
mov edi, eax
call fcn.00413680
push dword [edi + 4]
mov esi, eax
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
add ecx, esi
push ecx
mov ecx, dword [edi]
call ecx
push 0
lea eax, [ebp - 0x54c]
push 6
push eax
call fcn.005b1d60
mov edx, eax
mov ecx, esi
call fcn.0041d750
mov esi, eax
mov eax, 0x30
push 0
push 3
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov word [ecx + esi + 0x40], ax
lea eax, [ebp - 0x55c]
push eax
call fcn.005b1d46
mov edx, eax
mov ecx, esi
call fcn.0041d750
cmp dword [ebp - 0x378], 8
lea edx, [ebp - 0x38c]
push dword [ebp - 0x37c]
cmovae edx, dword [ebp - 0x38c]
mov ecx, eax
call fcn.00413940
add esp, 0x40
mov edi, eax
push 0
push 5
lea eax, [ebp - 0x56c]
push eax
call fcn.005b1d60
mov edx, 0x6311e0
mov ecx, edi
mov esi, eax
call fcn.00413680
mov edx, esi
mov ecx, eax
call fcn.0041d750
mov esi, eax
mov eax, 0x20
push 0x40
mov ecx, dword [esi]
mov ecx, dword [ecx + 4]
mov word [ecx + esi + 0x40], ax
lea eax, [ebp - 0x444]
push eax
call fcn.005b1d32
mov ecx, dword [esi]
push dword [eax + 4]
mov ecx, dword [ecx + 4]
mov eax, dword [eax]
add ecx, esi
push ecx
call eax
cmp dword [ebp - 0x360], 8
lea edx, [ebp - 0x374]
push dword [ebp - 0x364]
cmovae edx, dword [ebp - 0x374]
mov ecx, esi
call fcn.00413940
add esp, 0x20
mov edx, 0x6315e0
mov ecx, eax
call fcn.00413680
mov edx, dword [ebp - 0x40c]
mov ecx, eax
call fcn.00413680
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x66d948]
cmp eax, dword [ecx + 4]
jg 0x4327c7
lea eax, [ebp - 0x3d4]
push eax
lea ecx, [ebp - 0x504]
call fcn.00416850
mov byte [ebp - 4], 0x12
mov ecx, dword [0x663aec]
cmp ecx, 8
jb 0x431f72
mov edx, dword [0x663ad8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x431f68
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43281b
push ecx
push edx
call fcn.005af9e7
add esp, 8
movups xmm0, xmmword [ebp - 0x3d4]
xor eax, eax
mov word [ebp - 0x3d4], ax
movups xmmword [0x663ad8], xmm0
movq xmm0, qword [ebp - 0x3c4]
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x378]
movq qword [0x663ae8], xmm0
mov dword [ebp - 0x3c4], 0
mov dword [ebp - 0x3c0], 7
cmp ecx, 8
jb 0x431ff1
mov edx, dword [ebp - 0x38c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x431fe7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43281b
push ecx
push edx
call fcn.005af9e7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x348]
mov dword [ebp - 0x37c], 0
mov dword [ebp - 0x378], 7
mov word [ebp - 0x38c], ax
cmp ecx, 8
jb 0x432052
mov edx, dword [ebp - 0x35c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x432048
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43281b
push ecx
push edx
call fcn.005af9e7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x330]
mov dword [ebp - 0x34c], 0
mov dword [ebp - 0x348], 7
mov word [ebp - 0x35c], ax
cmp ecx, 8
jb 0x4320b3
mov edx, dword [ebp - 0x344]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4320a9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43281b
push ecx
push edx
call fcn.005af9e7
add esp, 8
xor eax, eax
mov byte [ebp - 4], 0xb
mov ecx, dword [ebp - 0x360]
mov dword [ebp - 0x334], 0
mov dword [ebp - 0x330], 7
mov word [ebp - 0x344], ax
cmp ecx, 8
jb 0x432114
mov edx, dword [ebp - 0x374]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x43210a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43281b
push ecx
push edx
call fcn.005af9e7
add esp, 8
xor eax, eax
mov dword [ebp - 0x364], 0
lea ecx, [ebp - 0x51c]
mov dword [ebp - 0x360], 7
mov word [ebp - 0x374], ax
mov byte [ebp - 4], 0xa
call fcn.00415cc0
call fcn.0041ca00
cmp dword [0x663aec], 8
mov edx, 0x663ad8
push dword [0x663ae8]
cmovae edx, dword [0x663ad8]
mov ecx, eax
call fcn.00413940
mov edx, str.Opened_Monitor_Key:
mov ecx, eax
call fcn.004121f0
lea edx, [ebp - 0x32c]
mov ecx, eax
call fcn.00413680
push eax
call fcn.00414970
add esp, 8
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x414]
mov dword [ebp - 0x414], 0x200
push eax
lea eax, [ebp - 0x32c]
push eax
push 0
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
mov edi, eax
call fcn.0041ca00
test edi, edi
jne 0x432590
cmp dword [eax + 4], 3
jl 0x432215
push 3
call fcn.0041ca00
mov ecx, eax
call fcn.0041cb60
mov esi, eax
call fcn.0041ca00
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x4321e9
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413940
mov edx, str.Opened_First_Key:
mov ecx, eax
call fcn.004121f0
lea edx, [ebp - 0x32c]
mov ecx, eax
call fcn.00413680
push eax
call fcn.00414970
add esp, 8
lea eax, [ebp - 0x418]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x32c]
push eax
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
call fcn.0041ca00
test edi, edi
jne 0x432590
cmp dword [eax + 4], 3
jl 0x432296
push 3
call fcn.0041ca00
mov ecx, eax
call fcn.0041cb60
mov esi, eax
call fcn.0041ca00
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x43226a
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413940
mov edx, str.Read_First_Key:
mov ecx, eax
call fcn.004121f0
lea edx, [ebp - 0x32c]
mov ecx, eax
call fcn.00413680
push eax
call fcn.00414970
add esp, 8
lea eax, [ebp - 0x42c]
push eax
push 0x20019
push 0
push str.Control
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, eax
call fcn.0041ca00
test edi, edi
jne 0x432524
cmp dword [eax + 4], 3
jl 0x432308
push 3
call fcn.0041ca00
mov ecx, eax
call fcn.0041cb60
mov esi, eax
call fcn.0041ca00
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x4322e9
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413940
mov edx, str.Control_key:
mov ecx, eax
call fcn.004121f0
push eax
call fcn.00414970
add esp, 8
push dword [ebp - 0x42c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x428]
push eax
push 0x20019
push 0
push str.Device_Parameters
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4324e5
call fcn.0041ca00
cmp dword [eax + 4], 3
jl 0x432384
push 3
call fcn.0041ca00
mov ecx, eax
call fcn.0041cb60
mov esi, eax
call fcn.0041ca00
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x432365
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413940
mov edx, str.Device_Params
mov ecx, eax
call fcn.004121f0
push eax
call fcn.00414970
add esp, 8
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 0x101
push eax
lea eax, [ebp - 0x12c]
push eax
push 0
push 0
push str.EDID
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
call fcn.0041ca00
test edi, edi
jne 0x43246d
cmp dword [eax + 4], 3
jl 0x432417
push 3
call fcn.0041ca00
mov ecx, eax
call fcn.0041cb60
mov esi, eax
call fcn.0041ca00
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x4323e5
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413940
mov esi, dword [ebp - 0x410]
add esp, 4
mov edx, str.Checked_EDID_for_monitor:
mov ecx, eax
push esi
call fcn.004121f0
mov ecx, eax
call fcn.00415f80
push eax
call fcn.00414970
add esp, 4
jmp 0x43241d
mov esi, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x434]
lea eax, [ebp - 0x408]
push eax
push esi
push dword [ebp - 0x424]
lea eax, [ebp - 0x12c]
push eax
call fcn.0042f980
push dword [ebp - 0x428]
inc esi
mov dword [ebp - 0x410], esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43263c
cmp dword [eax + 4], 3
jl 0x4324bc
push 3
call fcn.0041ca00
mov ecx, eax
call fcn.0041cb60
mov esi, eax
call fcn.0041ca00
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x432492
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413940
add esp, 4
mov edx, str.Error:
mov ecx, eax
push edi
call fcn.004121f0
mov ecx, eax
call fcn.004336c0
push eax
call fcn.00414970
add esp, 4
push dword [ebp - 0x428]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43263c
call fcn.0041ca00
cmp dword [eax + 4], 3
jl 0x432573
push 3
call fcn.0041ca00
mov ecx, eax
call fcn.0041cb60
mov esi, eax
call fcn.0041ca00
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x432513
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413940
add esp, 4
push 0
jmp 0x432557
cmp dword [eax + 4], 3
jl 0x432573
push 3
call fcn.0041ca00
mov ecx, eax
call fcn.0041cb60
mov esi, eax
call fcn.0041ca00
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x432549
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413940
add esp, 4
push edi
mov edx, str.Error:
mov ecx, eax
call fcn.004121f0
mov ecx, eax
call fcn.004336c0
push eax
call fcn.00414970
add esp, 4
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43263c
cmp dword [eax + 4], 3
jl 0x4325df
push 3
call fcn.0041ca00
mov ecx, eax
call fcn.0041cb60
mov esi, eax
call fcn.0041ca00
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x4325b5
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413940
add esp, 4
mov edx, str.Error:
mov ecx, eax
push edi
call fcn.004121f0
mov ecx, eax
call fcn.004336c0
push eax
call fcn.00414970
add esp, 4
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43263c
cmp dword [eax + 4], 3
jl 0x43263c
push 3
call fcn.0041ca00
mov ecx, eax
call fcn.0041cb60
mov esi, eax
call fcn.0041ca00
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x432612
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413940
add esp, 4
mov edx, str.Error:
mov ecx, eax
push edi
call fcn.004121f0
mov ecx, eax
call fcn.004336c0
push eax
call fcn.00414970
add esp, 4
mov edi, dword [ebp - 0x410]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x3f4]
mov dword [ebp - 0x410], edi
cmp ecx, 8
jb 0x43268c
mov edx, dword [ebp - 0x408]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x432682
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x43281b
push ecx
push edx
call fcn.005af9e7
add esp, 8
mov ecx, dword [ebp - 0x430]
inc ecx
jmp 0x431419
cmp esi, 0x103
je 0x4326f4
call fcn.0041ca00
cmp dword [eax + 4], 3
jl 0x4326f4
push 3
call fcn.0041ca00
mov ecx, eax
call fcn.0041cb60
mov edi, eax
call fcn.0041ca00
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x4326ca
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.00413940
add esp, 4
mov edx, str.Error:
mov ecx, eax
push esi
call fcn.004121f0
mov ecx, eax
call fcn.004336c0
push eax
call fcn.00414970
add esp, 4
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x43274b
call fcn.0041ca00
cmp dword [eax + 4], 3
jl 0x43274b
push 3
call fcn.0041ca00
mov ecx, eax
call fcn.0041cb60
mov esi, eax
call fcn.0041ca00
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x43272c
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413940
mov edx, str.Error:
mov ecx, eax
call fcn.004121f0
push eax
call fcn.00414970
add esp, 8
lea ecx, [ebp - 0x3f0]
call fcn.00414a10
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005af765
mov esp, ebp
pop ebp
ret
push 0x66d948
call fcn.005afb28
add esp, 4
cmp dword [0x66d948], 0xffffffff
jne 0x43185d
push 0x5f3ee0
mov dword [0x663ad8], 0
mov dword [0x663ae8], 0
mov dword [0x663aec], 7
call fcn.005af9af
push 0x66d948
call fcn.005afade
add esp, 8
jmp 0x43185d
push 0x66d948
call fcn.005afb28
add esp, 4
cmp dword [0x66d948], 0xffffffff
jne 0x431f1c
push 0x5f3ee0
mov dword [0x663ad8], 0
mov dword [0x663ae8], 0
mov dword [0x663aec], 7
call fcn.005af9af
push 0x66d948
call fcn.005afade
add esp, 8
jmp 0x431f1c
call fcn.005b681f
int3