Function at 0x10011ec0
Capabilities:
Print debug messages

Disassembly:
sub esp, 0x74
push ebx
push ebp
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push esi
push edi
mov edi, dword [esp + 0x88]
push 0
push 0
push 0xffffffffffffffff
push edi
push 0
push 0
call ebx
mov esi, eax
lea eax, [esi + esi + 2]
push eax
call sub.MSVCRT.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov ebp, eax
mov dword [esp + 0x18], ebp
push esi
push ebp
push 0xffffffffffffffff
xor esi, esi
push edi
push esi
push esi
call ebx
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x34], ecx
lea edi, [esp + 0x54]
mov dword [esp + 0x38], ecx
mov ebx, 1
mov dword [esp + 0x3c], ecx
lea edx, [esp + 0x34]
mov dword [esp + 0x40], ecx
mov ecx, 0xc
rep stosd dword es:[edi], eax
mov edi, 0x10
mov dword [esp + 0x38], ebp
mov dword [esp + 0x34], edi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x54], 0x30
mov dword [esp + 0x60], 2
mov dword [esp + 0x64], esi
mov dword [esp + 0x68], ebx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], ebx
call fcn.10011ad0
test eax, eax
je 0x10011f6e
mov dword [esp + 0x7c], edi
push str.get_sign_config_is_xp
jmp 0x10011f7b
mov dword [esp + 0x7c], 0x1000
push str.get_sign_config_is_not_xp
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov al, 0xc2
lea ecx, [esp + 0x24]
mov byte [esp + 0x2d], al
mov byte [esp + 0x31], al
lea eax, [esp + 0x54]
mov dword [esp + 0x14], ebx
push eax
push ecx
push 0xffffffffffffffff
mov dword [esp + 0x30], 0xaac56b
mov word [esp + 0x34], 0xcd44
mov word [esp + 0x36], 0x11d0
mov byte [esp + 0x38], 0x8c
mov byte [esp + 0x3a], 0
mov byte [esp + 0x3b], 0xc0
mov byte [esp + 0x3c], 0x4f
mov byte [esp + 0x3e], 0x95
mov byte [esp + 0x3f], 0xee
call sub.WINTRUST.dll_WinVerifyTrust
mov ebx, eax
cmp ebx, esi
jne 0x1001210a
mov edx, dword [esp + 0x74]
push edx
call sub.WINTRUST.dll_WTHelperProvDataFromStateData
cmp eax, esi
je 0x100120ed
push esi
push esi
push esi
push eax
call sub.WINTRUST.dll_WTHelperGetProvSignerFromChain
mov ebx, eax
cmp ebx, esi
je 0x100120ed
lea eax, [esp + 0x1c]
lea ecx, [ebx + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FileTimeToLocalFileTime]
lea edx, [esp + 0x44]
lea eax, [esp + 0x1c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
push esi
push ebx
call sub.WINTRUST.dll_WTHelperGetProvCertFromChain
mov ebx, eax
test ebx, ebx
je 0x100120d0
mov edx, dword [ebx + 4]
push 0
lea ecx, [esp + 0x14]
push 0
push ecx
push 0
push 4
push edx
mov dword [esp + 0x28], 3
call dword [sym.imp.CRYPT32.dll_CertGetNameStringA]
mov esi, eax
test esi, esi
je 0x1001212b
lea edi, [esi + 1]
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
mov ecx, edi
mov ebp, eax
mov edx, ecx
xor eax, eax
mov edi, ebp
add esp, 4
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
push ebp
rep stosb byte es:[edi], al
mov ecx, dword [ebx + 4]
lea eax, [esp + 0x18]
push eax
push 0
push 4
push ecx
call dword [sym.imp.CRYPT32.dll_CertGetNameStringA]
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
push ebp
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, dword [esp + 0x90]
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.MSVCRT.dll_free]
mov ebp, dword [esp + 0x1c]
add esp, 4
jmp 0x1001212b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x333
push 0x100bf020
push 4
call fcn.1000eeb0
add esp, 0x10
jmp 0x1001212b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x338
push str._Sign__Error__d_:_0x_x_n
push 4
call fcn.1000eeb0
add esp, 0x10
jmp 0x1001212b
push ebx
push 0x33d
push str._Sign_WinVerifyTrust_Error__d_:_0x_x
push 4
call fcn.1000eeb0
add esp, 0x10
cmp ebx, 0x800b0100
jne 0x1001212b
mov dword [esp + 0x14], esi
mov eax, 2
lea ecx, [esp + 0x24]
mov dword [esp + 0x60], eax
mov dword [esp + 0x70], eax
lea eax, [esp + 0x54]
push eax
push ecx
push 0xffffffffffffffff
call sub.WINTRUST.dll_WinVerifyTrust
push ebp
call fcn.10084060
mov eax, dword [esp + 0x18]
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x74
ret