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

Disassembly:
push 0xdf4
mov eax, 0x66995f
call fcn.00621869
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 0x6cded8
mov dword [ebp - 0xdec], eax
call fcn.004284c0
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.00639410
add esp, 0xc
mov dword [ebp - 0x5c8], 0x100
lea ecx, [ebp - 0x5d0]
mov dword [ebp - 0x5d0], edi
push str.SYSTEMCurrentControlSetEnum_
call fcn.0043773e
mov esi, 0xc8
mov dword [ebp - 4], edi
push esi
lea eax, [ebp - 0x2e8]
push edi
push eax
call fcn.00639410
push esi
xor esi, esi
lea eax, [ebp - 0x3b0]
push esi
push eax
call fcn.00639410
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.0063e1a8
add esp, 0x1c
lea ecx, [ebp - 0x618]
push eax
push edi
call fcn.004284c0
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.0063e1a8
pop ecx
push eax
push edi
lea ecx, [ebp - 0x600]
call fcn.004284c0
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 0x4378d2
mov ecx, dword [edi]
push edi
call dword [ecx + 0x10]
test eax, eax
mov eax, dword [edi]
jne 0x43790e
push edi
call dword [eax + 8]
mov dword [ebp - 0xdd0], esi
push esi
push 1
lea ecx, [ebp - 0x600]
call fcn.00428e92
push esi
push 1
lea ecx, [ebp - 0x618]
call fcn.00428e92
mov ecx, dword [ebp - 0x5d0]
add ecx, 0xfffffff0
call fcn.004246cb
mov eax, dword [ebp - 0xdd0]
call fcn.00621813
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.004382cb
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.00428e92
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.004382cb
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.00428e92
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 0x437fea
mov edi, esi
cmp word [ebp - 0x830], 0
jne 0x4379ef
mov eax, esi
jmp 0x4379fc
lea eax, [ebp - 0x830]
push eax
call fcn.0063e1a8
pop ecx
mov esi, dword [ebp - 0xdd8]
mov ecx, esi
push eax
lea eax, [ebp - 0x830]
push eax
call fcn.004284c0
xor eax, eax
cmp dword [esi + 0x14], 8
mov dword [ebp - 0x5c0], eax
jb 0x437a23
mov eax, dword [esi]
jmp 0x437a25
mov eax, esi
push eax
lea ecx, [ebp - 0x5c0]
call fcn.0043773e
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.004382a3
push ecx
push str.VEN_
lea ecx, [ebp - 0x5c0]
call fcn.004309c5
test eax, eax
js 0x437aca
push 8
push eax
lea eax, [ebp - 0xdd0]
push eax
lea ecx, [ebp - 0x5c0]
call fcn.00430916
mov byte [ebp - 4], 6
mov esi, dword [eax]
xor eax, eax
cmp word [esi], ax
je 0x437aab
push esi
call fcn.0063e1a8
pop ecx
push eax
push esi
lea ecx, [ebp - 0x5e8]
call fcn.004284c0
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.004309c5
test eax, eax
js 0x437b27
push 8
push eax
lea eax, [ebp - 0xde4]
push eax
lea ecx, [ebp - 0x5c0]
call fcn.00430916
mov byte [ebp - 4], 7
mov esi, dword [eax]
xor eax, eax
cmp word [esi], ax
je 0x437b08
push esi
call fcn.0063e1a8
pop ecx
push eax
push esi
lea ecx, [ebp - 0x630]
call fcn.004284c0
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.00435b38
test eax, eax
jne 0x437f85
lea eax, [ebp - 0x618]
push eax
lea ecx, [ebp - 0x5e8]
call fcn.00435b38
test eax, eax
jne 0x437f85
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 0x437b85
push 0xffffffffffffffff
push esi
push ecx
mov ecx, eax
call fcn.00428d7b
mov eax, dword [ebp - 0xdec]
lea ecx, [ebp - 0x600]
cmp eax, ecx
je 0x437ba0
push 0xffffffffffffffff
push esi
push ecx
mov ecx, eax
call fcn.00428d7b
cmp word [ebp - 0x934], 0
jne 0x437bae
mov eax, esi
jmp 0x437bbb
lea eax, [ebp - 0x934]
push eax
call fcn.0063e1a8
pop ecx
mov ecx, dword [ebp - 0xdf0]
push eax
lea eax, [ebp - 0x934]
push eax
call fcn.004284c0
lea eax, [ebp - 0x730]
mov dword [ebp - 0x5bc], esi
push eax
lea ecx, [ebp - 0x5bc]
call fcn.0043773e
lea ecx, [ebp - 0x5bc]
mov byte [ebp - 4], 8
call fcn.0043746a
mov ecx, dword [ebp - 0xdd8]
cmp dword [ecx + 0x10], esi
je 0x437f43
lea eax, [ebp - 0x830]
mov dword [ebp - 0x5cc], esi
push eax
lea edx, [ebp - 0x5d0]
lea ecx, [ebp - 0x5cc]
call fcn.00437366
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 0x437f23
push 0x104
lea eax, [ebp - 0x5b8]
push esi
push eax
call fcn.00639410
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 0x437efe
push 0x6cec00
lea edx, [ebp - 0x5cc]
lea ecx, [ebp - 0xdf8]
call fcn.00437366
lea ecx, [ebp - 0x5b8]
mov byte [ebp - 4], 0xa
push ecx
mov edx, eax
lea ecx, [ebp - 0xdf4]
call fcn.00437366
pop ecx
pop ecx
push eax
lea ecx, [ebp - 0x5bc]
mov byte [ebp - 4], 0xb
call fcn.004309f6
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 0x437ede
push 0x20a
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.00639410
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 0x437edc
push str.SYSTEMCurrentControlSetControlClass_
lea ecx, [ebp - 0x5bc]
call fcn.00430d7c
lea eax, [ebp - 0x220]
push eax
lea edx, [ebp - 0x5bc]
lea ecx, [ebp - 0xdfc]
call fcn.00437366
pop ecx
push eax
lea ecx, [ebp - 0x5bc]
mov byte [ebp - 4], 0xc
call fcn.004309f6
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 0x437edc
push 0x20a
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00639410
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 0x437e49
xor edx, edx
cmp dword [esi + 0x14], 8
mov dword [esi + 0x10], edx
jb 0x437e19
mov eax, dword [esi]
jmp 0x437e1b
mov eax, esi
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x220], cx
jne 0x437e2d
mov eax, edx
jmp 0x437e3a
lea eax, [ebp - 0x220]
push eax
call fcn.0063e1a8
pop ecx
push eax
lea eax, [ebp - 0x220]
mov ecx, esi
push eax
call fcn.004284c0
xor eax, eax
push 0x20a
push eax
lea eax, [ebp - 0x220]
push eax
call fcn.00639410
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 0x437ed0
xor edx, edx
cmp dword [ebx + 0x14], 8
mov dword [ebx + 0x10], edx
jb 0x437ea0
mov eax, dword [ebx]
jmp 0x437ea2
mov eax, ebx
xor ecx, ecx
mov word [eax], cx
cmp word [ebp - 0x220], cx
jne 0x437eb4
mov eax, edx
jmp 0x437ec1
lea eax, [ebp - 0x220]
push eax
call fcn.0063e1a8
pop ecx
push eax
lea eax, [ebp - 0x220]
mov ecx, ebx
push eax
call fcn.004284c0
xor eax, eax
cmp dword [ebx + 0x10], eax
je 0x437edc
cmp dword [esi + 0x10], eax
jne 0x437f1e
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 0x437c7f
jmp 0x437f23
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.00428e92
push esi
push 1
lea ecx, [ebp - 0x5e8]
call fcn.00428e92
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x5c0]
lea ecx, [ecx - 0x10]
call fcn.004246cb
test edi, edi
jne 0x437fde
jmp 0x437fb5
xor esi, esi
lea ecx, [ebp - 0x630]
push esi
push 1
call fcn.00428e92
push esi
push 1
lea ecx, [ebp - 0x5e8]
call fcn.00428e92
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 0x4379e1
mov dword [ebp - 0xdd0], edi
mov edi, dword [ebp - 0xe00]
mov eax, dword [edi]
push edi
call dword [eax + 8]
jmp 0x4378d8