Function at 0x4b5e90
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
push edi
mov eax, dword [0x51ac14]
mov dword [ebp - 8], eax
mov ecx, dword [str.0x00000000_n]
mov dword [ebp - 0x20], ecx
mov edx, dword [0x5152b8]
mov dword [ebp - 0x1c], edx
mov eax, dword [0x5152bc]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x5152c0]
mov dword [ebp - 0x14], ecx
mov edx, dword [0x5152c4]
mov dword [ebp - 0x10], edx
mov eax, dword [0x5152c8]
mov dword [ebp - 0xc], eax
push str._WARNING___PE_SIGNATURE_VERIFICATION_FAILED_____n_Filename:
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str._n_Error:
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0
jmp 0x4b5f08
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 8
jge 0x4b5f54
mov ecx, 7
sub ecx, dword [ebp - 4]
shl ecx, 2
mov eax, dword [ebp + 0xc]
shr eax, cl
and eax, 0xf
mov ecx, dword [ebp - 4]
mov word [ebp + ecx*2 - 0x1c], ax
mov edx, dword [ebp - 4]
movzx eax, word [ebp + edx*2 - 0x1c]
xor ecx, ecx
cmp eax, 0xa
setge cl
dec ecx
and ecx, 0xfffffff9
add ecx, 0x37
mov edx, dword [ebp - 4]
movzx eax, word [ebp + edx*2 - 0x1c]
add eax, ecx
mov ecx, dword [ebp - 4]
mov word [ebp + ecx*2 - 0x1c], ax
jmp 0x4b5eff
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 8], 0
jne 0x4b6258
cmp dword [0x5152b0], 0
je 0x4b6258
mov word [ebp - 0x38], 0x100
mov word [ebp - 0x36], 0x200
mov word [ebp - 0x34], 0
mov dword [ebp - 0x30], 0x41fcc608
mov word [ebp - 0x2c], 0x8496
mov word [ebp - 0x2a], 0x4def
mov byte [ebp - 0x28], 0xb4
mov byte [ebp - 0x27], 0x3e
mov byte [ebp - 0x26], 0x7d
mov byte [ebp - 0x25], 0x9b
mov byte [ebp - 0x24], 0xd6
mov byte [ebp - 0x23], 0x75
mov byte [ebp - 0x22], 0xa6
mov byte [ebp - 0x21], 0xff
mov dword [0x5152b0], 0
cmp dword [0x51aad0], 0
jne 0x4b602e
push 0
push str.Advapi32.dll
call fcn.004b44c0
add esp, 8
mov dword [0x51aad0], eax
cmp dword [0x51aad0], 0
je 0x4b602e
push str.RegOpenKeyExW
mov eax, dword [0x51aad0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x51aad4], eax
push str.RegEnumValueW
mov ecx, dword [0x51aad0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x51aad8], eax
push str.RegCloseKey
mov edx, dword [0x51aad0]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x51aadc], eax
cmp dword [0x51aad4], 0
je 0x4b6049
cmp dword [0x51aad8], 0
je 0x4b6049
cmp dword [0x51aadc], 0
jne 0x4b6050
xor eax, eax
jmp 0x4b6296
cmp dword [0x51aae0], 0
jne 0x4b608c
push 0
push str.Ole32.dll
call fcn.004b44c0
add esp, 8
mov dword [0x51aae0], eax
cmp dword [0x51aae0], 0
je 0x4b608c
push str.StringFromGUID2
mov eax, dword [0x51aae0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x51aae4], eax
cmp dword [0x51aae4], 0
jne 0x4b609c
xor eax, eax
jmp 0x4b6296
mov ecx, 0x13
xor eax, eax
lea edi, [ebp - 0x88]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x27
lea ecx, [ebp - 0x88]
push ecx
lea edx, [ebp - 0x30]
push edx
call dword [0x51aae4]
cmp eax, 0x27
je 0x4b60cc
xor eax, eax
jmp 0x4b6296
mov dword [ebp - 4], 0
jmp 0x4b60de
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
jne 0x4b6258
mov ecx, dword [ebp - 4]
movzx edx, word [ebp + ecx*2 - 0x38]
test edx, edx
je 0x4b6258
mov dword [ebp - 0x8c], 0
lea eax, [ebp - 0x8c]
push eax
mov ecx, dword [ebp - 4]
movzx edx, word [ebp + ecx*2 - 0x38]
or edx, 0x20019
push edx
push 0
push str.SOFTWARENVIDIA_CorporationGlobal
push reloc.OLEAUT32.dll_SysReAllocString
call dword [0x51aad4]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x4b6253
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0xa0], 0x80
mov dword [ebp - 0x9c], 4
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x1a8]
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0x1ac], eax
lea ecx, [ebp - 0x9c]
push ecx
lea edx, [ebp - 0xa4]
push edx
push 0
push 0
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x1a8]
push ecx
mov edx, dword [ebp - 0x1ac]
push edx
mov eax, dword [ebp - 0x8c]
push eax
call dword [0x51aad8]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x98]
add ecx, 1
mov dword [ebp - 0x98], ecx
cmp dword [ebp - 0x90], 0
jne 0x4b621b
lea edx, [ebp - 0x88]
push edx
call fcn.004b98fb
add esp, 4
cmp eax, dword [ebp - 0xa0]
jne 0x4b621b
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.004b9e85
add esp, 8
test eax, eax
jne 0x4b621b
xor edx, edx
cmp dword [ebp - 0xa4], 0
setne dl
or edx, dword [ebp - 0x94]
mov dword [ebp - 0x94], edx
cmp dword [ebp - 0x90], 0x103
jne 0x4b6151
mov eax, dword [ebp - 0x8c]
push eax
call dword [0x51aadc]
xor ecx, ecx
cmp dword [ebp - 0x94], 0
setne cl
mov dword [0x51ac14], ecx
mov edx, dword [0x51ac14]
mov dword [ebp - 8], edx
jmp 0x4b60d5
cmp dword [ebp - 8], 0
jne 0x4b6267
cmp dword [0x51ac14], 0
je 0x4b628a
push str._Signature_override_detected..._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp + 0xc], 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 1
jmp 0x4b6296
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret