Function at 0x4a7570
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
push edi
mov eax, dword [0x4fd054]
mov dword [ebp - 8], eax
mov ecx, dword [str.0x00000000_n]
mov dword [ebp - 0x20], ecx
mov edx, dword [0x4f82b8]
mov dword [ebp - 0x1c], edx
mov eax, dword [0x4f82bc]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x4f82c0]
mov dword [ebp - 0x14], ecx
mov edx, dword [0x4f82c4]
mov dword [ebp - 0x10], edx
mov eax, dword [0x4f82c8]
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 0x4a75e8
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 8
jge 0x4a7634
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 0x4a75df
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 8], 0
jne 0x4a7938
cmp dword [0x4f82b0], 0
je 0x4a7938
mov word [ebp - 0x38], pe_nt_image_headers32
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 [0x4f82b0], 0
cmp dword [0x4fcf10], 0
jne 0x4a770e
push 0
push str.Advapi32.dll
call fcn.004a5ba0
add esp, 8
mov dword [0x4fcf10], eax
cmp dword [0x4fcf10], 0
je 0x4a770e
push str.RegOpenKeyExW
mov eax, dword [0x4fcf10]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4fcf14], eax
push str.RegEnumValueW
mov ecx, dword [0x4fcf10]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4fcf18], eax
push str.RegCloseKey
mov edx, dword [0x4fcf10]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4fcf1c], eax
cmp dword [0x4fcf14], 0
je 0x4a7729
cmp dword [0x4fcf18], 0
je 0x4a7729
cmp dword [0x4fcf1c], 0
jne 0x4a7730
xor eax, eax
jmp 0x4a7976
cmp dword [0x4fcf20], 0
jne 0x4a776c
push 0
push str.Ole32.dll
call fcn.004a5ba0
add esp, 8
mov dword [0x4fcf20], eax
cmp dword [0x4fcf20], 0
je 0x4a776c
push str.StringFromGUID2
mov eax, dword [0x4fcf20]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x4fcf24], eax
cmp dword [0x4fcf24], 0
jne 0x4a777c
xor eax, eax
jmp 0x4a7976
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 [0x4fcf24]
cmp eax, 0x27
je 0x4a77ac
xor eax, eax
jmp 0x4a7976
mov dword [ebp - 4], 0
jmp 0x4a77be
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
jne 0x4a7938
mov ecx, dword [ebp - 4]
movzx edx, word [ebp + ecx*2 - 0x38]
test edx, edx
je 0x4a7938
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 [0x4fcf14]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x4a7933
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 [0x4fcf18]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x98]
add ecx, 1
mov dword [ebp - 0x98], ecx
cmp dword [ebp - 0x90], 0
jne 0x4a78fb
lea edx, [ebp - 0x88]
push edx
call fcn.004ad6ee
add esp, 4
cmp eax, dword [ebp - 0xa0]
jne 0x4a78fb
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.004ad9e8
add esp, 8
test eax, eax
jne 0x4a78fb
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 0x4a7831
mov eax, dword [ebp - 0x8c]
push eax
call dword [0x4fcf1c]
xor ecx, ecx
cmp dword [ebp - 0x94], 0
setne cl
mov dword [0x4fd054], ecx
mov edx, dword [0x4fd054]
mov dword [ebp - 8], edx
jmp 0x4a77b5
cmp dword [ebp - 8], 0
jne 0x4a7947
cmp dword [0x4fd054], 0
je 0x4a796a
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 0x4a7976
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