Function at 0x4202de
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 [0x478bb8]
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 0x420345
lea eax, [esp + 0x48]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [esp + 0x10], 0
jne 0x42065b
cmp dword [0x4769d0], 0
je 0x420647
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.00420834
test eax, eax
mov ebx, str.SYSTEMControlSet001Services_nvlddmkm
mov eax, dword [0x478bf4]
mov ecx, str.SOFTWARENVIDIA_CorporationGlobal
cmove ebx, ecx
xor edi, edi
mov dword [esp + 0x2c], ebx
mov dword [0x4769d0], edi
test eax, eax
jne 0x420404
mov ecx, str.Advapi32.dll
call fcn.0041e030
mov dword [0x478bf4], eax
test eax, eax
je 0x420657
cmp dword [0x478ba0], edi
jne 0x42042a
push str.RegOpenKeyExW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x478ba0], eax
test eax, eax
je 0x420657
mov eax, dword [0x478bf4]
cmp dword [0x478bc8], edi
jne 0x420450
push str.RegEnumValueW
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x478bc8], eax
test eax, eax
je 0x420657
mov eax, dword [0x478bf4]
cmp dword [0x478a6c], edi
jne 0x420471
push str.RegCloseKey
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x478a6c], eax
test eax, eax
je 0x420657
cmp dword [0x478bb4], edi
jne 0x4204a2
mov ecx, str.Ole32.dll
call fcn.0041e030
mov dword [0x478bb4], eax
test eax, eax
je 0x4204a2
push str.StringFromGUID2
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
mov dword [0x478bb0], esi
jmp 0x4204a8
mov esi, dword [0x478bb0]
test esi, esi
je 0x420657
push 0x4e
lea eax, [esp + 0x64]
push edi
push eax
call fcn.004383b0
add esp, 0xc
lea eax, [esp + 0x60]
mov ecx, esi
push 0x27
push eax
lea eax, [esp + 0x38]
push eax
call dword [0x459224]
call esi
cmp eax, 0x27
jne 0x420657
mov eax, dword [esp + 0x10]
lea edi, [esp + 0x40]
mov dword [esp + 0x18], edi
movzx ecx, word [edi]
test cx, cx
je 0x42063f
mov esi, dword [0x478ba0]
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 [0x459224]
call esi
test eax, eax
jne 0x42062c
mov edi, eax
mov ebx, eax
jmp 0x420530
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.004383b0
mov esi, dword [0x478bc8]
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 [0x459224]
call esi
mov esi, eax
inc edi
test esi, esi
jne 0x4205f2
lea ecx, [esp + 0x60]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
cmp ax, word [esp + 0x24]
jne 0x420594
sub ecx, edx
sar ecx, 1
cmp ecx, dword [esp + 0x10]
jne 0x42052e
lea ecx, [esp + 0xb0]
lea eax, [esp + 0x60]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4205dc
test dx, dx
je 0x4205d8
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4205dc
add eax, 4
add ecx, 4
test dx, dx
jne 0x4205b6
xor eax, eax
jmp 0x4205e1
sbb eax, eax
or eax, 1
test eax, eax
jne 0x42052e
cmp dword [esp + 0x28], eax
setne al
or ebx, eax
cmp esi, 0x103
jne 0x42052e
push dword [esp + 0x14]
mov esi, dword [0x478a6c]
mov ecx, esi
call dword [0x459224]
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 [0x478bb8], eax
jmp 0x420630
mov eax, dword [esp + 0x10]
add edi, 2
mov dword [esp + 0x18], edi
test eax, eax
je 0x4204eb
test eax, eax
jne 0x42065b
mov ebx, dword [esp + 0x1c]
cmp dword [0x478bb8], 0
jne 0x42065b
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x420672
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.00435fb6
mov esp, ebp
pop ebp
ret