Function at 0x1800149a0
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
mov eax, 0x3b0
call fcn.18004b950
sub rsp, rax
mov rax, qword [0x180069200]
xor rax, rsp
mov qword [rsp + reloc.LIBEAY32.dll_Ordinal_912], rax
mov rax, qword [rsp + 0x410]
mov rsi, qword [rsp + 0x420]
mov r14d, 0x28
cmp rsi, 0x100000
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x428]
mov ebx, 8
mov qword [rsp + 0x58], r9
mov r12, r8
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x98], r8
mov qword [rsp + 0xa0], rdx
mov r13, rcx
mov qword [rsp + 0x90], rcx
mov edi, Ordinal_67
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x28], ebx
mov bpl, 1
jb 0x180014a4f
lea r8, str.data_plus_mac_plus_padding_size___1024__1024
lea rcx, [0x18005e530]
mov edx, 0x1c7
call sub.LIBEAY32.dll_Ordinal_3244
mov rcx, r13
call sub.LIBEAY32.dll_Ordinal_3896
mov rcx, rax
call sub.LIBEAY32.dll_Ordinal_3837
cmp eax, 0x2a1
mov r11d, eax
jg 0x180014b92
cmp eax, 0x2a1
je 0x180014b4f
cmp eax, 4
je 0x180014b06
cmp eax, edi
je 0x180014acb
cmp eax, 0x2a0
jne 0x180014ba1
lea rcx, [rsp + 0xe0]
call sub.LIBEAY32.dll_Ordinal_3479
test eax, eax
jle 0x180014bc6
lea rax, [0x180014820]
lea r13, [0x18003c5c2]
mov ecx, reloc.LIBEAY32.dll_Ordinal_32
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x20], ecx
jmp 0x180014c3e
lea rcx, [rsp + 0xe0]
call sub.LIBEAY32.dll_Ordinal_503
test eax, eax
jle 0x180014bc6
lea rax, [0x180014790]
lea r13, [0x18003c5b6]
mov ecx, 0x14
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x20], ecx
jmp 0x180014c3e
lea rcx, [rsp + 0xe0]
call sub.LIBEAY32.dll_Ordinal_341
test eax, eax
jle 0x180014bc6
lea rax, [0x180014710]
lea r13, [0x18003c5aa]
mov ecx, 0x10
mov r14d, Ordinal_53
xor bpl, bpl
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x48], r14d
jmp 0x180014c3e
lea rcx, [rsp + 0xe0]
call sub.LIBEAY32.dll_Ordinal_3737
test eax, eax
jle 0x180014bc6
mov ecx, Ordinal_52
lea rax, [0x180014900]
lea r13, [0x18003c59e]
mov ebx, 0x10
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x20], ecx
lea edi, [rcx + 0x50]
mov dword [rsp + 0x28], ebx
jmp 0x180014c3e
sub r11d, 0x2a2
je 0x180014c01
cmp r11d, 1
je 0x180014bcd
lea r8, [0x18005e4bc]
lea rcx, [0x18005e540]
mov edx, 0x209
call sub.LIBEAY32.dll_Ordinal_3244
test r12, r12
je 0x180014bc6
mov qword [r12], 0
xor eax, eax
jmp 0x180015299
lea rcx, [rsp + 0xe0]
call sub.LIBEAY32.dll_Ordinal_3631
test eax, eax
jle 0x180014bc6
lea rax, [0x180014820]
lea r13, [0x18003c5c2]
mov ecx, Ordinal_32
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x20], ecx
jmp 0x180014c3e
lea rcx, [rsp + 0xe0]
call sub.LIBEAY32.dll_Ordinal_3633
test eax, eax
jle 0x180014bc6
mov ecx, edi
lea rax, [0x180014900]
lea r13, [0x18003c59e]
mov ebx, 0x10
mov edi, reloc.LIBEAY32.dll_Ordinal_128
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x28], ebx
movzx r9d, byte [rsp + 0x438]
mov qword [rsp + 0x3a8], r15
mov r15d, 0xd
test r9b, r9b
je 0x180014c66
mov eax, dword [rsp + 0x430]
lea r15d, [r14 + rax + 0xb]
test r9b, r9b
mov eax, 2
mov r14d, 6
cmovne r14d, eax
xor edx, edx
mov eax, esi
mov esi, dword [rsp + 0x418]
sub eax, ecx
xor r12d, r12d
add eax, r15d
sub esi, ecx
xor ecx, ecx
add eax, ebx
add esi, r15d
mov dword [rsp + 0x30], r14d
lea eax, [rax + rdi - 1]
mov dword [rsp + 0x2c], r12d
div edi
xor edx, edx
mov r8d, eax
mov eax, esi
div edi
mov dword [rsp + 0x80], eax
mov dword [rsp + 0x4c], edx
xor edx, edx
lea eax, [rsi + rbx]
div edi
test r9b, r9b
setne cl
mov dword [rsp + 0x60], eax
add ecx, r14d
cmp r8d, ecx
jbe 0x180014ce0
mov r12d, r8d
sub r12d, r14d
mov dword [rsp + 0x2c], r12d
imul r12d, edi
shl esi, 3
test r9b, r9b
jne 0x180014d84
lea rcx, [rsp + 0x210]
mov r8d, edi
xor edx, edx
lea esi, [rsi + rdi*8]
mov ebx, edi
call fcn.18003d110
mov eax, dword [rsp + 0x430]
cmp eax, 0x80
jbe 0x180014d30
lea r8, str.mac_secret_length___sizeof_hmac_pad_
lea rcx, str.._ssl_s3_cbc.c
mov edx, Ordinal_626
call sub.LIBEAY32.dll_Ordinal_3244
mov eax, dword [rsp + 0x430]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x210]
mov r8d, eax
call fcn.18003cac0
test edi, edi
je 0x180014d6d
lea rax, [rsp + 0x210]
nop
nop
nop
xor byte [rax], 0x36
add rax, 1
sub rbx, 1
jne 0x180014d60
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0xe0]
call r13
mov ebx, dword [rsp + 0x28]
test bpl, bpl
je 0x180014de2
lea eax, [rbx - 4]
lea rcx, [rsp + 0x1c0]
xor edx, edx
mov r8d, eax
mov ebx, eax
call fcn.18003d110
mov r8d, dword [rsp + 0x28]
mov edx, esi
lea eax, [r8 - 3]
shr edx, 0x10
mov r11d, esi
mov byte [rsp + rax + 0x1c0], dl
lea eax, [r8 - 2]
shr r11d, 0x18
mov edx, esi
mov byte [rsp + rbx + 0x1c0], r11b
shr edx, 8
mov byte [rsp + rax + 0x1c0], dl
lea eax, [r8 - 1]
mov byte [rsp + rax + 0x1c0], sil
jmp 0x180014e2f
lea rcx, [rsp + 0x1c0]
mov r8d, ebx
xor edx, edx
call fcn.18003d110
lea eax, [rbx - 5]
mov r11d, esi
shr r11d, 0x18
mov edx, esi
mov byte [rsp + rax + 0x1c0], r11b
lea eax, [rbx - 6]
shr edx, 0x10
mov byte [rsp + rax + 0x1c0], dl
lea eax, [rbx - 7]
mov edx, esi
shr edx, 8
mov byte [rsp + rax + 0x1c0], dl
lea eax, [rbx - 8]
mov byte [rsp + rax + 0x1c0], sil
test r12d, r12d
je 0x180014f6b
cmp byte [rsp + 0x438], 0
je 0x180014ef2
cmp r15d, edi
jbe 0x18001528f
mov rsi, qword [rsp + 0x58]
lea rcx, [rsp + 0xe0]
mov ebx, r15d
mov rdx, rsi
sub ebx, edi
call r13
mov edx, edi
lea rcx, [rsp + 0x290]
mov r8d, ebx
add rdx, rsi
mov ebp, ebx
call fcn.18003cac0
mov rdx, qword [rsp + 0x50]
mov r8d, edi
lea rcx, [rsp + rbx + 0x290]
sub r8d, ebx
call fcn.18003cac0
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0xe0]
call r13
xor edx, edx
mov eax, r12d
div edi
sub eax, 1
cmp eax, 1
jbe 0x180014f6b
mov r14, qword [rsp + 0x50]
add eax, 0xffffffff
mov ebx, edi
mov esi, eax
nop
nop
mov edx, ebx
lea rcx, [rsp + 0xe0]
sub rdx, rbp
add rdx, r14
call r13
add ebx, edi
sub rsi, 1
jne 0x180014ed0
mov r14d, dword [rsp + 0x30]
jmp 0x180014f6b
mov rsi, qword [rsp + 0x58]
mov rbp, qword [rsp + 0x50]
lea rcx, [rsp + 0x290]
mov rax, qword [rsi]
lea r8d, [rdi - 0xd]
mov rdx, rbp
mov qword [rcx], rax
mov eax, dword [rsi + 8]
mov dword [rcx + 8], eax
movzx eax, byte [rsi + 0xc]
mov byte [rcx + 0xc], al
lea rcx, [rsp + 0x29d]
call fcn.18003cac0
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0xe0]
call r13
xor edx, edx
mov eax, r12d
div edi
cmp eax, 1
jbe 0x180014f6b
add eax, 0xffffffff
mov ebx, edi
mov esi, eax
mov eax, ebx
lea rcx, [rsp + 0xe0]
lea rdx, [rax + rbp - 0xd]
call r13
add ebx, edi
sub rsi, 1
jne 0x180014f51
mov ebp, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x28]
xor eax, eax
mov qword [rsp + reloc.LIBEAY32.dll_Ordinal_464], rax
mov qword [rsp + 0x1d8], rax
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1e8], rax
mov qword [rsp + 0x1f0], rax
mov qword [rsp + 0x1f8], rax
mov qword [rsp + 0x200], rax
mov qword [rsp + 0x208], rax
lea eax, [rbp + r14]
cmp ebp, eax
movsxd rdx, r12d
mov dword [rsp + 0x74], eax
mov qword [rsp + 0x78], rdx
ja 0x1800151c9
nop
mov eax, ebp
xor ebx, ebx
xor r11d, r11d
xor eax, dword [rsp + 0x80]
lea r14d, [rax - 1]
not eax
shr eax, 0x1f
shr r14d, 0x1f
and r14b, al
mov eax, ebp
xor eax, dword [rsp + 0x60]
neg r14b
lea esi, [rax - 1]
not eax
shr esi, 0x1f
shr eax, 0x1f
and sil, al
neg sil
test edi, edi
je 0x18001515b
mov r10d, dword [rsp + 0x4c]
mov r13, rdx
movzx r8d, r14b
lea eax, [r10 + 1]
mov r9d, r10d
mov ebp, r10d
shr eax, 0x1f
shr r9d, 0x1f
neg ebp
mov dword [rsp + 0x68], eax
movzx eax, sil
mov dword [rsp + 0x64], r9d
not al
mov dword [rsp + 0x30], r8d
or al, r14b
mov byte [rsp + 0x24], al
mov eax, edi
sub eax, ecx
mov dword [rsp + 0x70], eax
movsxd rax, r15d
sub r13, rax
add r13, qword [rsp + 0x50]
nop
xor r10b, r10b
cmp r12d, r15d
jae 0x180015074
mov rax, qword [rsp + 0x58]
movzx r10d, byte [rdx + rax]
jmp 0x18001508b
mov ecx, r15d
mov eax, r12d
add rcx, qword [rsp + 0x420]
cmp rax, rcx
jae 0x18001508b
mov r10b, byte [r13]
add rdx, 1
mov r8d, ebx
mov ecx, ebp
shr ecx, 0x1f
shr r8d, 0x1f
mov qword [rsp + 0x78], rdx
xor cl, r9b
movzx eax, r8b
add r12d, 1
xor al, r9b
mov r9d, ebx
add r13, 1
or cl, al
mov eax, dword [rsp + 0x4c]
add eax, 1
xor cl, r8b
sub r9d, eax
sub cl, 1
shr r9d, 0x1f
movzx edx, cl
mov ecx, dword [rsp + 0x68]
and edx, dword [rsp + 0x30]
xor r9b, cl
movzx eax, cl
xor al, r8b
or r9b, al
movzx eax, dl
and dl, 0x80
xor r9b, r8b
not al
sub r9b, 1
and al, r10b
and r9b, r14b
or al, dl
not r9b
and r9b, al
and r9b, byte [rsp + 0x24]
cmp ebx, dword [rsp + 0x70]
jb 0x18001512e
movsxd rax, dword [rsp + 0x28]
movsxd rcx, edi
movzx edx, sil
sub rax, rcx
add rax, r11
movzx ecx, byte [rsp + rax + 0x1c0]
and cl, dl
not dl
and r9b, dl
or r9b, cl
mov rdx, qword [rsp + 0x78]
mov byte [rsp + r11 + 0x310], r9b
mov r9d, dword [rsp + 0x64]
add ebx, 1
add ebp, 1
add r11, 1
cmp ebx, edi
jb 0x180015060
mov r13, qword [rsp + 0x38]
mov ebp, dword [rsp + 0x2c]
lea rdx, [rsp + 0x310]
lea rcx, [rsp + 0xe0]
call r13
lea rdx, [rsp + 0x310]
lea rcx, [rsp + 0xe0]
call qword [rsp + Ordinal_67]
mov r14d, dword [rsp + 0x20]
test r14d, r14d
je 0x1800151ad
xor ecx, ecx
mov r8, r14
movzx eax, byte [rsp + rcx + 0x310]
add rcx, 1
and al, sil
or byte [rsp + rcx + 0x1cf], al
sub r8, 1
jne 0x180015191
mov rdx, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x28]
add ebp, 1
cmp ebp, dword [rsp + 0x74]
mov dword [rsp + 0x2c], ebp
jbe 0x180014fd0
jmp 0x1800151ce
mov r14d, dword [rsp + 0x20]
lea rcx, [rsp + 0xa8]
call sub.LIBEAY32.dll_Ordinal_2630
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0xa8]
mov rdx, qword [rdx]
xor r8d, r8d
call sub.LIBEAY32.dll_Ordinal_3109
test eax, eax
jle 0x180015282
cmp byte [rsp + 0x438], 0
je 0x1800152bb
mov ebx, dword [rsp + 0x48]
lea rcx, [rsp + 0x210]
mov edx, Ordinal_95
mov r8, rbx
call fcn.18003d110
mov r8d, dword [rsp + 0x430]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0xa8]
call sub.LIBEAY32.dll_Ordinal_269
test eax, eax
jle 0x180015282
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0xa8]
mov r8, rbx
call sub.LIBEAY32.dll_Ordinal_269
test eax, eax
jle 0x180015282
lea rdx, [rsp + reloc.LIBEAY32.dll_Ordinal_464]
lea rcx, [rsp + 0xa8]
mov r8d, r14d
call sub.LIBEAY32.dll_Ordinal_269
test eax, eax
jg 0x180015319
lea rcx, [rsp + 0xa8]
call sub.LIBEAY32.dll_Ordinal_2821
xor eax, eax
mov r15, qword [rsp + 0x3a8]
mov rcx, qword [rsp + reloc.LIBEAY32.dll_Ordinal_912]
xor rcx, rsp
call fcn.18003d0e0
add rsp, 0x3b0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
test edi, edi
je 0x1800152dd
lea rax, [rsp + 0x210]
mov ecx, edi
nop
nop
xor byte [rax], 0x6a
add rax, 1
sub rcx, 1
jne 0x1800152d0
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0xa8]
mov r8d, edi
call sub.LIBEAY32.dll_Ordinal_269
test eax, eax
jle 0x180015282
lea rdx, [rsp + reloc.LIBEAY32.dll_Ordinal_464]
lea rcx, [rsp + 0xa8]
mov r8d, r14d
call sub.LIBEAY32.dll_Ordinal_269
test eax, eax
jle 0x180015282
mov rdx, qword [rsp + 0xa0]
lea r8, [rsp + 0x6c]
lea rcx, [rsp + 0xa8]
call sub.LIBEAY32.dll_Ordinal_267
mov r11, qword [rsp + 0x98]
test r11, r11
je 0x180015347
mov eax, dword [rsp + 0x6c]
mov qword [r11], rax
lea rcx, [rsp + 0xa8]
call sub.LIBEAY32.dll_Ordinal_2821
mov eax, 1
jmp 0x180015291