Function at 0x10019050
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
push edi
mov eax, dword [0x10154214]
mov dword [ebp - 8], eax
mov ecx, dword [str.0x00000000_n]
mov dword [ebp - 0x20], ecx
mov edx, dword [0x101512b8]
mov dword [ebp - 0x1c], edx
mov eax, dword [0x101512bc]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x101512c0]
mov dword [ebp - 0x14], ecx
mov edx, dword [0x101512c4]
mov dword [ebp - 0x10], edx
mov eax, dword [0x101512c8]
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 0x100190c8
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 8
jge 0x10019114
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 0x100190bf
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 8], 0
jne 0x10019418
cmp dword [0x101512b0], 0
je 0x10019418
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 [0x101512b0], 0
cmp dword [0x101540d0], 0
jne 0x100191ee
push 0
push str.Advapi32.dll
call fcn.10017680
add esp, 8
mov dword [0x101540d0], eax
cmp dword [0x101540d0], 0
je 0x100191ee
push str.RegOpenKeyExW
mov eax, dword [0x101540d0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101540d4], eax
push str.RegEnumValueW
mov ecx, dword [0x101540d0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101540d8], eax
push str.RegCloseKey
mov edx, dword [0x101540d0]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101540dc], eax
cmp dword [0x101540d4], 0
je 0x10019209
cmp dword [0x101540d8], 0
je 0x10019209
cmp dword [0x101540dc], 0
jne 0x10019210
xor eax, eax
jmp 0x10019456
cmp dword [0x101540e0], 0
jne 0x1001924c
push 0
push str.Ole32.dll
call fcn.10017680
add esp, 8
mov dword [0x101540e0], eax
cmp dword [0x101540e0], 0
je 0x1001924c
push str.StringFromGUID2
mov eax, dword [0x101540e0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101540e4], eax
cmp dword [0x101540e4], 0
jne 0x1001925c
xor eax, eax
jmp 0x10019456
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 [0x101540e4]
cmp eax, 0x27
je 0x1001928c
xor eax, eax
jmp 0x10019456
mov dword [ebp - 4], 0
jmp 0x1001929e
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
jne 0x10019418
mov ecx, dword [ebp - 4]
movzx edx, word [ebp + ecx*2 - 0x38]
test edx, edx
je 0x10019418
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 [0x101540d4]
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
jne 0x10019413
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 [0x101540d8]
mov dword [ebp - 0x90], eax
mov ecx, dword [ebp - 0x98]
add ecx, 1
mov dword [ebp - 0x98], ecx
cmp dword [ebp - 0x90], 0
jne 0x100193db
lea edx, [ebp - 0x88]
push edx
call fcn.100a4642
add esp, 4
cmp eax, dword [ebp - 0xa0]
jne 0x100193db
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.100a477a
add esp, 8
test eax, eax
jne 0x100193db
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 0x10019311
mov eax, dword [ebp - 0x8c]
push eax
call dword [0x101540dc]
xor ecx, ecx
cmp dword [ebp - 0x94], 0
setne cl
mov dword [0x10154214], ecx
mov edx, dword [0x10154214]
mov dword [ebp - 8], edx
jmp 0x10019295
cmp dword [ebp - 8], 0
jne 0x10019427
cmp dword [0x10154214], 0
je 0x1001944a
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 0x10019456
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