Function at 0x1000b342
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
xor ebx, ebx
push edi
push ebx
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
push 0xffffffffffffffff
push dword [ebp + 8]
push ebx
push ebx
call esi
mov edi, eax
lea eax, [edi + edi + 2]
push eax
call fcn.1000bcce
pop ecx
mov dword [ebp - 0xc], eax
push edi
push eax
push 0xffffffffffffffff
push dword [ebp + 8]
push ebx
push ebx
call esi
push 0x10
lea eax, [ebp - 0x38]
pop edi
push edi
push ebx
push eax
call fcn.1000c340
push 0x30
lea eax, [ebp - 0x78]
pop esi
push esi
push ebx
push eax
call fcn.1000c340
mov eax, dword [ebp - 0xc]
add esp, 0x18
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x78], esi
push 1
lea eax, [ebp - 0x38]
pop esi
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x6c], 2
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x64], esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], esi
call fcn.1000b2d0
test eax, eax
je 0x1000b3d3
mov dword [ebp - 0x50], edi
push str.get_sign_config_is_xp
jmp 0x1000b3df
mov dword [ebp - 0x50], 0x1000
push str.get_sign_config_is_not_xp
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x78]
mov dword [ebp - 0x10], esi
push eax
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
mov dword [ebp - 0x28], 0xaac56b
mov word [ebp - 0x24], 0xcd44
mov word [ebp - 0x22], 0x11d0
mov byte [ebp - 0x20], 0x8c
mov byte [ebp - 0x1f], 0xc2
mov byte [ebp - 0x1e], bl
mov byte [ebp - 0x1d], 0xc0
mov byte [ebp - 0x1c], 0x4f
mov byte [ebp - 0x1b], 0xc2
mov byte [ebp - 0x1a], 0x95
mov byte [ebp - 0x19], 0xee
call sub.WINTRUST.dll_WinVerifyTrust
mov esi, eax
cmp esi, ebx
jne 0x1000b515
push dword [ebp - 0x58]
call sub.WINTRUST.dll_WTHelperProvDataFromStateData
cmp eax, ebx
je 0x1000b507
push ebx
push ebx
push ebx
push eax
call sub.WINTRUST.dll_WTHelperGetProvSignerFromChain
mov esi, eax
cmp esi, ebx
je 0x1000b507
lea eax, [ebp - 0x18]
push eax
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push ebx
push esi
call sub.WINTRUST.dll_WTHelperGetProvCertFromChain
mov edi, eax
cmp edi, ebx
je 0x1000b4ea
mov esi, dword [sym.imp.CRYPT32.dll_CertGetNameStringA]
push ebx
lea eax, [ebp - 8]
push ebx
push eax
push ebx
push 4
mov dword [ebp - 8], 3
push dword [edi + 4]
call esi
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x1000b535
inc eax
push eax
call fcn.1000c398
mov dword [ebp + 8], eax
mov eax, dword [ebp - 4]
inc eax
push eax
push ebx
push dword [ebp + 8]
call fcn.1000c340
add esp, 0x10
lea eax, [ebp - 8]
push dword [ebp - 4]
push dword [ebp + 8]
push eax
push ebx
push 4
push dword [edi + 4]
call esi
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.1000c4e0
push dword [ebp + 8]
call fcn.1000c1bc
add esp, 0xc
jmp 0x1000b535
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x333
push str._Sign__Error__d_:_0x_x_n
push 4
call fcn.1000b006
add esp, 0x10
jmp 0x1000b535
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x338
jmp 0x1000b4f6
push esi
push 0x33d
push str._Sign_WinVerifyTrust_Error__d_:_0x_x
push 4
call fcn.1000b006
add esp, 0x10
cmp esi, 0x800b0100
jne 0x1000b535
mov dword [ebp - 0x10], ebx
push 2
pop eax
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x28]
push eax
push 0xffffffffffffffff
call sub.WINTRUST.dll_WinVerifyTrust
push dword [ebp - 0xc]
call fcn.10007f2f
mov eax, dword [ebp - 0x10]
pop ecx
pop edi
pop esi
pop ebx
leave
ret