Function at 0x1400f8360
Capabilities:
Encrypt data using aes
Reference aes constants
Resolve function by parsing pe exports

Disassembly:
cmp rsp, qword [r14 + 0x10]
jbe 0x1400f88e6
push rbp
mov rbp, rsp
sub rsp, 0x48
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x88], r9
cmp r10, 0xf
jbe 0x1400f88d6
mov qword [rsp + 0x98], r11
mov qword [rsp + 0x88], r9
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x78], rsi
mov qword [rsp + 0x70], rdi
mov rax, r9
mov ebx, 4
mov rcx, r11
call fcn.1400a4fc0
mov dword [rsp + 0x34], eax
mov rdx, qword [rsp + 0x88]
lea rsi, [rdx + 4]
mov rcx, qword [rsp + 0x98]
lea rdi, [rcx - 4]
mov ebx, 4
mov rax, rsi
mov rcx, rdi
call fcn.1400a4fc0
mov dword [rsp + 0x30], eax
mov rdx, qword [rsp + 0x88]
lea rsi, [rdx + 8]
mov rcx, qword [rsp + 0x98]
lea rdi, [rcx - 8]
mov ebx, 4
mov rax, rsi
mov rcx, rdi
nop dword [rax]
call fcn.1400a4fc0
mov dword [rsp + 0x2c], eax
mov rdx, qword [rsp + 0x88]
add rdx, 0xc
mov rcx, qword [rsp + 0x98]
add rcx, 0xfffffffffffffff4
mov ebx, 4
mov rax, rdx
call fcn.1400a4fc0
mov rcx, qword [rsp + 0x60]
test rcx, rcx
jbe 0x1400f88cc
mov edx, dword [rsp + 0x34]
mov rsi, qword [rsp + 0x58]
xor edx, dword [rsi]
cmp rcx, 1
jbe 0x1400f88bf
mov r8d, dword [rsp + 0x30]
xor r8d, dword [rsi + 4]
nop word [rax + rax]
cmp rcx, 2
jbe 0x1400f88b2
mov r9d, dword [rsp + 0x2c]
xor r9d, dword [rsi + 8]
cmp rcx, 3
jbe 0x1400f88a5
mov r10, rcx
shr r10, 2
xor eax, dword [rsi + 0xc]
add r10, 0xfffffffffffffffe
xor ebx, ebx
xor edi, edi
xor r11d, r11d
xor r12d, r12d
mov r13d, 4
jmp 0x1400f8520
shr ebx, 0x18
movzx ebx, bl
mov ebx, dword [r12 + rbx*4]
xor ebx, dword [rsi + r13*4 + 0xc]
shr r8d, 0x10
movzx edi, r8b
xor ebx, dword [r10 + rdi*4]
shr r15d, 8
movzx r15d, r15b
xor ebx, dword [rdx + r15*4]
mov r15d, dword [rsp + 0x38]
movzx r15d, r15b
mov rdi, r15
mov r15, qword [rsp + 0x40]
dec r15
xor ebx, dword [r11 + rdi*4]
add r13, 4
mov edi, dword [rsp + 0x30]
mov r8d, dword [rsp + 0x34]
mov r10, r15
mov edx, r8d
mov r8d, edi
mov r9d, eax
mov eax, ebx
mov ebx, edx
mov r11d, r9d
mov r12d, eax
nop
test r10, r10
jle 0x1400f863f
cmp rcx, r13
jbe 0x1400f889d
mov qword [rsp + 0x40], r10
mov r11d, edx
shr edx, 0x18
movzx edx, dl
lea r12, [0x1402312c0]
mov edx, dword [r12 + rdx*4]
xor edx, dword [rsi + r13*4]
mov r15d, r8d
shr r8d, 0x10
movzx r8d, r8b
lea r10, [0x1402316c0]
xor edx, dword [r10 + r8*4]
mov r8d, r9d
shr r9d, 8
movzx r9d, r9b
mov edi, r11d
lea r11, [0x140231ac0]
xor edx, dword [r11 + r9*4]
movzx r9d, al
lea rbx, [r13 + 1]
lea r11, [0x140231ec0]
xor edx, dword [r11 + r9*4]
cmp rcx, rbx
jbe 0x1400f8895
mov dword [rsp + 0x34], edx
mov dword [rsp + 0x3c], r15d
shr r15d, 0x18
movzx r15d, r15b
mov r15d, dword [r12 + r15*4]
xor r15d, dword [rsi + r13*4 + 4]
mov ebx, r8d
shr r8d, 0x10
movzx r8d, r8b
xor r15d, dword [r10 + r8*4]
mov r8d, eax
shr eax, 8
movzx eax, al
lea rdx, [0x140231ac0]
xor r15d, dword [rdx + rax*4]
movzx eax, dil
lea r9, [r13 + 2]
xor r15d, dword [r11 + rax*4]
cmp rcx, r9
jbe 0x1400f888d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x38], ebx
shr ebx, 0x18
movzx eax, bl
mov eax, dword [r12 + rax*4]
xor eax, dword [rsi + r13*4 + 8]
mov ebx, r8d
shr r8d, 0x10
movzx r8d, r8b
xor eax, dword [r10 + r8*4]
mov r8d, edi
shr edi, 8
movzx edi, dil
xor eax, dword [rdx + rdi*4]
mov r15d, dword [rsp + 0x3c]
movzx edi, r15b
lea r9, [r13 + 3]
xor eax, dword [r11 + rdi*4]
cmp rcx, r9
ja 0x1400f84bd
jmp 0x1400f8885
mov dword [rsp + 0x24], r12d
mov edx, ebx
shr ebx, 0x18
lea r8, str.cw
movzx r9d, byte [rbx + r8]
shl r9d, 0x18
mov r10d, edi
shr edi, 0x10
movzx r15d, dil
movzx edi, byte [r15 + r8]
shl edi, 0x10
or edi, r9d
mov r9d, r11d
shr r11d, 8
movzx r11d, r11b
movzx r11d, byte [r11 + r8]
shl r11d, 8
or edi, r11d
movzx r11d, r12b
movzx r11d, byte [r11 + r8]
mov r15d, r10d
shr r10d, 0x18
movzx r10d, byte [r10 + r8]
shl r10d, 0x18
mov eax, r9d
shr r9d, 0x10
movzx r9d, r9b
movzx r9d, byte [r9 + r8]
shl r9d, 0x10
or r9d, r10d
mov r10d, r12d
shr r12d, 8
movzx r12d, r12b
movzx r12d, byte [r12 + r8]
shl r12d, 8
or r9d, r12d
movzx r12d, dl
movzx r12d, byte [r12 + r8]
mov ebx, eax
shr eax, 0x18
movzx eax, byte [r8 + rax]
shl eax, 0x18
shr r10d, 0x10
movzx r10d, r10b
movzx r10d, byte [r10 + r8]
shl r10d, 0x10
or eax, r10d
mov r10d, edx
shr edx, 8
movzx edx, dl
movzx edx, byte [rdx + r8]
shl edx, 8
or eax, edx
movzx edx, r15b
movzx edx, byte [rdx + r8]
mov esi, dword [rsp + 0x24]
shr esi, 0x18
movzx esi, byte [r8 + rsi]
shl esi, 0x18
shr r10d, 0x10
movzx r10d, r10b
movzx r10d, byte [r10 + r8]
shl r10d, 0x10
or r10d, esi
shr r15d, 8
movzx esi, r15b
movzx esi, byte [rsi + r8]
shl esi, 8
or r10d, esi
movzx esi, bl
movzx esi, byte [rsi + r8]
or edi, r11d
or r12d, r9d
or edx, eax
or esi, r10d
nop dword [rax + rax]
cmp rcx, r13
jbe 0x1400f887a
lea rax, [r13 + 1]
mov r8, qword [rsp + 0x58]
xor edi, dword [r8 + r13*4]
cmp rcx, rax
jbe 0x1400f8875
lea rax, [r13 + 2]
xor r12d, dword [r8 + r13*4 + 4]
cmp rcx, rax
jbe 0x1400f8870
lea rax, [r13 + 3]
xor edx, dword [r8 + r13*4 + 8]
nop word [rax + rax]
cmp rcx, rax
jbe 0x1400f886b
xor esi, dword [r8 + r13*4 + 0xc]
mov rcx, qword [rsp + 0x78]
cmp rcx, 0xf
jbe 0x1400f8861
mov dword [rsp + 0x30], r12d
mov dword [rsp + 0x2c], edx
mov dword [rsp + 0x28], esi
mov rax, qword [rsp + 0x70]
mov ebx, 4
mov rcx, qword [rsp + 0x80]
nop dword [rax]
call fcn.1400a5000
mov rax, qword [rsp + 0x70]
lea rdx, [rax + 4]
mov rcx, qword [rsp + 0x80]
lea rsi, [rcx - 4]
mov ebx, 4
mov edi, dword [rsp + 0x30]
mov rax, rdx
mov rcx, rsi
call fcn.1400a5000
mov rax, qword [rsp + 0x70]
lea rdx, [rax + 8]
mov rcx, qword [rsp + 0x80]
lea rsi, [rcx - 8]
mov ebx, 4
mov edi, dword [rsp + 0x2c]
mov rax, rdx
mov rcx, rsi
call fcn.1400a5000
mov rax, qword [rsp + 0x70]
add rax, 0xc
mov rcx, qword [rsp + 0x80]
add rcx, 0xfffffffffffffff4
mov ebx, 4
mov edi, dword [rsp + 0x28]
call fcn.1400a5000
add rsp, 0x48
pop rbp
nop
ret
mov eax, 0xf
call fcn.1400742e0
call fcn.1400742e0
call fcn.1400742e0
call fcn.1400742e0
mov rax, r13
nop dword [rax]
call fcn.1400742e0
mov rax, r9
call fcn.1400742e0
mov rax, r9
call fcn.1400742e0
mov rax, rbx
call fcn.1400742e0
mov rax, r13
call fcn.1400742e0
mov eax, 3
mov rcx, rax
call fcn.1400742e0
mov eax, 2
mov rcx, rax
call fcn.1400742e0
mov eax, 1
mov rcx, rax
call fcn.1400742e0
xor eax, eax
mov rcx, rax
call fcn.1400742e0
mov eax, 0xf
mov rcx, r10
nop
call fcn.1400742e0
nop
mov qword [rsp + 8], rax
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rcx
mov qword [rsp + 0x20], rdi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x30], r8
mov qword [rsp + 0x38], r9
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x48], r11
call fcn.140071fe0
mov rax, qword [rsp + 8]
mov rbx, qword [rsp + 0x10]
mov rcx, qword [rsp + 0x18]
mov rdi, qword [rsp + 0x20]
mov rsi, qword [rsp + 0x28]
mov r8, qword [rsp + 0x30]
mov r9, qword [rsp + 0x38]
mov r10, qword [rsp + 0x40]
mov r11, qword [rsp + 0x48]
jmp fcn.1400f8360