Function at 0x476476
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 0x4760de
test ebx, ebx
je 0x4760de
pop edi
xor eax, eax
pop ebx
add esp, 0x120
ret
lea eax, [esp + 0x10]
push 0x2710
push eax
call fcn.0042fed0
push dword [esp + 0x140]
lea eax, [esp + 0x34]
push dword [esp + 0x140]
push eax
call fcn.004778a0
add esp, 0x14
test eax, eax
je 0x47611a
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.004785e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4776ce
cmp byte [edi + 0x414], al
je 0x476160
lea eax, [esp + 0x14]
push eax
push str.Subject
push ebx
push edi
call fcn.00479260
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4776ce
lea eax, [esp + 0x14]
push eax
call fcn.0042ff10
lea eax, [esp + 0x80]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004785e0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4776ce
cmp byte [edi + 0x414], al
je 0x4761af
lea eax, [esp + 0x14]
push eax
push str.Issuer
push ebx
push edi
call fcn.00479260
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4776ce
lea eax, [esp + 0x14]
push eax
call fcn.0042ff10
mov edx, dword [esp + 0x44]
add esp, 4
mov esi, dword [esp + 0x44]
xor ecx, ecx
cmp edx, esi
jae 0x4761dd
nop word [eax + eax]
movzx eax, byte [edx]
inc edx
shl ecx, 8
or ecx, eax
cmp edx, esi
jb 0x4761d0
cmp byte [edi + 0x414], 0
je 0x47622e
push ecx
lea eax, [esp + 0x18]
push 0x48d630
push eax
call fcn.0042fe60
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4776ce
lea eax, [esp + 0x14]
push eax
push str.Version
push ebx
push edi
call fcn.00479260
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4776ce
lea eax, [esp + 0x14]
push eax
call fcn.0042ff10
add esp, 4
cmp byte [esp + 0x5a], 0
mov esi, 0x2b
push ebp
mov ebp, str.TRUE
mov edx, str.FALSE
jne 0x476384
movzx ebx, byte [esp + 0x5d]
lea eax, [ebx - 1]
cmp eax, 0x1d
ja case.0x476261.7
movzx eax, byte [eax + 0x477710]
jmp dword [eax*4 + 0x4776e8]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
sub eax, ecx
cmp eax, 1
jne 0x4776cd
cmp byte [ecx], 0
mov eax, ebp
cmove eax, edx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0042fe30
add esp, 8
jmp 0x476373
mov ebx, dword [esp + 0x58]
mov eax, ebx
mov edi, dword [esp + 0x54]
sub eax, edi
je 0x4776cd
cmp eax, 4
jbe 0x4762e1
xor esi, esi
nop
cmp edi, ebx
jae 0x476355
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.0042fe60
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x4762b0
mov edi, dword [esp + 0x134]
jmp case.0x476261.7
movsx ecx, byte [edi]
sar ecx, 0x1f
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp edi, ebx
jb 0x4762e7
push ecx
cmp ecx, 0xa
mov eax, 0x48ecf0
mov ecx, 0x48f822
cmovb eax, ecx
push eax
lea eax, [esp + 0x20]
push str._s_x
push eax
call fcn.0042fe60
mov edi, dword [esp + 0x144]
add esp, 0x10
jmp 0x476373
mov edi, dword [esp + 0x54]
mov ebx, dword [esp + 0x58]
inc edi
cmp edi, ebx
ja 0x4776cd
xor esi, esi
cmp edi, ebx
jae 0x476355
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.0042fe60
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x476334
mov edi, dword [esp + 0x134]
jmp case.0x476261.7
push dword [esp + 0x58]
lea eax, [esp + 0x1c]
push dword [esp + 0x58]
push eax
call fcn.00479230
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x4776cd
mov ebx, dword [esp + 0x138]
cmp byte [edi + 0x414], 0
je 0x4763ab
lea eax, [esp + 0x18]
push eax
push str.Serial_Number
push ebx
push edi
call fcn.00479260
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4776cd
lea eax, [esp + 0x18]
push eax
call fcn.0042ff10
push dword [esp + 0x6c]
lea eax, [esp + 0x128]
push dword [esp + 0x6c]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00478570
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4776cd
cmp byte [edi + 0x414], al
je 0x476402
lea eax, [esp + 0x18]
push eax
push str.Signature_Algorithm
push ebx
push edi
call fcn.00479260
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4776cd
lea eax, [esp + 0x18]
push eax
call fcn.0042ff10
add esp, 4
mov esi, 0x2b
cmp byte [esp + 0x9e], 0
jne 0x476b9d
movzx ebx, byte [esp + 0x9d]
lea eax, [ebx - 1]
cmp eax, 0x1d
ja case.0x47643d.7
movzx eax, byte [eax + 0x477758]
jmp dword [eax*4 + 0x477730]
push 1
lea eax, [esp + 0x1c]
push 0x48f822
push eax
call fcn.0042fe90
jmp 0x476370
push 1
push dword [esp + 0x5c]
lea eax, [esp + 0x20]
push dword [esp + 0x5c]
push eax
call fcn.00477bb0
add esp, 0x10
jmp 0x476373
mov esi, dword [esp + 0x54]
mov ecx, esi
mov edx, dword [esp + 0x58]
cmp ecx, edx
jae 0x476491
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x476491
inc ecx
cmp ecx, edx
jb 0x476484
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x4764ac
sub eax, 2
je 0x4764b1
mov esi, 0x2b
jmp 0x4776cd
mov edi, 0x48ed3c
cmp ecx, edx
jae case.0x477555.13
cmp byte [ecx], 0x5a
jne 0x4764ca
mov ecx, 0x48ed40
mov edx, 0x48ed43
jmp 0x4764cb
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.0042fe60
mov edi, dword [esp + 0x160]
add esp, 0x2c
jmp 0x476373
mov ebp, dword [esp + 0x54]
mov esi, 0x48f822
mov edi, dword [esp + 0x58]
mov ecx, ebp
cmp ecx, edi
jae 0x47652d
nop
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x47652d
inc ecx
cmp ecx, edi
jb 0x476520
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x476558
sub eax, 1
je 0x476553
sub eax, 1
jne case.0x477555.13
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x47655a
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, edi
jae 0x4765bb
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x47656e
cmp bl, 0x2c
jne 0x4765a0
inc ecx
nop
inc eax
cmp eax, edi
jae 0x476581
mov dl, byte [eax]
cmp dl, 0x30
jl 0x476581
cmp dl, 0x39
jle 0x476570
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x4765a0
lea esi, [ecx - 1]
add esi, edx
nop
cmp byte [esi], 0x30
jne 0x47659b
dec esi
sub edx, 1
jne 0x476590
mov esi, 0x48f822
cmp eax, edi
jae 0x4765bb
cmp byte [eax], 0x5a
jne 0x4765b5
mov eax, str._GMT
mov edi, 0x48ed0c
jmp 0x4765bb
mov esi, 0x48fb3c
inc eax
push eax
sub edi, eax
test edx, edx
push edi
push esi
push ecx
push edx
mov ecx, 0x48f822
mov eax, 0x48f83c
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.0042fe60
add esp, 0x3c
mov esi, eax
mov edi, dword [esp + 0x134]
mov ebp, str.TRUE
jmp case.0x476261.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.0x477555.13
movzx eax, byte [eax + 0x477788]
jmp dword [eax*4 + 0x477778]
mov ebp, 2
jmp case.0x476636.12
mov ebp, 4
xor edx, edx
mov eax, ecx
div ebp
test edx, edx
jne case.0x477555.13
cmp ebx, 0xc
jne 0x476682
test ecx, ecx
je 0x476601
push ecx
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.0042fe90
mov edi, dword [esp + 0x140]
add esp, 0xc
mov esi, eax
mov ebp, str.TRUE
jmp case.0x476261.7
mov ebx, dword [esp + 0x58]
cmp edi, ebx
jae 0x476601
mov eax, ebp
xor ecx, ecx
mov edx, 1
sub eax, 2
je 0x4766b0
sub eax, 2
jne 0x4766b9
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 0x476726
cmp ecx, 0x800
jb 0x476712
cmp ecx, 0x10000
jb 0x4766fe
cmp ecx, 0x200000
jae 0x47766d
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.0042fe90
mov esi, eax
add esp, 0xc
test esi, esi
je 0x476686
mov edi, dword [esp + 0x134]
mov ebp, str.TRUE
jmp case.0x476261.7
mov eax, dword [esp + 0x98]
mov ecx, dword [esp + 0x94]
sub eax, ecx
cmp eax, 1
jne 0x4776cd
cmp byte [ecx], 0
mov eax, ebp
mov ebp, str.FALSE
cmove eax, ebp
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0042fe30
add esp, 8
mov esi, eax
jmp 0x47681f
mov ebx, dword [esp + 0x98]
mov eax, ebx
mov edi, dword [esp + 0x94]
sub eax, edi
je 0x4776cd
cmp eax, 4
jbe 0x4767d5
xor esi, esi
cmp edi, ebx
jae 0x476813
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.0042fe60
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x4767b2
jmp 0x476813
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 0x4767e0
push ecx
cmp ecx, 0xa
mov eax, 0x48ecf0
mov ecx, 0x48f822
cmovb eax, ecx
push eax
lea eax, [esp + 0x20]
push str._s_x
push eax
call fcn.0042fe60
add esp, 0x10
mov esi, eax
mov edi, dword [esp + 0x134]
mov ebp, str.FALSE
test esi, esi
jne 0x4776cd
jmp 0x476ba2
mov edi, dword [esp + 0x94]
mov ebx, dword [esp + 0x98]
inc edi
cmp edi, ebx
ja 0x4776cd
xor esi, esi
cmp edi, ebx
jae 0x476813
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.0042fe60
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x476845
jmp 0x476813
push dword [esp + 0x98]
lea eax, [esp + 0x1c]
push dword [esp + 0x98]
push eax
call fcn.00479230
add esp, 0xc
mov esi, eax
jmp case.0x47643d.7
push 1
lea eax, [esp + 0x1c]
push 0x48f822
push eax
call fcn.0042fe90
add esp, 0xc
mov esi, eax
jmp case.0x47643d.7
push 1
push dword [esp + 0x9c]
lea eax, [esp + 0x20]
push dword [esp + 0x9c]
push eax
call fcn.00477bb0
add esp, 0x10
mov esi, eax
jmp case.0x47643d.7
mov esi, dword [esp + 0x94]
mov ecx, esi
mov edx, dword [esp + 0x98]
cmp ecx, edx
jae 0x4768ed
nop word [eax + eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x4768ed
inc ecx
cmp ecx, edx
jb 0x4768e0
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x476908
sub eax, 2
je 0x47690d
mov esi, 0x2b
jmp 0x4776cd
mov edi, 0x48ed3c
cmp ecx, edx
jae case.0x477555.13
cmp byte [ecx], 0x5a
jne 0x476926
mov ecx, 0x48ed40
mov edx, 0x48ed43
jmp 0x476927
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.0042fe60
add esp, 0x2c
jmp 0x476811
mov ebp, dword [esp + 0x94]
mov esi, 0x48f822
mov edi, dword [esp + 0x98]
mov ecx, ebp
cmp ecx, edi
jae 0x47698d
nop dword [eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x47698d
inc ecx
cmp ecx, edi
jb 0x476980
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x4769b8
sub eax, 1
je 0x4769b3
sub eax, 1
jne case.0x477555.13
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x4769ba
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, edi
jae 0x476a1b
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x4769ce
cmp bl, 0x2c
jne 0x476a00
inc ecx
nop
inc eax
cmp eax, edi
jae 0x4769e1
mov dl, byte [eax]
cmp dl, 0x30
jl 0x4769e1
cmp dl, 0x39
jle 0x4769d0
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x476a00
lea esi, [ecx - 1]
add esi, edx
nop
cmp byte [esi], 0x30
jne 0x4769fb
dec esi
sub edx, 1
jne 0x4769f0
mov esi, 0x48f822
cmp eax, edi
jae 0x476a1b
cmp byte [eax], 0x5a
jne 0x476a15
mov eax, str._GMT
mov edi, 0x48ed0c
jmp 0x476a1b
mov esi, 0x48fb3c
inc eax
push eax
sub edi, eax
test edx, edx
push edi
push esi
push ecx
push edx
mov ecx, 0x48f822
mov eax, 0x48f83c
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.0042fe60
add esp, 0x3c
jmp 0x476811
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.0x477555.13
movzx eax, byte [eax + 0x4777ac]
jmp dword [eax*4 + 0x47779c]
mov ebp, 2
jmp case.0x476a8e.12
mov ebp, 4
xor edx, edx
mov eax, ecx
div ebp
test edx, edx
jne case.0x477555.13
cmp ebx, 0xc
jne 0x476ad0
test ecx, ecx
je 0x476813
push ecx
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.0042fe90
add esp, 0xc
jmp 0x476811
mov ebx, dword [esp + 0x98]
cmp edi, ebx
jae 0x476813
mov eax, ebp
xor ecx, ecx
mov edx, 1
sub eax, 2
je 0x476b01
sub eax, 2
jne 0x476b0a
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 0x476b77
cmp ecx, 0x800
jb 0x476b63
cmp ecx, 0x10000
jb 0x476b4f
cmp ecx, 0x200000
jae 0x47766d
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.0042fe90
mov esi, eax
add esp, 0xc
test esi, esi
je 0x476ad7
jmp 0x476813
mov ebp, str.FALSE
cmp byte [edi + 0x414], 0
je 0x476bcf
lea eax, [esp + 0x18]
push eax
push str.Start_Date
push dword [esp + 0x140]
push edi
call fcn.00479260
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4776cd
lea eax, [esp + 0x18]
push eax
call fcn.0042ff10
add esp, 4
mov esi, 0x2b
cmp byte [esp + 0xae], 0
jne 0x47705d
movzx ebx, byte [esp + 0xad]
lea eax, [ebx - 1]
cmp eax, 0x1d
ja case.0x476c0a.7
movzx eax, byte [eax + 0x4777e8]
jmp dword [eax*4 + 0x4777c0]
mov eax, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
sub eax, ecx
cmp eax, 1
jne 0x4776cd
cmp byte [ecx], 0
mov ebx, str.TRUE
mov eax, ebx
cmove eax, ebp
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0042fe30
add esp, 8
mov esi, eax
jmp 0x476cdf
mov ebx, dword [esp + 0xa8]
mov eax, ebx
mov edi, dword [esp + 0xa4]
sub eax, edi
je 0x4776cd
cmp eax, 4
jbe 0x476c93
xor esi, esi
nop dword [eax + eax]
cmp edi, ebx
jae 0x476cd3
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.0042fe60
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x476c70
jmp 0x476cd3
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 0x476ca0
push ecx
cmp ecx, 0xa
mov eax, 0x48ecf0
mov ecx, 0x48f822
cmovb eax, ecx
push eax
lea eax, [esp + 0x20]
push str._s_x
push eax
call fcn.0042fe60
add esp, 0x10
mov esi, eax
mov edi, dword [esp + 0x134]
mov ebx, str.TRUE
test esi, esi
jne 0x4776cd
jmp 0x477062
mov edi, dword [esp + 0xa4]
mov ebx, dword [esp + 0xa8]
inc edi
cmp edi, ebx
ja 0x4776cd
xor esi, esi
cmp edi, ebx
jae 0x476cd3
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.0042fe60
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x476d05
jmp 0x476cd3
push dword [esp + 0xa8]
lea eax, [esp + 0x1c]
push dword [esp + 0xa8]
push eax
call fcn.00479230
add esp, 0xc
mov esi, eax
jmp case.0x476c0a.7
push 1
lea eax, [esp + 0x1c]
push 0x48f822
push eax
call fcn.0042fe90
add esp, 0xc
mov esi, eax
jmp case.0x476c0a.7
push 1
push dword [esp + 0xac]
lea eax, [esp + 0x20]
push dword [esp + 0xac]
push eax
call fcn.00477bb0
add esp, 0x10
mov esi, eax
jmp case.0x476c0a.7
mov esi, dword [esp + 0xa4]
mov ecx, esi
mov edx, dword [esp + 0xa8]
cmp ecx, edx
jae 0x476dad
nop word [eax + eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x476dad
inc ecx
cmp ecx, edx
jb 0x476da0
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x476dc8
sub eax, 2
je 0x476dcd
mov esi, 0x2b
jmp 0x4776cd
mov edi, 0x48ed3c
cmp ecx, edx
jae case.0x477555.13
cmp byte [ecx], 0x5a
jne 0x476de6
mov ecx, 0x48ed40
mov edx, 0x48ed43
jmp 0x476de7
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.0042fe60
add esp, 0x2c
jmp 0x476cd1
mov ebp, dword [esp + 0xa4]
mov esi, 0x48f822
mov edi, dword [esp + 0xa8]
mov ecx, ebp
cmp ecx, edi
jae 0x476e4d
nop dword [eax]
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x476e4d
inc ecx
cmp ecx, edi
jb 0x476e40
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x476e78
sub eax, 1
je 0x476e73
sub eax, 1
jne case.0x477555.13
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x476e7a
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, edi
jae 0x476edb
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x476e8e
cmp bl, 0x2c
jne 0x476ec0
inc ecx
nop
inc eax
cmp eax, edi
jae 0x476ea1
mov dl, byte [eax]
cmp dl, 0x30
jl 0x476ea1
cmp dl, 0x39
jle 0x476e90
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x476ec0
lea esi, [ecx - 1]
add esi, edx
nop
cmp byte [esi], 0x30
jne 0x476ebb
dec esi
sub edx, 1
jne 0x476eb0
mov esi, 0x48f822
cmp eax, edi
jae 0x476edb
cmp byte [eax], 0x5a
jne 0x476ed5
mov eax, str._GMT
mov edi, 0x48ed0c
jmp 0x476edb
mov esi, 0x48fb3c
inc eax
push eax
sub edi, eax
test edx, edx
push edi
push esi
push ecx
push edx
mov ecx, 0x48f822
mov eax, 0x48f83c
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.0042fe60
add esp, 0x3c
jmp 0x476cd1
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.0x477555.13
movzx eax, byte [eax + 0x477818]
jmp dword [eax*4 + 0x477808]
mov ebp, 2
jmp case.0x476f4e.12
mov ebp, 4
xor edx, edx
mov eax, ecx
div ebp
test edx, edx
jne case.0x477555.13
cmp ebx, 0xc
jne 0x476f90
test ecx, ecx
je 0x476cd3
push ecx
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.0042fe90
add esp, 0xc
jmp 0x476cd1
mov ebx, dword [esp + 0xa8]
cmp edi, ebx
jae 0x476cd3
mov eax, ebp
xor ecx, ecx
mov edx, 1
sub eax, 2
je 0x476fc1
sub eax, 2
jne 0x476fca
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 0x477037
cmp ecx, 0x800
jb 0x477023
cmp ecx, 0x10000
jb 0x47700f
cmp ecx, 0x200000
jae 0x47766d
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.0042fe90
mov esi, eax
add esp, 0xc
test esi, esi
je 0x476f97
jmp 0x476cd3
mov ebx, str.TRUE
cmp byte [edi + 0x414], 0
mov ebp, dword [esp + 0x138]
je 0x477090
lea eax, [esp + 0x18]
push eax
push str.Expire_Date
push ebp
push edi
call fcn.00479260
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4776cd
lea eax, [esp + 0x18]
push eax
call fcn.0042ff10
push dword [esp + 0xdc]
lea eax, [esp + 0x128]
push dword [esp + 0xdc]
push eax
lea eax, [esp + 0x28]
push eax
call fcn.00478570
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4776cd
cmp byte [edi + 0x414], al
je 0x4770ed
lea eax, [esp + 0x18]
push eax
push str.Public_Key_Algorithm
push ebp
push edi
call fcn.00479260
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4776cd
lea eax, [esp + 0xe0]
push eax
lea eax, [esp + 0x124]
push eax
lea eax, [esp + 0x20]
push eax
call fcn.0042ff00
add esp, 4
push eax
push ebp
push edi
call fcn.00477cb0
add esp, 0x14
test eax, eax
je 0x477123
mov esi, 0x1b
jmp 0x4776cd
lea eax, [esp + 0x18]
push eax
call fcn.0042ff10
add esp, 4
mov esi, 0x2b
cmp byte [esp + 0x7e], 0
jne 0x477282
movzx ebp, byte [esp + 0x7d]
lea eax, [ebp - 1]
cmp eax, 0x1d
ja case.0x477158.7
movzx eax, byte [eax + 0x477854]
jmp dword [eax*4 + 0x47782c]
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x74]
sub eax, ecx
cmp eax, 1
jne 0x4776cd
cmp byte [ecx], 0
mov eax, str.FALSE
cmove ebx, eax
lea eax, [esp + 0x18]
push ebx
push eax
call fcn.0042fe30
add esp, 8
jmp 0x477271
mov ebx, dword [esp + 0x78]
mov eax, ebx
mov edi, dword [esp + 0x74]
sub eax, edi
je 0x4776cd
cmp eax, 4
jbe 0x4771dd
xor esi, esi
nop dword [eax]
cmp edi, ebx
jae 0x477216
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.0042fe60
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x4771b0
mov edi, dword [esp + 0x134]
jmp case.0x477158.7
movsx ecx, byte [edi]
sar ecx, 0x1f
movzx eax, byte [edi]
inc edi
shl ecx, 8
or ecx, eax
cmp edi, ebx
jb 0x4771e3
push ecx
cmp ecx, 0xa
mov eax, 0x48ecf0
mov ecx, 0x48f822
cmovb eax, ecx
push eax
lea eax, [esp + 0x20]
push str._s_x
push eax
call fcn.0042fe60
add esp, 0x10
mov esi, eax
mov edi, dword [esp + 0x134]
jmp case.0x477158.7
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x78]
inc edi
cmp edi, ebx
ja 0x4776cd
xor esi, esi
cmp edi, ebx
jae 0x477216
movzx eax, byte [edi]
push eax
lea eax, [esp + 0x1c]
push str._02x:
push eax
call fcn.0042fe60
mov esi, eax
add esp, 0xc
inc edi
test esi, esi
je 0x477232
mov edi, dword [esp + 0x134]
jmp case.0x477158.7
push dword [esp + 0x78]
lea eax, [esp + 0x1c]
push dword [esp + 0x78]
push eax
call fcn.00479230
add esp, 0xc
mov esi, eax
test esi, esi
jne 0x4776cd
mov ebp, dword [esp + 0x138]
cmp byte [edi + 0x414], 0
je 0x4772a9
lea eax, [esp + 0x18]
push eax
push str.Signature
push ebp
push edi
call fcn.00479260
mov esi, eax
add esp, 0x10
test esi, esi
jne 0x4776cd
lea eax, [esp + 0x18]
push eax
call fcn.0042ff10
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.00453990
mov esi, eax
add esp, 0x14
test esi, esi
jne 0x4776cd
lea eax, [esp + 0x18]
push eax
call fcn.0042ff10
lea eax, [esp + 0x1c]
push str._____BEGIN_CERTIFICATE______n
push eax
call fcn.0042fe30
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x47769d
xor ebx, ebx
lea eax, [esi + 0x40]
nop word [eax + eax]
mov edi, dword [esp + 0x2c]
cmp ebx, edi
jae 0x477682
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.0042fe90
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x477355
push 1
lea eax, [esp + 0x1c]
push 0x48fa44
push eax
call fcn.0042fe90
add esp, 0xc
mov esi, eax
add ebx, edi
mov eax, 0x40
test esi, esi
je 0x477310
push dword [esp + 0x28]
call dword [0x4980a8]
add esp, 4
jmp 0x4776cd
push 1
lea eax, [esp + 0x1c]
push 0x48f822
push eax
call fcn.0042fe90
jmp 0x47726e
push 1
push dword [esp + 0x7c]
lea eax, [esp + 0x20]
push dword [esp + 0x7c]
push eax
call fcn.00477bb0
add esp, 0x10
jmp 0x477271
mov esi, dword [esp + 0x74]
mov ecx, esi
mov edx, dword [esp + 0x78]
cmp ecx, edx
jae 0x4773bf
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x4773bf
inc ecx
cmp ecx, edx
jb 0x4773b2
lea edi, [esi + 0xa]
mov eax, ecx
sub eax, edi
sub eax, 0
je 0x4773da
sub eax, 2
je 0x4773df
mov esi, 0x2b
jmp 0x4776cd
mov edi, 0x48ed3c
cmp ecx, edx
jae case.0x477555.13
cmp byte [ecx], 0x5a
jne 0x4773f4
mov ecx, 0x48ed40
mov edx, 0x48ed43
jmp 0x4773f5
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.0042fe60
mov edi, dword [esp + 0x160]
add esp, 0x2c
jmp 0x477271
mov ebp, dword [esp + 0x74]
mov edi, 0x48f822
mov esi, dword [esp + 0x78]
mov ecx, ebp
cmp ecx, esi
jae 0x477455
mov al, byte [ecx]
sub al, 0x30
cmp al, 9
ja 0x477455
inc ecx
cmp ecx, esi
jb 0x477448
mov eax, ecx
mov byte [esp + 0x13], 0x30
sub eax, ebp
sub eax, 0xc
sub eax, 0
je 0x477480
sub eax, 1
je 0x47747b
sub eax, 1
jne case.0x477555.13
mov al, byte [ecx - 2]
mov byte [esp + 0x13], al
mov bh, byte [ecx - 1]
jmp 0x477482
mov bh, 0x30
xor edx, edx
mov eax, ecx
cmp ecx, esi
jae 0x4774e1
mov bl, byte [ecx]
cmp bl, 0x2e
je 0x477496
cmp bl, 0x2c
jne 0x4774c6
inc ecx
inc eax
cmp eax, esi
jae 0x4774a8
mov dl, byte [eax]
cmp dl, 0x30
jl 0x4774a8
cmp dl, 0x39
jle 0x477497
mov edx, eax
sub edx, ecx
sub edx, 1
je 0x4774c6
lea edi, [ecx - 1]
add edi, edx
cmp byte [edi], 0x30
jne 0x4774c1
dec edi
sub edx, 1
jne 0x4774b6
mov edi, 0x48f822
cmp eax, esi
jae 0x4774e1
cmp byte [eax], 0x5a
jne 0x4774db
mov eax, str._GMT
mov esi, 0x48ed0c
jmp 0x4774e1
mov edi, 0x48fb3c
inc eax
push eax
sub esi, eax
test edx, edx
push esi
push edi
push ecx
push edx
mov ecx, 0x48f822
mov eax, 0x48f83c
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.0042fe60
mov edi, dword [esp + 0x170]
add esp, 0x3c
jmp 0x477271
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.0x477555.13
movzx eax, byte [eax + 0x477884]
jmp dword [eax*4 + 0x477874]
mov ebx, 2
jmp case.0x477555.12
mov ebx, 4
xor edx, edx
mov eax, ecx
div ebx
test edx, edx
jne case.0x477555.13
cmp ebp, 0xc
jne 0x4775a0
test ecx, ecx
je 0x477216
push ecx
lea eax, [esp + 0x1c]
push edi
push eax
call fcn.0042fe90
mov edi, dword [esp + 0x140]
add esp, 0xc
mov esi, eax
jmp case.0x477158.7
mov ebp, dword [esp + 0x78]
cmp edi, ebp
jae 0x477216
mov eax, ebx
xor ecx, ecx
mov edx, 1
sub eax, 2
je 0x4775ce
sub eax, 2
jne 0x4775d7
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 0x477640
cmp ecx, 0x800
jb 0x47762c
cmp ecx, 0x10000
jb 0x477618
cmp ecx, 0x200000
jae 0x47766d
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.0042fe90
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4775a4
mov edi, dword [esp + 0x134]
jmp case.0x477158.7
lea eax, [esp + 0x14]
push eax
call dword [0x4980a8]
add esp, 4
mov esi, 8
jmp 0x4776cd
lea eax, [esp + 0x18]
push str._____END_CERTIFICATE______n
push eax
call fcn.0042fe30
mov edi, dword [esp + 0x13c]
add esp, 8
mov esi, eax
push dword [esp + 0x28]
call dword [0x4980a8]
add esp, 4
test esi, esi
jne 0x4776cd
cmp byte [edi + 0x414], 0
je 0x4776cd
lea eax, [esp + 0x18]
push eax
push str.Cert
push ebp
push edi
call fcn.00479260
add esp, 0x10
mov esi, eax
pop ebp
lea eax, [esp + 0x14]
push eax
call fcn.0042fea0
add esp, 4
mov eax, esi
pop esi
pop edi
pop ebx
add esp, 0x120
ret