Function at 0x140007b00
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 0x140007b65
cmp dword [rsp + 0x110], 0x18
je 0x140007b65
cmp dword [rsp + 0x110], 0x20
je 0x140007b65
lea rdx, str.Invalid_key_size
lea rcx, [rsp + 0xd0]
call fcn.140004928
lea rdx, [0x1401c2190]
lea rcx, [rsp + 0xd0]
call fcn.14006b138
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.140007a2c
mov dword [rsp + 0x34], eax
lea rcx, [rsp + 0x30]
call fcn.140008178
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.140025278
nop
mov dword [rsp + 0x28], 0
jmp 0x140007c32
mov eax, dword [rsp + 0x28]
inc eax
mov dword [rsp + 0x28], eax
mov eax, dword [rsp + 0x24]
cmp dword [rsp + 0x28], eax
jge 0x140007c89
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.140025200
mov r8d, 4
mov rcx, qword [rsp + 0x98]
mov rdx, rcx
mov rcx, rax
call fcn.14018e690
nop
jmp 0x140007c28
mov eax, dword [rsp + 0x24]
mov dword [rsp + 0x20], eax
jmp 0x140007c9d
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 0x140007d75
mov eax, dword [rsp + 0x20]
dec eax
cdqe
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140025200
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 0x140007d0b
mov ecx, dword [rsp + 0x2c]
call fcn.140007a0c
mov ecx, eax
call fcn.140007630
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 0x140007d2f
cmp dword [rsp + 0x24], 6
jle 0x140007d2f
mov eax, dword [rsp + 0x20]
cdq
idiv dword [rsp + 0x24]
mov eax, edx
cmp eax, 4
jne 0x140007d2f
mov ecx, dword [rsp + 0x2c]
call fcn.140007630
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.140025200
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.140025200
mov ecx, dword [rsp + 0x40]
mov dword [rax], ecx
jmp 0x140007c93
lea rcx, [rsp + 0x31]
call fcn.140008178
mov ecx, dword [rsp + 0x34]
inc ecx
movsxd rcx, ecx
mov r8, rax
mov rdx, rcx
lea rcx, [rsp + 0xb8]
call fcn.140024894
nop
lea rcx, [rsp + 0x48]
call fcn.14002522c
shl rax, 2
mov qword [rsp + 0xa0], rax
xor edx, edx
lea rcx, [rsp + 0x48]
call fcn.140025200
mov qword [rsp + 0xa8], rax
xor edx, edx
lea rcx, [rsp + 0xb8]
call fcn.1400246e4
mov qword [rsp + 0xb0], rax
mov r8, qword [rsp + 0xa0]
mov rdx, qword [rsp + 0xa8]
mov rcx, qword [rsp + 0xb0]
call fcn.14018e690
lea rdx, [rsp + 0xb8]
mov rcx, qword [rsp + 0x100]
call fcn.14002475c
mov eax, dword [rsp + 0x38]
or eax, 1
mov dword [rsp + 0x38], eax
lea rcx, [rsp + 0xb8]
call fcn.140024740
nop
lea rcx, [rsp + 0x48]
call fcn.14002525c
mov rax, qword [rsp + 0x100]
add rsp, 0xf8
ret