Function at 0x437bc2
Capabilities:
Print debug messages
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push 0xdf4
mov eax, 0x66b54f
call fcn.006233d9
mov dword [ebp - 0xdf0], edx
mov dword [ebp - 0xdd8], ecx
mov eax, dword [ebp + 0xc]
xor edi, edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xddc], eax
mov eax, dword [ebp + 0x10]
push edi
mov dword [ebp - 0xde8], eax
mov eax, dword [ebp + 0x14]
push 0x6cffd8
mov dword [ebp - 0xdec], eax
call fcn.004284b9
push 0x208
lea eax, [ebp - 0x5b8]
mov dword [ebp - 0xdd0], edi
push edi
push eax
mov dword [ebp - 0xdcc], edi
mov dword [ebp - 0xdd4], edi
call fcn.0063af90
add esp, 0xc
mov dword [ebp - 0x5c8], 0x100
lea ecx, [ebp - 0x5d0]
mov dword [ebp - 0x5d0], edi
push str.SYSTEMCurrentControlSetEnum_
call fcn.00437719
mov esi, 0xc8
mov dword [ebp - 4], edi
push esi
lea eax, [ebp - 0x2e8]
push edi
push eax
call fcn.0063af90
push esi
xor esi, esi
lea eax, [ebp - 0x3b0]
push esi
push eax
call fcn.0063af90
xor eax, eax
mov dword [ebp - 0x604], 7
mov edi, str.VEN_
mov dword [ebp - 0x608], esi
push edi
mov word [ebp - 0x618], ax
call fcn.0063fd28
add esp, 0x1c
lea ecx, [ebp - 0x618]
push eax
push edi
call fcn.004284b9
mov byte [ebp - 4], 1
xor eax, eax
mov edi, str.DEV_
mov dword [ebp - 0x5ec], 7
push edi
mov dword [ebp - 0x5f0], esi
mov word [ebp - 0x600], ax
call fcn.0063fd28
pop ecx
push eax
push edi
lea ecx, [ebp - 0x600]
call fcn.004284b9
push 0x20
mov byte [ebp - 4], 2
call dword [sym.imp.d3d9.dll_Direct3DCreate9]
mov edi, eax
mov dword [ebp - 0xe00], edi
test edi, edi
je 0x437d07
mov ecx, dword [edi]
push edi
call dword [ecx + 0x10]
test eax, eax
mov eax, dword [edi]
jne 0x437d43
push edi
call dword [eax + 8]
mov dword [ebp - 0xdd0], esi
push esi
push 1
lea ecx, [ebp - 0x600]
call fcn.00428e8b
push esi
push 1
lea ecx, [ebp - 0x618]
call fcn.00428e8b
mov ecx, dword [ebp - 0x5d0]
add ecx, 0xfffffff0
call fcn.004246cb
mov eax, dword [ebp - 0xdd0]
call fcn.00623383
ret
lea ecx, [ebp - 0xdc8]
push ecx
push esi
push esi
push edi
call dword [eax + 0x14]
push dword [ebp - 0x9a0]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x2e8]
push str._04X
push eax
call esi
lea eax, [ebp - 0x2e8]
push eax
lea edx, [ebp - 0x618]
lea ecx, [ebp - 0x5e8]
call fcn.00438700
add esp, 0x10
lea ecx, [ebp - 0x618]
push eax
call fcn.0042521f
xor eax, eax
lea ecx, [ebp - 0x5e8]
push eax
push 1
call fcn.00428e8b
push dword [ebp - 0x99c]
lea eax, [ebp - 0x3b0]
push str._04X
push eax
call esi
lea eax, [ebp - 0x3b0]
push eax
lea edx, [ebp - 0x600]
lea ecx, [ebp - 0x5e8]
call fcn.00438700
add esp, 0x10
lea ecx, [ebp - 0x600]
push eax
call fcn.0042521f
xor esi, esi
lea ecx, [ebp - 0x5e8]
push esi
push 1
call fcn.00428e8b
push esi
lea eax, [ebp - 0x978]
mov dword [ebp - 0x978], 0x348
push eax
push esi
push esi
mov dword [ebp - 0xde0], esi
call dword [sym.imp.USER32.dll_EnumDisplayDevicesW]
test eax, eax
je 0x43841f
mov edi, esi
cmp word [ebp - 0x830], 0
jne 0x437e24
mov eax, esi
jmp 0x437e31
lea eax, [ebp - 0x830]
push eax
call fcn.0063fd28
pop ecx
mov esi, dword [ebp - 0xdd8]
mov ecx, esi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.004284b9
xor eax, eax
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x5c0], eax
jb 0x437e58
mov eax, dword [esi]
jmp 0x437e5a
mov eax, esi
push eax
lea ecx, [ebp - 0x5c0]
call fcn.00437719
push 7
pop edx
xor ecx, ecx
mov dword [ebp - 0x5d4], edx
xor eax, eax
mov dword [ebp - 0x5d8], ecx
mov word [ebp - 0x5e8], ax
mov dword [ebp - 0x61c], edx
mov dword [ebp - 0x620], ecx
mov word [ebp - 0x630], ax
lea ecx, [ebp - 0x5c0]
mov byte [ebp - 4], 5
call fcn.004386d8
push ecx
push str.VEN_
lea ecx, [ebp - 0x5c0]
call fcn.004309b6
test eax, eax
js 0x437eff
push 8
push eax
lea eax, [ebp - 0xdd0]
push eax
lea ecx, [ebp - 0x5c0]
call fcn.00430907
mov byte [ebp - 4], 6
mov esi, dword [eax]
xor eax, eax
cmp word [esi], ax
je 0x437ee0
push esi
call fcn.0063fd28
pop ecx
push eax
push esi
lea ecx, [ebp - 0x5e8]
call fcn.004284b9
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xdd0]
add ecx, 0xfffffff0
call fcn.004246cb
push ecx
push str.DEV_
lea ecx, [ebp - 0x5c0]
call fcn.004309b6
test eax, eax
js 0x437f5c
push 8
push eax
lea eax, [ebp - 0xde4]
push eax
lea ecx, [ebp - 0x5c0]
call fcn.00430907
mov byte [ebp - 4], 7
mov esi, dword [eax]
xor eax, eax
cmp word [esi], ax
je 0x437f3d
push esi
call fcn.0063fd28
pop ecx
push eax
push esi
lea ecx, [ebp - 0x630]
call fcn.004284b9
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xde4]
lea ecx, [ecx - 0x10]
call fcn.004246cb
lea eax, [ebp - 0x600]
push eax
lea ecx, [ebp - 0x630]
call fcn.00435b29
test eax, eax
jne 0x4383ba
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0x5e8]
call fcn.00435b29
test eax, eax
jne 0x4383ba
lea eax, [ebp - 0x934]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp - 0xde8]
lea ecx, [ebp - 0x618]
xor esi, esi
cmp eax, ecx
je 0x437fba
push 0xffffffffffffffff
push esi
push ecx
mov ecx, eax
call fcn.00428d74
mov eax, dword [ebp - 0xdec]
lea ecx, [ebp - 0x600]
cmp eax, ecx
je 0x437fd5
push 0xffffffffffffffff
push esi
push ecx
mov ecx, eax
call fcn.00428d74
cmp word [ebp - 0x934], 0
jne 0x437fe3
mov eax, esi
jmp 0x437ff0
lea eax, [ebp - 0x934]
push eax
call fcn.0063fd28
pop ecx
mov ecx, dword [ebp - 0xdf0]
push eax
lea eax, [ebp - 0x934]
push eax
call fcn.004284b9
lea eax, [ebp - 0x730]
mov dword [ebp - 0x5bc], esi
push eax
lea ecx, [ebp - 0x5bc]
call fcn.00437719
lea ecx, [ebp - 0x5bc]
mov byte [ebp - 4], 8
call fcn.004374c2
mov ecx, dword [ebp - 0xdd8]
cmp dword [ecx + 0x10], esi
je 0x438378
lea eax, [ebp - 0x830]
mov dword [ebp - 0x5cc], esi
push eax
lea edx, [ebp - 0x5d0]
lea ecx, [ebp - 0x5cc]
call fcn.004373be
pop ecx
lea eax, [ebp - 0xdcc]
mov byte [ebp - 4], 9
push eax
push 0x20019
push esi
push dword [ebp - 0x5cc]
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x438358
push 0x104
lea eax, [ebp - 0x5b8]
push esi
push eax
call fcn.0063af90
add esp, 0xc
lea eax, [ebp - 0x5c8]
push esi
push esi
push esi
push esi
push eax
lea eax, [ebp - 0x5b8]
push eax
push dword [ebp - 0xdd4]
jmp 0x438333
push 0x6d0d48
lea edx, [ebp - 0x5cc]
lea ecx, [ebp - 0xdf8]
call fcn.004373be
lea ecx, [ebp - 0x5b8]
mov byte [ebp - 4], 0xa
push ecx
mov edx, eax
lea ecx, [ebp - 0xdf4]
call fcn.004373be
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x5bc]
mov byte [ebp - 4], 0xb
call fcn.004309e7
mov ecx, dword [ebp - 0xdf4]
lea ecx, [ecx - 0x10]
call fcn.004246cb
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xdf8]
lea ecx, [ecx - 0x10]
call fcn.004246cb
lea eax, [ebp - 0xdcc]
push eax
push 0x20019
push esi
push dword [ebp - 0x5bc]
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x438313
push 0x20a
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.0063af90
add esp, 0xc
mov dword [ebp - 0x5c4], 0x104
lea eax, [ebp - 0x5c4]
push eax
lea eax, [ebp - 0x220]
push eax
push esi
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push str.Driver
push dword [ebp - 0xdcc]
call esi
test eax, eax
jne 0x438311
push str.SYSTEMCurrentControlSetControlClass_
lea ecx, [ebp - 0x5bc]
call fcn.00430d6d
lea eax, [ebp - 0x220]
push eax
lea edx, [ebp - 0x5bc]
lea ecx, [ebp - 0xdfc]
call fcn.004373be
pop ecx
push eax
lea ecx, [ebp - 0x5bc]
mov byte [ebp - 4], 0xc
call fcn.004309e7
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xdfc]
lea ecx, [ecx - 0x10]
call fcn.004246cb
lea eax, [ebp - 0xdcc]
push eax
push 0x20019
xor eax, eax
push eax
push dword [ebp - 0x5bc]
push closesocket
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x438311
push 0x20a
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0063af90
add esp, 0xc
mov dword [ebp - 0x5c4], 0x104
lea eax, [ebp - 0x5c4]
push eax
lea eax, [ebp - 0x220]
push eax
xor eax, eax
push eax
push eax
push str.DriverDate
push dword [ebp - 0xdcc]
call esi
mov esi, dword [ebp - 0xddc]
test eax, eax
jne 0x43827e
xor edx, edx
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], edx
jb 0x43824e
mov eax, dword [esi]
jmp 0x438250
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x220], cx
jne 0x438262
mov eax, edx
jmp 0x43826f
lea eax, [ebp - 0x220]
push eax
call fcn.0063fd28
pop ecx
push eax
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
call fcn.004284b9
xor eax, eax
push 0x20a
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0063af90
add esp, 0xc
mov dword [ebp - 0x5c4], 0x104
lea eax, [ebp - 0x5c4]
push eax
lea eax, [ebp - 0x220]
push eax
xor eax, eax
push eax
push eax
push str.DriverVersion
push dword [ebp - 0xdcc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x438305
xor edx, edx
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], edx
jb 0x4382d5
mov eax, dword [ebx]
jmp 0x4382d7
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x220], cx
jne 0x4382e9
mov eax, edx
jmp 0x4382f6
lea eax, [ebp - 0x220]
push eax
call fcn.0063fd28
pop ecx
push eax
lea eax, [ebp - 0x220]
mov ecx, ebx
push eax
call fcn.004284b9
xor eax, eax
cmp dword [ebx + 0x10], eax
je 0x438311
cmp dword [esi + 0x10], eax
jne 0x438353
xor esi, esi
mov eax, dword [ebp - 0xdd4]
lea ecx, [ebp - 0x5c8]
push esi
push esi
push esi
push esi
push ecx
lea ecx, [ebp - 0x5b8]
inc eax
push ecx
mov dword [ebp - 0xdd4], eax
push eax
push dword [ebp - 0xdcc]
mov dword [ebp - 0x5c8], 0x100
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x4380b4
jmp 0x438358
xor edi, edi
inc edi
xor esi, esi
push dword [ebp - 0xdcc]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x5cc]
mov dword [ebp - 0xdcc], esi
lea ecx, [ecx - 0x10]
call fcn.004246cb
mov ecx, dword [ebp - 0x5bc]
lea ecx, [ecx - 0x10]
call fcn.004246cb
push esi
push 1
lea ecx, [ebp - 0x630]
call fcn.00428e8b
push esi
push 1
lea ecx, [ebp - 0x5e8]
call fcn.00428e8b
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x5c0]
lea ecx, [ecx - 0x10]
call fcn.004246cb
test edi, edi
jne 0x438413
jmp 0x4383ea
xor esi, esi
lea ecx, [ebp - 0x630]
push esi
push 1
call fcn.00428e8b
push esi
push 1
lea ecx, [ebp - 0x5e8]
call fcn.00428e8b
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x5c0]
lea ecx, [ecx - 0x10]
call fcn.004246cb
mov esi, dword [ebp - 0xde0]
xor eax, eax
push eax
lea eax, [ebp - 0x978]
inc esi
push eax
push esi
mov dword [ebp - 0xde0], esi
xor esi, esi
push esi
call dword [sym.imp.USER32.dll_EnumDisplayDevicesW]
test eax, eax
jne 0x437e16
mov dword [ebp - 0xdd0], edi
mov edi, dword [ebp - 0xe00]
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x437d0d