Function at 0x14010f6b0
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.140189b00
sub rsp, rax
mov rax, qword [0x1401f3660]
xor rax, rsp
mov qword [rsp + 0x390], rax
mov rax, qword [rsp + 0x410]
mov rsi, qword [rsp + 0x420]
mov r14d, Ordinal_41
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, 0x40
mov dword [rsp + 0x48], r14d
mov dword [rsp + 0x28], ebx
mov bpl, 1
jb 0x14010f75f
lea r8, str.data_plus_mac_plus_padding_size___1024__1024
lea rcx, [0x1402192e0]
mov edx, 0x1c7
call fcn.1400c9330
mov rcx, r13
call fcn.1400aedd0
mov rcx, rax
call fcn.1400ae4c0
cmp eax, 0x2a1
mov r11d, eax
jg 0x14010f8a2
cmp eax, 0x2a1
je 0x14010f85f
cmp eax, 4
je 0x14010f816
cmp eax, edi
je 0x14010f7db
cmp eax, 0x2a0
jne 0x14010f8b1
lea rcx, [rsp + 0xe0]
call fcn.1400c0700
test eax, eax
jle 0x14010f8d6
lea rax, [0x14010f530]
lea r13, [0x1400c1920]
mov ecx, reloc.WLDAP32.dll_Ordinal_32
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x20], ecx
jmp 0x14010f94e
lea rcx, [rsp + 0xe0]
call fcn.14011c230
test eax, eax
jle 0x14010f8d6
lea rax, [0x14010f4a0]
lea r13, [0x14011d730]
mov ecx, reloc.WS2_32.dll_sendto
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x20], ecx
jmp 0x14010f94e
lea rcx, [rsp + 0xe0]
call fcn.1400bf9a0
test eax, eax
jle 0x14010f8d6
lea rax, [0x14010f420]
lea r13, [0x1400c0500]
mov ecx, reloc.WS2_32.dll_recv
mov r14d, gethostbyname
xor bpl, bpl
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x20], ecx
mov dword [rsp + 0x48], r14d
jmp 0x14010f94e
lea rcx, [rsp + 0xe0]
call fcn.14011d8f0
test eax, eax
jle 0x14010f8d6
mov ecx, gethostbyname
lea rax, [0x14010f610]
lea r13, [0x14011fc40]
mov ebx, reloc.WS2_32.dll_recv
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 0x14010f94e
sub r11d, 0x2a2
je 0x14010f911
cmp r11d, 1
je 0x14010f8dd
lea r8, [0x14021926c]
lea rcx, [0x1402192f0]
mov edx, 0x209
call fcn.1400c9330
test r12, r12
je 0x14010f8d6
mov qword [r12], 0
xor eax, eax
jmp 0x14010ffa9
lea rcx, [rsp + 0xe0]
call fcn.1400c0690
test eax, eax
jle 0x14010f8d6
lea rax, [0x14010f530]
lea r13, [0x1400c1920]
mov ecx, Ordinal_30
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x20], ecx
jmp 0x14010f94e
lea rcx, [rsp + 0xe0]
call fcn.14011d980
test eax, eax
jle 0x14010f8d6
mov ecx, edi
lea rax, [0x14010f610]
lea r13, [0x14011fc40]
mov ebx, reloc.WS2_32.dll_recv
mov edi, 0x80
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, reloc.WS2_32.dll_listen
test r9b, r9b
je 0x14010f976
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 0x14010f9f0
mov r12d, r8d
sub r12d, r14d
mov dword [rsp + 0x2c], r12d
imul r12d, edi
shl esi, 3
test r9b, r9b
jne 0x14010fa94
lea rcx, [rsp + 0x210]
mov r8d, edi
xor edx, edx
lea esi, [rsi + rdi*8]
mov ebx, edi
call fcn.140041940
mov eax, dword [rsp + 0x430]
cmp eax, 0x80
jbe 0x14010fa40
lea r8, str.mac_secret_length___sizeof_hmac_pad_
lea rcx, str.._ssl_s3_cbc.c
mov edx, 0x271
call fcn.1400c9330
mov eax, dword [rsp + 0x430]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x210]
mov r8d, eax
call fcn.140042d30
test edi, edi
je 0x14010fa7d
lea rax, [rsp + 0x210]
nop
nop
nop
xor byte [rax], 0x36
add rax, 1
sub rbx, 1
jne 0x14010fa70
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0xe0]
call r13
mov ebx, dword [rsp + 0x28]
test bpl, bpl
je 0x14010faf2
lea eax, [rbx - 4]
lea rcx, [rsp + 0x1c0]
xor edx, edx
mov r8d, eax
mov ebx, eax
call fcn.140041940
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 0x14010fb3f
lea rcx, [rsp + 0x1c0]
mov r8d, ebx
xor edx, edx
call fcn.140041940
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 0x14010fc7b
cmp byte [rsp + 0x438], 0
je 0x14010fc02
cmp r15d, edi
jbe 0x14010ff9f
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.140042d30
mov rdx, qword [rsp + 0x50]
mov r8d, edi
lea rcx, [rsp + rbx + 0x290]
sub r8d, ebx
call fcn.140042d30
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 0x14010fc7b
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 0x14010fbe0
mov r14d, dword [rsp + 0x30]
jmp 0x14010fc7b
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.140042d30
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0xe0]
call r13
xor edx, edx
mov eax, r12d
div edi
cmp eax, 1
jbe 0x14010fc7b
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 0x14010fc61
mov ebp, dword [rsp + 0x2c]
mov ecx, dword [rsp + 0x28]
xor eax, eax
mov qword [rsp + 0x1d0], 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 0x14010fed9
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 0x14010fe6b
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 0x14010fd84
mov rax, qword [rsp + 0x58]
movzx r10d, byte [rdx + rax]
jmp 0x14010fd9b
mov ecx, r15d
mov eax, r12d
add rcx, qword [rsp + 0x420]
cmp rax, rcx
jae 0x14010fd9b
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 0x14010fe3e
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 0x14010fd70
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 + 0x40]
mov r14d, dword [rsp + 0x20]
test r14d, r14d
je 0x14010febd
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 0x14010fea1
mov rdx, qword [rsp + 0x78]
mov ecx, dword [rsp + 0x28]
add ebp, 1
cmp ebp, dword [rsp + 0x74]
mov dword [rsp + 0x2c], ebp
jbe 0x14010fce0
jmp 0x14010fede
mov r14d, dword [rsp + 0x20]
lea rcx, [rsp + 0xa8]
call fcn.1400da360
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0xa8]
mov rdx, qword [rdx]
xor r8d, r8d
call fcn.1400da3d0
test eax, eax
jle 0x14010ff92
cmp byte [rsp + 0x438], 0
je 0x14010ffcb
mov ebx, dword [rsp + 0x48]
lea rcx, [rsp + 0x210]
mov edx, 0x5c
mov r8, rbx
call fcn.140041940
mov r8d, dword [rsp + 0x430]
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0xa8]
call fcn.1400da630
test eax, eax
jle 0x14010ff92
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0xa8]
mov r8, rbx
call fcn.1400da630
test eax, eax
jle 0x14010ff92
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0xa8]
mov r8d, r14d
call fcn.1400da630
test eax, eax
jg 0x140110029
lea rcx, [rsp + 0xa8]
call fcn.1400da6f0
xor eax, eax
mov r15, qword [rsp + 0x3a8]
mov rcx, qword [rsp + 0x390]
xor rcx, rsp
call fcn.140041910
add rsp, 0x3b0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret
test edi, edi
je 0x14010ffed
lea rax, [rsp + 0x210]
mov ecx, edi
nop
nop
xor byte [rax], 0x6a
add rax, 1
sub rcx, 1
jne 0x14010ffe0
lea rdx, [rsp + 0x210]
lea rcx, [rsp + 0xa8]
mov r8d, edi
call fcn.1400da630
test eax, eax
jle 0x14010ff92
lea rdx, [rsp + 0x1d0]
lea rcx, [rsp + 0xa8]
mov r8d, r14d
call fcn.1400da630
test eax, eax
jle 0x14010ff92
mov rdx, qword [rsp + 0xa0]
lea r8, [rsp + 0x6c]
lea rcx, [rsp + 0xa8]
call fcn.1400da7f0
mov r11, qword [rsp + 0x98]
test r11, r11
je 0x140110057
mov eax, dword [rsp + 0x6c]
mov qword [r11], rax
lea rcx, [rsp + 0xa8]
call fcn.1400da6f0
mov eax, 1
jmp 0x14010ffa1