Function at 0x420477
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
mov eax, dword [0x47606c]
xor eax, esp
mov dword [esp + 0x1a8], eax
mov eax, dword [0x478ba4]
push ebx
push esi
push edi
push 6
mov ebx, ecx
mov dword [esp + 0x20], edx
pop ecx
mov esi, str.0x00000000_n
mov dword [esp + 0x10], eax
lea edi, [esp + 0x48]
rep movsd dword es:[edi], dword [esi]
push str._WARNING___PE_SIGNATURE_VERIFICATION_FAILED_____n_Filename:
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str._n_Error:
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ebx, dword [esp + 0x1c]
lea edi, [esp + 0x4c]
xor eax, eax
mov dword [esp + 0x24], eax
mov esi, eax
push 0x1c
pop ecx
sub ecx, esi
mov edx, ebx
shr edx, cl
and edx, 0xf
cmp edx, 0xa
sbb eax, eax
add esi, 4
and eax, 0xfffffff9
add eax, 0x37
add ax, dx
mov word [edi], ax
lea edi, [edi + 2]
cmp esi, 0x20
jl 0x4204de
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [esp + 0x10], 0
jne 0x4207f4
cmp dword [0x4769c0], 0
je 0x4207e0
xor eax, eax
mov dword [esp + 0x40], 0x2000100
mov ecx, 0x42ea
mov word [esp + 0x44], ax
mov dword [esp + 0x30], 0x41fcc608
mov dword [esp + 0x34], 0x4def8496
mov dword [esp + 0x38], 0x9b7d3eb4
mov dword [esp + 0x3c], 0xffa675d6
call fcn.004209cd
test eax, eax
mov ebx, str.SYSTEMControlSet001Services_nvlddmkm
mov eax, dword [0x478bd4]
mov ecx, str.SOFTWARENVIDIA_CorporationGlobal
cmove ebx, ecx
xor edi, edi
mov dword [esp + 0x2c], ebx
mov dword [0x4769c0], edi
test eax, eax
jne 0x42059d
mov ecx, str.Advapi32.dll
call fcn.0041de8e
mov dword [0x478bd4], eax
test eax, eax
je 0x4207f0
cmp dword [0x478b8c], edi
jne 0x4205c3
push str.RegOpenKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x478b8c], eax
test eax, eax
je 0x4207f0
mov eax, dword [0x478bd4]
cmp dword [0x478bb4], edi
jne 0x4205e9
push str.RegEnumValueW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x478bb4], eax
test eax, eax
je 0x4207f0
mov eax, dword [0x478bd4]
cmp dword [0x478b74], edi
jne 0x42060a
push str.RegCloseKey
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x478b74], eax
test eax, eax
je 0x4207f0
cmp dword [0x478ba0], edi
jne 0x42063b
mov ecx, str.Ole32.dll
call fcn.0041de8e
mov dword [0x478ba0], eax
test eax, eax
je 0x42063b
push str.StringFromGUID2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [0x478b9c], esi
jmp 0x420641
mov esi, dword [0x478b9c]
test esi, esi
je 0x4207f0
push 0x4e
lea eax, [esp + 0x64]
push edi
push eax
call fcn.00438580
add esp, 0xc
lea eax, [esp + 0x60]
mov ecx, esi
push 0x27
push eax
lea eax, [esp + 0x38]
push eax
call dword [0x459220]
call esi
cmp eax, 0x27
jne 0x4207f0
mov eax, dword [esp + 0x10]
lea edi, [esp + 0x40]
mov dword [esp + 0x18], edi
movzx ecx, word [edi]
test cx, cx
je 0x4207d8
mov esi, dword [0x478b8c]
lea eax, [esp + 0x14]
push eax
or ecx, 0x20019
xor edx, edx
push ecx
push edx
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
mov ecx, esi
mov dword [esp + 0x28], edx
call dword [0x459220]
call esi
test eax, eax
jne 0x4207c5
mov edi, eax
mov ebx, eax
jmp 0x4206c9
xor eax, eax
push 0x100
push eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x18], 0x80
push eax
mov dword [esp + 0x2c], 4
call fcn.00438580
mov esi, dword [0x478bb4]
lea eax, [esp + 0x2c]
add esp, 0xc
mov ecx, esi
push eax
lea eax, [esp + 0x2c]
push eax
xor eax, eax
push eax
push eax
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0xc4]
push eax
push edi
push dword [esp + 0x30]
call dword [0x459220]
call esi
mov esi, eax
inc edi
test esi, esi
jne 0x42078b
lea ecx, [esp + 0x60]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x24]
jne 0x42072d
sub ecx, edx
sar ecx, 1
cmp ecx, dword [esp + 0x10]
jne 0x4206c7
lea ecx, [esp + 0xb0]
lea eax, [esp + 0x60]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x420775
test dx, dx
je 0x420771
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x420775
add eax, 4
add ecx, 4
test dx, dx
jne 0x42074f
xor eax, eax
jmp 0x42077a
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4206c7
cmp dword [esp + 0x28], eax
setne al
or ebx, eax
cmp esi, 0x103
jne 0x4206c7
push dword [esp + 0x14]
mov esi, dword [0x478b74]
mov ecx, esi
call dword [0x459220]
call esi
mov edi, dword [esp + 0x18]
xor eax, eax
test ebx, ebx
mov ebx, dword [esp + 0x2c]
setne al
mov dword [esp + 0x10], eax
mov dword [0x478ba4], eax
jmp 0x4207c9
mov eax, dword [esp + 0x10]
add edi, 2
mov dword [esp + 0x18], edi
test eax, eax
je 0x420684
test eax, eax
jne 0x4207f4
mov ebx, dword [esp + 0x1c]
cmp dword [0x478ba4], 0
jne 0x4207f4
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x42080b
push str._Signature_override_detected..._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
inc eax
mov ecx, dword [esp + 0x1b4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00436186
mov esp, ebp
pop ebp
ret