Function at 0x509c70
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 0x509c9e
test ebx, ebx
je 0x509c9e
pop ebp
xor eax, eax
pop ebx
add esp, 0x120
ret
lea eax, [esp + 0x10]
push 0x2710
push eax
call fcn.004bc890
push dword [esp + 0x140]
lea eax, [esp + 0x34]
push dword [esp + 0x140]
push eax
call fcn.0050b460
add esp, 0x14
test eax, eax
je 0x509cda
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.0050c1a0
mov esi, eax
add esp, 8
test esi, esi
jne 0x50b291
cmp byte [ebp + 0x414], al
je 0x509d20
lea eax, [esp + 0x14]
push eax
push str.Subject
push ebx
push ebp
call fcn.0050ce20
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x50b291
lea eax, [esp + 0x14]
push eax
call fcn.004bc8d0
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0050c1a0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x50b291
cmp byte [ebp + 0x414], al
je 0x509d6f
lea eax, [esp + 0x14]
push eax
push str.Issuer
push ebx
push ebp
call fcn.0050ce20
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x50b291
lea eax, [esp + 0x14]
push eax
call fcn.004bc8d0
mov edx, dword [esp + 0x44]
add esp, 4
mov esi, dword [esp + 0x44]
xor ecx, ecx
cmp edx, esi
jae 0x509d9d
nop word [eax + eax]
movzx eax, byte [edx]
inc edx
shl ecx, 8
or ecx, eax
cmp edx, esi
jb 0x509d90
cmp byte [ebp + 0x414], 0
je 0x509dee
push ecx
lea eax, [esp + 0x18]
push 0x5879b0
push eax
call fcn.004bc820
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x50b291
lea eax, [esp + 0x14]
push eax
push str.Version
push ebx
push ebp
call fcn.0050ce20
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x50b291
lea eax, [esp + 0x14]
push eax
call fcn.004bc8d0
add esp, 4
cmp byte [esp + 0x5a], 0
mov esi, 0x2b
push edi
mov edi, str.TRUE
mov edx, str.FALSE
jne 0x509f3e
movzx ebx, byte [esp + 0x5d]
lea eax, [ebx - 1]
cmp eax, 0x1d
ja case.0x509e21.7
movzx eax, byte [eax + 0x50b2d4]
jmp dword [eax*4 + 0x50b2ac]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
sub eax, ecx
cmp eax, 1
jne 0x50b290
cmp byte [ecx], 0
mov eax, edi
cmove eax, edx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004bc7f0
add esp, 8
jmp 0x509f2d
mov ebx, dword [esp + 0x58]
mov eax, ebx
mov edi, dword [esp + 0x54]
sub eax, edi
je 0x50b290
cmp eax, 4
jbe 0x509e9f
xor esi, esi
nop
cmp edi, ebx
jae 0x509f11
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.004bc820
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x509e70
mov edi, str.TRUE
jmp case.0x509e21.7
movsx ecx, byte [edi]
sar ecx, 0x1f
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp edi, ebx
jb 0x509ea5
push ecx
cmp ecx, 0xa
mov eax, 0x59b430
mov ecx, 0x5d0e18
cmovb eax, ecx
push eax
lea eax, [esp + 0x20]
push str._s_x
push eax
call fcn.004bc820
add esp, 0x10
mov edi, str.TRUE
jmp 0x509f2d
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
inc edi
cmp edi, ebx
ja 0x50b290
xor esi, esi
cmp edi, ebx
jae 0x509f11
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.004bc820
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x509ef0
mov edi, str.TRUE
jmp case.0x509e21.7
push dword [esp + 0x58]
lea eax, [esp + 0x1c]
push dword [esp + 0x58]
push eax
call fcn.0050cdf0
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x50b290
mov ebx, dword [esp + 0x138]
cmp byte [ebp + 0x414], 0
je 0x509f65
lea eax, [esp + 0x18]
push eax
push str.Serial_Number
push ebx
push ebp
call fcn.0050ce20
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x50b290
lea eax, [esp + 0x18]
push eax
call fcn.004bc8d0
push dword [esp + 0x6c]
lea eax, [esp + 0x128]
push dword [esp + 0x6c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0050c130
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x50b290
cmp byte [ebp + 0x414], al
je 0x509fbc
lea eax, [esp + 0x18]
push eax
push str.Signature_Algorithm
push ebx
push ebp
call fcn.0050ce20
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x50b290
lea eax, [esp + 0x18]
push eax
call fcn.004bc8d0
add esp, 4
mov esi, 0x2b
cmp byte [esp + 0x9e], 0
jne 0x50a3cb
movzx ebx, byte [esp + 0x9d]
lea eax, [ebx - 1]
cmp eax, 0x1d
ja case.0x509ff7.7
movzx eax, byte [eax + 0x50b31c]
jmp dword [eax*4 + 0x50b2f4]
push 1
lea eax, [esp + 0x1c]
push 0x5d0e18
push eax
call fcn.004bc850
jmp 0x509f2a
push 1
push dword [esp + 0x5c]
lea eax, [esp + 0x20]
push dword [esp + 0x5c]
push eax
call fcn.0050b770
add esp, 0x10
jmp 0x509f2d
mov esi, dword [esp + 0x54]
mov ecx, esi
mov edx, dword [esp + 0x58]
cmp ecx, edx
jae 0x50a04d
nop
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x50a04d
inc ecx
cmp ecx, edx
jb 0x50a040
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x50a068
sub eax, 2
je 0x50a06d
mov esi, 0x2b
jmp 0x50b290
mov edi, 0x59b47c
cmp ecx, edx
jae case.0x50b10a.13
cmp byte [ecx], 0x5a
jne 0x50a086
mov ecx, 0x59b480
mov edx, 0x59b483
jmp 0x50a087
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.004bc820
add esp, 0x2c
mov edi, str.TRUE
jmp 0x509f2d
mov ebp, dword [esp + 0x54]
mov esi, 0x5d0e18
mov edi, dword [esp + 0x58]
mov ecx, ebp
cmp ecx, edi
jae 0x50a0e5
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x50a0e5
inc ecx
cmp ecx, edi
jb 0x50a0d8
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x50a110
sub eax, 1
je 0x50a10b
sub eax, 1
jne case.0x50b10a.13
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x50a112
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, edi
jae 0x50a171
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x50a126
cmp bl, 0x2c
jne 0x50a156
inc ecx
inc eax
cmp eax, edi
jae 0x50a138
mov dl, byte [eax]
cmp dl, 0x30
jl 0x50a138
cmp dl, 0x39
jle 0x50a127
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x50a156
lea esi, [ecx - 1]
add esi, edx
cmp byte [esi], 0x30
jne 0x50a151
dec esi
sub edx, 1
jne 0x50a146
mov esi, 0x5d0e18
cmp eax, edi
jae 0x50a171
cmp byte [eax], 0x5a
jne 0x50a16b
mov eax, str._GMT
mov edi, 0x59b44c
jmp 0x50a171
mov esi, 0x5d0e1c
inc eax
push eax
sub edi, eax
test edx, edx
push edi
push esi
push ecx
push edx
mov ecx, 0x5d0e18
mov eax, 0x5d1404
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.004bc820
add esp, 0x3c
mov esi, eax
mov ebp, dword [esp + 0x134]
mov edi, str.TRUE
jmp case.0x509e21.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.0x50b10a.13
movzx eax, byte [eax + 0x50b34c]
jmp dword [eax*4 + 0x50b33c]
mov ebp, 2
jmp case.0x50a1ec.12
mov ebp, 4
xor edx, edx
mov eax, ecx
div ebp
test edx, edx
jne case.0x50b10a.13
cmp ebx, 0xc
jne 0x50a238
test ecx, ecx
je 0x50a1b7
push ecx
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.004bc850
mov ebp, dword [esp + 0x140]
add esp, 0xc
mov esi, eax
mov edi, str.TRUE
jmp case.0x509e21.7
mov ebx, dword [esp + 0x58]
nop dword [eax]
cmp edi, ebx
jae 0x50a1b7
mov eax, ebp
xor ecx, ecx
mov edx, 1
sub eax, 2
je 0x50a26a
sub eax, 2
jne 0x50a273
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 0x50a2e0
cmp ecx, 0x800
jb 0x50a2cc
cmp ecx, 0x10000
jb 0x50a2b8
cmp ecx, 0x200000
jae 0x50b230
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.004bc850
mov esi, eax
add esp, 0xc
test esi, esi
je 0x50a240
mov ebp, dword [esp + 0x134]
mov edi, str.TRUE
jmp case.0x509e21.7
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
sub eax, ecx
cmp eax, 1
jne 0x50b290
cmp byte [ecx], 0
mov eax, edi
mov ecx, str.FALSE
cmove eax, ecx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004bc7f0
add esp, 8
jmp 0x50a3c1
mov ebx, dword [esp + 0x98]
mov eax, ebx
mov edi, dword [esp + 0x94]
sub eax, edi
je 0x50b290
cmp eax, 4
jbe 0x50a38a
xor esi, esi
cmp edi, ebx
jae case.0x509ff7.7
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.004bc820
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x50a367
jmp case.0x509ff7.7
movsx ecx, byte [edi]
sar ecx, 0x1f
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp edi, ebx
jb 0x50a390
push ecx
cmp ecx, 0xa
mov eax, 0x59b430
mov ecx, 0x5d0e18
cmovb eax, ecx
push eax
lea eax, [esp + 0x20]
push str._s_x
push eax
call fcn.004bc820
add esp, 0x10
mov esi, eax
test esi, esi
jne 0x50b290
cmp byte [ebp + 0x414], 0
je 0x50a3f9
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x13c]
push str.Start_Date
push eax
push ebp
call fcn.0050ce20
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x50b290
lea eax, [esp + 0x18]
push eax
call fcn.004bc8d0
add esp, 4
mov esi, 0x2b
cmp byte [esp + 0xae], 0
jne 0x50ac12
movzx ebx, byte [esp + 0xad]
lea eax, [ebx - 1]
cmp eax, 0x1d
ja case.0x50a434.7
movzx eax, byte [eax + 0x50b388]
jmp dword [eax*4 + 0x50b360]
mov edi, dword [esp + 0x94]
mov ebx, dword [esp + 0x98]
inc edi
cmp edi, ebx
ja 0x50b290
xor esi, esi
cmp edi, ebx
jae case.0x509ff7.7
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.004bc820
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x50a454
jmp case.0x509ff7.7
push dword [esp + 0x98]
lea eax, [esp + 0x1c]
push dword [esp + 0x98]
push eax
call fcn.0050cdf0
add esp, 0xc
jmp 0x50a3c1
push 1
lea eax, [esp + 0x1c]
push 0x5d0e18
push eax
call fcn.004bc850
add esp, 0xc
jmp 0x50a3c1
push 1
push dword [esp + 0x9c]
lea eax, [esp + 0x20]
push dword [esp + 0x9c]
push eax
call fcn.0050b770
jmp 0x50a3be
mov esi, dword [esp + 0x94]
mov ecx, esi
mov edx, dword [esp + 0x98]
cmp ecx, edx
jae 0x50a4fd
nop word [eax + eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x50a4fd
inc ecx
cmp ecx, edx
jb 0x50a4f0
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x50a518
sub eax, 2
je 0x50a51d
mov esi, 0x2b
jmp 0x50b290
mov edi, 0x59b47c
cmp ecx, edx
jae case.0x50b10a.13
cmp byte [ecx], 0x5a
jne 0x50a536
mov ecx, 0x59b480
mov edx, 0x59b483
jmp 0x50a537
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.004bc820
add esp, 0x2c
jmp 0x50a3c1
mov ebp, dword [esp + 0x94]
mov esi, 0x5d0e18
mov edi, dword [esp + 0x98]
mov ecx, ebp
cmp ecx, edi
jae 0x50a59d
nop dword [eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x50a59d
inc ecx
cmp ecx, edi
jb 0x50a590
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x50a5c8
sub eax, 1
je 0x50a5c3
sub eax, 1
jne case.0x50b10a.13
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x50a5ca
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, edi
jae 0x50a62b
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x50a5de
cmp bl, 0x2c
jne 0x50a610
inc ecx
nop
inc eax
cmp eax, edi
jae 0x50a5f1
mov dl, byte [eax]
cmp dl, 0x30
jl 0x50a5f1
cmp dl, 0x39
jle 0x50a5e0
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x50a610
lea esi, [ecx - 1]
add esi, edx
nop
cmp byte [esi], 0x30
jne 0x50a60b
dec esi
sub edx, 1
jne 0x50a600
mov esi, 0x5d0e18
cmp eax, edi
jae 0x50a62b
cmp byte [eax], 0x5a
jne 0x50a625
mov eax, str._GMT
mov edi, 0x59b44c
jmp 0x50a62b
mov esi, 0x5d0e1c
inc eax
push eax
sub edi, eax
test edx, edx
push edi
push esi
push ecx
push edx
mov ecx, 0x5d0e18
mov eax, 0x5d1404
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.004bc820
add esp, 0x3c
mov esi, eax
mov ebp, dword [esp + 0x134]
jmp case.0x509ff7.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.0x50b10a.13
movzx eax, byte [eax + 0x50b3b8]
jmp dword [eax*4 + 0x50b3a8]
mov ebp, 2
jmp case.0x50a6a7.12
mov ebp, 4
xor edx, edx
mov eax, ecx
div ebp
test edx, edx
jne case.0x50b10a.13
cmp ebx, 0xc
jne 0x50a6ee
test ecx, ecx
je 0x50a671
push ecx
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.004bc850
mov ebp, dword [esp + 0x140]
add esp, 0xc
mov esi, eax
jmp case.0x509ff7.7
mov ebx, dword [esp + 0x98]
cmp edi, ebx
jae 0x50a671
mov eax, ebp
xor ecx, ecx
mov edx, 1
sub eax, 2
je 0x50a71f
sub eax, 2
jne 0x50a728
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 0x50a795
cmp ecx, 0x800
jb 0x50a781
cmp ecx, 0x10000
jb 0x50a76d
cmp ecx, 0x200000
jae 0x50b230
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.004bc850
mov esi, eax
add esp, 0xc
test esi, esi
je 0x50a6f5
mov ebp, dword [esp + 0x134]
jmp case.0x509ff7.7
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
sub eax, ecx
cmp eax, 1
jne 0x50b290
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.004bc7f0
add esp, 8
mov esi, eax
jmp 0x50a888
mov ebx, dword [esp + 0xa8]
mov eax, ebx
mov edi, dword [esp + 0xa4]
sub eax, edi
je 0x50b290
cmp eax, 4
jbe 0x50a844
xor esi, esi
cmp edi, ebx
jae case.0x50a434.7
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.004bc820
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x50a821
jmp case.0x50a434.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 0x50a850
push ecx
cmp ecx, 0xa
mov eax, 0x59b430
mov ecx, 0x5d0e18
cmovb eax, ecx
push eax
lea eax, [esp + 0x20]
push str._s_x
push eax
call fcn.004bc820
add esp, 0x10
mov esi, eax
mov edi, str.TRUE
test esi, esi
jne 0x50b290
jmp 0x50ac17
mov edi, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa8]
inc edi
cmp edi, ebx
ja 0x50b290
xor esi, esi
nop
cmp edi, ebx
jae case.0x50a434.7
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.004bc820
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x50a8b0
jmp case.0x50a434.7
push dword [esp + 0xa8]
lea eax, [esp + 0x1c]
push dword [esp + 0xa8]
push eax
call fcn.0050cdf0
add esp, 0xc
jmp 0x50a881
push 1
lea eax, [esp + 0x1c]
push 0x5d0e18
push eax
call fcn.004bc850
add esp, 0xc
jmp 0x50a881
push 1
push dword [esp + 0xac]
lea eax, [esp + 0x20]
push dword [esp + 0xac]
push eax
call fcn.0050b770
jmp 0x50a87e
mov esi, dword [esp + 0xa4]
mov ecx, esi
mov edx, dword [esp + 0xa8]
cmp ecx, edx
jae 0x50a94d
nop dword [eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x50a94d
inc ecx
cmp ecx, edx
jb 0x50a940
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x50a968
sub eax, 2
je 0x50a96d
mov esi, 0x2b
jmp 0x50b290
mov edi, 0x59b47c
cmp ecx, edx
jae case.0x50b10a.13
cmp byte [ecx], 0x5a
jne 0x50a986
mov ecx, 0x59b480
mov edx, 0x59b483
jmp 0x50a987
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.004bc820
add esp, 0x2c
jmp 0x50a881
mov ebp, dword [esp + 0xa4]
mov esi, 0x5d0e18
mov edi, dword [esp + 0xa8]
mov ecx, ebp
cmp ecx, edi
jae 0x50a9ed
nop dword [eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x50a9ed
inc ecx
cmp ecx, edi
jb 0x50a9e0
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x50aa18
sub eax, 1
je 0x50aa13
sub eax, 1
jne case.0x50b10a.13
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x50aa1a
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, edi
jae 0x50aa7b
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x50aa2e
cmp bl, 0x2c
jne 0x50aa60
inc ecx
nop
inc eax
cmp eax, edi
jae 0x50aa41
mov dl, byte [eax]
cmp dl, 0x30
jl 0x50aa41
cmp dl, 0x39
jle 0x50aa30
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x50aa60
lea esi, [ecx - 1]
add esi, edx
nop
cmp byte [esi], 0x30
jne 0x50aa5b
dec esi
sub edx, 1
jne 0x50aa50
mov esi, 0x5d0e18
cmp eax, edi
jae 0x50aa7b
cmp byte [eax], 0x5a
jne 0x50aa75
mov eax, str._GMT
mov edi, 0x59b44c
jmp 0x50aa7b
mov esi, 0x5d0e1c
inc eax
push eax
sub edi, eax
test edx, edx
push edi
push esi
push ecx
push edx
mov ecx, 0x5d0e18
mov eax, 0x5d1404
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.004bc820
add esp, 0x3c
mov esi, eax
mov ebp, dword [esp + 0x134]
jmp case.0x50a434.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.0x50b10a.13
movzx eax, byte [eax + 0x50b3dc]
jmp dword [eax*4 + 0x50b3cc]
mov ebp, 2
jmp case.0x50aaf7.12
mov ebp, 4
xor edx, edx
mov eax, ecx
div ebp
test edx, edx
jne case.0x50b10a.13
cmp ebx, 0xc
jne 0x50ab3e
test ecx, ecx
je 0x50aac1
push ecx
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.004bc850
mov ebp, dword [esp + 0x140]
add esp, 0xc
mov esi, eax
jmp case.0x50a434.7
mov ebx, dword [esp + 0xa8]
cmp edi, ebx
jae 0x50aac1
mov eax, ebp
xor ecx, ecx
mov edx, 1
sub eax, 2
je 0x50ab6f
sub eax, 2
jne 0x50ab78
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 0x50abe5
cmp ecx, 0x800
jb 0x50abd1
cmp ecx, 0x10000
jb 0x50abbd
cmp ecx, 0x200000
jae 0x50b230
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.004bc850
mov esi, eax
add esp, 0xc
test esi, esi
je 0x50ab45
mov ebp, dword [esp + 0x134]
jmp case.0x50a434.7
mov edi, str.TRUE
cmp byte [ebp + 0x414], 0
mov ebx, dword [esp + 0x138]
je 0x50ac45
lea eax, [esp + 0x18]
push eax
push str.Expire_Date
push ebx
push ebp
call fcn.0050ce20
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x50b290
lea eax, [esp + 0x18]
push eax
call fcn.004bc8d0
push dword [esp + 0xdc]
lea eax, [esp + 0x128]
push dword [esp + 0xdc]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0050c130
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x50b290
cmp byte [ebp + 0x414], al
je 0x50aca2
lea eax, [esp + 0x18]
push eax
push str.Public_Key_Algorithm
push ebx
push ebp
call fcn.0050ce20
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x50b290
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.004bc8c0
add esp, 4
push eax
push ebx
push ebp
call fcn.0050b870
add esp, 0x14
test eax, eax
je 0x50acd8
mov esi, 0x1b
jmp 0x50b290
lea eax, [esp + 0x18]
push eax
call fcn.004bc8d0
add esp, 4
mov esi, 0x2b
cmp byte [esp + 0x7e], 0
jne 0x50ae39
movzx edx, byte [esp + 0x7d]
mov dword [esp + 0x14], edx
lea eax, [edx - 1]
cmp eax, 0x1d
ja case.0x50ad11.7
movzx eax, byte [eax + 0x50b418]
jmp dword [eax*4 + 0x50b3f0]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
sub eax, ecx
cmp eax, 1
jne 0x50b290
cmp byte [ecx], 0
mov eax, str.FALSE
cmove edi, eax
lea eax, [esp + 0x18]
push edi
push eax
call fcn.004bc7f0
add esp, 8
jmp 0x50ae2f
mov ebx, dword [esp + 0x78]
mov eax, ebx
mov edi, dword [esp + 0x74]
sub eax, edi
je 0x50b290
cmp eax, 4
jbe 0x50ad93
xor esi, esi
cmp edi, ebx
jae 0x50ae11
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.004bc820
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x50ad62
mov ebx, dword [esp + 0x138]
jmp case.0x50ad11.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 0x50ada0
push ecx
cmp ecx, 0xa
mov eax, 0x59b430
mov ecx, 0x5d0e18
cmovb eax, ecx
push eax
lea eax, [esp + 0x20]
push str._s_x
push eax
call fcn.004bc820
mov ebx, dword [esp + 0x148]
add esp, 0x10
jmp 0x50ae2f
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
inc edi
cmp edi, ebx
ja 0x50b290
xor esi, esi
nop dword [eax]
cmp edi, ebx
jae 0x50ae11
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.004bc820
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x50adf0
mov ebx, dword [esp + 0x138]
jmp case.0x50ad11.7
push dword [esp + 0x78]
lea eax, [esp + 0x1c]
push dword [esp + 0x78]
push eax
call fcn.0050cdf0
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x50b290
cmp byte [ebp + 0x414], 0
je 0x50ae60
lea eax, [esp + 0x18]
push eax
push str.Signature
push ebx
push ebp
call fcn.0050ce20
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x50b290
lea eax, [esp + 0x18]
push eax
call fcn.004bc8d0
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.004e6a10
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x50b290
lea eax, [esp + 0x18]
push eax
call fcn.004bc8d0
lea eax, [esp + 0x1c]
push str._____BEGIN_CERTIFICATE______n
push eax
call fcn.004bc7f0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x50b259
xor ebx, ebx
lea eax, [esi + 0x40]
nop dword [eax]
mov edi, dword [esp + 0x2c]
cmp ebx, edi
jae 0x50b245
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.004bc850
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x50af05
push 1
lea eax, [esp + 0x1c]
push 0x58c8a8
push eax
call fcn.004bc850
add esp, 0xc
mov esi, eax
add ebx, edi
mov eax, 0x40
test esi, esi
je 0x50aec0
push dword [esp + 0x28]
call dword [0x5df1b0]
add esp, 4
jmp 0x50b290
push 1
lea eax, [esp + 0x1c]
push 0x5d0e18
push eax
call fcn.004bc850
jmp 0x50ae2c
push 1
push dword [esp + 0x7c]
lea eax, [esp + 0x20]
push dword [esp + 0x7c]
push eax
call fcn.0050b770
add esp, 0x10
jmp 0x50ae2f
mov esi, dword [esp + 0x74]
mov ecx, esi
mov edx, dword [esp + 0x78]
cmp ecx, edx
jae 0x50af6f
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x50af6f
inc ecx
cmp ecx, edx
jb 0x50af62
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x50af8a
sub eax, 2
je 0x50af8f
mov esi, 0x2b
jmp 0x50b290
mov edi, 0x59b47c
cmp ecx, edx
jae case.0x50b10a.13
cmp byte [ecx], 0x5a
jne 0x50afa4
mov ecx, 0x59b480
mov edx, 0x59b483
jmp 0x50afa5
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.004bc820
add esp, 0x2c
jmp 0x50ae2f
mov ebp, dword [esp + 0x74]
mov edi, 0x5d0e18
mov esi, dword [esp + 0x78]
mov ecx, ebp
cmp ecx, esi
jae 0x50affe
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x50affe
inc ecx
cmp ecx, esi
jb 0x50aff1
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x50b029
sub eax, 1
je 0x50b024
sub eax, 1
jne case.0x50b10a.13
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x50b02b
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, esi
jae 0x50b08b
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x50b03f
cmp bl, 0x2c
jne 0x50b070
inc ecx
inc eax
cmp eax, esi
jae 0x50b051
mov dl, byte [eax]
cmp dl, 0x30
jl 0x50b051
cmp dl, 0x39
jle 0x50b040
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x50b070
lea edi, [ecx - 1]
add edi, edx
nop
cmp byte [edi], 0x30
jne 0x50b06b
dec edi
sub edx, 1
jne 0x50b060
mov edi, 0x5d0e18
cmp eax, esi
jae 0x50b08b
cmp byte [eax], 0x5a
jne 0x50b085
mov eax, str._GMT
mov esi, 0x59b44c
jmp 0x50b08b
mov edi, 0x5d0e1c
inc eax
push eax
sub esi, eax
test edx, edx
push esi
push edi
push ecx
push edx
mov ecx, 0x5d0e18
mov eax, 0x5d1404
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.004bc820
add esp, 0x3c
mov esi, eax
mov ebp, dword [esp + 0x134]
mov ebx, dword [esp + 0x138]
jmp case.0x50ad11.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.0x50b10a.13
movzx eax, byte [edx + 0x50b448]
jmp dword [eax*4 + 0x50b438]
mov ebx, 2
jmp case.0x50b10a.12
mov ebx, 4
xor edx, edx
mov eax, ecx
div ebx
test edx, edx
jne case.0x50b10a.13
cmp dword [esp + 0x14], 0xc
jne 0x50b160
test ecx, ecx
je 0x50b0d1
push ecx
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.004bc850
mov ebp, dword [esp + 0x140]
add esp, 0xc
mov ebx, dword [esp + 0x138]
mov esi, eax
jmp case.0x50ad11.7
cmp edi, ebp
jae 0x50b0d1
mov eax, ebx
xor ecx, ecx
mov edx, 1
sub eax, 2
je 0x50b18a
sub eax, 2
jne 0x50b193
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 0x50b1fc
cmp ecx, 0x800
jb 0x50b1e8
cmp ecx, 0x10000
jb 0x50b1d4
cmp ecx, 0x200000
jae 0x50b230
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.004bc850
mov esi, eax
add esp, 0xc
test esi, esi
je 0x50b160
mov ebp, dword [esp + 0x134]
mov ebx, dword [esp + 0x138]
jmp case.0x50ad11.7
lea eax, [esp + 0x14]
push eax
call dword [0x5df1b0]
add esp, 4
mov esi, 8
jmp 0x50b290
lea eax, [esp + 0x18]
push str._____END_CERTIFICATE______n
push eax
call fcn.004bc7f0
add esp, 8
mov esi, eax
push dword [esp + 0x28]
call dword [0x5df1b0]
add esp, 4
test esi, esi
jne 0x50b290
cmp byte [ebp + 0x414], 0
je 0x50b290
lea eax, [esp + 0x18]
push eax
mov eax, dword [esp + 0x13c]
push str.Cert
push eax
push ebp
call fcn.0050ce20
add esp, 0x10
mov esi, eax
pop edi
lea eax, [esp + 0x14]
push eax
call fcn.004bc860
add esp, 4
mov eax, esi
pop esi
pop ebp
pop ebx
add esp, 0x120
ret