Function at 0x420074
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1ac
mov eax, dword [0x47506c]
xor eax, esp
mov dword [esp + 0x1a8], eax
mov eax, dword [0x477ba4]
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 0x4200db
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [esp + 0x10], 0
jne 0x4203f1
cmp dword [0x4759c0], 0
je 0x4203dd
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.004205ca
test eax, eax
mov ebx, str.SYSTEMControlSet001Services_nvlddmkm
mov eax, dword [0x477bd4]
mov ecx, str.SOFTWARENVIDIA_CorporationGlobal
cmove ebx, ecx
xor edi, edi
mov dword [esp + 0x2c], ebx
mov dword [0x4759c0], edi
test eax, eax
jne 0x42019a
mov ecx, str.Advapi32.dll
call fcn.0041da8b
mov dword [0x477bd4], eax
test eax, eax
je 0x4203ed
cmp dword [0x477b8c], edi
jne 0x4201c0
push str.RegOpenKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x477b8c], eax
test eax, eax
je 0x4203ed
mov eax, dword [0x477bd4]
cmp dword [0x477bb4], edi
jne 0x4201e6
push str.RegEnumValueW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x477bb4], eax
test eax, eax
je 0x4203ed
mov eax, dword [0x477bd4]
cmp dword [0x477b74], edi
jne 0x420207
push str.RegCloseKey
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x477b74], eax
test eax, eax
je 0x4203ed
cmp dword [0x477ba0], edi
jne 0x420238
mov ecx, str.Ole32.dll
call fcn.0041da8b
mov dword [0x477ba0], eax
test eax, eax
je 0x420238
push str.StringFromGUID2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [0x477b9c], esi
jmp 0x42023e
mov esi, dword [0x477b9c]
test esi, esi
je 0x4203ed
push 0x4e
lea eax, [esp + 0x64]
push edi
push eax
call fcn.00438150
add esp, 0xc
lea eax, [esp + 0x60]
mov ecx, esi
push 0x27
push eax
lea eax, [esp + 0x38]
push eax
call dword [0x458220]
call esi
cmp eax, 0x27
jne 0x4203ed
mov eax, dword [esp + 0x10]
lea edi, [esp + 0x40]
mov dword [esp + 0x18], edi
movzx ecx, word [edi]
test cx, cx
je 0x4203d5
mov esi, dword [0x477b8c]
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 [0x458220]
call esi
test eax, eax
jne 0x4203c2
mov edi, eax
mov ebx, eax
jmp 0x4202c6
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.00438150
mov esi, dword [0x477bb4]
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 [0x458220]
call esi
mov esi, eax
inc edi
test esi, esi
jne 0x420388
lea ecx, [esp + 0x60]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x24]
jne 0x42032a
sub ecx, edx
sar ecx, 1
cmp ecx, dword [esp + 0x10]
jne 0x4202c4
lea ecx, [esp + 0xb0]
lea eax, [esp + 0x60]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x420372
test dx, dx
je 0x42036e
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x420372
add eax, 4
add ecx, 4
test dx, dx
jne 0x42034c
xor eax, eax
jmp 0x420377
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4202c4
cmp dword [esp + 0x28], eax
setne al
or ebx, eax
cmp esi, 0x103
jne 0x4202c4
push dword [esp + 0x14]
mov esi, dword [0x477b74]
mov ecx, esi
call dword [0x458220]
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 [0x477ba4], eax
jmp 0x4203c6
mov eax, dword [esp + 0x10]
add edi, 2
mov dword [esp + 0x18], edi
test eax, eax
je 0x420281
test eax, eax
jne 0x4203f1
mov ebx, dword [esp + 0x1c]
cmp dword [0x477ba4], 0
jne 0x4203f1
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x420408
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.00435d56
mov esp, ebp
pop ebp
ret