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

Disassembly:
sub esp, 0x120
push ebx
mov ebx, dword [esp + 0x12c]
push ebp
mov ebp, dword [esp + 0x12c]
cmp byte [ebp + 0x414], 0
jne 0x508d0e
test ebx, ebx
je 0x508d0e
pop ebp
xor eax, eax
pop ebx
add esp, 0x120
ret
lea eax, [esp + 0x10]
push 0x2710
push eax
call fcn.004bb8b0
push dword [esp + 0x140]
lea eax, [esp + 0x34]
push dword [esp + 0x140]
push eax
call fcn.0050a4d0
add esp, 0x14
test eax, eax
je 0x508d4a
pop ebp
mov eax, 0x3c
pop ebx
add esp, 0x120
ret
push esi
lea eax, [esp + 0xac]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.0050b210
mov esi, eax
add esp, 8
test esi, esi
jne 0x50a301
cmp byte [ebp + 0x414], al
je 0x508d90
lea eax, [esp + 0x14]
push eax
push str.Subject
push ebx
push ebp
call fcn.0050be90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x50a301
lea eax, [esp + 0x14]
push eax
call fcn.004bb8f0
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0050b210
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x50a301
cmp byte [ebp + 0x414], al
je 0x508ddf
lea eax, [esp + 0x14]
push eax
push str.Issuer
push ebx
push ebp
call fcn.0050be90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x50a301
lea eax, [esp + 0x14]
push eax
call fcn.004bb8f0
mov edx, dword [esp + 0x44]
add esp, 4
mov esi, dword [esp + 0x44]
xor ecx, ecx
cmp edx, esi
jae 0x508e0d
nop word [eax + eax]
movzx eax, byte [edx]
inc edx
shl ecx, 8
or ecx, eax
cmp edx, esi
jb 0x508e00
cmp byte [ebp + 0x414], 0
je 0x508e5e
push ecx
lea eax, [esp + 0x18]
push 0x5869b8
push eax
call fcn.004bb840
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x50a301
lea eax, [esp + 0x14]
push eax
push str.Version
push ebx
push ebp
call fcn.0050be90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x50a301
lea eax, [esp + 0x14]
push eax
call fcn.004bb8f0
add esp, 4
cmp byte [esp + 0x5a], 0
mov esi, 0x2b
push edi
mov edi, str.TRUE
mov edx, str.FALSE
jne 0x508fae
movzx ebx, byte [esp + 0x5d]
lea eax, [ebx - 1]
cmp eax, 0x1d
ja case.0x508e91.7
movzx eax, byte [eax + 0x50a344]
jmp dword [eax*4 + 0x50a31c]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
sub eax, ecx
cmp eax, 1
jne 0x50a300
cmp byte [ecx], 0
mov eax, edi
cmove eax, edx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004bb810
add esp, 8
jmp 0x508f9d
mov ebx, dword [esp + 0x58]
mov eax, ebx
mov edi, dword [esp + 0x54]
sub eax, edi
je 0x50a300
cmp eax, 4
jbe 0x508f0f
xor esi, esi
nop
cmp edi, ebx
jae 0x508f81
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.004bb840
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x508ee0
mov edi, str.TRUE
jmp case.0x508e91.7
movsx ecx, byte [edi]
sar ecx, 0x1f
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp edi, ebx
jb 0x508f15
push ecx
cmp ecx, 0xa
mov eax, 0x59a4bc
mov ecx, 0x585a9f
cmovb eax, ecx
push eax
lea eax, [esp + 0x20]
push str._s_x
push eax
call fcn.004bb840
add esp, 0x10
mov edi, str.TRUE
jmp 0x508f9d
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
inc edi
cmp edi, ebx
ja 0x50a300
xor esi, esi
cmp edi, ebx
jae 0x508f81
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.004bb840
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x508f60
mov edi, str.TRUE
jmp case.0x508e91.7
push dword [esp + 0x58]
lea eax, [esp + 0x1c]
push dword [esp + 0x58]
push eax
call fcn.0050be60
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x50a300
mov ebx, dword [esp + 0x138]
cmp byte [ebp + 0x414], 0
je 0x508fd5
lea eax, [esp + 0x18]
push eax
push str.Serial_Number
push ebx
push ebp
call fcn.0050be90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x50a300
lea eax, [esp + 0x18]
push eax
call fcn.004bb8f0
push dword [esp + 0x6c]
lea eax, [esp + 0x128]
push dword [esp + 0x6c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0050b1a0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x50a300
cmp byte [ebp + 0x414], al
je 0x50902c
lea eax, [esp + 0x18]
push eax
push str.Signature_Algorithm
push ebx
push ebp
call fcn.0050be90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x50a300
lea eax, [esp + 0x18]
push eax
call fcn.004bb8f0
add esp, 4
mov esi, 0x2b
cmp byte [esp + 0x9e], 0
jne 0x50943b
movzx ebx, byte [esp + 0x9d]
lea eax, [ebx - 1]
cmp eax, 0x1d
ja case.0x509067.7
movzx eax, byte [eax + 0x50a38c]
jmp dword [eax*4 + 0x50a364]
push 1
lea eax, [esp + 0x1c]
push 0x585a9f
push eax
call fcn.004bb870
jmp 0x508f9a
push 1
push dword [esp + 0x5c]
lea eax, [esp + 0x20]
push dword [esp + 0x5c]
push eax
call fcn.0050a7e0
add esp, 0x10
jmp 0x508f9d
mov esi, dword [esp + 0x54]
mov ecx, esi
mov edx, dword [esp + 0x58]
cmp ecx, edx
jae 0x5090bd
nop
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x5090bd
inc ecx
cmp ecx, edx
jb 0x5090b0
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x5090d8
sub eax, 2
je 0x5090dd
mov esi, 0x2b
jmp 0x50a300
mov edi, 0x59a508
cmp ecx, edx
jae case.0x50a17a.13
cmp byte [ecx], 0x5a
jne 0x5090f6
mov ecx, 0x59a50c
mov edx, 0x59a50f
jmp 0x5090f7
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
lea eax, [esp + 0x3c]
push str._u_.2s__.2s__.2s__.2s:_.2s:_.2s__.s
push eax
call fcn.004bb840
add esp, 0x2c
mov edi, str.TRUE
jmp 0x508f9d
mov ebp, dword [esp + 0x54]
mov esi, 0x585a9f
mov edi, dword [esp + 0x58]
mov ecx, ebp
cmp ecx, edi
jae 0x509155
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x509155
inc ecx
cmp ecx, edi
jb 0x509148
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x509180
sub eax, 1
je 0x50917b
sub eax, 1
jne case.0x50a17a.13
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x509182
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, edi
jae 0x5091e1
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x509196
cmp bl, 0x2c
jne 0x5091c6
inc ecx
inc eax
cmp eax, edi
jae 0x5091a8
mov dl, byte [eax]
cmp dl, 0x30
jl 0x5091a8
cmp dl, 0x39
jle 0x509197
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x5091c6
lea esi, [ecx - 1]
add esi, edx
cmp byte [esi], 0x30
jne 0x5091c1
dec esi
sub edx, 1
jne 0x5091b6
mov esi, 0x585a9f
cmp eax, edi
jae 0x5091e1
cmp byte [eax], 0x5a
jne 0x5091db
mov eax, str._GMT
mov edi, 0x59a4d8
jmp 0x5091e1
mov esi, 0x58bed0
inc eax
push eax
sub edi, eax
test edx, edx
push edi
push esi
push ecx
push edx
mov ecx, 0x585a9f
mov eax, 0x58e41c
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
lea eax, [esp + 0x4c]
push str._.4s__.2s__.2s__.2s:_.2s:_c_c_s_.s_s_.s
push eax
call fcn.004bb840
add esp, 0x3c
mov esi, eax
mov ebp, dword [esp + 0x134]
mov edi, str.TRUE
jmp case.0x508e91.7
mov ecx, dword [esp + 0x58]
lea eax, [ebx - 0xc]
mov edi, dword [esp + 0x54]
xor esi, esi
sub ecx, edi
mov ebp, 1
cmp eax, 0x12
ja case.0x50a17a.13
movzx eax, byte [eax + 0x50a3bc]
jmp dword [eax*4 + 0x50a3ac]
mov ebp, 2
jmp case.0x50925c.12
mov ebp, 4
xor edx, edx
mov eax, ecx
div ebp
test edx, edx
jne case.0x50a17a.13
cmp ebx, 0xc
jne 0x5092a8
test ecx, ecx
je 0x509227
push ecx
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.004bb870
mov ebp, dword [esp + 0x140]
add esp, 0xc
mov esi, eax
mov edi, str.TRUE
jmp case.0x508e91.7
mov ebx, dword [esp + 0x58]
nop dword [eax]
cmp edi, ebx
jae 0x509227
mov eax, ebp
xor ecx, ecx
mov edx, 1
sub eax, 2
je 0x5092da
sub eax, 2
jne 0x5092e3
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
add edi, 2
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
inc edi
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp ecx, 0x80
jb 0x509350
cmp ecx, 0x800
jb 0x50933c
cmp ecx, 0x10000
jb 0x509328
cmp ecx, 0x200000
jae 0x50a2a0
mov al, cl
mov edx, 2
and al, 0x3f
or ecx, 0x400000
or al, 0x80
shr ecx, 6
mov byte [esp + 0x17], al
mov al, cl
or ecx, 0x20000
and al, 0x3f
shr ecx, 6
or al, 0x80
inc edx
mov byte [esp + 0x16], al
mov al, cl
or ecx, 0x3000
and al, 0x3f
shr ecx, 6
or al, 0x80
inc edx
mov byte [esp + 0x15], al
push edx
lea eax, [esp + 0x18]
mov byte [esp + 0x18], cl
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004bb870
mov esi, eax
add esp, 0xc
test esi, esi
je 0x5092b0
mov ebp, dword [esp + 0x134]
mov edi, str.TRUE
jmp case.0x508e91.7
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
sub eax, ecx
cmp eax, 1
jne 0x50a300
cmp byte [ecx], 0
mov eax, edi
mov ecx, str.FALSE
cmove eax, ecx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004bb810
add esp, 8
jmp 0x509431
mov ebx, dword [esp + 0x98]
mov eax, ebx
mov edi, dword [esp + 0x94]
sub eax, edi
je 0x50a300
cmp eax, 4
jbe 0x5093fa
xor esi, esi
cmp edi, ebx
jae case.0x509067.7
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.004bb840
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x5093d7
jmp case.0x509067.7
movsx ecx, byte [edi]
sar ecx, 0x1f
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp edi, ebx
jb 0x509400
push ecx
cmp ecx, 0xa
mov eax, 0x59a4bc
mov ecx, 0x585a9f
cmovb eax, ecx
push eax
lea eax, [esp + 0x20]
push str._s_x
push eax
call fcn.004bb840
add esp, 0x10
mov esi, eax
test esi, esi
jne 0x50a300
cmp byte [ebp + 0x414], 0
je 0x509469
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x13c]
push str.Start_Date
push eax
push ebp
call fcn.0050be90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x50a300
lea eax, [esp + 0x18]
push eax
call fcn.004bb8f0
add esp, 4
mov esi, 0x2b
cmp byte [esp + 0xae], 0
jne 0x509c82
movzx ebx, byte [esp + 0xad]
lea eax, [ebx - 1]
cmp eax, 0x1d
ja case.0x5094a4.7
movzx eax, byte [eax + 0x50a3f8]
jmp dword [eax*4 + 0x50a3d0]
mov edi, dword [esp + 0x94]
mov ebx, dword [esp + 0x98]
inc edi
cmp edi, ebx
ja 0x50a300
xor esi, esi
cmp edi, ebx
jae case.0x509067.7
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.004bb840
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x5094c4
jmp case.0x509067.7
push dword [esp + 0x98]
lea eax, [esp + 0x1c]
push dword [esp + 0x98]
push eax
call fcn.0050be60
add esp, 0xc
jmp 0x509431
push 1
lea eax, [esp + 0x1c]
push 0x585a9f
push eax
call fcn.004bb870
add esp, 0xc
jmp 0x509431
push 1
push dword [esp + 0x9c]
lea eax, [esp + 0x20]
push dword [esp + 0x9c]
push eax
call fcn.0050a7e0
jmp 0x50942e
mov esi, dword [esp + 0x94]
mov ecx, esi
mov edx, dword [esp + 0x98]
cmp ecx, edx
jae 0x50956d
nop word [eax + eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x50956d
inc ecx
cmp ecx, edx
jb 0x509560
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x509588
sub eax, 2
je 0x50958d
mov esi, 0x2b
jmp 0x50a300
mov edi, 0x59a508
cmp ecx, edx
jae case.0x50a17a.13
cmp byte [ecx], 0x5a
jne 0x5095a6
mov ecx, 0x59a50c
mov edx, 0x59a50f
jmp 0x5095a7
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
lea eax, [esp + 0x3c]
push str._u_.2s__.2s__.2s__.2s:_.2s:_.2s__.s
push eax
call fcn.004bb840
add esp, 0x2c
jmp 0x509431
mov ebp, dword [esp + 0x94]
mov esi, 0x585a9f
mov edi, dword [esp + 0x98]
mov ecx, ebp
cmp ecx, edi
jae 0x50960d
nop dword [eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x50960d
inc ecx
cmp ecx, edi
jb 0x509600
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x509638
sub eax, 1
je 0x509633
sub eax, 1
jne case.0x50a17a.13
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x50963a
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, edi
jae 0x50969b
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x50964e
cmp bl, 0x2c
jne 0x509680
inc ecx
nop
inc eax
cmp eax, edi
jae 0x509661
mov dl, byte [eax]
cmp dl, 0x30
jl 0x509661
cmp dl, 0x39
jle 0x509650
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x509680
lea esi, [ecx - 1]
add esi, edx
nop
cmp byte [esi], 0x30
jne 0x50967b
dec esi
sub edx, 1
jne 0x509670
mov esi, 0x585a9f
cmp eax, edi
jae 0x50969b
cmp byte [eax], 0x5a
jne 0x509695
mov eax, str._GMT
mov edi, 0x59a4d8
jmp 0x50969b
mov esi, 0x58bed0
inc eax
push eax
sub edi, eax
test edx, edx
push edi
push esi
push ecx
push edx
mov ecx, 0x585a9f
mov eax, 0x58e41c
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
lea eax, [esp + 0x4c]
push str._.4s__.2s__.2s__.2s:_.2s:_c_c_s_.s_s_.s
push eax
call fcn.004bb840
add esp, 0x3c
mov esi, eax
mov ebp, dword [esp + 0x134]
jmp case.0x509067.7
mov ecx, dword [esp + 0x98]
lea eax, [ebx - 0xc]
mov edi, dword [esp + 0x94]
xor esi, esi
sub ecx, edi
mov ebp, 1
cmp eax, 0x12
ja case.0x50a17a.13
movzx eax, byte [eax + 0x50a428]
jmp dword [eax*4 + 0x50a418]
mov ebp, 2
jmp case.0x509717.12
mov ebp, 4
xor edx, edx
mov eax, ecx
div ebp
test edx, edx
jne case.0x50a17a.13
cmp ebx, 0xc
jne 0x50975e
test ecx, ecx
je 0x5096e1
push ecx
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.004bb870
mov ebp, dword [esp + 0x140]
add esp, 0xc
mov esi, eax
jmp case.0x509067.7
mov ebx, dword [esp + 0x98]
cmp edi, ebx
jae 0x5096e1
mov eax, ebp
xor ecx, ecx
mov edx, 1
sub eax, 2
je 0x50978f
sub eax, 2
jne 0x509798
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
add edi, 2
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
inc edi
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp ecx, 0x80
jb 0x509805
cmp ecx, 0x800
jb 0x5097f1
cmp ecx, 0x10000
jb 0x5097dd
cmp ecx, 0x200000
jae 0x50a2a0
mov al, cl
mov edx, 2
and al, 0x3f
or ecx, 0x400000
or al, 0x80
shr ecx, 6
mov byte [esp + 0x17], al
mov al, cl
or ecx, 0x20000
and al, 0x3f
shr ecx, 6
or al, 0x80
inc edx
mov byte [esp + 0x16], al
mov al, cl
or ecx, 0x3000
and al, 0x3f
shr ecx, 6
or al, 0x80
inc edx
mov byte [esp + 0x15], al
push edx
lea eax, [esp + 0x18]
mov byte [esp + 0x18], cl
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004bb870
mov esi, eax
add esp, 0xc
test esi, esi
je 0x509765
mov ebp, dword [esp + 0x134]
jmp case.0x509067.7
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
sub eax, ecx
cmp eax, 1
jne 0x50a300
cmp byte [ecx], 0
mov edi, str.TRUE
mov ecx, str.FALSE
mov eax, edi
cmove eax, ecx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004bb810
add esp, 8
mov esi, eax
jmp 0x5098f8
mov ebx, dword [esp + 0xa8]
mov eax, ebx
mov edi, dword [esp + 0xa4]
sub eax, edi
je 0x50a300
cmp eax, 4
jbe 0x5098b4
xor esi, esi
cmp edi, ebx
jae case.0x5094a4.7
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.004bb840
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x509891
jmp case.0x5094a4.7
movsx ecx, byte [edi]
sar ecx, 0x1f
nop word [eax + eax]
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp edi, ebx
jb 0x5098c0
push ecx
cmp ecx, 0xa
mov eax, 0x59a4bc
mov ecx, 0x585a9f
cmovb eax, ecx
push eax
lea eax, [esp + 0x20]
push str._s_x
push eax
call fcn.004bb840
add esp, 0x10
mov esi, eax
mov edi, str.TRUE
test esi, esi
jne 0x50a300
jmp 0x509c87
mov edi, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa8]
inc edi
cmp edi, ebx
ja 0x50a300
xor esi, esi
nop
cmp edi, ebx
jae case.0x5094a4.7
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.004bb840
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x509920
jmp case.0x5094a4.7
push dword [esp + 0xa8]
lea eax, [esp + 0x1c]
push dword [esp + 0xa8]
push eax
call fcn.0050be60
add esp, 0xc
jmp 0x5098f1
push 1
lea eax, [esp + 0x1c]
push 0x585a9f
push eax
call fcn.004bb870
add esp, 0xc
jmp 0x5098f1
push 1
push dword [esp + 0xac]
lea eax, [esp + 0x20]
push dword [esp + 0xac]
push eax
call fcn.0050a7e0
jmp 0x5098ee
mov esi, dword [esp + 0xa4]
mov ecx, esi
mov edx, dword [esp + 0xa8]
cmp ecx, edx
jae 0x5099bd
nop dword [eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x5099bd
inc ecx
cmp ecx, edx
jb 0x5099b0
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x5099d8
sub eax, 2
je 0x5099dd
mov esi, 0x2b
jmp 0x50a300
mov edi, 0x59a508
cmp ecx, edx
jae case.0x50a17a.13
cmp byte [ecx], 0x5a
jne 0x5099f6
mov ecx, 0x59a50c
mov edx, 0x59a50f
jmp 0x5099f7
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
lea eax, [esp + 0x3c]
push str._u_.2s__.2s__.2s__.2s:_.2s:_.2s__.s
push eax
call fcn.004bb840
add esp, 0x2c
jmp 0x5098f1
mov ebp, dword [esp + 0xa4]
mov esi, 0x585a9f
mov edi, dword [esp + 0xa8]
mov ecx, ebp
cmp ecx, edi
jae 0x509a5d
nop dword [eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x509a5d
inc ecx
cmp ecx, edi
jb 0x509a50
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x509a88
sub eax, 1
je 0x509a83
sub eax, 1
jne case.0x50a17a.13
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x509a8a
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, edi
jae 0x509aeb
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x509a9e
cmp bl, 0x2c
jne 0x509ad0
inc ecx
nop
inc eax
cmp eax, edi
jae 0x509ab1
mov dl, byte [eax]
cmp dl, 0x30
jl 0x509ab1
cmp dl, 0x39
jle 0x509aa0
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x509ad0
lea esi, [ecx - 1]
add esi, edx
nop
cmp byte [esi], 0x30
jne 0x509acb
dec esi
sub edx, 1
jne 0x509ac0
mov esi, 0x585a9f
cmp eax, edi
jae 0x509aeb
cmp byte [eax], 0x5a
jne 0x509ae5
mov eax, str._GMT
mov edi, 0x59a4d8
jmp 0x509aeb
mov esi, 0x58bed0
inc eax
push eax
sub edi, eax
test edx, edx
push edi
push esi
push ecx
push edx
mov ecx, 0x585a9f
mov eax, 0x58e41c
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
lea eax, [esp + 0x4c]
push str._.4s__.2s__.2s__.2s:_.2s:_c_c_s_.s_s_.s
push eax
call fcn.004bb840
add esp, 0x3c
mov esi, eax
mov ebp, dword [esp + 0x134]
jmp case.0x5094a4.7
mov ecx, dword [esp + 0xa8]
lea eax, [ebx - 0xc]
mov edi, dword [esp + 0xa4]
xor esi, esi
sub ecx, edi
mov ebp, 1
cmp eax, 0x12
ja case.0x50a17a.13
movzx eax, byte [eax + 0x50a44c]
jmp dword [eax*4 + 0x50a43c]
mov ebp, 2
jmp case.0x509b67.12
mov ebp, 4
xor edx, edx
mov eax, ecx
div ebp
test edx, edx
jne case.0x50a17a.13
cmp ebx, 0xc
jne 0x509bae
test ecx, ecx
je 0x509b31
push ecx
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.004bb870
mov ebp, dword [esp + 0x140]
add esp, 0xc
mov esi, eax
jmp case.0x5094a4.7
mov ebx, dword [esp + 0xa8]
cmp edi, ebx
jae 0x509b31
mov eax, ebp
xor ecx, ecx
mov edx, 1
sub eax, 2
je 0x509bdf
sub eax, 2
jne 0x509be8
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
add edi, 2
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
inc edi
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp ecx, 0x80
jb 0x509c55
cmp ecx, 0x800
jb 0x509c41
cmp ecx, 0x10000
jb 0x509c2d
cmp ecx, 0x200000
jae 0x50a2a0
mov al, cl
mov edx, 2
and al, 0x3f
or ecx, 0x400000
or al, 0x80
shr ecx, 6
mov byte [esp + 0x17], al
mov al, cl
or ecx, 0x20000
and al, 0x3f
shr ecx, 6
or al, 0x80
inc edx
mov byte [esp + 0x16], al
mov al, cl
or ecx, 0x3000
and al, 0x3f
shr ecx, 6
or al, 0x80
inc edx
mov byte [esp + 0x15], al
push edx
lea eax, [esp + 0x18]
mov byte [esp + 0x18], cl
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004bb870
mov esi, eax
add esp, 0xc
test esi, esi
je 0x509bb5
mov ebp, dword [esp + 0x134]
jmp case.0x5094a4.7
mov edi, str.TRUE
cmp byte [ebp + 0x414], 0
mov ebx, dword [esp + 0x138]
je 0x509cb5
lea eax, [esp + 0x18]
push eax
push str.Expire_Date
push ebx
push ebp
call fcn.0050be90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x50a300
lea eax, [esp + 0x18]
push eax
call fcn.004bb8f0
push dword [esp + 0xdc]
lea eax, [esp + 0x128]
push dword [esp + 0xdc]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0050b1a0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x50a300
cmp byte [ebp + 0x414], al
je 0x509d12
lea eax, [esp + 0x18]
push eax
push str.Public_Key_Algorithm
push ebx
push ebp
call fcn.0050be90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x50a300
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004bb8e0
add esp, 4
push eax
push ebx
push ebp
call fcn.0050a8e0
add esp, 0x14
test eax, eax
je 0x509d48
mov esi, 0x1b
jmp 0x50a300
lea eax, [esp + 0x18]
push eax
call fcn.004bb8f0
add esp, 4
mov esi, 0x2b
cmp byte [esp + 0x7e], 0
jne 0x509ea9
movzx edx, byte [esp + 0x7d]
mov dword [esp + 0x14], edx
lea eax, [edx - 1]
cmp eax, 0x1d
ja case.0x509d81.7
movzx eax, byte [eax + 0x50a488]
jmp dword [eax*4 + 0x50a460]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
sub eax, ecx
cmp eax, 1
jne 0x50a300
cmp byte [ecx], 0
mov eax, str.FALSE
cmove edi, eax
lea eax, [esp + 0x18]
push edi
push eax
call fcn.004bb810
add esp, 8
jmp 0x509e9f
mov ebx, dword [esp + 0x78]
mov eax, ebx
mov edi, dword [esp + 0x74]
sub eax, edi
je 0x50a300
cmp eax, 4
jbe 0x509e03
xor esi, esi
cmp edi, ebx
jae 0x509e81
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.004bb840
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x509dd2
mov ebx, dword [esp + 0x138]
jmp case.0x509d81.7
movsx ecx, byte [edi]
sar ecx, 0x1f
nop dword [eax]
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp edi, ebx
jb 0x509e10
push ecx
cmp ecx, 0xa
mov eax, 0x59a4bc
mov ecx, 0x585a9f
cmovb eax, ecx
push eax
lea eax, [esp + 0x20]
push str._s_x
push eax
call fcn.004bb840
mov ebx, dword [esp + 0x148]
add esp, 0x10
jmp 0x509e9f
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
inc edi
cmp edi, ebx
ja 0x50a300
xor esi, esi
nop dword [eax]
cmp edi, ebx
jae 0x509e81
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.004bb840
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x509e60
mov ebx, dword [esp + 0x138]
jmp case.0x509d81.7
push dword [esp + 0x78]
lea eax, [esp + 0x1c]
push dword [esp + 0x78]
push eax
call fcn.0050be60
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x50a300
cmp byte [ebp + 0x414], 0
je 0x509ed0
lea eax, [esp + 0x18]
push eax
push str.Signature
push ebx
push ebp
call fcn.0050be90
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x50a300
lea eax, [esp + 0x18]
push eax
call fcn.004bb8f0
mov ecx, dword [esp + 0x38]
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x30]
push eax
mov eax, dword [esp + 0x44]
sub eax, ecx
push eax
push ecx
call fcn.004e5a30
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x50a300
lea eax, [esp + 0x18]
push eax
call fcn.004bb8f0
lea eax, [esp + 0x1c]
push str._____BEGIN_CERTIFICATE______n
push eax
call fcn.004bb810
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x50a2c9
xor ebx, ebx
lea eax, [esi + 0x40]
nop dword [eax]
mov edi, dword [esp + 0x2c]
cmp ebx, edi
jae 0x50a2b5
sub edi, ebx
cmp edi, 0x40
cmova edi, eax
mov eax, dword [esp + 0x28]
add eax, ebx
push edi
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004bb870
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x509f75
push 1
lea eax, [esp + 0x1c]
push 0x58b8c0
push eax
call fcn.004bb870
add esp, 0xc
mov esi, eax
add ebx, edi
mov eax, 0x40
test esi, esi
je 0x509f30
push dword [esp + 0x28]
call dword [0x5e11b0]
add esp, 4
jmp 0x50a300
push 1
lea eax, [esp + 0x1c]
push 0x585a9f
push eax
call fcn.004bb870
jmp 0x509e9c
push 1
push dword [esp + 0x7c]
lea eax, [esp + 0x20]
push dword [esp + 0x7c]
push eax
call fcn.0050a7e0
add esp, 0x10
jmp 0x509e9f
mov esi, dword [esp + 0x74]
mov ecx, esi
mov edx, dword [esp + 0x78]
cmp ecx, edx
jae 0x509fdf
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x509fdf
inc ecx
cmp ecx, edx
jb 0x509fd2
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x509ffa
sub eax, 2
je 0x509fff
mov esi, 0x2b
jmp 0x50a300
mov edi, 0x59a508
cmp ecx, edx
jae case.0x50a17a.13
cmp byte [ecx], 0x5a
jne 0x50a014
mov ecx, 0x59a50c
mov edx, 0x59a50f
jmp 0x50a015
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
lea eax, [esp + 0x3c]
push str._u_.2s__.2s__.2s__.2s:_.2s:_.2s__.s
push eax
call fcn.004bb840
add esp, 0x2c
jmp 0x509e9f
mov ebp, dword [esp + 0x74]
mov edi, 0x585a9f
mov esi, dword [esp + 0x78]
mov ecx, ebp
cmp ecx, esi
jae 0x50a06e
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x50a06e
inc ecx
cmp ecx, esi
jb 0x50a061
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x50a099
sub eax, 1
je 0x50a094
sub eax, 1
jne case.0x50a17a.13
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x50a09b
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, esi
jae 0x50a0fb
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x50a0af
cmp bl, 0x2c
jne 0x50a0e0
inc ecx
inc eax
cmp eax, esi
jae 0x50a0c1
mov dl, byte [eax]
cmp dl, 0x30
jl 0x50a0c1
cmp dl, 0x39
jle 0x50a0b0
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x50a0e0
lea edi, [ecx - 1]
add edi, edx
nop
cmp byte [edi], 0x30
jne 0x50a0db
dec edi
sub edx, 1
jne 0x50a0d0
mov edi, 0x585a9f
cmp eax, esi
jae 0x50a0fb
cmp byte [eax], 0x5a
jne 0x50a0f5
mov eax, str._GMT
mov esi, 0x59a4d8
jmp 0x50a0fb
mov edi, 0x58bed0
inc eax
push eax
sub esi, eax
test edx, edx
push esi
push edi
push ecx
push edx
mov ecx, 0x585a9f
mov eax, 0x58e41c
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
lea eax, [esp + 0x4c]
push str._.4s__.2s__.2s__.2s:_.2s:_c_c_s_.s_s_.s
push eax
call fcn.004bb840
add esp, 0x3c
mov esi, eax
mov ebp, dword [esp + 0x134]
mov ebx, dword [esp + 0x138]
jmp case.0x509d81.7
mov ebp, dword [esp + 0x78]
add edx, 0xfffffff4
mov edi, dword [esp + 0x74]
mov ecx, ebp
sub ecx, edi
xor esi, esi
mov ebx, 1
cmp edx, 0x12
ja case.0x50a17a.13
movzx eax, byte [edx + 0x50a4b8]
jmp dword [eax*4 + 0x50a4a8]
mov ebx, 2
jmp case.0x50a17a.12
mov ebx, 4
xor edx, edx
mov eax, ecx
div ebx
test edx, edx
jne case.0x50a17a.13
cmp dword [esp + 0x14], 0xc
jne 0x50a1d0
test ecx, ecx
je 0x50a141
push ecx
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.004bb870
mov ebp, dword [esp + 0x140]
add esp, 0xc
mov ebx, dword [esp + 0x138]
mov esi, eax
jmp case.0x509d81.7
cmp edi, ebp
jae 0x50a141
mov eax, ebx
xor ecx, ecx
mov edx, 1
sub eax, 2
je 0x50a1fa
sub eax, 2
jne 0x50a203
movzx ecx, byte [edi]
movzx eax, byte [edi + 1]
shl ecx, 8
or ecx, eax
add edi, 2
movzx eax, byte [edi]
shl ecx, 8
or ecx, eax
inc edi
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp ecx, 0x80
jb 0x50a26c
cmp ecx, 0x800
jb 0x50a258
cmp ecx, 0x10000
jb 0x50a244
cmp ecx, 0x200000
jae 0x50a2a0
mov al, cl
mov edx, 2
and al, 0x3f
or ecx, 0x400000
or al, 0x80
shr ecx, 6
mov byte [esp + 0x17], al
mov al, cl
or ecx, 0x20000
and al, 0x3f
shr ecx, 6
or al, 0x80
inc edx
mov byte [esp + 0x16], al
mov al, cl
or ecx, 0x3000
and al, 0x3f
shr ecx, 6
or al, 0x80
inc edx
mov byte [esp + 0x15], al
push edx
lea eax, [esp + 0x18]
mov byte [esp + 0x18], cl
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004bb870
mov esi, eax
add esp, 0xc
test esi, esi
je 0x50a1d0
mov ebp, dword [esp + 0x134]
mov ebx, dword [esp + 0x138]
jmp case.0x509d81.7
lea eax, [esp + 0x14]
push eax
call dword [0x5e11b0]
add esp, 4
mov esi, 8
jmp 0x50a300
lea eax, [esp + 0x18]
push str._____END_CERTIFICATE______n
push eax
call fcn.004bb810
add esp, 8
mov esi, eax
push dword [esp + 0x28]
call dword [0x5e11b0]
add esp, 4
test esi, esi
jne 0x50a300
cmp byte [ebp + 0x414], 0
je 0x50a300
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x13c]
push str.Cert
push eax
push ebp
call fcn.0050be90
add esp, 0x10
mov esi, eax
pop edi
lea eax, [esp + 0x14]
push eax
call fcn.004bb880
add esp, 4
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret