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

Disassembly:
push 0xdf4
mov eax, 0x66eb0f
call fcn.00626979
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 0x6d3f48
mov dword [ebp - 0xdec], eax
call fcn.004284f9
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.0063e4e0
add esp, 0xc
mov dword [ebp - 0x5c8], 0x100
lea ecx, [ebp - 0x5d0]
mov dword [ebp - 0x5d0], edi
push str.SYSTEMCurrentControlSetEnum_
call fcn.0043784d
mov esi, 0xc8
mov dword [ebp - 4], edi
push esi
lea eax, [ebp - 0x2e8]
push edi
push eax
call fcn.0063e4e0
push esi
xor esi, esi
lea eax, [ebp - 0x3b0]
push esi
push eax
call fcn.0063e4e0
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.00643278
add esp, 0x1c
lea ecx, [ebp - 0x618]
push eax
push edi
call fcn.004284f9
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.00643278
pop ecx
push eax
push edi
lea ecx, [ebp - 0x600]
call fcn.004284f9
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 0x437e3b
mov ecx, dword [edi]
push edi
call dword [ecx + 0x10]
test eax, eax
mov eax, dword [edi]
jne 0x437e77
push edi
call dword [eax + 8]
mov dword [ebp - 0xdd0], esi
push esi
push 1
lea ecx, [ebp - 0x600]
call fcn.00428ecb
push esi
push 1
lea ecx, [ebp - 0x618]
call fcn.00428ecb
mov ecx, dword [ebp - 0x5d0]
add ecx, 0xfffffff0
call fcn.0042470b
mov eax, dword [ebp - 0xdd0]
call fcn.00626923
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.00438834
add esp, 0x10
lea ecx, [ebp - 0x618]
push eax
call fcn.0042525f
xor eax, eax
lea ecx, [ebp - 0x5e8]
push eax
push 1
call fcn.00428ecb
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.00438834
add esp, 0x10
lea ecx, [ebp - 0x600]
push eax
call fcn.0042525f
xor esi, esi
lea ecx, [ebp - 0x5e8]
push esi
push 1
call fcn.00428ecb
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 0x438553
mov edi, esi
cmp word [ebp - 0x830], 0
jne 0x437f58
mov eax, esi
jmp 0x437f65
lea eax, [ebp - 0x830]
push eax
call fcn.00643278
pop ecx
mov esi, dword [ebp - 0xdd8]
mov ecx, esi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.004284f9
xor eax, eax
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x5c0], eax
jb 0x437f8c
mov eax, dword [esi]
jmp 0x437f8e
mov eax, esi
push eax
lea ecx, [ebp - 0x5c0]
call fcn.0043784d
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.0043880c
push ecx
push str.VEN_
lea ecx, [ebp - 0x5c0]
call fcn.00430a17
test eax, eax
js 0x438033
push 8
push eax
lea eax, [ebp - 0xdd0]
push eax
lea ecx, [ebp - 0x5c0]
call fcn.00430968
mov byte [ebp - 4], 6
mov esi, dword [eax]
xor eax, eax
cmp word [esi], ax
je 0x438014
push esi
call fcn.00643278
pop ecx
push eax
push esi
lea ecx, [ebp - 0x5e8]
call fcn.004284f9
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xdd0]
add ecx, 0xfffffff0
call fcn.0042470b
push ecx
push str.DEV_
lea ecx, [ebp - 0x5c0]
call fcn.00430a17
test eax, eax
js 0x438090
push 8
push eax
lea eax, [ebp - 0xde4]
push eax
lea ecx, [ebp - 0x5c0]
call fcn.00430968
mov byte [ebp - 4], 7
mov esi, dword [eax]
xor eax, eax
cmp word [esi], ax
je 0x438071
push esi
call fcn.00643278
pop ecx
push eax
push esi
lea ecx, [ebp - 0x630]
call fcn.004284f9
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0xde4]
lea ecx, [ecx - 0x10]
call fcn.0042470b
lea eax, [ebp - 0x600]
push eax
lea ecx, [ebp - 0x630]
call fcn.00435c47
test eax, eax
jne 0x4384ee
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0x5e8]
call fcn.00435c47
test eax, eax
jne 0x4384ee
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 0x4380ee
push 0xffffffffffffffff
push esi
push ecx
mov ecx, eax
call fcn.00428db4
mov eax, dword [ebp - 0xdec]
lea ecx, [ebp - 0x600]
cmp eax, ecx
je 0x438109
push 0xffffffffffffffff
push esi
push ecx
mov ecx, eax
call fcn.00428db4
cmp word [ebp - 0x934], 0
jne 0x438117
mov eax, esi
jmp 0x438124
lea eax, [ebp - 0x934]
push eax
call fcn.00643278
pop ecx
mov ecx, dword [ebp - 0xdf0]
push eax
lea eax, [ebp - 0x934]
push eax
call fcn.004284f9
lea eax, [ebp - 0x730]
mov dword [ebp - 0x5bc], esi
push eax
lea ecx, [ebp - 0x5bc]
call fcn.0043784d
lea ecx, [ebp - 0x5bc]
mov byte [ebp - 4], 8
call fcn.00437579
mov ecx, dword [ebp - 0xdd8]
cmp dword [ecx + 0x10], esi
je 0x4384ac
lea eax, [ebp - 0x830]
mov dword [ebp - 0x5cc], esi
push eax
lea edx, [ebp - 0x5d0]
lea ecx, [ebp - 0x5cc]
call fcn.00437475
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 0x43848c
push 0x104
lea eax, [ebp - 0x5b8]
push esi
push eax
call fcn.0063e4e0
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 0x438467
push 0x6d4cb8
lea edx, [ebp - 0x5cc]
lea ecx, [ebp - 0xdf8]
call fcn.00437475
lea ecx, [ebp - 0x5b8]
mov byte [ebp - 4], 0xa
push ecx
mov edx, eax
lea ecx, [ebp - 0xdf4]
call fcn.00437475
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x5bc]
mov byte [ebp - 4], 0xb
call fcn.00430a48
mov ecx, dword [ebp - 0xdf4]
lea ecx, [ecx - 0x10]
call fcn.0042470b
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xdf8]
lea ecx, [ecx - 0x10]
call fcn.0042470b
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 0x438447
push 0x20a
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.0063e4e0
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 0x438445
push str.SYSTEMCurrentControlSetControlClass_
lea ecx, [ebp - 0x5bc]
call fcn.00430dce
lea eax, [ebp - 0x220]
push eax
lea edx, [ebp - 0x5bc]
lea ecx, [ebp - 0xdfc]
call fcn.00437475
pop ecx
push eax
lea ecx, [ebp - 0x5bc]
mov byte [ebp - 4], 0xc
call fcn.00430a48
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0xdfc]
lea ecx, [ecx - 0x10]
call fcn.0042470b
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 0x438445
push 0x20a
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0063e4e0
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 0x4383b2
xor edx, edx
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], edx
jb 0x438382
mov eax, dword [esi]
jmp 0x438384
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x220], cx
jne 0x438396
mov eax, edx
jmp 0x4383a3
lea eax, [ebp - 0x220]
push eax
call fcn.00643278
pop ecx
push eax
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
call fcn.004284f9
xor eax, eax
push 0x20a
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0063e4e0
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 0x438439
xor edx, edx
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], edx
jb 0x438409
mov eax, dword [ebx]
jmp 0x43840b
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x220], cx
jne 0x43841d
mov eax, edx
jmp 0x43842a
lea eax, [ebp - 0x220]
push eax
call fcn.00643278
pop ecx
push eax
lea eax, [ebp - 0x220]
mov ecx, ebx
push eax
call fcn.004284f9
xor eax, eax
cmp dword [ebx + 0x10], eax
je 0x438445
cmp dword [esi + 0x10], eax
jne 0x438487
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 0x4381e8
jmp 0x43848c
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.0042470b
mov ecx, dword [ebp - 0x5bc]
lea ecx, [ecx - 0x10]
call fcn.0042470b
push esi
push 1
lea ecx, [ebp - 0x630]
call fcn.00428ecb
push esi
push 1
lea ecx, [ebp - 0x5e8]
call fcn.00428ecb
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x5c0]
lea ecx, [ecx - 0x10]
call fcn.0042470b
test edi, edi
jne 0x438547
jmp 0x43851e
xor esi, esi
lea ecx, [ebp - 0x630]
push esi
push 1
call fcn.00428ecb
push esi
push 1
lea ecx, [ebp - 0x5e8]
call fcn.00428ecb
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x5c0]
lea ecx, [ecx - 0x10]
call fcn.0042470b
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 0x437f4a
mov dword [ebp - 0xdd0], edi
mov edi, dword [ebp - 0xe00]
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x437e41