Function at 0x5a8a00
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x34c
call fcn.005bd7a0
mov eax, dword [0x6ce8d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov dword [ebp - 0x2b8], 0x40
mov dword [ebp - 0x2f8], 0x28
mov dword [ebp - 0x2bc], 8
mov byte [ebp - 0x2c9], 1
cmp dword [ebp + 0x20], 0x100000
jae 0x5a8a52
mov dword [ebp - 0x330], 0
jmp 0x5a8a73
push str.data_plus_mac_plus_padding_size___1024__1024
push 0x1c7
push str.._ssl_s3_cbc.c
call fcn.004c93f0
add esp, 0xc
mov dword [ebp - 0x330], 1
mov eax, dword [ebp + 8]
push eax
call fcn.004b5860
add esp, 4
push eax
call fcn.00469290
add esp, 4
mov dword [ebp - 0x2e4], eax
cmp dword [ebp - 0x2e4], 0x2a0
jg 0x5a8ac5
cmp dword [ebp - 0x2e4], 0x2a0
je 0x5a8bc2
cmp dword [ebp - 0x2e4], 4
je 0x5a8afa
cmp dword [ebp - 0x2e4], 0x40
je 0x5a8b48
jmp 0x5a8c9b
cmp dword [ebp - 0x2e4], 0x2a1
je 0x5a8bff
cmp dword [ebp - 0x2e4], 0x2a2
je 0x5a8c4d
cmp dword [ebp - 0x2e4], 0x2a3
je 0x5a8b85
jmp 0x5a8c9b
lea ecx, [ebp - 0x2ac]
push ecx
call fcn.004c5490
add esp, 4
test eax, eax
jg 0x5a8b14
xor eax, eax
jmp 0x5a9678
mov dword [ebp - 0x2e8], 0x5a99d0
mov dword [ebp - 0x2c8], 0x4bfd60
mov dword [ebp - 0x2d0], 0x10
mov dword [ebp - 0x2f8], 0x30
mov byte [ebp - 0x2c9], 0
jmp 0x5a8cc8
lea edx, [ebp - 0x2ac]
push edx
call fcn.0055abb0
add esp, 4
test eax, eax
jg 0x5a8b62
xor eax, eax
jmp 0x5a9678
mov dword [ebp - 0x2e8], 0x5a9b50
mov dword [ebp - 0x2c8], 0x4d01d0
mov dword [ebp - 0x2d0], 0x14
jmp 0x5a8cc8
lea eax, [ebp - 0x2ac]
push eax
call fcn.004c1af0
add esp, 4
test eax, eax
jg 0x5a8b9f
xor eax, eax
jmp 0x5a9678
mov dword [ebp - 0x2e8], 0x5a9da0
mov dword [ebp - 0x2c8], 0x4c2010
mov dword [ebp - 0x2d0], 0x1c
jmp 0x5a8cc8
lea ecx, [ebp - 0x2ac]
push ecx
call fcn.004c1f50
add esp, 4
test eax, eax
jg 0x5a8bdc
xor eax, eax
jmp 0x5a9678
mov dword [ebp - 0x2e8], 0x5a9da0
mov dword [ebp - 0x2c8], 0x4c2010
mov dword [ebp - 0x2d0], 0x20
jmp 0x5a8cc8
lea edx, [ebp - 0x2ac]
push edx
call fcn.004d2c00
add esp, 4
test eax, eax
jg 0x5a8c19
xor eax, eax
jmp 0x5a9678
mov dword [ebp - 0x2e8], 0x5a9e60
mov dword [ebp - 0x2c8], 0x4d32f0
mov dword [ebp - 0x2d0], 0x30
mov dword [ebp - 0x2b8], 0x80
mov dword [ebp - 0x2bc], 0x10
jmp 0x5a8cc8
lea eax, [ebp - 0x2ac]
push eax
call fcn.004d31d0
add esp, 4
test eax, eax
jg 0x5a8c67
xor eax, eax
jmp 0x5a9678
mov dword [ebp - 0x2e8], 0x5a9e60
mov dword [ebp - 0x2c8], 0x4d32f0
mov dword [ebp - 0x2d0], 0x40
mov dword [ebp - 0x2b8], 0x80
mov dword [ebp - 0x2bc], 0x10
jmp 0x5a8cc8
push 0x644034
push 0x209
push str.._ssl_s3_cbc.c
call fcn.004c93f0
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x5a8cc1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
xor eax, eax
jmp 0x5a9678
cmp dword [ebp - 0x2bc], 0x10
ja 0x5a8cdd
mov dword [ebp - 0x334], 0
jmp 0x5a8cfe
push str.md_length_size___MAX_HASH_BIT_COUNT_BYTES
push 0x20f
push str.._ssl_s3_cbc.c
call fcn.004c93f0
add esp, 0xc
mov dword [ebp - 0x334], 1
cmp dword [ebp - 0x2b8], 0x80
ja 0x5a8d16
mov dword [ebp - 0x310], 0
jmp 0x5a8d37
push str.md_block_size___MAX_HASH_BLOCK_SIZE
push 0x210
push str.._ssl_s3_cbc.c
call fcn.004c93f0
add esp, 0xc
mov dword [ebp - 0x310], 1
cmp dword [ebp - 0x2d0], 0x40
ja 0x5a8d4c
mov dword [ebp - 0x314], 0
jmp 0x5a8d6d
push str.md_size___EVP_MAX_MD_SIZE
push 0x211
push str.._ssl_s3_cbc.c
call fcn.004c93f0
add esp, 0xc
mov dword [ebp - 0x314], 1
mov dword [ebp - 0x2dc], 0xd
movsx edx, byte [ebp + 0x2c]
test edx, edx
je 0x5a8d92
mov eax, dword [ebp - 0x2f8]
mov ecx, dword [ebp + 0x28]
lea edx, [ecx + eax + 0xb]
mov dword [ebp - 0x2dc], edx
movsx eax, byte [ebp + 0x2c]
test eax, eax
je 0x5a8da6
mov dword [ebp - 0x300], 2
jmp 0x5a8db0
mov dword [ebp - 0x300], 6
mov ecx, dword [ebp - 0x300]
mov dword [ebp - 0x2fc], ecx
mov edx, dword [ebp + 0x20]
add edx, dword [ebp - 0x2dc]
mov dword [ebp - 0x318], edx
mov eax, dword [ebp - 0x318]
sub eax, dword [ebp - 0x2d0]
sub eax, 1
mov dword [ebp - 0x31c], eax
mov ecx, dword [ebp - 0x2bc]
mov edx, dword [ebp - 0x31c]
lea eax, [edx + ecx + 1]
mov ecx, dword [ebp - 0x2b8]
lea eax, [eax + ecx - 1]
xor edx, edx
div dword [ebp - 0x2b8]
mov dword [ebp - 0x308], eax
mov dword [ebp - 0x2f4], 0
mov dword [ebp - 0x2d8], 0
mov edx, dword [ebp + 0x1c]
add edx, dword [ebp - 0x2dc]
sub edx, dword [ebp - 0x2d0]
mov dword [ebp - 0x2ec], edx
mov eax, dword [ebp - 0x2ec]
xor edx, edx
div dword [ebp - 0x2b8]
mov dword [ebp - 0x30c], edx
mov eax, dword [ebp - 0x2ec]
xor edx, edx
div dword [ebp - 0x2b8]
mov dword [ebp - 0x320], eax
mov eax, dword [ebp - 0x2ec]
add eax, dword [ebp - 0x2bc]
xor edx, edx
div dword [ebp - 0x2b8]
mov dword [ebp - 0x324], eax
movsx eax, byte [ebp + 0x2c]
test eax, eax
je 0x5a8e87
mov dword [ebp - 0x304], 1
jmp 0x5a8e91
mov dword [ebp - 0x304], 0
mov ecx, dword [ebp - 0x2fc]
add ecx, dword [ebp - 0x304]
cmp dword [ebp - 0x308], ecx
jbe 0x5a8eca
mov edx, dword [ebp - 0x308]
sub edx, dword [ebp - 0x2fc]
mov dword [ebp - 0x2f4], edx
mov eax, dword [ebp - 0x2b8]
imul eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x2d8], eax
mov ecx, dword [ebp - 0x2ec]
shl ecx, 3
mov dword [ebp - 0x2d4], ecx
movsx edx, byte [ebp + 0x2c]
test edx, edx
jne 0x5a8fbf
mov eax, dword [ebp - 0x2b8]
mov ecx, dword [ebp - 0x2d4]
lea edx, [ecx + eax*8]
mov dword [ebp - 0x2d4], edx
mov eax, dword [ebp - 0x2b8]
push eax
push 0
lea ecx, [ebp - 0xd4]
push ecx
call fcn.005d7e20
add esp, 0xc
cmp dword [ebp + 0x28], 0x80
ja 0x5a8f27
mov dword [ebp - 0x32c], 0
jmp 0x5a8f48
push str.mac_secret_length___sizeof_hmac_pad_
push 0x271
push str.._ssl_s3_cbc.c
call fcn.004c93f0
add esp, 0xc
mov dword [ebp - 0x32c], 1
mov edx, dword [ebp + 0x28]
push edx
mov eax, dword [ebp + 0x24]
push eax
lea ecx, [ebp - 0xd4]
push ecx
call fcn.005d78a0
add esp, 0xc
mov dword [ebp - 0x2b4], 0
jmp 0x5a8f7a
mov edx, dword [ebp - 0x2b4]
add edx, 1
mov dword [ebp - 0x2b4], edx
mov eax, dword [ebp - 0x2b4]
cmp eax, dword [ebp - 0x2b8]
jae 0x5a8fa8
mov ecx, dword [ebp - 0x2b4]
movzx edx, byte [ebp + ecx - 0xd4]
xor edx, 0x36
mov eax, dword [ebp - 0x2b4]
mov byte [ebp + eax - 0xd4], dl
jmp 0x5a8f6b
lea ecx, [ebp - 0xd4]
push ecx
lea edx, [ebp - 0x2ac]
push edx
call dword [ebp - 0x2c8]
add esp, 8
movsx eax, byte [ebp - 0x2c9]
test eax, eax
je 0x5a902d
mov ecx, dword [ebp - 0x2bc]
sub ecx, 4
push ecx
push 0
lea edx, [ebp - 0x14]
push edx
call fcn.005d7e20
add esp, 0xc
mov eax, dword [ebp - 0x2d4]
shr eax, 0x18
mov ecx, dword [ebp - 0x2bc]
mov byte [ebp + ecx - 0x18], al
mov edx, dword [ebp - 0x2d4]
shr edx, 0x10
mov eax, dword [ebp - 0x2bc]
mov byte [ebp + eax - 0x17], dl
mov ecx, dword [ebp - 0x2d4]
shr ecx, 8
mov edx, dword [ebp - 0x2bc]
mov byte [ebp + edx - 0x16], cl
mov eax, dword [ebp - 0x2bc]
mov cl, byte [ebp - 0x2d4]
mov byte [ebp + eax - 0x15], cl
jmp 0x5a908b
mov edx, dword [ebp - 0x2bc]
push edx
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.005d7e20
add esp, 0xc
mov ecx, dword [ebp - 0x2d4]
shr ecx, 0x18
mov edx, dword [ebp - 0x2bc]
mov byte [ebp + edx - 0x19], cl
mov eax, dword [ebp - 0x2d4]
shr eax, 0x10
mov ecx, dword [ebp - 0x2bc]
mov byte [ebp + ecx - 0x1a], al
mov edx, dword [ebp - 0x2d4]
shr edx, 8
mov eax, dword [ebp - 0x2bc]
mov byte [ebp + eax - 0x1b], dl
mov ecx, dword [ebp - 0x2bc]
mov dl, byte [ebp - 0x2d4]
mov byte [ebp + ecx - 0x1c], dl
cmp dword [ebp - 0x2d8], 0
jbe 0x5a9240
movsx eax, byte [ebp + 0x2c]
test eax, eax
je 0x5a919f
mov ecx, dword [ebp - 0x2dc]
cmp ecx, dword [ebp - 0x2b8]
ja 0x5a90b9
xor eax, eax
jmp 0x5a9678
mov edx, dword [ebp - 0x2dc]
sub edx, dword [ebp - 0x2b8]
mov dword [ebp - 0x2f0], edx
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
call dword [ebp - 0x2c8]
add esp, 8
mov edx, dword [ebp - 0x2f0]
push edx
mov eax, dword [ebp + 0x14]
add eax, dword [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0x154]
push ecx
call fcn.005d78a0
add esp, 0xc
mov edx, dword [ebp - 0x2b8]
sub edx, dword [ebp - 0x2f0]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp - 0x2f0]
lea edx, [ebp + ecx - 0x154]
push edx
call fcn.005d78a0
add esp, 0xc
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
call dword [ebp - 0x2c8]
add esp, 8
mov dword [ebp - 0x2b4], 1
jmp 0x5a9158
mov edx, dword [ebp - 0x2b4]
add edx, 1
mov dword [ebp - 0x2b4], edx
mov eax, dword [ebp - 0x2d8]
xor edx, edx
div dword [ebp - 0x2b8]
sub eax, 1
cmp dword [ebp - 0x2b4], eax
jae 0x5a919a
mov eax, dword [ebp - 0x2b8]
imul eax, dword [ebp - 0x2b4]
add eax, dword [ebp + 0x18]
sub eax, dword [ebp - 0x2f0]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
call dword [ebp - 0x2c8]
add esp, 8
jmp 0x5a9149
jmp 0x5a9240
push 0xd
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x154]
push eax
call fcn.005d78a0
add esp, 0xc
mov ecx, dword [ebp - 0x2b8]
sub ecx, 0xd
push ecx
mov edx, dword [ebp + 0x18]
push edx
lea eax, [ebp - 0x147]
push eax
call fcn.005d78a0
add esp, 0xc
lea ecx, [ebp - 0x154]
push ecx
lea edx, [ebp - 0x2ac]
push edx
call dword [ebp - 0x2c8]
add esp, 8
mov dword [ebp - 0x2b4], 1
jmp 0x5a9203
mov eax, dword [ebp - 0x2b4]
add eax, 1
mov dword [ebp - 0x2b4], eax
mov eax, dword [ebp - 0x2d8]
xor edx, edx
div dword [ebp - 0x2b8]
cmp dword [ebp - 0x2b4], eax
jae 0x5a9240
mov ecx, dword [ebp - 0x2b8]
imul ecx, dword [ebp - 0x2b4]
mov edx, dword [ebp + 0x18]
lea eax, [edx + ecx - 0xd]
push eax
lea ecx, [ebp - 0x2ac]
push ecx
call dword [ebp - 0x2c8]
add esp, 8
jmp 0x5a91f4
push 0x40
push 0
lea edx, [ebp - 0x54]
push edx
call fcn.005d7e20
add esp, 0xc
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x2b4], eax
jmp 0x5a926d
mov ecx, dword [ebp - 0x2b4]
add ecx, 1
mov dword [ebp - 0x2b4], ecx
mov edx, dword [ebp - 0x2f4]
add edx, dword [ebp - 0x2fc]
cmp dword [ebp - 0x2b4], edx
ja 0x5a94e9
mov eax, dword [ebp - 0x320]
push eax
mov ecx, dword [ebp - 0x2b4]
push ecx
call fcn.005a86d0
add esp, 8
mov byte [ebp - 0x2bd], al
mov edx, dword [ebp - 0x324]
push edx
mov eax, dword [ebp - 0x2b4]
push eax
call fcn.005a86d0
add esp, 8
mov byte [ebp - 0x2be], al
mov dword [ebp - 0x2c4], 0
jmp 0x5a92d8
mov ecx, dword [ebp - 0x2c4]
add ecx, 1
mov dword [ebp - 0x2c4], ecx
mov edx, dword [ebp - 0x2c4]
cmp edx, dword [ebp - 0x2b8]
jae 0x5a945d
mov byte [ebp - 0x2ad], 0
mov eax, dword [ebp - 0x2d8]
cmp eax, dword [ebp - 0x2dc]
jae 0x5a9312
mov ecx, dword [ebp + 0x14]
add ecx, dword [ebp - 0x2d8]
mov dl, byte [ecx]
mov byte [ebp - 0x2ad], dl
jmp 0x5a933b
mov eax, dword [ebp + 0x20]
add eax, dword [ebp - 0x2dc]
cmp dword [ebp - 0x2d8], eax
jae 0x5a933b
mov ecx, dword [ebp - 0x2d8]
sub ecx, dword [ebp - 0x2dc]
mov edx, dword [ebp + 0x18]
mov al, byte [edx + ecx]
mov byte [ebp - 0x2ad], al
mov ecx, dword [ebp - 0x2d8]
add ecx, 1
mov dword [ebp - 0x2d8], ecx
movzx ebx, byte [ebp - 0x2bd]
mov edx, dword [ebp - 0x30c]
push edx
mov eax, dword [ebp - 0x2c4]
push eax
call fcn.005a86f0
add esp, 8
movzx ecx, al
and ebx, ecx
mov byte [ebp - 0x2dd], bl
movzx ebx, byte [ebp - 0x2bd]
mov edx, dword [ebp - 0x30c]
add edx, 1
push edx
mov eax, dword [ebp - 0x2c4]
push eax
call fcn.005a86f0
add esp, 8
movzx ecx, al
and ebx, ecx
mov byte [ebp - 0x2de], bl
movzx edx, byte [ebp - 0x2ad]
push edx
push 0x80
movzx eax, byte [ebp - 0x2dd]
push eax
call fcn.005a8710
add esp, 0xc
mov byte [ebp - 0x2ad], al
movzx ecx, byte [ebp - 0x2ad]
movzx edx, byte [ebp - 0x2de]
not edx
and ecx, edx
mov byte [ebp - 0x2ad], cl
movzx eax, byte [ebp - 0x2be]
not eax
movzx ecx, byte [ebp - 0x2bd]
or eax, ecx
movzx edx, byte [ebp - 0x2ad]
and edx, eax
mov byte [ebp - 0x2ad], dl
mov eax, dword [ebp - 0x2b8]
sub eax, dword [ebp - 0x2bc]
cmp dword [ebp - 0x2c4], eax
jb 0x5a9445
movzx ecx, byte [ebp - 0x2ad]
push ecx
mov edx, dword [ebp - 0x2b8]
sub edx, dword [ebp - 0x2bc]
mov eax, dword [ebp - 0x2c4]
sub eax, edx
movzx ecx, byte [ebp + eax - 0x14]
push ecx
movzx edx, byte [ebp - 0x2be]
push edx
call fcn.005a8710
add esp, 0xc
mov byte [ebp - 0x2ad], al
mov eax, dword [ebp - 0x2c4]
mov cl, byte [ebp - 0x2ad]
mov byte [ebp + eax - 0x1d4], cl
jmp 0x5a92c9
lea edx, [ebp - 0x1d4]
push edx
lea eax, [ebp - 0x2ac]
push eax
call dword [ebp - 0x2c8]
add esp, 8
lea ecx, [ebp - 0x1d4]
push ecx
lea edx, [ebp - 0x2ac]
push edx
call dword [ebp - 0x2e8]
add esp, 8
mov dword [ebp - 0x2c4], 0
jmp 0x5a94a6
mov eax, dword [ebp - 0x2c4]
add eax, 1
mov dword [ebp - 0x2c4], eax
mov ecx, dword [ebp - 0x2c4]
cmp ecx, dword [ebp - 0x2d0]
jae 0x5a94e4
mov edx, dword [ebp - 0x2c4]
movzx eax, byte [ebp + edx - 0x1d4]
movzx ecx, byte [ebp - 0x2be]
and eax, ecx
mov edx, dword [ebp - 0x2c4]
movzx ecx, byte [ebp + edx - 0x54]
or ecx, eax
mov edx, dword [ebp - 0x2c4]
mov byte [ebp + edx - 0x54], cl
jmp 0x5a9497
jmp 0x5a925e
lea eax, [ebp - 0x34c]
push eax
call fcn.004b1310
add esp, 4
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
lea eax, [ebp - 0x34c]
push eax
call fcn.004b0d40
add esp, 0xc
test eax, eax
jg 0x5a9518
jmp 0x5a9667
movsx ecx, byte [ebp + 0x2c]
test ecx, ecx
je 0x5a959c
mov edx, dword [ebp - 0x2f8]
push edx
push 0x5c
lea eax, [ebp - 0xd4]
push eax
call fcn.005d7e20
add esp, 0xc
mov ecx, dword [ebp + 0x28]
push ecx
mov edx, dword [ebp + 0x24]
push edx
lea eax, [ebp - 0x34c]
push eax
call fcn.004b0fb0
add esp, 0xc
test eax, eax
jle 0x5a9592
mov ecx, dword [ebp - 0x2f8]
push ecx
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0x34c]
push eax
call fcn.004b0fb0
add esp, 0xc
test eax, eax
jle 0x5a9592
mov ecx, dword [ebp - 0x2d0]
push ecx
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x34c]
push eax
call fcn.004b0fb0
add esp, 0xc
test eax, eax
jg 0x5a9597
jmp 0x5a9667
jmp 0x5a9626
mov dword [ebp - 0x2b4], 0
jmp 0x5a95b7
mov ecx, dword [ebp - 0x2b4]
add ecx, 1
mov dword [ebp - 0x2b4], ecx
mov edx, dword [ebp - 0x2b4]
cmp edx, dword [ebp - 0x2b8]
jae 0x5a95e5
mov eax, dword [ebp - 0x2b4]
movzx ecx, byte [ebp + eax - 0xd4]
xor ecx, 0x6a
mov edx, dword [ebp - 0x2b4]
mov byte [ebp + edx - 0xd4], cl
jmp 0x5a95a8
mov eax, dword [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0xd4]
push ecx
lea edx, [ebp - 0x34c]
push edx
call fcn.004b0fb0
add esp, 0xc
test eax, eax
jle 0x5a9624
mov eax, dword [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x34c]
push edx
call fcn.004b0fb0
add esp, 0xc
test eax, eax
jg 0x5a9626
jmp 0x5a9667
lea eax, [ebp - 0x328]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x34c]
push edx
call fcn.004b0c10
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x5a9651
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x328]
mov dword [eax], ecx
lea edx, [ebp - 0x34c]
push edx
call fcn.004b0fd0
add esp, 4
mov eax, 1
jmp 0x5a9678
lea eax, [ebp - 0x34c]
push eax
call fcn.004b0fd0
add esp, 4
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005bd4a0
mov esp, ebp
pop ebp
ret