Function at 0x702f10
Capabilities:
Authenticate hmac

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x34c
call fcn.005b9d80
mov eax, dword [0x8aa514]
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 0x702f62
mov dword [ebp - 0x330], 0
jmp 0x702f83
push str.data_plus_mac_plus_padding_size___1024__1024
push 0x1c7
push str.._ssl_s3_cbc.c
call fcn.006239f0
add esp, 0xc
mov dword [ebp - 0x330], 1
mov eax, dword [ebp + 8]
push eax
call fcn.00616f30
add esp, 4
push eax
call fcn.00628de0
add esp, 4
mov dword [ebp - 0x2e4], eax
cmp dword [ebp - 0x2e4], 0x2a0
jg 0x702fd5
cmp dword [ebp - 0x2e4], 0x2a0
je 0x7030d2
cmp dword [ebp - 0x2e4], 4
je 0x70300a
cmp dword [ebp - 0x2e4], 0x40
je 0x703058
jmp 0x7031ab
cmp dword [ebp - 0x2e4], 0x2a1
je 0x70310f
cmp dword [ebp - 0x2e4], 0x2a2
je 0x70315d
cmp dword [ebp - 0x2e4], 0x2a3
je 0x703095
jmp 0x7031ab
lea ecx, [ebp - 0x2ac]
push ecx
call fcn.0061fae0
add esp, 4
test eax, eax
jg 0x703024
xor eax, eax
jmp 0x703b88
mov dword [ebp - 0x2e8], 0x703ee0
mov dword [ebp - 0x2c8], 0x61a3b0
mov dword [ebp - 0x2d0], 0x10
mov dword [ebp - 0x2f8], 0x30
mov byte [ebp - 0x2c9], 0
jmp 0x7031d8
lea edx, [ebp - 0x2ac]
push edx
call fcn.0062a7c0
add esp, 4
test eax, eax
jg 0x703072
xor eax, eax
jmp 0x703b88
mov dword [ebp - 0x2e8], 0x704060
mov dword [ebp - 0x2c8], 0x62a810
mov dword [ebp - 0x2d0], 0x14
jmp 0x7031d8
lea eax, [ebp - 0x2ac]
push eax
call fcn.0061c140
add esp, 4
test eax, eax
jg 0x7030af
xor eax, eax
jmp 0x703b88
mov dword [ebp - 0x2e8], 0x7042b0
mov dword [ebp - 0x2c8], 0x61c660
mov dword [ebp - 0x2d0], 0x1c
jmp 0x7031d8
lea ecx, [ebp - 0x2ac]
push ecx
call fcn.0061c5a0
add esp, 4
test eax, eax
jg 0x7030ec
xor eax, eax
jmp 0x703b88
mov dword [ebp - 0x2e8], 0x7042b0
mov dword [ebp - 0x2c8], 0x61c660
mov dword [ebp - 0x2d0], 0x20
jmp 0x7031d8
lea edx, [ebp - 0x2ac]
push edx
call fcn.0062d240
add esp, 4
test eax, eax
jg 0x703129
xor eax, eax
jmp 0x703b88
mov dword [ebp - 0x2e8], 0x704370
mov dword [ebp - 0x2c8], 0x62d930
mov dword [ebp - 0x2d0], 0x30
mov dword [ebp - 0x2b8], 0x80
mov dword [ebp - 0x2bc], 0x10
jmp 0x7031d8
lea eax, [ebp - 0x2ac]
push eax
call fcn.0062d810
add esp, 4
test eax, eax
jg 0x703177
xor eax, eax
jmp 0x703b88
mov dword [ebp - 0x2e8], 0x704370
mov dword [ebp - 0x2c8], 0x62d930
mov dword [ebp - 0x2d0], 0x40
mov dword [ebp - 0x2b8], 0x80
mov dword [ebp - 0x2bc], 0x10
jmp 0x7031d8
push 0x7fcfdc
push 0x209
push str.._ssl_s3_cbc.c
call fcn.006239f0
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x7031d1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], 0
xor eax, eax
jmp 0x703b88
cmp dword [ebp - 0x2bc], 0x10
ja 0x7031ed
mov dword [ebp - 0x334], 0
jmp 0x70320e
push str.md_length_size___MAX_HASH_BIT_COUNT_BYTES
push 0x20f
push str.._ssl_s3_cbc.c
call fcn.006239f0
add esp, 0xc
mov dword [ebp - 0x334], 1
cmp dword [ebp - 0x2b8], 0x80
ja 0x703226
mov dword [ebp - 0x310], 0
jmp 0x703247
push str.md_block_size___MAX_HASH_BLOCK_SIZE
push 0x210
push str.._ssl_s3_cbc.c
call fcn.006239f0
add esp, 0xc
mov dword [ebp - 0x310], 1
cmp dword [ebp - 0x2d0], 0x40
ja 0x70325c
mov dword [ebp - 0x314], 0
jmp 0x70327d
push str.md_size___EVP_MAX_MD_SIZE
push 0x211
push str.._ssl_s3_cbc.c
call fcn.006239f0
add esp, 0xc
mov dword [ebp - 0x314], 1
mov dword [ebp - 0x2dc], 0xd
movsx edx, byte [ebp + 0x2c]
test edx, edx
je 0x7032a2
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 0x7032b6
mov dword [ebp - 0x300], 2
jmp 0x7032c0
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 0x703397
mov dword [ebp - 0x304], 1
jmp 0x7033a1
mov dword [ebp - 0x304], 0
mov ecx, dword [ebp - 0x2fc]
add ecx, dword [ebp - 0x304]
cmp dword [ebp - 0x308], ecx
jbe 0x7033da
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 0x7034cf
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.007351d0
add esp, 0xc
cmp dword [ebp + 0x28], 0x80
ja 0x703437
mov dword [ebp - 0x32c], 0
jmp 0x703458
push str.mac_secret_length___sizeof_hmac_pad_
push 0x271
push str.._ssl_s3_cbc.c
call fcn.006239f0
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.00734c50
add esp, 0xc
mov dword [ebp - 0x2b4], 0
jmp 0x70348a
mov edx, dword [ebp - 0x2b4]
add edx, 1
mov dword [ebp - 0x2b4], edx
mov eax, dword [ebp - 0x2b4]
cmp eax, dword [ebp - 0x2b8]
jae 0x7034b8
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 0x70347b
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 0x70353d
mov ecx, dword [ebp - 0x2bc]
sub ecx, 4
push ecx
push 0
lea edx, [ebp - 0x14]
push edx
call fcn.007351d0
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 0x70359b
mov edx, dword [ebp - 0x2bc]
push edx
push 0
lea eax, [ebp - 0x14]
push eax
call fcn.007351d0
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 0x703750
movsx eax, byte [ebp + 0x2c]
test eax, eax
je 0x7036af
mov ecx, dword [ebp - 0x2dc]
cmp ecx, dword [ebp - 0x2b8]
ja 0x7035c9
xor eax, eax
jmp 0x703b88
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.00734c50
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.00734c50
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 0x703668
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 0x7036aa
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 0x703659
jmp 0x703750
push 0xd
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x154]
push eax
call fcn.00734c50
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.00734c50
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 0x703713
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 0x703750
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 0x703704
push 0x40
push 0
lea edx, [ebp - 0x54]
push edx
call fcn.007351d0
add esp, 0xc
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x2b4], eax
jmp 0x70377d
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 0x7039f9
mov eax, dword [ebp - 0x320]
push eax
mov ecx, dword [ebp - 0x2b4]
push ecx
call fcn.006756c0
add esp, 8
mov byte [ebp - 0x2bd], al
mov edx, dword [ebp - 0x324]
push edx
mov eax, dword [ebp - 0x2b4]
push eax
call fcn.006756c0
add esp, 8
mov byte [ebp - 0x2be], al
mov dword [ebp - 0x2c4], 0
jmp 0x7037e8
mov ecx, dword [ebp - 0x2c4]
add ecx, 1
mov dword [ebp - 0x2c4], ecx
mov edx, dword [ebp - 0x2c4]
cmp edx, dword [ebp - 0x2b8]
jae 0x70396d
mov byte [ebp - 0x2ad], 0
mov eax, dword [ebp - 0x2d8]
cmp eax, dword [ebp - 0x2dc]
jae 0x703822
mov ecx, dword [ebp + 0x14]
add ecx, dword [ebp - 0x2d8]
mov dl, byte [ecx]
mov byte [ebp - 0x2ad], dl
jmp 0x70384b
mov eax, dword [ebp + 0x20]
add eax, dword [ebp - 0x2dc]
cmp dword [ebp - 0x2d8], eax
jae 0x70384b
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.00702bd0
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.00702bd0
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.00710330
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 0x703955
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.00710330
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 0x7037d9
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 0x7039b6
mov eax, dword [ebp - 0x2c4]
add eax, 1
mov dword [ebp - 0x2c4], eax
mov ecx, dword [ebp - 0x2c4]
cmp ecx, dword [ebp - 0x2d0]
jae 0x7039f4
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 0x7039a7
jmp 0x70376e
lea eax, [ebp - 0x34c]
push eax
call fcn.0060b950
add esp, 4
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
lea eax, [ebp - 0x34c]
push eax
call fcn.0060b380
add esp, 0xc
test eax, eax
jg 0x703a28
jmp 0x703b77
movsx ecx, byte [ebp + 0x2c]
test ecx, ecx
je 0x703aac
mov edx, dword [ebp - 0x2f8]
push edx
push 0x5c
lea eax, [ebp - 0xd4]
push eax
call fcn.007351d0
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.0060b5f0
add esp, 0xc
test eax, eax
jle 0x703aa2
mov ecx, dword [ebp - 0x2f8]
push ecx
lea edx, [ebp - 0xd4]
push edx
lea eax, [ebp - 0x34c]
push eax
call fcn.0060b5f0
add esp, 0xc
test eax, eax
jle 0x703aa2
mov ecx, dword [ebp - 0x2d0]
push ecx
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x34c]
push eax
call fcn.0060b5f0
add esp, 0xc
test eax, eax
jg 0x703aa7
jmp 0x703b77
jmp 0x703b36
mov dword [ebp - 0x2b4], 0
jmp 0x703ac7
mov ecx, dword [ebp - 0x2b4]
add ecx, 1
mov dword [ebp - 0x2b4], ecx
mov edx, dword [ebp - 0x2b4]
cmp edx, dword [ebp - 0x2b8]
jae 0x703af5
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 0x703ab8
mov eax, dword [ebp - 0x2b8]
push eax
lea ecx, [ebp - 0xd4]
push ecx
lea edx, [ebp - 0x34c]
push edx
call fcn.0060b5f0
add esp, 0xc
test eax, eax
jle 0x703b34
mov eax, dword [ebp - 0x2d0]
push eax
lea ecx, [ebp - 0x54]
push ecx
lea edx, [ebp - 0x34c]
push edx
call fcn.0060b5f0
add esp, 0xc
test eax, eax
jg 0x703b36
jmp 0x703b77
lea eax, [ebp - 0x328]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x34c]
push edx
call fcn.0060b250
add esp, 0xc
cmp dword [ebp + 0x10], 0
je 0x703b61
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x328]
mov dword [eax], ecx
lea edx, [ebp - 0x34c]
push edx
call fcn.0060b610
add esp, 4
mov eax, 1
jmp 0x703b88
lea eax, [ebp - 0x34c]
push eax
call fcn.0060b610
add esp, 4
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005b937d
mov esp, ebp
pop ebp
ret