Function at 0xd1d130
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x11c
push ebx
push esi
mov esi, ecx
mov ebx, edx
push edi
xor edi, edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x24], esi
cmp byte [esi + 0x42c], 0
jne 0xd1d163
test ebx, ebx
je 0xd1d163
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x3c]
call fcn.00d1c8e0
add esp, 4
test eax, eax
je 0xd1d185
mov eax, 0x3c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea ecx, [esp + 0xb8]
call fcn.00d1d0c0
mov dword [esp + 0x10], eax
test eax, eax
je 0xd1d5b8
cmp byte [esi + 0x42c], 0
je 0xd1d1c6
push eax
push str.Subject
mov edx, ebx
mov ecx, esi
call fcn.00d1ccb0
mov edi, eax
add esp, 8
test edi, edi
jne 0xd1d5bd
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0xd1d1da
push eax
push ebx
push str._2d_Subject:__s
push esi
call fcn.00cedeb0
add esp, 0x10
push dword [esp + 0x10]
call dword [0xd93ddc]
add esp, 4
lea ecx, [esp + 0x88]
call fcn.00d1d0c0
mov dword [esp + 0x10], eax
test eax, eax
je 0xd1d5b8
cmp byte [esi + 0x42c], 0
je 0xd1d220
push eax
push str.Issuer
mov edx, ebx
mov ecx, esi
call fcn.00d1ccb0
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0xd1d233
push eax
push str.___Issuer:__s
push esi
call fcn.00cedeb0
add esp, 0xc
push dword [esp + 0x10]
call dword [0xd93ddc]
add esp, 4
test edi, edi
je 0xd1d24d
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x4c]
xor ebx, ebx
mov edx, dword [esp + 0x50]
cmp ecx, edx
jae 0xd1d26d
nop dword [eax + eax]
movzx eax, byte [ecx]
inc ecx
shl ebx, 8
or ebx, eax
cmp ecx, edx
jb 0xd1d260
cmp byte [esi + 0x42c], 0
je 0xd1d2b4
push ebx
push 0xd666dc
call fcn.00cf1260
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
je 0xd1d5b8
mov edx, dword [esp + 0x18]
mov ecx, esi
push eax
push str.Version
call fcn.00d1ccb0
push dword [esp + 0x24]
mov edi, eax
call dword [0xd93ddc]
add esp, 0xc
test edi, edi
jne 0xd1d244
cmp dword [esp + 0x18], 0
jne 0xd1d2ce
push ebx
lea eax, [ebx + 1]
push eax
push str.___Version:__u__0x_x_
push esi
call fcn.00cedeb0
add esp, 0x10
lea ecx, [esp + 0x58]
call fcn.00d1c640
mov dword [esp + 0x10], eax
test eax, eax
je 0xd1d5b8
cmp byte [esi + 0x42c], 0
mov ebx, dword [esp + 0x18]
je 0xd1d308
push eax
push str.Serial_Number
mov edx, ebx
mov ecx, esi
call fcn.00d1ccb0
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0xd1d31b
push eax
push str.___Serial_Number:__s
push esi
call fcn.00cedeb0
add esp, 0xc
push dword [esp + 0x10]
call dword [0xd93ddc]
add esp, 4
test edi, edi
jne 0xd1d244
push dword [esp + 0x70]
mov edx, dword [esp + 0x70]
lea ecx, [esp + 0x2c]
call fcn.00d1cc50
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
je 0xd1d5b8
cmp byte [esi + 0x42c], 0
je 0xd1d371
push eax
push str.Signature_Algorithm
mov edx, ebx
mov ecx, esi
call fcn.00d1ccb0
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0xd1d384
push eax
push str.___Signature_Algorithm:__s
push esi
call fcn.00cedeb0
add esp, 0xc
push dword [esp + 0x10]
call dword [0xd93ddc]
add esp, 4
test edi, edi
jne 0xd1d244
lea ecx, [esp + 0x98]
call fcn.00d1c640
mov dword [esp + 0x10], eax
test eax, eax
je 0xd1d5b8
cmp byte [esi + 0x42c], 0
je 0xd1d3d2
push eax
push str.Start_Date
mov edx, ebx
mov ecx, esi
call fcn.00d1ccb0
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0xd1d3e5
push eax
push str.___Start_Date:__s
push esi
call fcn.00cedeb0
add esp, 0xc
push dword [esp + 0x10]
call dword [0xd93ddc]
add esp, 4
test edi, edi
jne 0xd1d244
lea ecx, [esp + 0xa8]
call fcn.00d1c640
mov dword [esp + 0x10], eax
test eax, eax
je 0xd1d5b8
cmp byte [esi + 0x42c], 0
je 0xd1d433
push eax
push str.Expire_Date
mov edx, ebx
mov ecx, esi
call fcn.00d1ccb0
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0xd1d446
push eax
push str.___Expire_Date:__s
push esi
call fcn.00cedeb0
add esp, 0xc
push dword [esp + 0x10]
call dword [0xd93ddc]
add esp, 4
test edi, edi
jne 0xd1d244
push dword [esp + 0xe0]
mov edx, dword [esp + 0xe0]
lea ecx, [esp + 0x2c]
call fcn.00d1cc50
add esp, 4
mov dword [esp + 0x14], eax
test eax, eax
je 0xd1d5b8
cmp byte [esi + 0x42c], 0
je 0xd1d4a6
push eax
push str.Public_Key_Algorithm
mov edx, ebx
mov ecx, esi
call fcn.00d1ccb0
mov edi, eax
add esp, 8
test edi, edi
jne 0xd1d4f5
mov eax, dword [esp + 0x14]
test ebx, ebx
jne 0xd1d4b9
push eax
push str.___Public_Key_Algorithm:__s
push esi
call fcn.00cedeb0
add esp, 0xc
lea eax, [esp + 0xe8]
mov edx, ebx
push eax
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
push dword [esp + 0x1c]
call fcn.00d1cd50
add esp, 0xc
test eax, eax
je 0xd1d4f5
push dword [esp + 0x14]
mov edi, 0x1b
call dword [0xd93ddc]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [esp + 0x14]
call dword [0xd93ddc]
add esp, 4
test edi, edi
jne 0xd1d244
lea ecx, [esp + 0x78]
call fcn.00d1c640
mov dword [esp + 0x10], eax
test eax, eax
je 0xd1d5b8
cmp byte [esi + 0x42c], 0
je 0xd1d540
push eax
push str.Signature
mov edx, ebx
mov ecx, esi
call fcn.00d1ccb0
mov edi, eax
add esp, 8
mov eax, dword [esp + 0x10]
test ebx, ebx
jne 0xd1d553
push eax
push str.___Signature:__s
push esi
call fcn.00cedeb0
add esp, 0xc
push dword [esp + 0x10]
call dword [0xd93ddc]
add esp, 4
test edi, edi
jne 0xd1d244
mov edx, dword [esp + 0x40]
lea eax, [esp + 0x20]
mov ecx, dword [esp + 0x3c]
sub edx, ecx
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00cf4b60
add esp, 8
mov dword [esp + 0x1c], eax
test eax, eax
jne 0xd1d5bd
mov ecx, dword [esp + 0x20]
lea eax, [ecx + 0x3f]
add ecx, 0x37
shr eax, 6
add eax, ecx
push eax
call dword [0xd93dd4]
mov edi, eax
add esp, 4
test edi, edi
jne 0xd1d5c4
push dword [esp + 0x10]
call dword [0xd93ddc]
add esp, 4
mov eax, 0x1b
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov edx, str._____BEGIN_CERTIFICATE_____
mov ecx, edi
call fcn.00d1cbd0
cmp dword [esp + 0x20], 0
mov dword [esp + 0x14], eax
jbe 0xd1d60a
xor ebx, ebx
mov esi, eax
nop
mov edx, dword [esp + 0x10]
lea ecx, [edi + esi]
lea edx, [ebx + edx]
call fcn.00d1cbd0
add ebx, 0x40
add esi, eax
cmp ebx, dword [esp + 0x20]
jb 0xd1d5e0
mov ebx, dword [esp + 0x18]
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
lea ecx, [edi + eax]
mov edx, str._____END_CERTIFICATE_____
call fcn.00d1cbd0
mov ecx, dword [esp + 0x14]
add eax, edi
push dword [esp + 0x10]
mov byte [eax + ecx], 0
call dword [0xd93ddc]
add esp, 4
cmp byte [esi + 0x42c], 0
je 0xd1d64d
push edi
push str.Cert
mov edx, ebx
mov ecx, esi
call fcn.00d1ccb0
add esp, 8
mov dword [esp + 0x1c], eax
test ebx, ebx
jne 0xd1d660
push edi
push 0xd5cfc4
push esi
call fcn.00cedeb0
add esp, 0xc
push edi
call dword [0xd93ddc]
mov eax, dword [esp + 0x20]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret