Function at 0x14000763c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0xf8
mov dword [rsp + 0x38], 0
cmp dword [rsp + 0x110], 0x10
je 0x1400076a1
cmp dword [rsp + 0x110], 0x18
je 0x1400076a1
cmp dword [rsp + 0x110], 0x20
je 0x1400076a1
lea rdx, str.Invalid_key_size
lea rcx, [rsp + 0xd0]
call fcn.140004464
lea rdx, [0x1401bb1b0]
lea rcx, [rsp + 0xd0]
call fcn.140066a68
nop
mov dword [rsp + 0x60], 0
mov dword [rsp + 0x64], 1
mov dword [rsp + 0x68], 2
mov dword [rsp + 0x6c], 4
mov dword [rsp + 0x70], 8
mov dword [rsp + 0x74], 0x10
mov dword [rsp + 0x78], 0x20
mov dword [rsp + 0x7c], 0x40
mov dword [rsp + 0x80], 0x80
mov dword [rsp + 0x84], 0x1b
mov dword [rsp + 0x88], 0x36
mov dword [rsp + 0x90], 4
mov eax, dword [rsp + 0x110]
cdq
and edx, 3
add eax, edx
sar eax, 2
mov dword [rsp + 0x24], eax
mov ecx, dword [rsp + 0x110]
call fcn.140007568
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x30]
call fcn.140007cb4
mov ecx, dword [rsp + 0x34]
lea ecx, [rcx*4 + 4]
movsxd rcx, ecx
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140021868
nop
mov dword [rsp + 0x28], 0
jmp 0x14000776e
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x28], eax
jge 0x1400077c5
mov eax, dword [rsp + 0x28]
shl eax, 2
cdqe
mov rcx, qword [rsp + 0x108]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x98], rax
movsxd rcx, dword [rsp + 0x28]
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.1400217f0
mov r8d, 4
mov rcx, qword [rsp + 0x98]
mov rdx, rcx
mov rcx, rax
call fcn.140188ff0
nop
jmp 0x140007764
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
jmp 0x1400077d9
mov eax, dword [rsp + 0x20]
inc eax
mov dword [rsp + 0x20], eax
mov eax, dword [rsp + 0x34]
lea eax, [rax*4 + 4]
cmp dword [rsp + 0x20], eax
jge 0x1400078b1
mov eax, dword [rsp + 0x20]
dec eax
cdqe
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400217f0
mov eax, dword [rax]
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x20]
cdq
idiv dword [rsp + 0x24]
mov eax, edx
test eax, eax
jne 0x140007847
mov ecx, dword [rsp + 0x2c]
call fcn.140007548
mov ecx, eax
call fcn.14000716c
mov dword [rsp + 0x3c], eax
mov eax, dword [rsp + 0x20]
cdq
idiv dword [rsp + 0x24]
cdqe
mov ecx, dword [rsp + 0x3c]
xor ecx, dword [rsp + rax*4 + 0x60]
mov eax, ecx
mov dword [rsp + 0x2c], eax
jmp 0x14000786b
cmp dword [rsp + 0x24], 6
jle 0x14000786b
mov eax, dword [rsp + 0x20]
cdq
idiv dword [rsp + 0x24]
mov eax, edx
cmp eax, 4
jne 0x14000786b
mov ecx, dword [rsp + 0x2c]
call fcn.14000716c
mov dword [rsp + 0x2c], eax
mov eax, dword [rsp + 0x24]
mov ecx, dword [rsp + 0x20]
sub ecx, eax
mov eax, ecx
cdqe
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400217f0
mov eax, dword [rax]
mov ecx, dword [rsp + 0x2c]
xor ecx, eax
mov eax, ecx
mov dword [rsp + 0x40], eax
movsxd rax, dword [rsp + 0x20]
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.1400217f0
mov ecx, dword [rsp + 0x40]
mov dword [rax], ecx
jmp 0x1400077cf
lea rcx, [rsp + 0x31]
call fcn.140007cb4
mov ecx, dword [rsp + 0x34]
inc ecx
movsxd rcx, ecx
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0xb8]
call fcn.140020e84
nop
lea rcx, [rsp + 0x48]
call fcn.14002181c
shl rax, 2
mov qword [rsp + 0xa0], rax
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.1400217f0
mov qword [rsp + 0xa8], rax
xor edx, edx
lea rcx, [rsp + 0xb8]
call fcn.140020cd4
mov qword [rsp + 0xb0], rax
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
call fcn.140188ff0
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x100]
call fcn.140020d4c
mov eax, dword [rsp + 0x38]
or eax, 1
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0xb8]
call fcn.140020d30
nop
lea rcx, [rsp + 0x48]
call fcn.14002184c
mov rax, qword [rsp + 0x100]
add rsp, 0xf8
ret