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

Disassembly:
sub esp, 0x114
push ebx
push ebp
mov ebp, dword [esp + 0x120]
xor ebx, ebx
push edi
mov edi, dword [esp + 0x128]
mov dword [esp + 0x10], ebx
cmp byte [ebp + 0x424], bl
jne 0x5124b5
test edi, edi
je 0x5124b5
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x114
ret
push dword [esp + 0x130]
lea eax, [esp + 0x24]
push dword [esp + 0x130]
push eax
call fcn.00513d30
add esp, 0xc
test eax, eax
je 0x5124e3
pop edi
pop ebp
mov eax, 0x3c
pop ebx
add esp, 0x114
ret
lea eax, [esp + 0xa0]
push esi
push eax
call fcn.00514040
mov esi, eax
add esp, 4
test esi, esi
je case.0x513568.7
cmp byte [ebp + 0x424], bl
je 0x512538
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x512510
sub ecx, edx
push ecx
push esi
push str.Subject
push edi
push ebp
call fcn.004d0ed0
mov ebx, eax
add esp, 0x14
mov dword [esp + 0x14], ebx
test ebx, ebx
jne 0x51260d
test edi, edi
jne 0x51254c
push esi
push edi
push str._2d_Subject:__s
push ebp
call fcn.004d7450
add esp, 0x10
push esi
call dword [0x5c41e4]
lea eax, [esp + 0x78]
push eax
call fcn.00514040
mov esi, eax
add esp, 8
test esi, esi
je case.0x513568.7
cmp byte [ebp + 0x424], 0
je 0x512589
push esi
push str.Issuer
push edi
push ebp
call fcn.00515a30
mov ebx, eax
add esp, 0x10
mov dword [esp + 0x14], ebx
test edi, edi
jne 0x51259c
push esi
push str.___Issuer:__s
push ebp
call fcn.004d7450
add esp, 0xc
push esi
call dword [0x5c41e4]
add esp, 4
test ebx, ebx
jne 0x51260d
mov ecx, dword [esp + 0x38]
xor esi, esi
mov edx, dword [esp + 0x3c]
cmp ecx, edx
jae 0x5125c5
movzx eax, byte [ecx]
inc ecx
shl esi, 8
or esi, eax
cmp ecx, edx
jb 0x5125b8
cmp byte [ebp + 0x424], 0
je 0x512621
push esi
push 0x593bf8
call fcn.004d4a30
mov edi, eax
add esp, 8
test edi, edi
je case.0x513568.7
push edi
push str.Version
push dword [esp + 0x134]
push ebp
call fcn.00515a30
mov ebx, eax
push edi
mov dword [esp + 0x28], ebx
call dword [0x5c41e4]
add esp, 0x14
test ebx, ebx
je 0x51261a
pop esi
pop edi
pop ebp
mov eax, ebx
pop ebx
add esp, 0x114
ret
mov edi, dword [esp + 0x12c]
test edi, edi
jne 0x512638
push esi
lea eax, [esi + 1]
push eax
push str.___Version:__u__0x_x_
push ebp
call fcn.004d7450
add esp, 0x10
cmp byte [esp + 0x52], 0
jne case.0x513568.7
movzx ebp, byte [esp + 0x51]
lea eax, [ebp - 1]
cmp eax, 0x1d
ja case.0x513568.7
movzx eax, byte [eax + 0x513ba4]
mov ebx, 0x5ab6b2
mov edx, str.FALSE
jmp dword [eax*4 + 0x513b7c]
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x48]
sub eax, ecx
cmp eax, 1
je 0x512682
xor esi, esi
jmp 0x512a52
cmp byte [ecx], 0
mov eax, str.TRUE
cmove eax, edx
push eax
call dword [0x5c41ec]
add esp, 4
mov esi, eax
jmp 0x512a52
mov esi, dword [esp + 0x4c]
mov eax, esi
mov edx, dword [esp + 0x48]
sub eax, edx
jne 0x5126b3
xor esi, esi
jmp 0x512a52
cmp eax, 4
jbe 0x5126c9
push esi
push edx
call fcn.005159c0
add esp, 8
mov esi, eax
jmp 0x512a52
movsx ecx, byte [edx]
sar ecx, 0x1f
nop
movzx eax, byte [edx]
inc edx
shl ecx, 8
or ecx, eax
cmp edx, esi
jb 0x5126d0
cmp ecx, 0xa
mov eax, 0x584a6c
push ecx
cmovb eax, ebx
push eax
push str._s_x
call fcn.004d4a30
add esp, 0xc
mov esi, eax
jmp 0x512a52
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
inc eax
cmp eax, ecx
jbe 0x512712
xor esi, esi
jmp 0x512a52
push ecx
push eax
call fcn.005159c0
add esp, 8
mov esi, eax
jmp 0x512a52
push dword [esp + 0x4c]
push dword [esp + 0x4c]
call fcn.005159c0
add esp, 8
mov esi, eax
jmp 0x512a52
push 0x5ab6b2
call dword [0x5c41ec]
add esp, 4
mov esi, eax
jmp 0x512a52
push 1
push dword [esp + 0x50]
push dword [esp + 0x50]
call fcn.005140a0
add esp, 0xc
mov esi, eax
jmp 0x512a52
mov esi, dword [esp + 0x48]
mov ecx, esi
mov edx, dword [esp + 0x4c]
cmp ecx, edx
jae 0x512783
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x512783
inc ecx
cmp ecx, edx
jb 0x512776
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x51279b
sub eax, 2
je 0x5127a0
xor esi, esi
jmp 0x512a4b
mov edi, 0x593ad4
cmp ecx, edx
jb 0x5127ab
xor esi, esi
jmp 0x512a4b
cmp byte [ecx], 0x5a
jne 0x5127bc
mov ecx, 0x593ad8
mov edx, 0x593adb
jmp 0x5127bd
inc ecx
push ecx
sub edx, ecx
lea eax, [esi + 8]
push edx
push edi
push eax
lea eax, [esi + 6]
push eax
lea eax, [esi + 4]
push eax
lea eax, [esi + 2]
push eax
xor eax, eax
cmp byte [esi], 0x35
push esi
setl al
add eax, 0x13
push eax
push str._u_.2s__.2s__.2s__.2s:_.2s:_.2s__.s
call fcn.004d4a30
add esp, 0x28
mov esi, eax
jmp 0x512a4b
mov ebp, dword [esp + 0x48]
mov esi, 0x5ab6b2
mov edi, dword [esp + 0x4c]
mov ecx, ebp
cmp ecx, edi
jae 0x512813
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x512813
inc ecx
cmp ecx, edi
jb 0x512806
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x512841
sub eax, 1
je 0x51283c
sub eax, 1
je 0x512835
xor esi, esi
jmp 0x512a4b
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x512843
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, edi
jae 0x5128a2
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x512857
cmp bl, 0x2c
jne 0x512887
inc ecx
inc eax
cmp eax, edi
jae 0x512869
mov dl, byte [eax]
cmp dl, 0x30
jl 0x512869
cmp dl, 0x39
jle 0x512858
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x512887
lea esi, [ecx - 1]
add esi, edx
cmp byte [esi], 0x30
jne 0x512882
dec esi
sub edx, 1
jne 0x512877
mov esi, 0x5ab6b2
cmp eax, edi
jae 0x5128a2
cmp byte [eax], 0x5a
jne 0x51289c
mov eax, str._GMT
mov edi, 0x593aa4
jmp 0x5128a2
mov esi, 0x588028
inc eax
push eax
sub edi, eax
test edx, edx
push edi
push esi
push ecx
push edx
mov ecx, 0x5ab6b2
mov eax, 0x57e614
cmove eax, ecx
push eax
movsx eax, bh
push eax
movsx eax, byte [esp + 0x2f]
push eax
lea eax, [ebp + 0xa]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 6]
push eax
lea eax, [ebp + 4]
push eax
push ebp
push str._.4s__.2s__.2s__.2s:_.2s:_c_c_s_.s_s_.s
call fcn.004d4a30
add esp, 0x38
mov esi, eax
jmp 0x512a4b
mov edi, dword [esp + 0x4c]
lea eax, [ebp - 0xc]
mov esi, dword [esp + 0x48]
mov ecx, 1
sub edi, esi
mov dword [esp + 0x18], ecx
cmp eax, 0x12
ja case.0x51290e.13
movzx eax, byte [eax + 0x513bd4]
jmp dword [eax*4 + 0x513bc4]
mov ecx, 2
jmp 0x512921
mov ecx, 4
mov dword [esp + 0x18], ecx
xor edx, edx
mov eax, edi
div ecx
test edx, edx
jne case.0x51290e.13
mov eax, edi
div ecx
cmp eax, 0x3fffffff
ja case.0x51290e.13
lea eax, [eax*4 + 1]
push eax
call dword [0x5c41e0]
mov ebx, eax
add esp, 4
test ebx, ebx
je case.0x51290e.13
cmp ebp, 0xc
jne 0x51297a
test edi, edi
je 0x512971
push edi
push esi
push ebx
call fcn.00533470
add esp, 0xc
mov byte [edi + ebx], 0
jmp 0x512a44
xor edi, edi
cmp esi, dword [esp + 0x4c]
jae 0x512971
mov ebp, dword [esp + 0x18]
mov eax, ebp
xor ecx, ecx
sub eax, 2
je 0x5129a3
sub eax, 2
jne 0x5129ac
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
add esi, 2
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
inc esi
movzx eax, byte [esi]
mov edx, 1
shl ecx, 8
inc esi
or ecx, eax
cmp ecx, 0x80
jb 0x512a20
cmp ecx, 0x800
jb 0x512a0c
cmp ecx, 0x10000
jb 0x5129f4
cmp ecx, 0x200000
jae 0x512a35
mov al, cl
mov edx, 3
and al, 0x3f
or ecx, 0x400000
or al, 0x80
shr ecx, 6
mov byte [edi + ebx + 3], al
jmp 0x5129f9
mov edx, 2
mov al, cl
or ecx, 0x20000
and al, 0x3f
or al, 0x80
shr ecx, 6
mov byte [edi + ebx + 2], al
mov al, cl
or ecx, 0x3000
and al, 0x3f
shr ecx, 6
or al, 0x80
inc edx
mov byte [edi + ebx + 1], al
mov byte [edi + ebx], cl
add edi, edx
cmp esi, dword [esp + 0x4c]
jb 0x512986
mov byte [edi + ebx], 0
jmp 0x512a44
push ebx
call dword [0x5c41e4]
add esp, 4
or edi, 0xffffffff
xor ebx, ebx
xor esi, esi
test edi, edi
cmovns esi, ebx
mov edi, dword [esp + 0x12c]
test esi, esi
je case.0x513568.7
mov ebx, dword [esp + 0x128]
cmp byte [ebx + 0x424], 0
je 0x512a82
push esi
push str.Serial_Number
push edi
push ebx
call fcn.00515a30
mov edi, eax
add esp, 0x10
mov dword [esp + 0x14], edi
jmp 0x512a86
mov edi, dword [esp + 0x14]
mov ebp, dword [esp + 0x12c]
test ebp, ebp
jne 0x512aa0
push esi
push str.___Serial_Number:__s
push ebx
call fcn.004d7450
add esp, 0xc
push esi
call dword [0x5c41e4]
add esp, 4
test edi, edi
jne 0x5139a8
push dword [esp + 0x5c]
lea eax, [esp + 0x118]
push dword [esp + 0x5c]
push eax
call fcn.00514ac0
mov esi, eax
add esp, 0xc
test esi, esi
je case.0x513568.7
cmp byte [ebx + 0x424], 0
je 0x512af3
push esi
push str.Signature_Algorithm
push ebp
push ebx
call fcn.00515a30
mov edi, eax
add esp, 0x10
mov dword [esp + 0x14], edi
test ebp, ebp
jne 0x512b06
push esi
push str.___Signature_Algorithm:__s
push ebx
call fcn.004d7450
add esp, 0xc
push esi
call dword [0x5c41e4]
add esp, 4
test edi, edi
jne 0x5139a8
cmp byte [esp + 0x92], 0
jne case.0x513568.7
movzx ebp, byte [esp + 0x91]
lea eax, [ebp - 1]
cmp eax, 0x1d
ja case.0x513568.7
movzx eax, byte [eax + 0x513c10]
jmp dword [eax*4 + 0x513be8]
mov eax, dword [esp + 0x8c]
mov ecx, dword [esp + 0x88]
sub eax, ecx
cmp eax, 1
je 0x512b64
xor esi, esi
jmp 0x512f7c
cmp byte [ecx], 0
mov eax, str.TRUE
mov ecx, str.FALSE
cmove eax, ecx
push eax
call dword [0x5c41ec]
add esp, 4
mov esi, eax
jmp 0x512f7c
mov esi, dword [esp + 0x8c]
mov eax, esi
mov edx, dword [esp + 0x88]
sub eax, edx
jne 0x512ba0
xor esi, esi
jmp 0x512f7c
cmp eax, 4
jbe 0x512bb6
push esi
push edx
call fcn.005159c0
add esp, 8
mov esi, eax
jmp 0x512f7c
movsx ecx, byte [edx]
sar ecx, 0x1f
nop dword [eax]
movzx eax, byte [edx]
inc edx
shl ecx, 8
or ecx, eax
cmp edx, esi
jb 0x512bc0
push ecx
cmp ecx, 0xa
mov eax, 0x584a6c
mov ecx, 0x5ab6b2
cmovb eax, ecx
push eax
push str._s_x
call fcn.004d4a30
add esp, 0xc
mov esi, eax
jmp 0x512f7c
mov eax, dword [esp + 0x88]
mov ecx, dword [esp + 0x8c]
inc eax
cmp eax, ecx
jbe 0x512c0d
xor esi, esi
jmp 0x512f7c
push ecx
push eax
call fcn.005159c0
add esp, 8
mov esi, eax
jmp 0x512f7c
push dword [esp + 0x8c]
push dword [esp + 0x8c]
call fcn.005159c0
add esp, 8
mov esi, eax
jmp 0x512f7c
push 0x5ab6b2
call dword [0x5c41ec]
add esp, 4
mov esi, eax
jmp 0x512f7c
push 1
push dword [esp + 0x90]
push dword [esp + 0x90]
call fcn.005140a0
add esp, 0xc
mov esi, eax
jmp 0x512f7c
mov esi, dword [esp + 0x88]
mov ecx, esi
mov edx, dword [esp + 0x8c]
cmp ecx, edx
jae 0x512c90
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x512c90
inc ecx
cmp ecx, edx
jb 0x512c83
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x512ca8
sub eax, 2
je 0x512cad
xor esi, esi
jmp 0x512f78
mov edi, 0x593ad4
cmp ecx, edx
jb 0x512cb8
xor esi, esi
jmp 0x512f78
cmp byte [ecx], 0x5a
jne 0x512cc9
mov ecx, 0x593ad8
mov edx, 0x593adb
jmp 0x512cca
inc ecx
push ecx
sub edx, ecx
lea eax, [esi + 8]
push edx
push edi
push eax
lea eax, [esi + 6]
push eax
lea eax, [esi + 4]
push eax
lea eax, [esi + 2]
push eax
xor eax, eax
cmp byte [esi], 0x35
push esi
setl al
add eax, 0x13
push eax
push str._u_.2s__.2s__.2s__.2s:_.2s:_.2s__.s
call fcn.004d4a30
add esp, 0x28
mov esi, eax
jmp 0x512f78
mov ebp, dword [esp + 0x88]
mov esi, 0x5ab6b2
mov edi, dword [esp + 0x8c]
mov ecx, ebp
cmp ecx, edi
jae 0x512d2d
nop dword [eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x512d2d
inc ecx
cmp ecx, edi
jb 0x512d20
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x512d5b
sub eax, 1
je 0x512d56
sub eax, 1
je 0x512d4f
xor esi, esi
jmp 0x512f78
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x512d5d
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, edi
jae 0x512dbc
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x512d71
cmp bl, 0x2c
jne 0x512da1
inc ecx
inc eax
cmp eax, edi
jae 0x512d83
mov dl, byte [eax]
cmp dl, 0x30
jl 0x512d83
cmp dl, 0x39
jle 0x512d72
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x512da1
lea esi, [ecx - 1]
add esi, edx
cmp byte [esi], 0x30
jne 0x512d9c
dec esi
sub edx, 1
jne 0x512d91
mov esi, 0x5ab6b2
cmp eax, edi
jae 0x512dbc
cmp byte [eax], 0x5a
jne 0x512db6
mov eax, str._GMT
mov edi, 0x593aa4
jmp 0x512dbc
mov esi, 0x588028
inc eax
push eax
sub edi, eax
test edx, edx
push edi
push esi
push ecx
push edx
mov ecx, 0x5ab6b2
mov eax, 0x57e614
cmove eax, ecx
push eax
movsx eax, bh
push eax
movsx eax, byte [esp + 0x2f]
push eax
lea eax, [ebp + 0xa]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 6]
push eax
lea eax, [ebp + 4]
push eax
push ebp
push str._.4s__.2s__.2s__.2s:_.2s:_c_c_s_.s_s_.s
call fcn.004d4a30
add esp, 0x38
mov esi, eax
jmp 0x512f78
mov edi, dword [esp + 0x8c]
lea eax, [ebp - 0xc]
mov esi, dword [esp + 0x88]
mov ecx, 1
sub edi, esi
mov dword [esp + 0x18], ecx
cmp eax, 0x12
ja case.0x512e2e.13
movzx eax, byte [eax + 0x513c40]
jmp dword [eax*4 + 0x513c30]
mov ecx, 2
jmp 0x512e41
mov ecx, 4
mov dword [esp + 0x18], ecx
xor edx, edx
mov eax, edi
div ecx
test edx, edx
jne case.0x512e2e.13
mov eax, edi
div ecx
cmp eax, 0x3fffffff
ja case.0x512e2e.13
lea eax, [eax*4 + 1]
push eax
call dword [0x5c41e0]
mov ebx, eax
add esp, 4
test ebx, ebx
je case.0x512e2e.13
cmp ebp, 0xc
jne 0x512e9a
test edi, edi
je 0x512e91
push edi
push esi
push ebx
call fcn.00533470
add esp, 0xc
mov byte [edi + ebx], 0
jmp 0x512f71
xor edi, edi
cmp esi, dword [esp + 0x8c]
jae 0x512e91
mov ebp, dword [esp + 0x18]
nop dword [eax]
mov eax, ebp
xor ecx, ecx
sub eax, 2
je 0x512ecd
sub eax, 2
jne 0x512ed6
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
add esi, 2
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
inc esi
movzx eax, byte [esi]
mov edx, 1
shl ecx, 8
inc esi
or ecx, eax
cmp ecx, 0x80
jb 0x512f4a
cmp ecx, 0x800
jb 0x512f36
cmp ecx, 0x10000
jb 0x512f1e
cmp ecx, 0x200000
jae 0x512f62
mov al, cl
mov edx, 3
and al, 0x3f
or ecx, 0x400000
or al, 0x80
shr ecx, 6
mov byte [edi + ebx + 3], al
jmp 0x512f23
mov edx, 2
mov al, cl
or ecx, 0x20000
and al, 0x3f
or al, 0x80
shr ecx, 6
mov byte [edi + ebx + 2], al
mov al, cl
or ecx, 0x3000
and al, 0x3f
shr ecx, 6
or al, 0x80
inc edx
mov byte [edi + ebx + 1], al
mov byte [edi + ebx], cl
add edi, edx
cmp esi, dword [esp + 0x8c]
jb 0x512eb0
mov byte [edi + ebx], 0
jmp 0x512f71
push ebx
call dword [0x5c41e4]
add esp, 4
or edi, 0xffffffff
xor ebx, ebx
xor esi, esi
test edi, edi
cmovns esi, ebx
mov edi, dword [esp + 0x14]
test esi, esi
je case.0x513568.7
mov ebx, dword [esp + 0x128]
cmp byte [ebx + 0x424], 0
je 0x512fb0
push esi
push str.Start_Date
push dword [esp + 0x134]
push ebx
call fcn.00515a30
mov edi, eax
add esp, 0x10
mov dword [esp + 0x14], edi
cmp dword [esp + 0x12c], 0
jne 0x512fc9
push esi
push str.___Start_Date:__s
push ebx
call fcn.004d7450
add esp, 0xc
push esi
call dword [0x5c41e4]
add esp, 4
test edi, edi
jne 0x5139a8
cmp byte [esp + 0xa2], 0
jne case.0x513568.7
movzx ebp, byte [esp + 0xa1]
lea eax, [ebp - 1]
cmp eax, 0x1d
ja case.0x513568.7
movzx eax, byte [eax + 0x513c7c]
jmp dword [eax*4 + 0x513c54]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0x98]
sub eax, ecx
cmp eax, 1
je 0x513027
xor esi, esi
jmp 0x51343c
cmp byte [ecx], 0
mov eax, str.TRUE
mov ecx, str.FALSE
cmove eax, ecx
push eax
call dword [0x5c41ec]
add esp, 4
mov esi, eax
jmp 0x51343c
mov esi, dword [esp + 0x9c]
mov eax, esi
mov edx, dword [esp + 0x98]
sub eax, edx
jne 0x513063
xor esi, esi
jmp 0x51343c
cmp eax, 4
jbe 0x513079
push esi
push edx
call fcn.005159c0
add esp, 8
mov esi, eax
jmp 0x51343c
movsx ecx, byte [edx]
sar ecx, 0x1f
nop
movzx eax, byte [edx]
inc edx
shl ecx, 8
or ecx, eax
cmp edx, esi
jb 0x513080
push ecx
cmp ecx, 0xa
mov eax, 0x584a6c
mov ecx, 0x5ab6b2
cmovb eax, ecx
push eax
push str._s_x
call fcn.004d4a30
add esp, 0xc
mov esi, eax
jmp 0x51343c
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x9c]
inc eax
cmp eax, ecx
jbe 0x5130cd
xor esi, esi
jmp 0x51343c
push ecx
push eax
call fcn.005159c0
add esp, 8
mov esi, eax
jmp 0x51343c
push dword [esp + 0x9c]
push dword [esp + 0x9c]
call fcn.005159c0
add esp, 8
mov esi, eax
jmp 0x51343c
push 0x5ab6b2
call dword [0x5c41ec]
add esp, 4
mov esi, eax
jmp 0x51343c
push 1
push dword [esp + 0xa0]
push dword [esp + 0xa0]
call fcn.005140a0
add esp, 0xc
mov esi, eax
jmp 0x51343c
mov esi, dword [esp + 0x98]
mov ecx, esi
mov edx, dword [esp + 0x9c]
cmp ecx, edx
jae 0x513150
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x513150
inc ecx
cmp ecx, edx
jb 0x513143
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x513168
sub eax, 2
je 0x51316d
xor esi, esi
jmp 0x513438
mov edi, 0x593ad4
cmp ecx, edx
jb 0x513178
xor esi, esi
jmp 0x513438
cmp byte [ecx], 0x5a
jne 0x513189
mov ecx, 0x593ad8
mov edx, 0x593adb
jmp 0x51318a
inc ecx
push ecx
sub edx, ecx
lea eax, [esi + 8]
push edx
push edi
push eax
lea eax, [esi + 6]
push eax
lea eax, [esi + 4]
push eax
lea eax, [esi + 2]
push eax
xor eax, eax
cmp byte [esi], 0x35
push esi
setl al
add eax, 0x13
push eax
push str._u_.2s__.2s__.2s__.2s:_.2s:_.2s__.s
call fcn.004d4a30
add esp, 0x28
mov esi, eax
jmp 0x513438
mov ebp, dword [esp + 0x98]
mov esi, 0x5ab6b2
mov edi, dword [esp + 0x9c]
mov ecx, ebp
cmp ecx, edi
jae 0x5131ed
nop dword [eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x5131ed
inc ecx
cmp ecx, edi
jb 0x5131e0
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x51321b
sub eax, 1
je 0x513216
sub eax, 1
je 0x51320f
xor esi, esi
jmp 0x513438
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x51321d
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, edi
jae 0x51327c
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x513231
cmp bl, 0x2c
jne 0x513261
inc ecx
inc eax
cmp eax, edi
jae 0x513243
mov dl, byte [eax]
cmp dl, 0x30
jl 0x513243
cmp dl, 0x39
jle 0x513232
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x513261
lea esi, [ecx - 1]
add esi, edx
cmp byte [esi], 0x30
jne 0x51325c
dec esi
sub edx, 1
jne 0x513251
mov esi, 0x5ab6b2
cmp eax, edi
jae 0x51327c
cmp byte [eax], 0x5a
jne 0x513276
mov eax, str._GMT
mov edi, 0x593aa4
jmp 0x51327c
mov esi, 0x588028
inc eax
push eax
sub edi, eax
test edx, edx
push edi
push esi
push ecx
push edx
mov ecx, 0x5ab6b2
mov eax, 0x57e614
cmove eax, ecx
push eax
movsx eax, bh
push eax
movsx eax, byte [esp + 0x2f]
push eax
lea eax, [ebp + 0xa]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 6]
push eax
lea eax, [ebp + 4]
push eax
push ebp
push str._.4s__.2s__.2s__.2s:_.2s:_c_c_s_.s_s_.s
call fcn.004d4a30
add esp, 0x38
mov esi, eax
jmp 0x513438
mov edi, dword [esp + 0x9c]
lea eax, [ebp - 0xc]
mov esi, dword [esp + 0x98]
mov ecx, 1
sub edi, esi
mov dword [esp + 0x18], ecx
cmp eax, 0x12
ja case.0x5132ee.13
movzx eax, byte [eax + 0x513cac]
jmp dword [eax*4 + 0x513c9c]
mov ecx, 2
jmp 0x513301
mov ecx, 4
mov dword [esp + 0x18], ecx
xor edx, edx
mov eax, edi
div ecx
test edx, edx
jne case.0x5132ee.13
mov eax, edi
div ecx
cmp eax, 0x3fffffff
ja case.0x5132ee.13
lea eax, [eax*4 + 1]
push eax
call dword [0x5c41e0]
mov ebx, eax
add esp, 4
test ebx, ebx
je case.0x5132ee.13
cmp ebp, 0xc
jne 0x51335a
test edi, edi
je 0x513351
push edi
push esi
push ebx
call fcn.00533470
add esp, 0xc
mov byte [edi + ebx], 0
jmp 0x513431
xor edi, edi
cmp esi, dword [esp + 0x9c]
jae 0x513351
mov ebp, dword [esp + 0x18]
nop dword [eax]
mov eax, ebp
xor ecx, ecx
sub eax, 2
je 0x51338d
sub eax, 2
jne 0x513396
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
add esi, 2
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
inc esi
movzx eax, byte [esi]
mov edx, 1
shl ecx, 8
inc esi
or ecx, eax
cmp ecx, 0x80
jb 0x51340a
cmp ecx, 0x800
jb 0x5133f6
cmp ecx, 0x10000
jb 0x5133de
cmp ecx, 0x200000
jae 0x513422
mov al, cl
mov edx, 3
and al, 0x3f
or ecx, 0x400000
or al, 0x80
shr ecx, 6
mov byte [edi + ebx + 3], al
jmp 0x5133e3
mov edx, 2
mov al, cl
or ecx, 0x20000
and al, 0x3f
or al, 0x80
shr ecx, 6
mov byte [edi + ebx + 2], al
mov al, cl
or ecx, 0x3000
and al, 0x3f
shr ecx, 6
or al, 0x80
inc edx
mov byte [edi + ebx + 1], al
mov byte [edi + ebx], cl
add edi, edx
cmp esi, dword [esp + 0x9c]
jb 0x513370
mov byte [edi + ebx], 0
jmp 0x513431
push ebx
call dword [0x5c41e4]
add esp, 4
or edi, 0xffffffff
xor ebx, ebx
xor esi, esi
test edi, edi
cmovns esi, ebx
mov edi, dword [esp + 0x14]
test esi, esi
je case.0x513568.7
mov ebp, dword [esp + 0x128]
mov ebx, dword [esp + 0x12c]
cmp byte [ebp + 0x424], 0
je 0x513471
push esi
push str.Expire_Date
push ebx
push ebp
call fcn.00515a30
mov edi, eax
add esp, 0x10
mov dword [esp + 0x14], edi
test ebx, ebx
jne 0x513484
push esi
push str.___Expire_Date:__s
push ebp
call fcn.004d7450
add esp, 0xc
push esi
call dword [0x5c41e4]
add esp, 4
test edi, edi
jne 0x5139a8
push dword [esp + 0xcc]
lea eax, [esp + 0x118]
push dword [esp + 0xcc]
push eax
call fcn.00514ac0
mov esi, eax
add esp, 0xc
test esi, esi
je case.0x513568.7
cmp byte [ebp + 0x424], 0
je 0x5134e1
push esi
push str.Public_Key_Algorithm
push ebx
push ebp
call fcn.00515a30
mov edi, eax
add esp, 0x10
mov dword [esp + 0x14], edi
test edi, edi
jne 0x51352f
test ebx, ebx
jne 0x5134f4
push esi
push str.___Public_Key_Algorithm:__s
push ebp
call fcn.004d7450
add esp, 0xc
lea eax, [esp + 0xd4]
push eax
lea eax, [esp + 0x118]
push eax
push esi
push ebx
push ebp
call fcn.00514210
add esp, 0x14
test eax, eax
je 0x51352f
push esi
mov edi, 0x1b
call dword [0x5c41e4]
add esp, 4
mov eax, edi
pop esi
pop edi
pop ebp
pop ebx
add esp, 0x114
ret
push esi
call dword [0x5c41e4]
add esp, 4
test edi, edi
jne 0x5139a8
cmp byte [esp + 0x72], 0
jne case.0x513568.7
movzx ecx, byte [esp + 0x71]
mov dword [esp + 0x18], ecx
lea eax, [ecx - 1]
cmp eax, 0x1d
ja case.0x513568.7
movzx eax, byte [eax + 0x513ce8]
jmp dword [eax*4 + 0x513cc0]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
sub eax, ecx
cmp eax, 1
je 0x513585
xor esi, esi
jmp 0x513958
cmp byte [ecx], 0
mov eax, str.TRUE
mov ecx, str.FALSE
cmove eax, ecx
push eax
call dword [0x5c41ec]
add esp, 4
mov esi, eax
jmp 0x513958
mov esi, dword [esp + 0x6c]
mov eax, esi
mov edx, dword [esp + 0x68]
sub eax, edx
jne 0x5135bb
xor esi, esi
jmp 0x513958
cmp eax, 4
jbe 0x5135d1
push esi
push edx
call fcn.005159c0
add esp, 8
mov esi, eax
jmp 0x513958
movsx ecx, byte [edx]
sar ecx, 0x1f
movzx eax, byte [edx]
inc edx
shl ecx, 8
or ecx, eax
cmp edx, esi
jb 0x5135d7
push ecx
cmp ecx, 0xa
mov eax, 0x584a6c
mov ecx, 0x5ab6b2
cmovb eax, ecx
push eax
push str._s_x
call fcn.004d4a30
add esp, 0xc
mov esi, eax
jmp 0x513958
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x6c]
inc eax
cmp eax, ecx
jbe 0x51361e
xor esi, esi
jmp 0x513958
push ecx
push eax
call fcn.005159c0
add esp, 8
mov esi, eax
jmp 0x513958
push dword [esp + 0x6c]
push dword [esp + 0x6c]
call fcn.005159c0
add esp, 8
mov esi, eax
jmp 0x513958
push 0x5ab6b2
call dword [0x5c41ec]
add esp, 4
mov esi, eax
jmp 0x513958
push 1
push dword [esp + 0x70]
push dword [esp + 0x70]
call fcn.005140a0
add esp, 0xc
mov esi, eax
jmp 0x513958
mov esi, dword [esp + 0x68]
mov ecx, esi
mov edx, dword [esp + 0x6c]
cmp ecx, edx
jae 0x51368f
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x51368f
inc ecx
cmp ecx, edx
jb 0x513682
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x5136a7
sub eax, 2
je 0x5136ac
xor esi, esi
jmp 0x513954
mov edi, 0x593ad4
cmp ecx, edx
jb 0x5136b7
xor esi, esi
jmp 0x513954
cmp byte [ecx], 0x5a
jne 0x5136c8
mov ecx, 0x593ad8
mov edx, 0x593adb
jmp 0x5136c9
inc ecx
push ecx
sub edx, ecx
lea eax, [esi + 8]
push edx
push edi
push eax
lea eax, [esi + 6]
push eax
lea eax, [esi + 4]
push eax
lea eax, [esi + 2]
push eax
xor eax, eax
cmp byte [esi], 0x35
push esi
setl al
add eax, 0x13
push eax
push str._u_.2s__.2s__.2s__.2s:_.2s:_.2s__.s
call fcn.004d4a30
add esp, 0x28
mov esi, eax
jmp 0x513954
mov ebp, dword [esp + 0x68]
mov edi, 0x5ab6b2
mov esi, dword [esp + 0x6c]
mov ecx, ebp
cmp ecx, esi
jae 0x51371f
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x51371f
inc ecx
cmp ecx, esi
jb 0x513712
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x51374d
sub eax, 1
je 0x513748
sub eax, 1
je 0x513741
xor esi, esi
jmp 0x51394d
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x51374f
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, esi
jae 0x5137ae
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x513763
cmp bl, 0x2c
jne 0x513793
inc ecx
inc eax
cmp eax, esi
jae 0x513775
mov dl, byte [eax]
cmp dl, 0x30
jl 0x513775
cmp dl, 0x39
jle 0x513764
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x513793
lea edi, [ecx - 1]
add edi, edx
cmp byte [edi], 0x30
jne 0x51378e
dec edi
sub edx, 1
jne 0x513783
mov edi, 0x5ab6b2
cmp eax, esi
jae 0x5137ae
cmp byte [eax], 0x5a
jne 0x5137a8
mov eax, str._GMT
mov esi, 0x593aa4
jmp 0x5137ae
mov edi, 0x588028
inc eax
push eax
sub esi, eax
test edx, edx
push esi
push edi
push ecx
push edx
mov ecx, 0x5ab6b2
mov eax, 0x57e614
cmove eax, ecx
push eax
movsx eax, bh
push eax
movsx eax, byte [esp + 0x2f]
push eax
lea eax, [ebp + 0xa]
push eax
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 6]
push eax
lea eax, [ebp + 4]
push eax
push ebp
push str._.4s__.2s__.2s__.2s:_.2s:_c_c_s_.s_s_.s
call fcn.004d4a30
add esp, 0x38
mov esi, eax
jmp 0x51394d
mov edi, dword [esp + 0x6c]
add ecx, 0xfffffff4
mov esi, dword [esp + 0x68]
mov ebp, 1
sub edi, esi
cmp ecx, 0x12
ja case.0x513816.13
movzx eax, byte [ecx + 0x513d18]
jmp dword [eax*4 + 0x513d08]
mov ebp, 2
jmp case.0x513816.12
mov ebp, 4
xor edx, edx
mov eax, edi
div ebp
test edx, edx
jne case.0x513816.13
mov eax, edi
div ebp
cmp eax, 0x3fffffff
ja case.0x513816.13
lea eax, [eax*4 + 1]
push eax
call dword [0x5c41e0]
mov ebx, eax
add esp, 4
test ebx, ebx
je case.0x513816.13
cmp dword [esp + 0x18], 0xc
jne 0x513880
test edi, edi
je 0x513877
push edi
push esi
push ebx
call fcn.00533470
add esp, 0xc
mov byte [edi + ebx], 0
jmp 0x513946
xor edi, edi
cmp esi, dword [esp + 0x6c]
jae 0x513877
mov eax, ebp
xor ecx, ecx
sub eax, 2
je 0x5138a5
sub eax, 2
jne 0x5138ae
movzx ecx, byte [esi]
movzx eax, byte [esi + 1]
shl ecx, 8
or ecx, eax
add esi, 2
movzx eax, byte [esi]
shl ecx, 8
or ecx, eax
inc esi
movzx eax, byte [esi]
mov edx, 1
shl ecx, 8
inc esi
or ecx, eax
cmp ecx, 0x80
jb 0x513922
cmp ecx, 0x800
jb 0x51390e
cmp ecx, 0x10000
jb 0x5138f6
cmp ecx, 0x200000
jae 0x513937
mov al, cl
mov edx, 3
and al, 0x3f
or ecx, 0x400000
or al, 0x80
shr ecx, 6
mov byte [edi + ebx + 3], al
jmp 0x5138fb
mov edx, 2
mov al, cl
or ecx, 0x20000
and al, 0x3f
or al, 0x80
shr ecx, 6
mov byte [edi + ebx + 2], al
mov al, cl
or ecx, 0x3000
and al, 0x3f
shr ecx, 6
or al, 0x80
inc edx
mov byte [edi + ebx + 1], al
mov byte [edi + ebx], cl
add edi, edx
cmp esi, dword [esp + 0x6c]
jb 0x513888
mov byte [edi + ebx], 0
jmp 0x513946
push ebx
call dword [0x5c41e4]
add esp, 4
or edi, 0xffffffff
xor ebx, ebx
xor esi, esi
test edi, edi
cmovns esi, ebx
mov ebp, dword [esp + 0x128]
mov edi, dword [esp + 0x14]
test esi, esi
je case.0x513568.7
cmp byte [ebp + 0x424], 0
je 0x513981
push esi
push str.Signature
push dword [esp + 0x134]
push ebp
call fcn.00515a30
add esp, 0x10
mov edi, eax
cmp dword [esp + 0x12c], 0
jne 0x51399a
push esi
push str.___Signature:__s
push ebp
call fcn.004d7450
add esp, 0xc
push esi
call dword [0x5c41e4]
add esp, 4
test edi, edi
je 0x5139b5
pop esi
mov eax, edi
pop edi
pop ebp
pop ebx
add esp, 0x114
ret
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x34]
sub eax, ecx
push eax
push ecx
call fcn.00503d00
mov ebp, eax
add esp, 0x10
test ebp, ebp
jne 0x513b6d
mov ecx, dword [esp + 0x1c]
lea eax, [ecx + 0x3f]
add ecx, 0x37
shr eax, 6
add eax, ecx
push eax
call dword [0x5c41e0]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x513a19
push dword [esp + 0x20]
call dword [0x5c41e4]
add esp, 4
pop esi
pop edi
pop ebp
mov eax, 0x1b
pop ebx
add esp, 0x114
ret
mov ecx, str._____BEGIN_CERTIFICATE_____
lea edx, [ebx + 2]
xor esi, esi
movzx eax, byte [ecx]
mov byte [edx - 2], al
movzx eax, byte [ecx]
test al, al
je 0x513a77
movzx eax, byte [ecx + 1]
mov byte [edx - 1], al
movzx eax, byte [ecx + 1]
test al, al
je 0x513a76
movzx eax, byte [ecx + 2]
mov byte [edx], al
movzx eax, byte [ecx + 2]
test al, al
je 0x513a71
movzx eax, byte [ecx + 3]
mov byte [edx + 1], al
movzx eax, byte [ecx + 3]
add ecx, 4
test al, al
je 0x513a6c
add esi, 4
add edx, 4
cmp esi, 0x40
jb 0x513a23
jmp 0x513a77
add esi, 3
jmp 0x513a77
add esi, 2
jmp 0x513a77
inc esi
mov byte [esi + ebx], 0xa
lea edi, [esi + 1]
xor esi, esi
cmp dword [esp + 0x1c], esi
jbe 0x513aa4
mov eax, dword [esp + 0x20]
add eax, esi
push eax
lea eax, [ebx + edi]
push eax
call fcn.00514180
add esi, 0x40
add esp, 8
add edi, eax
cmp esi, dword [esp + 0x1c]
jb 0x513a86
lea edx, [ebx + 2]
xor esi, esi
mov ecx, str._____END_CERTIFICATE_____
add edx, edi
movzx eax, byte [ecx]
mov byte [edx - 2], al
movzx eax, byte [ecx]
test al, al
je 0x513b04
movzx eax, byte [ecx + 1]
mov byte [edx - 1], al
movzx eax, byte [ecx + 1]
test al, al
je 0x513b03
movzx eax, byte [ecx + 2]
mov byte [edx], al
movzx eax, byte [ecx + 2]
test al, al
je 0x513afe
movzx eax, byte [ecx + 3]
mov byte [edx + 1], al
movzx eax, byte [ecx + 3]
add ecx, 4
test al, al
je 0x513af9
add esi, 4
add edx, 4
cmp esi, 0x40
jb 0x513ab0
jmp 0x513b04
add esi, 3
jmp 0x513b04
add esi, 2
jmp 0x513b04
inc esi
lea eax, [ebx + edi]
mov byte [esi + eax], 0xa
lea eax, [esi + ebx]
mov byte [eax + edi + 1], 0
push dword [esp + 0x20]
call dword [0x5c41e4]
mov eax, dword [esp + 0x12c]
add esp, 4
mov esi, dword [esp + 0x12c]
cmp byte [eax + 0x424], 0
je 0x513b50
push ebx
push str.Cert
push esi
push eax
call fcn.00515a30
mov ebp, eax
add esp, 0x10
mov eax, dword [esp + 0x128]
test esi, esi
jne 0x513b63
push ebx
push 0x58ae78
push eax
call fcn.004d7450
add esp, 0xc
push ebx
call dword [0x5c41e4]
add esp, 4
pop esi
pop edi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x114
ret