Function at 0x5b0d4e0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b1d5f4
mov eax, dword fs:[0]
push eax
sub esp, 0x3ec
mov eax, dword [0x5b920e8]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
xor esi, esi
push 0x6c
lea eax, [ebp - 0x35c]
mov ebx, edx
push esi
push eax
mov edi, ecx
mov dword [ebp - 0x280], ebx
mov dword [ebp - 0x298], 1
mov dword [ebp - 0x28c], esi
mov dword [ebp - 0x284], esi
mov dword [ebp - 0x29c], esi
mov dword [ebp - 0x288], esi
mov dword [ebp - 0x290], esi
mov dword [ebp - 0x360], esi
call fcn.05acaa80
add esp, 0xc
xor ecx, ecx
push esi
mov word [ebp - 0x244], cx
push 0x5b6b880
lea ecx, [ebp - 0x244]
mov dword [ebp - 0x294], esi
mov dword [ebp - 0x230], 7
mov dword [ebp - 0x234], esi
call fcn.05a01370
lea edx, [ebp - 0x244]
push edx
lea eax, [ebp - 0x3f8]
push eax
mov dword [ebp - 4], esi
call fcn.05a061b0
cmp dword [ebp - 0x230], 8
jb 0x5b0d5bb
mov ecx, dword [ebp - 0x244]
push ecx
call fcn.05ac7ecf
add esp, 4
xor edx, edx
mov dword [ebp - 0x230], 7
mov dword [ebp - 0x234], esi
mov word [ebp - 0x244], dx
mov byte [ebp - 4], 3
cmp edi, esi
je 0x5b0d802
cmp ebx, esi
je 0x5b0d802
push 0x208
lea ecx, [ebp - 0x226]
xor eax, eax
push esi
push ecx
mov word [ebp - 0x228], ax
call fcn.05acaa80
add esp, 0xc
push esi
lea edx, [ebp - 0x284]
push edx
lea eax, [ebp - 0x28c]
push eax
push esi
lea ecx, [ebp - 0x29c]
push ecx
push esi
push esi
push 2
push 0x400
push edi
push 1
call dword [sym.imp.CRYPT32.dll_CryptQueryObject]
test eax, eax
jne 0x5b0d660
lea edx, [ebp - 0x280]
push edx
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x280], str.CryptQueryObject_failure.
call fcn.05ac7f73
push 0x5b7cb3c
lea eax, [ebp - 0x2b0]
push eax
call fcn.05aca87a
mov edx, dword [ebp - 0x284]
mov ebx, dword [sym.imp.CRYPT32.dll_CryptMsgGetParam]
lea ecx, [ebp - 0x288]
push ecx
push esi
push esi
push 6
push edx
call ebx
test eax, eax
jne 0x5b0d6ab
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x2d4]
mov dword [ebp - 0x280], str.CryptMsgGetParam_failure.
call fcn.05ac7f73
push 0x5b7cb3c
lea ecx, [ebp - 0x2d4]
push ecx
call fcn.05aca87a
mov edx, dword [ebp - 0x288]
push edx
call fcn.05ac9465
mov edi, eax
add esp, 4
mov dword [ebp - 0x290], edi
cmp edi, esi
je 0x5b0d7d5
mov ecx, dword [ebp - 0x284]
lea eax, [ebp - 0x288]
push eax
push edi
push esi
push 6
push ecx
call ebx
test eax, eax
je 0x5b0d7d5
mov edx, dword [edi + 4]
mov dword [ebp - 0x348], edx
mov eax, dword [edi + 8]
push esi
mov dword [ebp - 0x344], eax
mov ecx, dword [edi + 0xc]
lea eax, [ebp - 0x360]
push eax
push 0xb0000
push esi
mov dword [ebp - 0x35c], ecx
mov ecx, dword [ebp - 0x28c]
mov edx, dword [edi + 0x10]
push 0x10001
push ecx
mov dword [ebp - 0x358], edx
call dword [sym.imp.CRYPT32.dll_CertFindCertificateInStore]
mov ebx, eax
mov dword [ebp - 0x294], ebx
cmp ebx, esi
jne 0x5b0d763
lea edx, [ebp - 0x280]
push edx
lea ecx, [ebp - 0x2ec]
mov dword [ebp - 0x280], str.CertFindCertificateInStore_failure.
call fcn.05ac7f73
push 0x5b7cb3c
lea eax, [ebp - 0x2ec]
push eax
call fcn.05aca87a
push 0x105
lea ecx, [ebp - 0x228]
push ecx
push esi
push esi
push 4
push ebx
call dword [sym.imp.CRYPT32.dll_CertGetNameStringW]
mov dword [ebp - 0x288], eax
cmp eax, esi
jne 0x5b0d7b1
lea edx, [ebp - 0x280]
push edx
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 0x280], str.CertGetNameStringW_failure.
call fcn.05ac7f73
push 0x5b7cb3c
lea eax, [ebp - 0x2bc]
push eax
call fcn.05aca87a
mov eax, dword [ebp - 0x280]
lea ecx, [ebp - 0x228]
call fcn.05a02280
test eax, eax
jne 0x5b0d8f6
mov dword [ebp - 0x298], esi
jmp 0x5b0d8f6
lea ecx, [ebp - 0x280]
push ecx
lea ecx, [ebp - 0x2e0]
mov dword [ebp - 0x280], str.CryptMsgGetParam_failure.
call fcn.05ac7f73
push 0x5b7cb3c
lea edx, [ebp - 0x2e0]
push edx
call fcn.05aca87a
lea eax, [ebp - 0x280]
push eax
lea ecx, [ebp - 0x2c8]
mov dword [ebp - 0x280], str.Invalid_parameters.
call fcn.05ac7f73
push 0x5b7cb3c
lea ecx, [ebp - 0x2c8]
push ecx
call fcn.05aca87a
mov ecx, dword [ebp - 0x2a0]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
call eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x280], esp
push eax
call fcn.05a05e90
lea edi, [ebp - 0x260]
call fcn.05b0cb90
add esp, 0x1c
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x260]
mov edi, 8
cmp dword [ebp - 0x24c], edi
jae 0x5b0d878
lea eax, [ebp - 0x260]
push str._in_GetFileDigitallySignerInfo
push ecx
push eax
push ecx
lea ecx, [ebp - 0x3f8]
push str.Allocation_failed:
push ecx
call fcn.05a03950
add esp, 0xc
push eax
call fcn.05a03950
add esp, 0xc
push eax
call fcn.05a03950
add esp, 8
mov esi, eax
call fcn.05a08960
lea ecx, [ebp - 0x244]
lea eax, [ebp - 0x3f8]
call fcn.05a062b0
cmp dword [eax + 0x14], edi
jb 0x5b0d8c5
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
lea ecx, [ebp - 0x244]
call fcn.05a014b0
lea ecx, [ebp - 0x260]
call fcn.05a014b0
mov eax, 0x5b0d8e8
ret
cmp ebx, esi
je 0x5b0d901
push ebx
call dword [sym.imp.CRYPT32.dll_CertFreeCertificateContext]
cmp edi, esi
je 0x5b0d90e
push edi
call fcn.05ac8e2e
add esp, 4
mov eax, dword [ebp - 0x284]
cmp eax, esi
je 0x5b0d91f
push eax
call dword [sym.imp.CRYPT32.dll_CryptMsgClose]
mov eax, dword [ebp - 0x28c]
cmp eax, esi
je 0x5b0d932
push 1
push eax
call dword [sym.imp.CRYPT32.dll_CertCloseStore]
lea ecx, [ebp - 0x3f8]
mov dword [ebp - 4], 0xffffffff
call fcn.05a05f60
mov eax, dword [ebp - 0x298]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.05ac7ec0
mov esp, ebp
pop ebp
ret