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

Disassembly:
push 0xdf4
mov eax, 0x66e6df
call fcn.00626519
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 0x6d2f58
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.0063e100
add esp, 0xc
mov dword [ebp - 0x5c8], 0x100
lea ecx, [ebp - 0x5d0]
mov dword [ebp - 0x5d0], edi
push str.SYSTEMCurrentControlSetEnum_
call fcn.0043782b
mov esi, 0xc8
mov dword [ebp - 4], edi
push esi
lea eax, [ebp - 0x2e8]
push edi
push eax
call fcn.0063e100
push esi
xor esi, esi
lea eax, [ebp - 0x3b0]
push esi
push eax
call fcn.0063e100
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.00642eb3
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.00642eb3
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 0x437e19
mov ecx, dword [edi]
push edi
call dword [ecx + 0x10]
test eax, eax
mov eax, dword [edi]
jne 0x437e55
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.006264c3
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.00438812
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.00438812
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 0x438531
mov edi, esi
cmp word [ebp - 0x830], 0
jne 0x437f36
mov eax, esi
jmp 0x437f43
lea eax, [ebp - 0x830]
push eax
call fcn.00642eb3
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 0x437f6a
mov eax, dword [esi]
jmp 0x437f6c
mov eax, esi
push eax
lea ecx, [ebp - 0x5c0]
call fcn.0043782b
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.004387ea
push ecx
push str.VEN_
lea ecx, [ebp - 0x5c0]
call fcn.004309f5
test eax, eax
js 0x438011
push 8
push eax
lea eax, [ebp - 0xdd0]
push eax
lea ecx, [ebp - 0x5c0]
call fcn.00430946
mov byte [ebp - 4], 6
mov esi, dword [eax]
xor eax, eax
cmp word [esi], ax
je 0x437ff2
push esi
call fcn.00642eb3
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.004309f5
test eax, eax
js 0x43806e
push 8
push eax
lea eax, [ebp - 0xde4]
push eax
lea ecx, [ebp - 0x5c0]
call fcn.00430946
mov byte [ebp - 4], 7
mov esi, dword [eax]
xor eax, eax
cmp word [esi], ax
je 0x43804f
push esi
call fcn.00642eb3
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.00435c25
test eax, eax
jne 0x4384cc
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0x5e8]
call fcn.00435c25
test eax, eax
jne 0x4384cc
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 0x4380cc
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 0x4380e7
push 0xffffffffffffffff
push esi
push ecx
mov ecx, eax
call fcn.00428db4
cmp word [ebp - 0x934], 0
jne 0x4380f5
mov eax, esi
jmp 0x438102
lea eax, [ebp - 0x934]
push eax
call fcn.00642eb3
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.0043782b
lea ecx, [ebp - 0x5bc]
mov byte [ebp - 4], 8
call fcn.00437557
mov ecx, dword [ebp - 0xdd8]
cmp dword [ecx + 0x10], esi
je 0x43848a
lea eax, [ebp - 0x830]
mov dword [ebp - 0x5cc], esi
push eax
lea edx, [ebp - 0x5d0]
lea ecx, [ebp - 0x5cc]
call fcn.00437453
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 0x43846a
push 0x104
lea eax, [ebp - 0x5b8]
push esi
push eax
call fcn.0063e100
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 0x438445
push 0x6d3cc8
lea edx, [ebp - 0x5cc]
lea ecx, [ebp - 0xdf8]
call fcn.00437453
lea ecx, [ebp - 0x5b8]
mov byte [ebp - 4], 0xa
push ecx
mov edx, eax
lea ecx, [ebp - 0xdf4]
call fcn.00437453
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x5bc]
mov byte [ebp - 4], 0xb
call fcn.00430a26
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 0x438425
push 0x20a
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.0063e100
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 0x438423
push str.SYSTEMCurrentControlSetControlClass_
lea ecx, [ebp - 0x5bc]
call fcn.00430dac
lea eax, [ebp - 0x220]
push eax
lea edx, [ebp - 0x5bc]
lea ecx, [ebp - 0xdfc]
call fcn.00437453
pop ecx
push eax
lea ecx, [ebp - 0x5bc]
mov byte [ebp - 4], 0xc
call fcn.00430a26
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 0x438423
push 0x20a
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.0063e100
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 0x438390
xor edx, edx
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], edx
jb 0x438360
mov eax, dword [esi]
jmp 0x438362
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x220], cx
jne 0x438374
mov eax, edx
jmp 0x438381
lea eax, [ebp - 0x220]
push eax
call fcn.00642eb3
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.0063e100
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 0x438417
xor edx, edx
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], edx
jb 0x4383e7
mov eax, dword [ebx]
jmp 0x4383e9
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x220], cx
jne 0x4383fb
mov eax, edx
jmp 0x438408
lea eax, [ebp - 0x220]
push eax
call fcn.00642eb3
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 0x438423
cmp dword [esi + 0x10], eax
jne 0x438465
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 0x4381c6
jmp 0x43846a
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 0x438525
jmp 0x4384fc
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 0x437f28
mov dword [ebp - 0xdd0], edi
mov edi, dword [ebp - 0xe00]
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x437e1f