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

Disassembly:
sub esp, 0x120
push ebx
mov ebx, dword [esp + 0x12c]
push edi
mov edi, dword [esp + 0x12c]
cmp byte [edi + 0x414], 0
jne 0x47630e
test ebx, ebx
je 0x47630e
pop edi
xor eax, eax
pop ebx
add esp, 0x120
ret
lea eax, [esp + 0x10]
push 0x2710
push eax
call fcn.0042a370
push dword [esp + 0x140]
lea eax, [esp + 0x34]
push dword [esp + 0x140]
push eax
call fcn.00477ad0
add esp, 0x14
test eax, eax
je 0x47634a
pop edi
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.00478810
mov esi, eax
add esp, 8
test esi, esi
jne 0x4778fe
cmp byte [edi + 0x414], al
je 0x476390
lea eax, [esp + 0x14]
push eax
push str.Subject
push ebx
push edi
call fcn.00479490
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4778fe
lea eax, [esp + 0x14]
push eax
call fcn.0042a3b0
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00478810
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4778fe
cmp byte [edi + 0x414], al
je 0x4763df
lea eax, [esp + 0x14]
push eax
push str.Issuer
push ebx
push edi
call fcn.00479490
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4778fe
lea eax, [esp + 0x14]
push eax
call fcn.0042a3b0
mov edx, dword [esp + 0x44]
add esp, 4
mov esi, dword [esp + 0x44]
xor ecx, ecx
cmp edx, esi
jae 0x47640d
nop word [eax + eax]
movzx eax, byte [edx]
inc edx
shl ecx, 8
or ecx, eax
cmp edx, esi
jb 0x476400
cmp byte [edi + 0x414], 0
je 0x47645e
push ecx
lea eax, [esp + 0x18]
push 0x48e610
push eax
call fcn.0042a300
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4778fe
lea eax, [esp + 0x14]
push eax
push str.Version
push ebx
push edi
call fcn.00479490
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4778fe
lea eax, [esp + 0x14]
push eax
call fcn.0042a3b0
add esp, 4
cmp byte [esp + 0x5a], 0
mov esi, 0x2b
push ebp
mov ebp, str.TRUE
mov edx, str.FALSE
jne 0x4765b4
movzx ebx, byte [esp + 0x5d]
lea eax, [ebx - 1]
cmp eax, 0x1d
ja case.0x476491.7
movzx eax, byte [eax + 0x477940]
jmp dword [eax*4 + 0x477918]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
sub eax, ecx
cmp eax, 1
jne 0x4778fd
cmp byte [ecx], 0
mov eax, ebp
cmove eax, edx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0042a2d0
add esp, 8
jmp 0x4765a3
mov ebx, dword [esp + 0x58]
mov eax, ebx
mov edi, dword [esp + 0x54]
sub eax, edi
je 0x4778fd
cmp eax, 4
jbe 0x476511
xor esi, esi
nop
cmp edi, ebx
jae 0x476585
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.0042a300
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x4764e0
mov edi, dword [esp + 0x134]
jmp case.0x476491.7
movsx ecx, byte [edi]
sar ecx, 0x1f
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp edi, ebx
jb 0x476517
push ecx
cmp ecx, 0xa
mov eax, 0x48fcd0
mov ecx, 0x49082a
cmovb eax, ecx
push eax
lea eax, [esp + 0x20]
push str._s_x
push eax
call fcn.0042a300
mov edi, dword [esp + 0x144]
add esp, 0x10
jmp 0x4765a3
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
inc edi
cmp edi, ebx
ja 0x4778fd
xor esi, esi
cmp edi, ebx
jae 0x476585
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.0042a300
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x476564
mov edi, dword [esp + 0x134]
jmp case.0x476491.7
push dword [esp + 0x58]
lea eax, [esp + 0x1c]
push dword [esp + 0x58]
push eax
call fcn.00479460
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x4778fd
mov ebx, dword [esp + 0x138]
cmp byte [edi + 0x414], 0
je 0x4765db
lea eax, [esp + 0x18]
push eax
push str.Serial_Number
push ebx
push edi
call fcn.00479490
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4778fd
lea eax, [esp + 0x18]
push eax
call fcn.0042a3b0
push dword [esp + 0x6c]
lea eax, [esp + 0x128]
push dword [esp + 0x6c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004787a0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4778fd
cmp byte [edi + 0x414], al
je 0x476632
lea eax, [esp + 0x18]
push eax
push str.Signature_Algorithm
push ebx
push edi
call fcn.00479490
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4778fd
lea eax, [esp + 0x18]
push eax
call fcn.0042a3b0
add esp, 4
mov esi, 0x2b
cmp byte [esp + 0x9e], 0
jne 0x476dcd
movzx ebx, byte [esp + 0x9d]
lea eax, [ebx - 1]
cmp eax, 0x1d
ja case.0x47666d.7
movzx eax, byte [eax + 0x477988]
jmp dword [eax*4 + 0x477960]
push 1
lea eax, [esp + 0x1c]
push 0x49082a
push eax
call fcn.0042a330
jmp 0x4765a0
push 1
push dword [esp + 0x5c]
lea eax, [esp + 0x20]
push dword [esp + 0x5c]
push eax
call fcn.00477de0
add esp, 0x10
jmp 0x4765a3
mov esi, dword [esp + 0x54]
mov ecx, esi
mov edx, dword [esp + 0x58]
cmp ecx, edx
jae 0x4766c1
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x4766c1
inc ecx
cmp ecx, edx
jb 0x4766b4
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x4766dc
sub eax, 2
je 0x4766e1
mov esi, 0x2b
jmp 0x4778fd
mov edi, 0x48fd1c
cmp ecx, edx
jae case.0x477785.13
cmp byte [ecx], 0x5a
jne 0x4766fa
mov ecx, 0x48fd20
mov edx, 0x48fd23
jmp 0x4766fb
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.0042a300
mov edi, dword [esp + 0x160]
add esp, 0x2c
jmp 0x4765a3
mov ebp, dword [esp + 0x54]
mov esi, 0x49082a
mov edi, dword [esp + 0x58]
mov ecx, ebp
cmp ecx, edi
jae 0x47675d
nop
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x47675d
inc ecx
cmp ecx, edi
jb 0x476750
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x476788
sub eax, 1
je 0x476783
sub eax, 1
jne case.0x477785.13
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x47678a
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, edi
jae 0x4767eb
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x47679e
cmp bl, 0x2c
jne 0x4767d0
inc ecx
nop
inc eax
cmp eax, edi
jae 0x4767b1
mov dl, byte [eax]
cmp dl, 0x30
jl 0x4767b1
cmp dl, 0x39
jle 0x4767a0
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x4767d0
lea esi, [ecx - 1]
add esi, edx
nop
cmp byte [esi], 0x30
jne 0x4767cb
dec esi
sub edx, 1
jne 0x4767c0
mov esi, 0x49082a
cmp eax, edi
jae 0x4767eb
cmp byte [eax], 0x5a
jne 0x4767e5
mov eax, str._GMT
mov edi, 0x48fcec
jmp 0x4767eb
mov esi, 0x490b68
inc eax
push eax
sub edi, eax
test edx, edx
push edi
push esi
push ecx
push edx
mov ecx, 0x49082a
mov eax, 0x490844
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.0042a300
add esp, 0x3c
mov esi, eax
mov edi, dword [esp + 0x134]
mov ebp, str.TRUE
jmp case.0x476491.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.0x477785.13
movzx eax, byte [eax + 0x4779b8]
jmp dword [eax*4 + 0x4779a8]
mov ebp, 2
jmp case.0x476866.12
mov ebp, 4
xor edx, edx
mov eax, ecx
div ebp
test edx, edx
jne case.0x477785.13
cmp ebx, 0xc
jne 0x4768b2
test ecx, ecx
je 0x476831
push ecx
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.0042a330
mov edi, dword [esp + 0x140]
add esp, 0xc
mov esi, eax
mov ebp, str.TRUE
jmp case.0x476491.7
mov ebx, dword [esp + 0x58]
cmp edi, ebx
jae 0x476831
mov eax, ebp
xor ecx, ecx
mov edx, 1
sub eax, 2
je 0x4768e0
sub eax, 2
jne 0x4768e9
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 0x476956
cmp ecx, 0x800
jb 0x476942
cmp ecx, 0x10000
jb 0x47692e
cmp ecx, 0x200000
jae 0x47789d
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.0042a330
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4768b6
mov edi, dword [esp + 0x134]
mov ebp, str.TRUE
jmp case.0x476491.7
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
sub eax, ecx
cmp eax, 1
jne 0x4778fd
cmp byte [ecx], 0
mov eax, ebp
mov ebp, str.FALSE
cmove eax, ebp
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0042a2d0
add esp, 8
mov esi, eax
jmp 0x476a4f
mov ebx, dword [esp + 0x98]
mov eax, ebx
mov edi, dword [esp + 0x94]
sub eax, edi
je 0x4778fd
cmp eax, 4
jbe 0x476a05
xor esi, esi
cmp edi, ebx
jae 0x476a43
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.0042a300
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x4769e2
jmp 0x476a43
movsx ecx, byte [edi]
sar ecx, 0x1f
nop dword [eax + eax]
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp edi, ebx
jb 0x476a10
push ecx
cmp ecx, 0xa
mov eax, 0x48fcd0
mov ecx, 0x49082a
cmovb eax, ecx
push eax
lea eax, [esp + 0x20]
push str._s_x
push eax
call fcn.0042a300
add esp, 0x10
mov esi, eax
mov edi, dword [esp + 0x134]
mov ebp, str.FALSE
test esi, esi
jne 0x4778fd
jmp 0x476dd2
mov edi, dword [esp + 0x94]
mov ebx, dword [esp + 0x98]
inc edi
cmp edi, ebx
ja 0x4778fd
xor esi, esi
cmp edi, ebx
jae 0x476a43
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.0042a300
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x476a75
jmp 0x476a43
push dword [esp + 0x98]
lea eax, [esp + 0x1c]
push dword [esp + 0x98]
push eax
call fcn.00479460
add esp, 0xc
mov esi, eax
jmp case.0x47666d.7
push 1
lea eax, [esp + 0x1c]
push 0x49082a
push eax
call fcn.0042a330
add esp, 0xc
mov esi, eax
jmp case.0x47666d.7
push 1
push dword [esp + 0x9c]
lea eax, [esp + 0x20]
push dword [esp + 0x9c]
push eax
call fcn.00477de0
add esp, 0x10
mov esi, eax
jmp case.0x47666d.7
mov esi, dword [esp + 0x94]
mov ecx, esi
mov edx, dword [esp + 0x98]
cmp ecx, edx
jae 0x476b1d
nop word [eax + eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x476b1d
inc ecx
cmp ecx, edx
jb 0x476b10
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x476b38
sub eax, 2
je 0x476b3d
mov esi, 0x2b
jmp 0x4778fd
mov edi, 0x48fd1c
cmp ecx, edx
jae case.0x477785.13
cmp byte [ecx], 0x5a
jne 0x476b56
mov ecx, 0x48fd20
mov edx, 0x48fd23
jmp 0x476b57
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.0042a300
add esp, 0x2c
jmp 0x476a41
mov ebp, dword [esp + 0x94]
mov esi, 0x49082a
mov edi, dword [esp + 0x98]
mov ecx, ebp
cmp ecx, edi
jae 0x476bbd
nop dword [eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x476bbd
inc ecx
cmp ecx, edi
jb 0x476bb0
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x476be8
sub eax, 1
je 0x476be3
sub eax, 1
jne case.0x477785.13
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x476bea
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, edi
jae 0x476c4b
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x476bfe
cmp bl, 0x2c
jne 0x476c30
inc ecx
nop
inc eax
cmp eax, edi
jae 0x476c11
mov dl, byte [eax]
cmp dl, 0x30
jl 0x476c11
cmp dl, 0x39
jle 0x476c00
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x476c30
lea esi, [ecx - 1]
add esi, edx
nop
cmp byte [esi], 0x30
jne 0x476c2b
dec esi
sub edx, 1
jne 0x476c20
mov esi, 0x49082a
cmp eax, edi
jae 0x476c4b
cmp byte [eax], 0x5a
jne 0x476c45
mov eax, str._GMT
mov edi, 0x48fcec
jmp 0x476c4b
mov esi, 0x490b68
inc eax
push eax
sub edi, eax
test edx, edx
push edi
push esi
push ecx
push edx
mov ecx, 0x49082a
mov eax, 0x490844
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.0042a300
add esp, 0x3c
jmp 0x476a41
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.0x477785.13
movzx eax, byte [eax + 0x4779dc]
jmp dword [eax*4 + 0x4779cc]
mov ebp, 2
jmp case.0x476cbe.12
mov ebp, 4
xor edx, edx
mov eax, ecx
div ebp
test edx, edx
jne case.0x477785.13
cmp ebx, 0xc
jne 0x476d00
test ecx, ecx
je 0x476a43
push ecx
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.0042a330
add esp, 0xc
jmp 0x476a41
mov ebx, dword [esp + 0x98]
cmp edi, ebx
jae 0x476a43
mov eax, ebp
xor ecx, ecx
mov edx, 1
sub eax, 2
je 0x476d31
sub eax, 2
jne 0x476d3a
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 0x476da7
cmp ecx, 0x800
jb 0x476d93
cmp ecx, 0x10000
jb 0x476d7f
cmp ecx, 0x200000
jae 0x47789d
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.0042a330
mov esi, eax
add esp, 0xc
test esi, esi
je 0x476d07
jmp 0x476a43
mov ebp, str.FALSE
cmp byte [edi + 0x414], 0
je 0x476dff
lea eax, [esp + 0x18]
push eax
push str.Start_Date
push dword [esp + 0x140]
push edi
call fcn.00479490
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4778fd
lea eax, [esp + 0x18]
push eax
call fcn.0042a3b0
add esp, 4
mov esi, 0x2b
cmp byte [esp + 0xae], 0
jne 0x47728d
movzx ebx, byte [esp + 0xad]
lea eax, [ebx - 1]
cmp eax, 0x1d
ja case.0x476e3a.7
movzx eax, byte [eax + 0x477a18]
jmp dword [eax*4 + 0x4779f0]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
sub eax, ecx
cmp eax, 1
jne 0x4778fd
cmp byte [ecx], 0
mov ebx, str.TRUE
mov eax, ebx
cmove eax, ebp
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0042a2d0
add esp, 8
mov esi, eax
jmp 0x476f0f
mov ebx, dword [esp + 0xa8]
mov eax, ebx
mov edi, dword [esp + 0xa4]
sub eax, edi
je 0x4778fd
cmp eax, 4
jbe 0x476ec3
xor esi, esi
nop dword [eax + eax]
cmp edi, ebx
jae 0x476f03
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.0042a300
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x476ea0
jmp 0x476f03
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 0x476ed0
push ecx
cmp ecx, 0xa
mov eax, 0x48fcd0
mov ecx, 0x49082a
cmovb eax, ecx
push eax
lea eax, [esp + 0x20]
push str._s_x
push eax
call fcn.0042a300
add esp, 0x10
mov esi, eax
mov edi, dword [esp + 0x134]
mov ebx, str.TRUE
test esi, esi
jne 0x4778fd
jmp 0x477292
mov edi, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa8]
inc edi
cmp edi, ebx
ja 0x4778fd
xor esi, esi
cmp edi, ebx
jae 0x476f03
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.0042a300
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x476f35
jmp 0x476f03
push dword [esp + 0xa8]
lea eax, [esp + 0x1c]
push dword [esp + 0xa8]
push eax
call fcn.00479460
add esp, 0xc
mov esi, eax
jmp case.0x476e3a.7
push 1
lea eax, [esp + 0x1c]
push 0x49082a
push eax
call fcn.0042a330
add esp, 0xc
mov esi, eax
jmp case.0x476e3a.7
push 1
push dword [esp + 0xac]
lea eax, [esp + 0x20]
push dword [esp + 0xac]
push eax
call fcn.00477de0
add esp, 0x10
mov esi, eax
jmp case.0x476e3a.7
mov esi, dword [esp + 0xa4]
mov ecx, esi
mov edx, dword [esp + 0xa8]
cmp ecx, edx
jae 0x476fdd
nop word [eax + eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x476fdd
inc ecx
cmp ecx, edx
jb 0x476fd0
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x476ff8
sub eax, 2
je 0x476ffd
mov esi, 0x2b
jmp 0x4778fd
mov edi, 0x48fd1c
cmp ecx, edx
jae case.0x477785.13
cmp byte [ecx], 0x5a
jne 0x477016
mov ecx, 0x48fd20
mov edx, 0x48fd23
jmp 0x477017
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.0042a300
add esp, 0x2c
jmp 0x476f01
mov ebp, dword [esp + 0xa4]
mov esi, 0x49082a
mov edi, dword [esp + 0xa8]
mov ecx, ebp
cmp ecx, edi
jae 0x47707d
nop dword [eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x47707d
inc ecx
cmp ecx, edi
jb 0x477070
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x4770a8
sub eax, 1
je 0x4770a3
sub eax, 1
jne case.0x477785.13
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x4770aa
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, edi
jae 0x47710b
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x4770be
cmp bl, 0x2c
jne 0x4770f0
inc ecx
nop
inc eax
cmp eax, edi
jae 0x4770d1
mov dl, byte [eax]
cmp dl, 0x30
jl 0x4770d1
cmp dl, 0x39
jle 0x4770c0
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x4770f0
lea esi, [ecx - 1]
add esi, edx
nop
cmp byte [esi], 0x30
jne 0x4770eb
dec esi
sub edx, 1
jne 0x4770e0
mov esi, 0x49082a
cmp eax, edi
jae 0x47710b
cmp byte [eax], 0x5a
jne 0x477105
mov eax, str._GMT
mov edi, 0x48fcec
jmp 0x47710b
mov esi, 0x490b68
inc eax
push eax
sub edi, eax
test edx, edx
push edi
push esi
push ecx
push edx
mov ecx, 0x49082a
mov eax, 0x490844
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.0042a300
add esp, 0x3c
jmp 0x476f01
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.0x477785.13
movzx eax, byte [eax + 0x477a48]
jmp dword [eax*4 + 0x477a38]
mov ebp, 2
jmp case.0x47717e.12
mov ebp, 4
xor edx, edx
mov eax, ecx
div ebp
test edx, edx
jne case.0x477785.13
cmp ebx, 0xc
jne 0x4771c0
test ecx, ecx
je 0x476f03
push ecx
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.0042a330
add esp, 0xc
jmp 0x476f01
mov ebx, dword [esp + 0xa8]
cmp edi, ebx
jae 0x476f03
mov eax, ebp
xor ecx, ecx
mov edx, 1
sub eax, 2
je 0x4771f1
sub eax, 2
jne 0x4771fa
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 0x477267
cmp ecx, 0x800
jb 0x477253
cmp ecx, 0x10000
jb 0x47723f
cmp ecx, 0x200000
jae 0x47789d
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.0042a330
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4771c7
jmp 0x476f03
mov ebx, str.TRUE
cmp byte [edi + 0x414], 0
mov ebp, dword [esp + 0x138]
je 0x4772c0
lea eax, [esp + 0x18]
push eax
push str.Expire_Date
push ebp
push edi
call fcn.00479490
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4778fd
lea eax, [esp + 0x18]
push eax
call fcn.0042a3b0
push dword [esp + 0xdc]
lea eax, [esp + 0x128]
push dword [esp + 0xdc]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004787a0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4778fd
cmp byte [edi + 0x414], al
je 0x47731d
lea eax, [esp + 0x18]
push eax
push str.Public_Key_Algorithm
push ebp
push edi
call fcn.00479490
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4778fd
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0042a3a0
add esp, 4
push eax
push ebp
push edi
call fcn.00477ee0
add esp, 0x14
test eax, eax
je 0x477353
mov esi, 0x1b
jmp 0x4778fd
lea eax, [esp + 0x18]
push eax
call fcn.0042a3b0
add esp, 4
mov esi, 0x2b
cmp byte [esp + 0x7e], 0
jne 0x4774b2
movzx ebp, byte [esp + 0x7d]
lea eax, [ebp - 1]
cmp eax, 0x1d
ja case.0x477388.7
movzx eax, byte [eax + 0x477a84]
jmp dword [eax*4 + 0x477a5c]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
sub eax, ecx
cmp eax, 1
jne 0x4778fd
cmp byte [ecx], 0
mov eax, str.FALSE
cmove ebx, eax
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.0042a2d0
add esp, 8
jmp 0x4774a1
mov ebx, dword [esp + 0x78]
mov eax, ebx
mov edi, dword [esp + 0x74]
sub eax, edi
je 0x4778fd
cmp eax, 4
jbe 0x47740d
xor esi, esi
nop dword [eax]
cmp edi, ebx
jae 0x477446
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.0042a300
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x4773e0
mov edi, dword [esp + 0x134]
jmp case.0x477388.7
movsx ecx, byte [edi]
sar ecx, 0x1f
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp edi, ebx
jb 0x477413
push ecx
cmp ecx, 0xa
mov eax, 0x48fcd0
mov ecx, 0x49082a
cmovb eax, ecx
push eax
lea eax, [esp + 0x20]
push str._s_x
push eax
call fcn.0042a300
add esp, 0x10
mov esi, eax
mov edi, dword [esp + 0x134]
jmp case.0x477388.7
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
inc edi
cmp edi, ebx
ja 0x4778fd
xor esi, esi
cmp edi, ebx
jae 0x477446
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.0042a300
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x477462
mov edi, dword [esp + 0x134]
jmp case.0x477388.7
push dword [esp + 0x78]
lea eax, [esp + 0x1c]
push dword [esp + 0x78]
push eax
call fcn.00479460
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x4778fd
mov ebp, dword [esp + 0x138]
cmp byte [edi + 0x414], 0
je 0x4774d9
lea eax, [esp + 0x18]
push eax
push str.Signature
push ebp
push edi
call fcn.00479490
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4778fd
lea eax, [esp + 0x18]
push eax
call fcn.0042a3b0
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.00453be0
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4778fd
lea eax, [esp + 0x18]
push eax
call fcn.0042a3b0
lea eax, [esp + 0x1c]
push str._____BEGIN_CERTIFICATE______n
push eax
call fcn.0042a2d0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4778cd
xor ebx, ebx
lea eax, [esi + 0x40]
nop word [eax + eax]
mov edi, dword [esp + 0x2c]
cmp ebx, edi
jae 0x4778b2
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.0042a330
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x477585
push 1
lea eax, [esp + 0x1c]
push 0x490a74
push eax
call fcn.0042a330
add esp, 0xc
mov esi, eax
add ebx, edi
mov eax, 0x40
test esi, esi
je 0x477540
push dword [esp + 0x28]
call dword [0x49a004]
add esp, 4
jmp 0x4778fd
push 1
lea eax, [esp + 0x1c]
push 0x49082a
push eax
call fcn.0042a330
jmp 0x47749e
push 1
push dword [esp + 0x7c]
lea eax, [esp + 0x20]
push dword [esp + 0x7c]
push eax
call fcn.00477de0
add esp, 0x10
jmp 0x4774a1
mov esi, dword [esp + 0x74]
mov ecx, esi
mov edx, dword [esp + 0x78]
cmp ecx, edx
jae 0x4775ef
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x4775ef
inc ecx
cmp ecx, edx
jb 0x4775e2
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x47760a
sub eax, 2
je 0x47760f
mov esi, 0x2b
jmp 0x4778fd
mov edi, 0x48fd1c
cmp ecx, edx
jae case.0x477785.13
cmp byte [ecx], 0x5a
jne 0x477624
mov ecx, 0x48fd20
mov edx, 0x48fd23
jmp 0x477625
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.0042a300
mov edi, dword [esp + 0x160]
add esp, 0x2c
jmp 0x4774a1
mov ebp, dword [esp + 0x74]
mov edi, 0x49082a
mov esi, dword [esp + 0x78]
mov ecx, ebp
cmp ecx, esi
jae 0x477685
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x477685
inc ecx
cmp ecx, esi
jb 0x477678
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x4776b0
sub eax, 1
je 0x4776ab
sub eax, 1
jne case.0x477785.13
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x4776b2
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, esi
jae 0x477711
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x4776c6
cmp bl, 0x2c
jne 0x4776f6
inc ecx
inc eax
cmp eax, esi
jae 0x4776d8
mov dl, byte [eax]
cmp dl, 0x30
jl 0x4776d8
cmp dl, 0x39
jle 0x4776c7
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x4776f6
lea edi, [ecx - 1]
add edi, edx
cmp byte [edi], 0x30
jne 0x4776f1
dec edi
sub edx, 1
jne 0x4776e6
mov edi, 0x49082a
cmp eax, esi
jae 0x477711
cmp byte [eax], 0x5a
jne 0x47770b
mov eax, str._GMT
mov esi, 0x48fcec
jmp 0x477711
mov edi, 0x490b68
inc eax
push eax
sub esi, eax
test edx, edx
push esi
push edi
push ecx
push edx
mov ecx, 0x49082a
mov eax, 0x490844
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.0042a300
mov edi, dword [esp + 0x170]
add esp, 0x3c
jmp 0x4774a1
mov ecx, dword [esp + 0x78]
lea eax, [ebp - 0xc]
mov edi, dword [esp + 0x74]
xor esi, esi
sub ecx, edi
mov ebx, 1
cmp eax, 0x12
ja case.0x477785.13
movzx eax, byte [eax + 0x477ab4]
jmp dword [eax*4 + 0x477aa4]
mov ebx, 2
jmp case.0x477785.12
mov ebx, 4
xor edx, edx
mov eax, ecx
div ebx
test edx, edx
jne case.0x477785.13
cmp ebp, 0xc
jne 0x4777d0
test ecx, ecx
je 0x477446
push ecx
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.0042a330
mov edi, dword [esp + 0x140]
add esp, 0xc
mov esi, eax
jmp case.0x477388.7
mov ebp, dword [esp + 0x78]
cmp edi, ebp
jae 0x477446
mov eax, ebx
xor ecx, ecx
mov edx, 1
sub eax, 2
je 0x4777fe
sub eax, 2
jne 0x477807
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 0x477870
cmp ecx, 0x800
jb 0x47785c
cmp ecx, 0x10000
jb 0x477848
cmp ecx, 0x200000
jae 0x47789d
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.0042a330
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4777d4
mov edi, dword [esp + 0x134]
jmp case.0x477388.7
lea eax, [esp + 0x14]
push eax
call dword [0x49a004]
add esp, 4
mov esi, 8
jmp 0x4778fd
lea eax, [esp + 0x18]
push str._____END_CERTIFICATE______n
push eax
call fcn.0042a2d0
mov edi, dword [esp + 0x13c]
add esp, 8
mov esi, eax
push dword [esp + 0x28]
call dword [0x49a004]
add esp, 4
test esi, esi
jne 0x4778fd
cmp byte [edi + 0x414], 0
je 0x4778fd
lea eax, [esp + 0x18]
push eax
push str.Cert
push ebp
push edi
call fcn.00479490
add esp, 0x10
mov esi, eax
pop ebp
lea eax, [esp + 0x14]
push eax
call fcn.0042a340
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebx
add esp, 0x120
ret