Function at 0x10019050
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1ac
push edi
mov eax, dword [0x101582f4]
mov dword [ebp - 8], eax
mov ecx, dword [str.0x00000000_n]
mov dword [ebp - 0x20], ecx
mov edx, dword [0x101552b8]
mov dword [ebp - 0x1c], edx
mov eax, dword [0x101552bc]
mov dword [ebp - 0x18], eax
mov ecx, dword [0x101552c0]
mov dword [ebp - 0x14], ecx
mov edx, dword [0x101552c4]
mov dword [ebp - 0x10], edx
mov eax, dword [0x101552c8]
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 [0x101552b0], 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 [0x101552b0], 0
cmp dword [0x101581b0], 0
jne 0x100191ee
push 0
push str.Advapi32.dll
call fcn.10017680
add esp, 8
mov dword [0x101581b0], eax
cmp dword [0x101581b0], 0
je 0x100191ee
push str.RegOpenKeyExW
mov eax, dword [0x101581b0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101581b4], eax
push str.RegEnumValueW
mov ecx, dword [0x101581b0]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101581b8], eax
push str.RegCloseKey
mov edx, dword [0x101581b0]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101581bc], eax
cmp dword [0x101581b4], 0
je 0x10019209
cmp dword [0x101581b8], 0
je 0x10019209
cmp dword [0x101581bc], 0
jne 0x10019210
xor eax, eax
jmp 0x10019456
cmp dword [0x101581c0], 0
jne 0x1001924c
push 0
push str.Ole32.dll
call fcn.10017680
add esp, 8
mov dword [0x101581c0], eax
cmp dword [0x101581c0], 0
je 0x1001924c
push str.StringFromGUID2
mov eax, dword [0x101581c0]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x101581c4], eax
cmp dword [0x101581c4], 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 [0x101581c4]
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 [0x101581b4]
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 [0x101581b8]
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.100a72f2
add esp, 4
cmp eax, dword [ebp - 0xa0]
jne 0x100193db
lea eax, [ebp - 0x1a8]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.100a742a
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 [0x101581bc]
xor ecx, ecx
cmp dword [ebp - 0x94], 0
setne cl
mov dword [0x101582f4], ecx
mov edx, dword [0x101582f4]
mov dword [ebp - 8], edx
jmp 0x10019295
cmp dword [ebp - 8], 0
jne 0x10019427
cmp dword [0x101582f4], 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