Function at 0x430820
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 0x5e26b6
mov eax, dword fs:[0]
push eax
sub esp, 0x570
mov eax, dword [0x660ff8]
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
xorps xmm0, xmm0
mov dword [ebp - 0x3dc], 0
xor eax, eax
mov dword [ebp - 0x3d8], 7
movups xmmword [ebp - 0x3ec], xmm0
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.00414980
mov dword [ebp - 4], 1
call fcn.0041c750
cmp dword [eax + 4], 4
jl 0x4308b1
push ecx
lea ecx, [ebp - 0x3f0]
call fcn.004127b0
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 0x431bce
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 0x431b64
call fcn.0041c750
cmp dword [eax + 4], 3
jl 0x430f97
call fcn.0041c750
push ecx
lea ecx, [ebp - 0x51c]
mov dword [ebp - 0x40c], eax
call fcn.004156b0
xorps xmm0, xmm0
mov dword [ebp - 0x34c], esi
xor eax, eax
mov dword [ebp - 0x348], 7
movups xmmword [ebp - 0x35c], xmm0
mov word [ebp - 0x35c], ax
push str.TRACE
lea ecx, [ebp - 0x35c]
mov byte [ebp - 4], 3
call fcn.00414980
xorps xmm0, xmm0
xor edx, edx
mov edi, 7
mov dword [ebp - 0x334], edx
xor eax, eax
mov dword [ebp - 0x330], edi
movups xmmword [ebp - 0x344], xmm0
mov word [ebp - 0x344], ax
mov eax, dword [ebp - 0x40c]
mov byte [ebp - 4], 4
cmp dword [eax + 0xc], esi
jle 0x430a1d
nop
cmp esi, 0xa
jge 0x430a1d
mov eax, edi
lea ecx, [ebp - 0x344]
sub eax, edx
cmp eax, 2
jb 0x4309e8
cmp edi, 8
lea eax, [edx + 2]
mov dword [ebp - 0x334], eax
cmovae ecx, dword [ebp - 0x344]
mov eax, dword [0x62f6e0]
mov dword [ecx + edx*2], eax
xor eax, eax
mov word [ecx + edx*2 + 4], ax
jmp 0x430a03
push 2
push 0x62f6e0
mov byte [ebp - 0x43c], 0
push dword [ebp - 0x43c]
push 2
call fcn.0041d540
mov eax, dword [ebp - 0x40c]
inc esi
cmp esi, dword [eax + 0xc]
jge 0x430a1d
mov edi, dword [ebp - 0x330]
mov edx, dword [ebp - 0x334]
jmp 0x4309b0
xorps xmm0, xmm0
mov dword [ebp - 0x364], 0
xor eax, eax
mov dword [ebp - 0x360], 7
movups xmmword [ebp - 0x374], xmm0
mov word [ebp - 0x374], ax
movups xmmword [ebp - 0x3a4], xmm0
mov dword [ebp - 0x394], eax
mov dword [ebp - 0x390], 7
mov word [ebp - 0x3a4], ax
mov byte [ebp - 4], 6
call fcn.005be42d
lea eax, [ebp - 0x28]
push 0xb
push eax
call fcn.005be553
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x374]
push eax
call fcn.00414980
push ecx
lea ecx, [ebp - 0xdc]
call fcn.004156b0
mov esi, dword [ebp - 0x40c]
mov byte [ebp - 4], 7
cmp dword [esi + 0x10], 0
jne 0x430abc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
lea ecx, [ebp - 0xcc]
mov dword [esi + 0x10], eax
call fcn.0040fc40
jmp 0x430aec
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x10]
lea ecx, [ebp - 0xcc]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x6359f0]
divsd xmm1, qword [0x635968]
call fcn.0041cf00
lea eax, [ebp - 0x3d4]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00416140
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x390]
cmp ecx, 8
jb 0x430b42
mov edx, dword [ebp - 0x3a4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x430b38
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431cf7
push ecx
push edx
call fcn.005b0fc9
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.00415590
lea eax, [ebp - 0x46c]
push 0x10
push eax
call fcn.005b3392
mov edi, eax
lea eax, [ebp - 0x464]
push 0x2040
push eax
call fcn.005b3392
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.00413170
mov edx, 0x62f31c
mov ecx, eax
call fcn.00412eb0
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.005b33c0
mov edx, eax
mov ecx, esi
call fcn.0041d510
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.005b33a6
mov edx, eax
mov ecx, esi
call fcn.0041d510
cmp dword [ebp - 0x390], 8
lea edx, [ebp - 0x3a4]
push dword [ebp - 0x394]
cmovae edx, dword [ebp - 0x3a4]
mov ecx, eax
call fcn.00413170
add esp, 0x40
mov edi, eax
lea eax, [ebp - 0x53c]
push 0
push 5
push eax
call fcn.005b33c0
mov esi, eax
mov edx, 0x62f31c
mov ecx, edi
call fcn.00412eb0
mov edx, esi
mov ecx, eax
call fcn.0041d510
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.005b3392
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.00413170
add esp, 0x20
lea esi, [ebp - 0x344]
cmp dword [ebp - 0x330], 8
mov edx, 0x62f720
mov ecx, eax
cmovae esi, dword [ebp - 0x344]
call fcn.00412eb0
mov edx, esi
mov ecx, eax
call fcn.00412eb0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x66b940]
cmp eax, dword [ecx + 4]
jg 0x431c3f
lea eax, [ebp - 0x3bc]
push eax
lea ecx, [ebp - 0x504]
call fcn.00416140
mov byte [ebp - 4], 9
mov ecx, dword [0x661acc]
cmp ecx, 8
jb 0x430d82
mov edx, dword [0x661ab8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x430d78
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431cf7
push ecx
push edx
call fcn.005b0fc9
add esp, 8
movups xmm0, xmmword [ebp - 0x3bc]
xor eax, eax
mov word [ebp - 0x3bc], ax
movups xmmword [0x661ab8], xmm0
movq xmm0, qword [ebp - 0x3ac]
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x390]
movq qword [0x661ac8], xmm0
mov dword [ebp - 0x3ac], 0
mov dword [ebp - 0x3a8], 7
cmp ecx, 8
jb 0x430e01
mov edx, dword [ebp - 0x3a4]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x430df7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431cf7
push ecx
push edx
call fcn.005b0fc9
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 0x430e62
mov edx, dword [ebp - 0x374]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x430e58
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431cf7
push ecx
push edx
call fcn.005b0fc9
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 0x430ec3
mov edx, dword [ebp - 0x344]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x430eb9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431cf7
push ecx
push edx
call fcn.005b0fc9
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 0x430f24
mov edx, dword [ebp - 0x35c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x430f1a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431cf7
push ecx
push edx
call fcn.005b0fc9
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.00415590
call fcn.0041c750
cmp dword [0x661acc], 8
mov edx, 0x661ab8
push dword [0x661ac8]
cmovae edx, dword [0x661ab8]
mov ecx, eax
call fcn.00413170
mov edx, str.Display_Key_Name:
mov ecx, eax
call fcn.00411a00
lea edx, [ebp - 0x32c]
mov ecx, eax
call fcn.00412eb0
push eax
call fcn.004141e0
add esp, 8
lea eax, [ebp - 0x32c]
push eax
lea ecx, [ebp - 0x408]
call fcn.004078f2
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.0041c750
test edi, edi
jne 0x431ab9
cmp dword [eax + 4], 3
jl 0x431657
call fcn.0041c750
push ecx
lea ecx, [ebp - 0x51c]
mov dword [ebp - 0x40c], eax
call fcn.004156b0
xorps xmm0, xmm0
mov dword [ebp - 0x364], edi
xor eax, eax
mov dword [ebp - 0x360], 7
movups xmmword [ebp - 0x374], xmm0
mov word [ebp - 0x374], ax
push str.TRACE
lea ecx, [ebp - 0x374]
mov byte [ebp - 4], 0xc
call fcn.00414980
xorps xmm0, xmm0
xor edx, edx
mov edi, 7
mov dword [ebp - 0x334], edx
xor eax, eax
mov dword [ebp - 0x330], edi
movups xmmword [ebp - 0x344], xmm0
mov word [ebp - 0x344], ax
mov eax, dword [ebp - 0x40c]
xor esi, esi
mov byte [ebp - 4], 0xd
cmp dword [eax + 0xc], esi
jle 0x4310dd
nop dword [eax]
cmp esi, 0xa
jge 0x4310dd
mov eax, edi
lea ecx, [ebp - 0x344]
sub eax, edx
cmp eax, 2
jb 0x4310a8
cmp edi, 8
lea eax, [edx + 2]
mov dword [ebp - 0x334], eax
cmovae ecx, dword [ebp - 0x344]
mov eax, dword [0x62f6e0]
mov dword [ecx + edx*2], eax
xor eax, eax
mov word [ecx + edx*2 + 4], ax
jmp 0x4310c3
push 2
push 0x62f6e0
mov byte [ebp - 0x438], 0
push dword [ebp - 0x438]
push 2
call fcn.0041d540
mov eax, dword [ebp - 0x40c]
inc esi
cmp esi, dword [eax + 0xc]
jge 0x4310dd
mov edi, dword [ebp - 0x330]
mov edx, dword [ebp - 0x334]
jmp 0x431070
xorps xmm0, xmm0
mov dword [ebp - 0x34c], 0
xor eax, eax
mov dword [ebp - 0x348], 7
movups xmmword [ebp - 0x35c], xmm0
mov word [ebp - 0x35c], ax
movups xmmword [ebp - 0x38c], xmm0
mov dword [ebp - 0x37c], eax
mov dword [ebp - 0x378], 7
mov word [ebp - 0x38c], ax
mov byte [ebp - 4], 0xf
call fcn.005be42d
lea eax, [ebp - 0x28]
push 0xb
push eax
call fcn.005be553
add esp, 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x35c]
push eax
call fcn.00414980
push ecx
lea ecx, [ebp - 0xdc]
call fcn.004156b0
mov esi, dword [ebp - 0x40c]
mov byte [ebp - 4], 0x10
cmp dword [esi + 0x10], 0
jne 0x43117c
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push 0
lea ecx, [ebp - 0xcc]
mov dword [esi + 0x10], eax
call fcn.0040fc40
jmp 0x4311ac
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0x10]
lea ecx, [ebp - 0xcc]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
addsd xmm1, qword [eax*8 + 0x6359f0]
divsd xmm1, qword [0x635968]
call fcn.0041cf00
lea eax, [ebp - 0x3bc]
push eax
lea ecx, [ebp - 0xc4]
call fcn.00416140
mov byte [ebp - 4], 0x11
mov ecx, dword [ebp - 0x378]
cmp ecx, 8
jb 0x431202
mov edx, dword [ebp - 0x38c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4311f8
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431cf7
push ecx
push edx
call fcn.005b0fc9
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.00415590
lea eax, [ebp - 0x454]
push 0x10
push eax
call fcn.005b3392
mov edi, eax
lea eax, [ebp - 0x44c]
push 0x2040
push eax
call fcn.005b3392
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.00413170
mov edx, 0x62f31c
mov ecx, eax
call fcn.00412eb0
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.005b33c0
mov edx, eax
mov ecx, esi
call fcn.0041d510
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.005b33a6
mov edx, eax
mov ecx, esi
call fcn.0041d510
cmp dword [ebp - 0x378], 8
lea edx, [ebp - 0x38c]
push dword [ebp - 0x37c]
cmovae edx, dword [ebp - 0x38c]
mov ecx, eax
call fcn.00413170
add esp, 0x40
mov edi, eax
lea eax, [ebp - 0x56c]
push 0
push 5
push eax
call fcn.005b33c0
mov esi, eax
mov edx, 0x62f31c
mov ecx, edi
call fcn.00412eb0
mov edx, esi
mov ecx, eax
call fcn.0041d510
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.005b3392
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.00413170
add esp, 0x20
lea esi, [ebp - 0x344]
cmp dword [ebp - 0x330], 8
mov edx, 0x62f720
mov ecx, eax
cmovae esi, dword [ebp - 0x344]
call fcn.00412eb0
mov edx, esi
mov ecx, eax
call fcn.00412eb0
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x66b940]
cmp eax, dword [ecx + 4]
jg 0x431c9b
lea eax, [ebp - 0x3d4]
push eax
lea ecx, [ebp - 0x504]
call fcn.00416140
mov byte [ebp - 4], 0x12
mov ecx, dword [0x661acc]
cmp ecx, 8
jb 0x431442
mov edx, dword [0x661ab8]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x431438
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431cf7
push ecx
push edx
call fcn.005b0fc9
add esp, 8
movups xmm0, xmmword [ebp - 0x3d4]
xor eax, eax
mov word [ebp - 0x3d4], ax
movups xmmword [0x661ab8], xmm0
movq xmm0, qword [ebp - 0x3c4]
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x378]
movq qword [0x661ac8], xmm0
mov dword [ebp - 0x3c4], 0
mov dword [ebp - 0x3c0], 7
cmp ecx, 8
jb 0x4314c1
mov edx, dword [ebp - 0x38c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4314b7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431cf7
push ecx
push edx
call fcn.005b0fc9
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 0x431522
mov edx, dword [ebp - 0x35c]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x431518
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431cf7
push ecx
push edx
call fcn.005b0fc9
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 0x431583
mov edx, dword [ebp - 0x344]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x431579
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431cf7
push ecx
push edx
call fcn.005b0fc9
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 0x4315e4
mov edx, dword [ebp - 0x374]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4315da
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431cf7
push ecx
push edx
call fcn.005b0fc9
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.00415590
call fcn.0041c750
cmp dword [0x661acc], 8
mov edx, 0x661ab8
push dword [0x661ac8]
cmovae edx, dword [0x661ab8]
mov ecx, eax
call fcn.00413170
mov edx, str.Opened_Monitor_Key:
mov ecx, eax
call fcn.00411a00
lea edx, [ebp - 0x32c]
mov ecx, eax
call fcn.00412eb0
push eax
call fcn.004141e0
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.0041c750
test edi, edi
jne 0x431a5c
cmp dword [eax + 4], 3
jl 0x4316e5
push 3
call fcn.0041c750
mov ecx, eax
call fcn.0041c8c0
mov esi, eax
call fcn.0041c750
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x4316b9
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413170
mov edx, str.Opened_First_Key:
mov ecx, eax
call fcn.00411a00
lea edx, [ebp - 0x32c]
mov ecx, eax
call fcn.00412eb0
push eax
call fcn.004141e0
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.0041c750
test edi, edi
jne 0x431a5c
cmp dword [eax + 4], 3
jl 0x431766
push 3
call fcn.0041c750
mov ecx, eax
call fcn.0041c8c0
mov esi, eax
call fcn.0041c750
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x43173a
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413170
mov edx, str.Read_First_Key:
mov ecx, eax
call fcn.00411a00
lea edx, [ebp - 0x32c]
mov ecx, eax
call fcn.00412eb0
push eax
call fcn.004141e0
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.0041c750
test edi, edi
jne 0x4319f0
cmp dword [eax + 4], 3
jl 0x4317d8
push 3
call fcn.0041c750
mov ecx, eax
call fcn.0041c8c0
mov esi, eax
call fcn.0041c750
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x4317b9
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413170
mov edx, str.Control_key:
mov ecx, eax
call fcn.00411a00
push eax
call fcn.004141e0
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 0x4319b5
call fcn.0041c750
cmp dword [eax + 4], 3
jl 0x431854
push 3
call fcn.0041c750
mov ecx, eax
call fcn.0041c8c0
mov esi, eax
call fcn.0041c750
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x431835
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413170
mov edx, str.Device_Params
mov ecx, eax
call fcn.00411a00
push eax
call fcn.004141e0
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.0041c750
test edi, edi
jne 0x43193d
cmp dword [eax + 4], 3
jl 0x4318e7
push 3
call fcn.0041c750
mov ecx, eax
call fcn.0041c8c0
mov esi, eax
call fcn.0041c750
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x4318b5
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413170
mov esi, dword [ebp - 0x410]
add esp, 4
mov edx, str.Checked_EDID_for_monitor:
mov ecx, eax
push esi
call fcn.00411a00
mov ecx, eax
call fcn.00415850
push eax
call fcn.004141e0
add esp, 4
jmp 0x4318ed
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.0042f040
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 0x431b08
cmp dword [eax + 4], 3
jl 0x43198c
push 3
call fcn.0041c750
mov ecx, eax
call fcn.0041c8c0
mov esi, eax
call fcn.0041c750
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x431962
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413170
add esp, 4
mov edx, str.Error:
mov ecx, eax
push edi
call fcn.00411a00
mov ecx, eax
call fcn.00432cc0
push eax
call fcn.004141e0
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 0x431b08
call fcn.0041c750
cmp dword [eax + 4], 3
jl 0x431a3f
push 3
call fcn.0041c750
mov ecx, eax
call fcn.0041c8c0
mov esi, eax
call fcn.0041c750
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x4319df
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413170
add esp, 4
push 0
jmp 0x431a23
cmp dword [eax + 4], 3
jl 0x431a3f
push 3
call fcn.0041c750
mov ecx, eax
call fcn.0041c8c0
mov esi, eax
call fcn.0041c750
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x431a15
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413170
add esp, 4
push edi
mov edx, str.Error:
mov ecx, eax
call fcn.00411a00
mov ecx, eax
call fcn.00432cc0
push eax
call fcn.004141e0
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 0x431b08
cmp dword [eax + 4], 3
jl 0x431aab
push 3
call fcn.0041c750
mov ecx, eax
call fcn.0041c8c0
mov esi, eax
call fcn.0041c750
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x431a81
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413170
add esp, 4
mov edx, str.Error:
mov ecx, eax
push edi
call fcn.00411a00
mov ecx, eax
call fcn.00432cc0
push eax
call fcn.004141e0
add esp, 4
push dword [ebp - 0x41c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x431b08
cmp dword [eax + 4], 3
jl 0x431b08
push 3
call fcn.0041c750
mov ecx, eax
call fcn.0041c8c0
mov esi, eax
call fcn.0041c750
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x431ade
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413170
add esp, 4
mov edx, str.Error:
mov ecx, eax
push edi
call fcn.00411a00
mov ecx, eax
call fcn.00432cc0
push eax
call fcn.004141e0
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 0x431b58
mov edx, dword [ebp - 0x408]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x431b4e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x431cf7
push ecx
push edx
call fcn.005b0fc9
add esp, 8
mov ecx, dword [ebp - 0x430]
inc ecx
jmp 0x4308e9
cmp esi, 0x103
je 0x431bc0
call fcn.0041c750
cmp dword [eax + 4], 3
jl 0x431bc0
push 3
call fcn.0041c750
mov ecx, eax
call fcn.0041c8c0
mov edi, eax
call fcn.0041c750
cmp dword [edi + 0x14], 8
mov edx, edi
jb 0x431b96
mov edx, dword [edi]
push dword [edi + 0x10]
mov ecx, eax
call fcn.00413170
add esp, 4
mov edx, str.Error:
mov ecx, eax
push esi
call fcn.00411a00
mov ecx, eax
call fcn.00432cc0
push eax
call fcn.004141e0
add esp, 4
push dword [ebp - 0x420]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x431c17
call fcn.0041c750
cmp dword [eax + 4], 3
jl 0x431c17
push 3
call fcn.0041c750
mov ecx, eax
call fcn.0041c8c0
mov esi, eax
call fcn.0041c750
cmp dword [esi + 0x14], 8
mov edx, esi
jb 0x431bf8
mov edx, dword [esi]
push dword [esi + 0x10]
mov ecx, eax
call fcn.00413170
mov edx, str.Error:
mov ecx, eax
call fcn.00411a00
push eax
call fcn.004141e0
add esp, 8
lea ecx, [ebp - 0x3f0]
call fcn.00414280
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.005b0d47
mov esp, ebp
pop ebp
ret
push 0x66b940
call fcn.005b1053
add esp, 4
cmp dword [0x66b940], 0xffffffff
jne 0x430d2c
xorps xmm0, xmm0
mov dword [0x661ac8], 0
xor eax, eax
mov dword [0x661acc], 7
movups xmmword [0x661ab8], xmm0
push 0x5f5930
mov word [0x661ab8], ax
call fcn.005b0f91
push 0x66b940
call fcn.005b1002
add esp, 8
jmp 0x430d2c
push 0x66b940
call fcn.005b1053
add esp, 4
cmp dword [0x66b940], 0xffffffff
jne 0x4313ec
xorps xmm0, xmm0
mov dword [0x661ac8], 0
xor eax, eax
mov dword [0x661acc], 7
movups xmmword [0x661ab8], xmm0
push 0x5f5930
mov word [0x661ab8], ax
call fcn.005b0f91
push 0x66b940
call fcn.005b1002
add esp, 8
jmp 0x4313ec
call fcn.005b7faf
int3