Function at 0x14002ff40
Capabilities:
Terminate process

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x58
mov ebp, 3
mov rsi, rdx
mov rdx, qword [rcx + 0x28]
lea r13, [rsp + 0x40]
mov r12, rcx
mov qword [rsp + 0x38], rbp
lea r14, [rsp + 0x30]
test rdx, rdx
lea rax, [rdx + 8]
mov r9, r14
cmovne rdx, rax
xor edi, edi
mov qword [rsp + 0x30], rdi
mov r8, qword [rcx + 0x20]
mov rcx, r13
call fcn.140014ff0
mov rax, qword [rsp + 0x48]
mov rcx, qword [0x1400f8300]
mov qword [rsp + 0x28], rax
call dbg.__emutls_get_address
cmp byte [rax], 0
mov rbx, rax
jne 0x140030076
mov rdx, r13
mov rcx, rsi
call sym.addRoundKey__OOZOOZOOZOOZOOZOOZOnimbleZpkgs50Znimtestcrypto4548O50O484548a4856cdb56dbde565055524954565048ad54b495152cd51c51564
cmp byte [rbx], 0
jne 0x140030076
cmp qword [r12 + 8], 1
jle 0x140030120
mov ebp, 1
mov rcx, rsi
call sym.subBytes__OOZOOZOOZOOZOOZOOZOnimbleZpkgs50Znimtestcrypto4548O50O484548a4856cdb56dbde565055524954565048ad54b495152cd51c51564952
cmp byte [rbx], 0
jne 0x140030076
mov r8d, 1
mov edx, 1
mov rcx, rsi
call sym.shiftRow__OOZOOZOOZOOZOOZOOZOnimbleZpkgs50Znimtestcrypto4548O50O484548a4856cdb56dbde565055524954565048ad54b495152cd51c51564952
cmp byte [rbx], 0
jne 0x140030076
mov r8d, 2
mov edx, 2
mov rcx, rsi
call sym.shiftRow__OOZOOZOOZOOZOOZOOZOnimbleZpkgs50Znimtestcrypto4548O50O484548a4856cdb56dbde565055524954565048ad54b495152cd51c51564952
cmp byte [rbx], 0
jne 0x140030076
mov r8d, 3
mov edx, 3
mov rcx, rsi
call sym.shiftRow__OOZOOZOOZOOZOOZOOZOnimbleZpkgs50Znimtestcrypto4548O50O484548a4856cdb56dbde565055524954565048ad54b495152cd51c51564952
cmp byte [rbx], 0
jne 0x140030076
mov rdi, qword [rsi]
xor eax, eax
sub rdi, 1
seto al
mov r15, rax
test r15, r15
je 0x140030054
jmp 0x140030090
mov rax, r15
add rax, 4
mov r15, rax
jo 0x140030090
cmp rdi, r15
jl 0x14003009c
mov r9d, 4
lea r8, [0x1400eb17a]
mov rdx, r15
mov rcx, rsi
call sym.mulWord__OOZOOZOOZOOZOOZOOZOnimbleZpkgs50Znimtestcrypto4548O50O484548a4856cdb56dbde565055524954565048ad54b495152cd51c51564952a
cmp byte [rbx], 0
je 0x140030048
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
call sym.raiseOverflow
movzx eax, byte [rbx]
test al, al
jne 0x140030076
imul rcx, rbp, 4
jo 0x140030220
add rbp, 1
imul rax, rbp, 4
jo 0x140030220
sub rax, 1
jo 0x140030220
mov rdx, qword [r12 + 0x28]
mov qword [rsp + 0x30], rcx
mov r9, r14
mov rcx, r13
mov qword [rsp + 0x38], rax
test rdx, rdx
lea r8, [rdx + 8]
cmovne rdx, r8
mov r8, qword [r12 + 0x20]
call fcn.140014ff0
cmp byte [rbx], 0
mov rdi, qword [rsp + 0x48]
jne 0x140030076
mov rdx, r13
mov rcx, rsi
call sym.addRoundKey__OOZOOZOOZOOZOOZOOZOnimbleZpkgs50Znimtestcrypto4548O50O484548a4856cdb56dbde565055524954565048ad54b495152cd51c51564
cmp byte [rbx], 0
jne 0x140030076
test rdi, rdi
je 0x140030115
test byte [rdi + 7], 0x40
je 0x140030200
cmp qword [r12 + 8], rbp
jg 0x14002ffd6
mov rcx, rsi
call sym.subBytes__OOZOOZOOZOOZOOZOOZOnimbleZpkgs50Znimtestcrypto4548O50O484548a4856cdb56dbde565055524954565048ad54b495152cd51c51564952
cmp byte [rbx], 0
jne 0x140030076
mov rcx, rsi
call sym.shiftRows__OOZOOZOOZOOZOOZOOZOnimbleZpkgs50Znimtestcrypto4548O50O484548a4856cdb56dbde565055524954565048ad54b495152cd51c5156495
cmp byte [rbx], 0
jne 0x140030076
mov rax, qword [r12 + 8]
imul rcx, rax, 4
jo 0x140030220
add rax, 1
jo 0x140030220
imul rax, rax, 4
jo 0x140030220
sub rax, 1
jo 0x140030220
mov rdx, qword [r12 + 0x28]
mov qword [rsp + 0x30], rcx
mov r9, r14
mov rcx, r13
mov qword [rsp + 0x38], rax
test rdx, rdx
lea r8, [rdx + 8]
cmovne rdx, r8
mov r8, qword [r12 + 0x20]
call fcn.140014ff0
cmp byte [rbx], 0
mov rdi, qword [rsp + 0x48]
jne 0x140030076
mov rdx, r13
mov rcx, rsi
call sym.addRoundKey__OOZOOZOOZOOZOOZOOZOnimbleZpkgs50Znimtestcrypto4548O50O484548a4856cdb56dbde565055524954565048ad54b495152cd51c51564
cmp byte [rbx], 0
jne 0x140030076
test rdi, rdi
je 0x1400301c6
test byte [rdi + 7], 0x40
je 0x140030235
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140030076
test byte [rax + 7], 0x40
jne 0x140030076
mov edx, 4
mov rcx, rax
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.alignedDealloc
mov edx, 4
mov rcx, rdi
call sym.alignedDealloc
cmp qword [r12 + 8], rbp
jg 0x14002ffd6
jmp 0x140030120
add rsp, 0x58
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
jmp sym.raiseOverflow
mov edx, 4
mov rcx, rdi
call sym.alignedDealloc
jmp 0x1400301c6