Function at 0x457600
Capabilities:
Encode data using base64
Encode data using xor
Hash data using djb2

Disassembly:
push ebp
push edi
mov eax, 0x208c
push esi
push ebx
call fcn.00527b30
sub esp, eax
mov edi, dword [esp + 0x20a8]
mov eax, dword [esp + 0x20ac]
mov dword [esp], 0
mov ebx, dword [esp + 0x20b0]
mov dword [esp + 0x48], eax
mov eax, edi
mov dword [esp + 0x38], edi
mov byte [esp + 0x4f], al
movzx eax, byte [esp + 0x20bc]
mov byte [esp + 0x4e], al
call sub.msvcrt.dll_time
mov dword [esp + 4], 0x40
mov dword [esp + 0x50], eax
mov dword [esp], 1
call dword [0x536380]
test eax, eax
mov ebp, eax
je 0x457901
mov eax, edi
test al, al
jne 0x45790e
mov dword [esp + 0x1080], 0
mov edi, str.HttpOnly_
mov ecx, 0xa
mov esi, ebx
repe cmpsb byte [esi], byte es:[edi]
jne 0x45769a
add ebx, 0xa
mov byte [ebp + 0x32], 1
cmp byte [ebx], 0x23
je 0x457ec9
mov dword [esp + 4], 0xd
mov dword [esp], ebx
call sub.msvcrt.dll_strchr
test eax, eax
je 0x4576ba
mov byte [eax], 0
mov dword [esp + 4], 0xa
mov dword [esp], ebx
call sub.msvcrt.dll_strchr
test eax, eax
je 0x4576d1
mov byte [eax], 0
lea eax, [esp + 0x1080]
mov dword [esp], ebx
mov dword [esp + 4], 0x5e7155
xor esi, esi
mov dword [esp + 8], eax
mov dword [esp + 0x44], eax
call fcn.0046cdb0
mov ebx, eax
lea eax, [ebp + 0x18]
test ebx, ebx
mov dword [esp + 0x40], eax
je 0x457eb3
cmp esi, 6
ja case.default.0x45770c
jmp dword [esi*4 + 0x5e71b0]
mov ebx, 5
mov eax, dword [esp + 0x20a4]
lea ebx, [eax + ebx*4]
mov esi, dword [ebx]
test esi, esi
jne 0x45775c
jmp 0x458106
test edx, edx
je 0x457750
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0046c3b0
test eax, eax
je 0x457750
movzx eax, byte [ebp + 0x24]
cmp byte [esi + 0x24], al
je 0x457780
lea esi, [esi]
mov eax, dword [esi]
test eax, eax
je 0x458057
mov esi, eax
mov eax, dword [ebp + 4]
mov dword [esp + 4], eax
mov eax, dword [esi + 4]
mov dword [esp], eax
call fcn.0046c3b0
test eax, eax
je 0x457750
mov eax, dword [esi + 0x14]
mov edx, dword [ebp + 0x14]
test eax, eax
jne 0x457730
test edx, edx
jne 0x457750
mov edi, dword [esi + 0x10]
mov edx, dword [ebp + 0x10]
test edi, edi
je 0x458045
test edx, edx
je 0x457750
cmp byte [esi + 0x30], 0
je 0x4577a9
cmp byte [ebp + 0x30], 0
jne 0x4577a9
cmp byte [esp + 0x4e], 0
je 0x45823c
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.0046c3b0
test eax, eax
je 0x457750
cmp byte [ebp + 0x31], 0
jne 0x4577c9
cmp byte [esi + 0x31], 0
jne 0x457eb3
mov eax, dword [esi]
mov dword [ebp], eax
mov eax, dword [esi + 0x34]
mov dword [ebp + 0x34], eax
mov eax, dword [esi + 4]
mov dword [esp], eax
call dword [0x53638c]
mov eax, dword [esi + 8]
mov dword [esp], eax
call dword [0x53638c]
mov eax, dword [esi + 0x14]
mov dword [esp], eax
call dword [0x53638c]
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call dword [0x53638c]
mov eax, dword [esi + 0x10]
mov dword [esp], eax
call dword [0x53638c]
mov eax, dword [esi + 0x20]
mov dword [esp], eax
call dword [0x53638c]
mov eax, dword [esi + 0x28]
mov dword [esp], eax
call dword [0x53638c]
mov eax, dword [esi + 0x2c]
mov dword [esp], eax
call dword [0x53638c]
mov eax, dword [ebp]
mov dword [esi], eax
mov eax, dword [ebp + 4]
mov dword [esi + 4], eax
mov eax, dword [ebp + 8]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [ebp + 0x24]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x28]
mov dword [esi + 0x28], eax
mov eax, dword [ebp + 0x2c]
mov dword [esi + 0x2c], eax
mov eax, dword [ebp + 0x30]
mov dword [esi + 0x30], eax
mov eax, dword [ebp + 0x34]
mov dword [esi + 0x34], eax
mov eax, dword [ebp + 0x38]
mov dword [esi + 0x38], eax
mov eax, dword [ebp + 0x3c]
mov dword [esi + 0x3c], eax
mov dword [esp], ebp
call dword [0x53638c]
mov eax, esi
mov eax, dword [eax]
test eax, eax
jne 0x45789e
mov eax, dword [esp + 0x20a4]
mov ebp, esi
cmp byte [eax + 0x404], 0
je 0x457901
mov eax, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
mov ebp, esi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov eax, dword [esi + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [esi + 8]
mov dword [esp + 0x10], eax
mov eax, dword [esi + 4]
mov dword [esp + 8], str.Replaced
mov dword [esp + 4], str._s_cookie__s__s__for_domain__s__path__s__expire__I64d_n
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20a0]
mov dword [esp], eax
call fcn.0045fe80
add esp, 0x208c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
cmp eax, 0x1388
ja 0x457ec9
mov dword [esp + 4], 0x3b
mov dword [esp], ebx
call sub.msvcrt.dll_strchr
mov esi, eax
movzx eax, byte [ebx]
test al, al
je 0x457954
cmp al, 9
je 0x457942
cmp al, 0x20
jne 0x457954
add ebx, 1
movzx eax, byte [ebx]
test al, al
je 0x457954
cmp al, 0x20
je 0x457942
cmp al, 9
je 0x457942
lea eax, [esp + 0x1080]
mov dword [esp + 0x54], esi
mov byte [esp + 0x40], 0
mov dword [esp + 0x44], eax
mov esi, eax
lea eax, [esp + 0x80]
mov dword [esp + 0xc], esi
mov dword [esp + 4], str._4095___r_n___4095___r_n_
mov dword [esp], ebx
mov byte [esp + 0x1080], 0
mov dword [esp + 8], eax
mov byte [esp + 0x80], 0
call sub.msvcrt.dll_sscanf
test eax, eax
jle 0x457b68
mov ecx, esi
mov edx, dword [ecx]
add ecx, 4
lea eax, [edx - 0x1010101]
not edx
and eax, edx
and eax, 0x80808080
je 0x4579a3
mov edx, eax
shr edx, 0x10
test eax, 0x8080
cmove eax, edx
lea edx, [ecx + 2]
cmovne edx, ecx
mov ecx, edx
mov edx, eax
add dl, al
lea eax, [esp + 0x80]
sbb ecx, 3
sub ecx, esi
mov edx, dword [eax]
add eax, 4
lea edi, [edx - 0x1010101]
not edx
and edi, edx
and edi, 0x80808080
je 0x4579de
mov edx, edi
mov dword [esp + 0x58], ecx
shr edx, 0x10
test edi, 0x8080
cmove edi, edx
lea edx, [eax + 2]
mov ecx, edi
cmove eax, edx
mov edx, edi
lea edi, [esp + 0x80]
add dl, cl
sbb eax, 3
sub eax, edi
cmp eax, 0xffe
lea edi, [ebx + eax]
ja 0x4586fc
mov ecx, dword [esp + 0x58]
cmp ecx, 0xffe
ja 0x4586fc
lea edx, [ecx + eax]
cmp edx, 0x1000
ja 0x4586fc
movzx edx, byte [edi]
test eax, eax
mov byte [esp + 0x5c], dl
je 0x457a6d
movzx edx, byte [edi - 1]
cmp dl, 0x20
je 0x458460
cmp dl, 9
je 0x458460
mov edi, dword [esp + 0x58]
test edi, edi
je 0x457abc
sub edi, 1
movzx edx, byte [esp + edi + 0x1080]
cmp dl, 9
je 0x457a8e
cmp dl, 0x20
jne 0x4586c3
test edi, edi
mov byte [esi + edi], 0
je 0x457abc
lea esi, [esi]
lea edi, [edi]
movzx edx, byte [esi + edi - 1]
lea ecx, [edi - 1]
cmp dl, 0x20
je 0x457ab2
cmp dl, 9
jne 0x457abe
mov edi, ecx
test edi, edi
mov byte [esi + edi], 0
jne 0x457aa0
xor edi, edi
movzx edx, byte [esp + 0x1080]
mov ebx, esi
test dl, dl
jne 0x457ada
jmp 0x457ae4
add ebx, 1
movzx edx, byte [ebx]
test dl, dl
je 0x457ae4
cmp dl, 0x20
je 0x457ad0
cmp dl, 9
je 0x457ad0
cmp eax, 3
jbe 0x457af7
cmp byte [esp + 0x80], 0x5f
je 0x458495
mov ecx, dword [ebp + 4]
test ecx, ecx
je 0x458419
test edi, edi
je 0x4583cb
lea eax, [esp + 0x80]
mov dword [esp], 0x5e70de
mov dword [esp + 4], eax
call fcn.0046c3b0
test eax, eax
je 0x458737
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call dword [0x53638c]
mov dword [esp], ebx
call dword [0x536384]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x4588b4
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call dword [0x53638c]
mov eax, dword [ebp + 0xc]
call fcn.00457550
test eax, eax
mov dword [ebp + 0x10], eax
je 0x4588b4
mov eax, dword [esp + 0x54]
test eax, eax
je 0x457bcb
cmp byte [eax], 0
je 0x457bcb
lea ebx, [eax + 1]
movzx eax, byte [eax + 1]
test al, al
jne 0x457b93
jmp 0x458280
add ebx, 1
movzx eax, byte [ebx]
test al, al
je 0x458280
cmp al, 0x20
je 0x457b85
cmp al, 9
je 0x457b85
mov dword [esp + 4], 0x3b
mov dword [esp], ebx
call sub.msvcrt.dll_strchr
test eax, eax
mov dword [esp + 0x54], eax
jne 0x45796a
mov dword [esp], ebx
call sub.msvcrt.dll_strlen
add eax, ebx
mov dword [esp + 0x54], eax
jne 0x45796a
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x458206
xor ecx, ecx
cmp byte [eax], 0x22
lea edx, [ebp + 0x18]
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp + 0xc], edx
sete cl
add eax, ecx
mov dword [esp], eax
call fcn.0046e750
cmp eax, 1
je 0x4581b1
test eax, eax
jne 0x4581bf
mov ebx, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0x18]
mov edx, ebx
or edx, ecx
je 0x45822c
mov esi, dword [esp + 0x50]
mov eax, 0xffffffff
mov edx, 0x7fffffff
mov edi, esi
sar edi, 0x1f
sub eax, esi
sbb edx, edi
cmp ebx, edx
jl 0x457c49
jg 0x4581b1
cmp ecx, eax
ja 0x4581b1
add ecx, esi
adc ebx, edi
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x1c], ebx
jmp 0x4581bf
xor eax, eax
cmp byte [ebx], 0x2e
sete al
add ebx, eax
mov dword [esp], ebx
call dword [0x536384]
test eax, eax
mov dword [ebp + 0x14], eax
mov dword [esp + 4], 0x5e7155
setne al
sete cl
mov dword [esp], 0
mov edi, eax
mov eax, dword [esp + 0x44]
mov esi, ecx
mov dword [esp + 8], eax
call fcn.0046cdb0
test eax, eax
mov ebx, eax
je 0x4586a9
mov eax, edi
test al, al
je 0x4586a9
mov dword [esp], ebx
mov dword [esp + 4], 0x5e7157
call fcn.0046c3b0
test eax, eax
mov eax, dword [esp + 0x44]
setne byte [ebp + 0x24]
mov dword [esp + 4], 0x5e7155
mov dword [esp], 0
mov dword [esp + 8], eax
call fcn.0046cdb0
test eax, eax
mov ebx, eax
je 0x457eb3
mov ecx, 5
mov esi, 0x5e7157
mov edi, ebx
repe cmpsb byte [esi], byte es:[edi]
mov eax, dword [sub.msvcrt.dll__strdup_1]
seta cl
setb dl
cmp cl, dl
jne 0x458610
mov dword [esp], 0x5e7078
call eax
mov dword [ebp + 0xc], eax
mov esi, eax
mov dword [esp], 0x5e7078
call dword [0x536384]
test eax, eax
mov dword [ebp + 0x10], eax
je 0x458167
test esi, esi
sete al
mov esi, eax
mov byte [ebp + 0x30], 0
mov dword [esp + 4], 0x5e7157
mov dword [esp], ebx
call fcn.0046c3b0
test eax, eax
jne 0x458188
mov eax, dword [esp + 0x44]
mov edi, esi
mov dword [esp + 4], 0x5e7155
mov dword [esp], 0
xor edi, 1
mov dword [esp + 8], eax
call fcn.0046cdb0
test eax, eax
mov ebx, eax
je 0x458828
mov eax, edi
test al, al
je 0x458828
mov eax, dword [esp + 0x40]
mov dword [esp], ebx
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov dword [esp + 0xc], eax
call fcn.0046e750
test eax, eax
mov dword [esp + 4], 0x5e7155
mov dword [esp], 0
sete al
setne cl
mov edi, eax
mov eax, dword [esp + 0x44]
mov esi, ecx
mov dword [esp + 8], eax
call fcn.0046cdb0
test eax, eax
mov ebx, eax
je 0x457ed6
mov eax, edi
test al, al
je 0x457ed6
mov dword [esp], ebx
call dword [0x536384]
test eax, eax
mov dword [ebp + 4], eax
je 0x4580c0
mov dword [esp + 8], 9
mov dword [esp + 4], eax
mov dword [esp], str.__Secure_
call fcn.0046c4f0
test eax, eax
je 0x4584e8
or byte [ebp + 0x38], 1
mov eax, dword [esp + 0x44]
mov dword [esp + 4], 0x5e7155
mov dword [esp], 0
mov dword [esp + 8], eax
call fcn.0046cdb0
test eax, eax
mov ebx, eax
je 0x458547
mov dword [esp], ebx
call dword [0x536384]
test eax, eax
mov dword [ebp + 8], eax
mov ebx, eax
sete al
mov dword [esp + 4], 0x5e7155
mov dword [esp], 0
mov esi, eax
mov eax, dword [esp + 0x44]
mov dword [esp + 8], eax
call fcn.0046cdb0
test ebx, ebx
je 0x457ee6
test eax, eax
je 0x457ee6
mov esi, 7
mov eax, dword [esp + 0x44]
mov dword [esp + 4], 0x5e7155
add esi, 1
mov dword [esp], 0
mov dword [esp + 8], eax
call fcn.0046cdb0
test eax, eax
mov ebx, eax
jne 0x457703
cmp esi, 7
je 0x457eec
mov eax, ebp
call fcn.004573b0
xor ebp, ebp
add esp, 0x208c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp], ebp
xor ebp, ebp
call dword [0x53638c]
jmp 0x457ebc
mov eax, 5
cmp eax, 7
je 0x457ee6
mov eax, edi
test al, al
jne 0x457eb3
mov eax, esi
test al, al
jne 0x457eb3
movzx eax, byte [ebp + 0x38]
test al, 1
je 0x458088
cmp byte [ebp + 0x30], 0
je 0x457eb3
test al, 2
je 0x457f1d
mov esi, dword [ebp + 0xc]
test esi, esi
je 0x457eb3
mov edi, 0x5e7078
mov ecx, 2
repe cmpsb byte [esi], byte es:[edi]
jne 0x457eb3
cmp byte [ebp + 0x24], 0
jne 0x457eb3
mov eax, dword [esp + 0x20a4]
movzx eax, byte [eax + 0x404]
test al, al
jne 0x457f43
mov edi, dword [esp + 0x20a4]
cmp byte [edi + 0x40c], 0
jne 0x4580aa
mov byte [ebp + 0x31], al
mov eax, dword [esp + 0x20a4]
mov edi, dword [esp + 0x20a4]
mov eax, dword [eax + 0x410]
mov dword [esp + 0x38], eax
add eax, 1
cmp byte [esp + 0x48], 0
mov dword [edi + 0x410], eax
mov dword [ebp + 0x34], eax
je 0x4582aa
mov edi, dword [ebp + 0x14]
xor ebx, ebx
test edi, edi
je 0x457718
lea eax, [esp + 0x80]
mov dword [esp + 4], edi
mov dword [esp], 2
mov dword [esp + 8], eax
call fcn.0043e160
test eax, eax
jne 0x457718
mov eax, dword [esp + 0x44]
mov dword [esp + 4], edi
mov dword [esp], 0x17
mov dword [esp + 8], eax
call fcn.0043e160
test eax, eax
jne 0x457718
mov dword [esp], edi
call sub.msvcrt.dll_strlen
mov dword [esp + 4], 0x2e
mov dword [esp + 8], eax
mov ebx, eax
mov dword [esp], edi
call fcn.00471420
test eax, eax
je 0x45800f
sub eax, edi
mov dword [esp + 4], 0x2e
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.00471420
test eax, eax
je 0x45800f
add eax, 1
mov edx, eax
sub edx, edi
sub ebx, edx
test eax, eax
cmovne edi, eax
add ebx, edi
cmp ebx, edi
jbe 0x457713
mov eax, 0x1505
mov esi, eax
add edi, 1
shl esi, 5
add esi, eax
movsx eax, byte [edi - 1]
mov dword [esp], eax
call fcn.0046c390
movsx eax, al
xor eax, esi
cmp ebx, edi
jne 0x45801e
movzx ebx, al
jmp 0x457718
test edx, edx
je 0x4577b9
mov eax, dword [esi]
test eax, eax
jne 0x45775a
mov eax, dword [esp + 0x20a4]
cmp byte [eax + 0x404], 0
jne 0x45810f
mov dword [esi], ebp
mov eax, dword [esp + 0x20a4]
add dword [eax + 0x408], 1
add esp, 0x208c
mov eax, ebp
pop ebx
pop esi
pop edi
pop ebp
ret
test al, 2
je 0x457f1d
cmp byte [ebp + 0x30], 0
jne 0x457f02
jmp 0x457eb3
movzx esi, byte [esp + 0x4f]
jmp 0x457d3c
mov edx, dword [ebp + 0x1c]
or edx, dword [ebp + 0x18]
jne 0x457f43
jmp 0x457eb3
mov ebx, 6
mov eax, dword [esp + 0x44]
mov dword [esp + 4], 0x5e7155
mov dword [esp], 0
mov dword [esp + 8], eax
call fcn.0046cdb0
cmp ebx, 6
jne 0x457eb3
mov dword [esp], 0x5e7162
call dword [0x536384]
mov dword [ebp + 8], eax
mov eax, ebp
call fcn.004573b0
jmp 0x457eba
cmp byte [eax + 0x404], 0
je 0x458160
mov eax, dword [ebp + 0x18]
mov edx, dword [ebp + 0x1c]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], edx
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 4]
mov dword [esp + 8], str.Added
mov dword [esp + 4], str._s_cookie__s__s__for_domain__s__path__s__expire__I64d_n
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20a0]
mov dword [esp], eax
call fcn.0045fe80
test esi, esi
jne 0x45806b
mov dword [ebx], ebp
jmp 0x45806d
mov byte [ebp + 0x30], 0
mov dword [esp + 4], 0x5e7157
mov dword [esp], ebx
call fcn.0046c3b0
test eax, eax
je 0x4586cc
mov esi, 1
cmp byte [esp + 0x4e], 0
jne 0x4582a1
mov eax, dword [esp + 0x20a4]
cmp byte [eax + 0x404], 0
jne 0x4582a1
mov ebx, 4
jmp 0x4580c5
mov dword [ebp + 0x18], 0xffffffff
mov dword [ebp + 0x1c], 0x7fffffff
cmp byte [esp + 0x40], 0
jne 0x457eb3
mov esi, dword [ebp + 0x14]
test esi, esi
jne 0x4581e0
mov ebx, dword [esp + 0x20b4]
test ebx, ebx
jne 0x458514
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x4581f6
mov eax, dword [esp + 0x20b8]
test eax, eax
jne 0x458564
mov ecx, dword [ebp + 4]
test ecx, ecx
jne 0x457eec
jmp 0x457eb3
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4581bf
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00440240
mov ebx, eax
sar ebx, 0x1f
mov edx, ebx
or edx, eax
jne 0x458534
mov dword [ebp + 0x18], 1
mov dword [ebp + 0x1c], 0
jmp 0x4581bf
lea eax, [edi + 1]
mov dword [esp + 4], 0x2f
mov dword [esp + 0x38], edx
mov dword [esp], eax
call sub.msvcrt.dll_strchr
test eax, eax
mov edx, dword [esp + 0x38]
je 0x4584d3
sub eax, edi
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], edi
call fcn.0046c4f0
test eax, eax
je 0x4577b9
jmp 0x457eb3
mov dword [esp + 4], 0x3b
mov dword [esp], ebx
call sub.msvcrt.dll_strchr
test eax, eax
mov dword [esp + 0x54], eax
jne 0x45796a
jmp 0x457bcb
mov byte [ebp + 0x30], 1
jmp 0x457d58
mov dword [esp], 0
call sub.msvcrt.dll_time
mov ecx, dword [esp + 0x20a4]
mov dword [esp + 0x38], eax
sar eax, 0x1f
mov dword [esp + 0x3c], eax
mov dword [esp + 0x48], ebp
mov eax, ecx
mov edi, ecx
add eax, 0x400
mov dword [esp + 0x40], eax
lea esi, [esi]
mov ebx, dword [edi]
test ebx, ebx
je 0x45839e
xor ebp, ebp
mov esi, ebp
jmp 0x458384
cmp dword [esp + 0x3c], eax
jle 0x4583b4
test esi, esi
je 0x4583c4
mov dword [esi], ebp
mov eax, dword [esp + 0x20a4]
sub dword [eax + 0x408], 1
mov eax, dword [ebx + 0x20]
mov dword [esp], eax
call dword [0x53638c]
mov eax, dword [ebx + 0x14]
mov dword [esp], eax
call dword [0x53638c]
mov eax, dword [ebx + 0xc]
mov dword [esp], eax
call dword [0x53638c]
mov eax, dword [ebx + 0x10]
mov dword [esp], eax
call dword [0x53638c]
mov eax, dword [ebx + 4]
mov dword [esp], eax
call dword [0x53638c]
mov eax, dword [ebx + 8]
mov dword [esp], eax
call dword [0x53638c]
mov eax, dword [ebx + 0x2c]
mov dword [esp], eax
call dword [0x53638c]
mov eax, dword [ebx + 0x28]
mov dword [esp], eax
call dword [0x53638c]
mov dword [esp], ebx
mov ebx, ebp
call dword [0x53638c]
test ebp, ebp
je 0x45839e
mov edx, dword [ebx + 0x18]
mov eax, dword [ebx + 0x1c]
mov ebp, dword [ebx]
mov ecx, edx
or ecx, eax
jne 0x4582f3
test ebp, ebp
mov esi, ebx
mov ebx, ebp
jne 0x458384
add edi, 4
cmp edi, dword [esp + 0x40]
jne 0x4582e0
mov ebp, dword [esp + 0x48]
jmp 0x457f75
jl 0x458396
cmp dword [esp + 0x38], edx
jbe 0x458396
test esi, esi
jne 0x458305
mov dword [edi], ebp
jmp 0x458307
lea eax, [esp + 0x80]
mov dword [esp], str.secure
mov dword [esp + 4], eax
call fcn.0046c3b0
test eax, eax
je 0x458685
cmp byte [esp + 0x4e], 0
jne 0x458410
mov eax, dword [esp + 0x20a4]
movzx eax, byte [eax + 0x404]
test al, al
je 0x458410
mov byte [esp + 0x40], al
jmp 0x457bcb
mov byte [ebp + 0x30], 1
jmp 0x457b68
cmp byte [esp + 0x5c], 0x3d
jne 0x4588b4
lea eax, [esp + 0x80]
mov dword [esp], eax
call dword [0x536384]
mov dword [ebp + 4], eax
mov dword [esp], ebx
call dword [0x536384]
mov edx, dword [ebp + 4]
mov dword [ebp + 8], eax
test edx, edx
sete dl
test eax, eax
sete al
or al, dl
je 0x457b68
jmp 0x458403
test dl, dl
je 0x458488
mov ecx, dword [esp + 0x58]
jmp 0x458478
cmp dl, 0x20
je 0x458474
cmp dl, 9
jne 0x458484
test eax, eax
je 0x458484
sub eax, 1
movzx edx, byte [ebx + eax - 1]
test dl, dl
jne 0x45846a
mov dword [esp + 0x58], ecx
mov byte [esp + eax + 0x80], 0
jmp 0x457a6d
cmp byte [esp + 0x81], 0x5f
jne 0x457af7
lea eax, [esp + 0x80]
mov dword [esp + 8], 9
mov dword [esp], str.__Secure_
mov dword [esp + 4], eax
call fcn.0046c4f0
test eax, eax
je 0x4588be
or byte [ebp + 0x38], 1
jmp 0x457af7
mov dword [esp], edi
mov dword [esp + 0x38], edx
call sub.msvcrt.dll_strlen
mov edx, dword [esp + 0x38]
jmp 0x458261
mov dword [esp + 8], 7
mov eax, dword [ebp + 4]
mov dword [esp], str.__Host_
mov dword [esp + 4], eax
call fcn.0046c4f0
test eax, eax
je 0x457e21
or byte [ebp + 0x38], 2
jmp 0x457e21
mov eax, dword [esp + 0x20b4]
mov dword [esp], eax
call dword [0x536384]
test eax, eax
mov dword [ebp + 0x14], eax
jne 0x4581e0
jmp 0x457eb3
test ebx, ebx
js 0x458815
mov dword [ebp + 0x18], eax
mov dword [ebp + 0x1c], ebx
jmp 0x4581bf
mov dword [esp], 0x5e7162
call dword [0x536384]
test eax, eax
mov dword [ebp + 8], eax
jne 0x457eec
jmp 0x457eb3
mov eax, dword [esp + 0x20b8]
mov dword [esp + 4], 0x3f
mov dword [esp], eax
call sub.msvcrt.dll_strchr
test eax, eax
je 0x45883c
sub eax, dword [esp + 0x20b8]
mov dword [esp + 4], 0x2f
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20b8]
mov dword [esp], eax
call fcn.00471420
test eax, eax
je 0x4581f6
sub eax, dword [esp + 0x20b8]
mov ebx, eax
lea esi, [eax + 1]
lea eax, [eax + 2]
mov dword [esp], eax
call dword [0x536390]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x457eb3
mov edi, dword [esp + 0x20b8]
mov dword [esp + 8], esi
mov dword [esp], eax
mov dword [esp + 4], edi
call sub.msvcrt.dll_memcpy
mov eax, dword [ebp + 0xc]
mov byte [eax + ebx + 1], 0
mov eax, dword [ebp + 0xc]
call fcn.00457550
test eax, eax
mov dword [ebp + 0x10], eax
jne 0x4581f6
jmp 0x457eb3
mov esi, 0x5e715c
mov ecx, 6
mov edi, ebx
repe cmpsb byte [esi], byte es:[edi]
je 0x457d0f
mov dword [esp], ebx
call eax
test eax, eax
mov dword [ebp + 0xc], eax
je 0x458832
call fcn.00457550
mov dword [ebp + 0x10], eax
test eax, eax
mov eax, dword [esp + 0x44]
setne dl
sete cl
mov dword [esp + 4], 0x5e7155
mov dword [esp], 0
mov esi, ecx
mov edi, edx
mov dword [esp + 8], eax
mov byte [esp + 0x50], dl
call fcn.0046cdb0
test eax, eax
mov ebx, eax
je 0x45867b
movzx edx, byte [esp + 0x50]
test dl, dl
jne case.0x45770c.3
mov eax, 3
jmp 0x457edb
lea eax, [esp + 0x80]
mov dword [esp], str.httponly
mov dword [esp + 4], eax
call fcn.0046c3b0
test eax, eax
je 0x4586b3
mov byte [ebp + 0x32], 1
jmp 0x457b68
mov eax, 1
jmp 0x457edb
cmp byte [esp + 0x5c], 0x3d
jne 0x457b68
jmp 0x457b0a
mov edi, dword [esp + 0x58]
jmp 0x457abe
mov eax, dword [esp + 0x44]
mov dword [esp + 4], 0x5e7155
mov esi, 1
mov dword [esp], 0
mov dword [esp + 8], eax
call fcn.0046cdb0
movzx edi, byte [esp + 0x38]
mov eax, 4
jmp 0x457edb
mov ecx, dword [esp + 0x58]
mov edi, eax
mov eax, ebp
xor ebp, ebp
mov dword [esp + 0x38], ecx
call fcn.004573b0
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x20a0]
mov dword [esp + 8], edi
mov dword [esp + 4], str.oversized_cookie_dropped__name_val__zu___zu_bytes_n
mov dword [esp + 0xc], ecx
mov dword [esp], eax
call fcn.0045fe80
jmp 0x457ebc
lea eax, [esp + 0x80]
mov dword [esp], str.domain
mov dword [esp + 4], eax
call fcn.0046c3b0
test eax, eax
je 0x4588ee
xor eax, eax
cmp byte [ebx], 0x2e
mov dword [esp + 4], 0x2e
sete al
add ebx, eax
mov dword [esp], ebx
call sub.msvcrt.dll_strchr
test eax, eax
je 0x458a0b
mov edi, dword [esp + 0x20b4]
test edi, edi
je 0x458858
lea eax, [esp + 0x6c]
mov dword [esp], 2
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20b4]
mov dword [esp + 4], eax
call fcn.0043e160
test eax, eax
jne 0x4587d1
lea eax, [esp + 0x70]
mov dword [esp], 0x17
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20b4]
mov dword [esp + 4], eax
call fcn.0043e160
test eax, eax
je 0x45892f
mov eax, dword [esp + 0x20b4]
mov dword [esp], ebx
mov dword [esp + 4], eax
call sub.msvcrt.dll_strcmp
test eax, eax
je 0x458894
mov eax, dword [esp + 0x20a0]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.skipped_cookie_with_bad_tailmatch_domain:__s_n
mov dword [esp], eax
call fcn.0045fe80
movzx eax, byte [esp + 0x4f]
mov byte [esp + 0x40], al
jmp 0x457b68
mov dword [ebp + 0x18], 0
mov dword [ebp + 0x1c], 0
jmp 0x4581bf
mov eax, 4
jmp 0x457edb
mov ebx, 3
jmp 0x4580c5
mov eax, dword [esp + 0x20b8]
mov dword [esp + 4], 0x2f
mov dword [esp], eax
call sub.msvcrt.dll_strrchr
jmp 0x4585a5
lea eax, [esp + 0x6c]
mov dword [esp + 4], ebx
mov dword [esp], 2
mov dword [esp + 8], eax
call fcn.0043e160
test eax, eax
jne 0x458894
lea eax, [esp + 0x70]
mov dword [esp + 4], ebx
mov dword [esp], 0x17
mov dword [esp + 8], eax
call fcn.0043e160
test eax, eax
je 0x4589a2
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call dword [0x53638c]
mov dword [esp], ebx
call dword [0x536384]
test eax, eax
mov dword [ebp + 0x14], eax
jne 0x457b68
movzx eax, byte [esp + 0x38]
jmp 0x458403
lea eax, [esp + 0x80]
mov dword [esp + 8], 7
mov dword [esp], str.__Host_
mov dword [esp + 4], eax
call fcn.0046c4f0
test eax, eax
je 0x457af7
or byte [ebp + 0x38], 2
jmp 0x457af7
lea eax, [esp + 0x80]
mov dword [esp], str.version
mov dword [esp + 4], eax
call fcn.0046c3b0
test eax, eax
je 0x4589cb
mov eax, dword [ebp + 0x28]
mov dword [esp], eax
call dword [0x53638c]
mov dword [esp], ebx
call dword [0x536384]
test eax, eax
mov dword [ebp + 0x28], eax
jne 0x457b68
jmp 0x4588b4
or edx, 0xffffffff
xor eax, eax
mov edi, ebx
mov ecx, edx
repne scasb al, byte es:[edi]
not ecx
lea edi, [ecx - 1]
mov ecx, edx
mov dword [esp + 0x58], edi
mov edi, dword [esp + 0x20b4]
repne scasb al, byte es:[edi]
mov eax, ecx
not eax
lea edi, [eax - 1]
cmp dword [esp + 0x58], edi
ja 0x4587ec
mov edx, edi
sub edx, dword [esp + 0x58]
mov dword [esp], ebx
mov ecx, edx
add ecx, dword [esp + 0x20b4]
mov dword [esp + 0x5c], edx
mov dword [esp + 4], ecx
call fcn.0046c3b0
test eax, eax
je 0x4587ec
cmp dword [esp + 0x58], edi
je 0x4589a2
mov eax, dword [esp + 0x20b4]
mov edx, dword [esp + 0x5c]
cmp byte [eax + edx - 1], 0x2e
jne 0x4587ec
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call dword [0x53638c]
mov dword [esp], ebx
call dword [0x536384]
test eax, eax
mov dword [ebp + 0x14], eax
je 0x4588b4
mov byte [ebp + 0x24], 1
jmp 0x457b68
lea eax, [esp + 0x80]
mov dword [esp], str.max_age
mov dword [esp + 4], eax
call fcn.0046c3b0
test eax, eax
je 0x458a33
mov eax, dword [ebp + 0x2c]
mov dword [esp], eax
call dword [0x53638c]
mov dword [esp], ebx
call dword [0x536384]
test eax, eax
mov dword [ebp + 0x2c], eax
jne 0x457b68
jmp 0x4588b4
mov dword [esp + 4], str.localhost
mov dword [esp], ebx
call fcn.0046c3b0
test eax, eax
jne 0x458778
mov dword [esp + 0x20b4], 0x5e707a
jmp 0x458787
lea eax, [esp + 0x80]
mov dword [esp], str.expires
mov dword [esp + 4], eax
call fcn.0046c3b0
test eax, eax
je 0x457b68
mov eax, dword [ebp + 0x20]
mov dword [esp], eax
call dword [0x53638c]
mov dword [esp], ebx
call dword [0x536384]
test eax, eax
mov dword [ebp + 0x20], eax
jne 0x457b68
jmp 0x4588b4