Function at 0x140030940
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.140015350
mov rax, qword [rsp + 0x48]
mov rcx, qword [0x14012c5f0]
mov qword [rsp + 0x28], rax
call dbg.__emutls_get_address
cmp byte [rax], 0
mov rbx, rax
jne 0x140030a76
mov rdx, r13
mov rcx, rsi
call sym.addRoundKey__OOZOOZOOZOOZOOZOOZOnimbleZpkgs50Znimtestcrypto4548O50O484548a4856cdb56dbde565055524954565048ad54b495152cd51c51564
cmp byte [rbx], 0
jne 0x140030a76
cmp qword [r12 + 8], 1
jle 0x140030b20
mov ebp, 1
mov rcx, rsi
call sym.subBytes__OOZOOZOOZOOZOOZOOZOnimbleZpkgs50Znimtestcrypto4548O50O484548a4856cdb56dbde565055524954565048ad54b495152cd51c51564952
cmp byte [rbx], 0
jne 0x140030a76
mov r8d, 1
mov edx, 1
mov rcx, rsi
call sym.shiftRow__OOZOOZOOZOOZOOZOOZOnimbleZpkgs50Znimtestcrypto4548O50O484548a4856cdb56dbde565055524954565048ad54b495152cd51c51564952
cmp byte [rbx], 0
jne 0x140030a76
mov r8d, 2
mov edx, 2
mov rcx, rsi
call sym.shiftRow__OOZOOZOOZOOZOOZOOZOnimbleZpkgs50Znimtestcrypto4548O50O484548a4856cdb56dbde565055524954565048ad54b495152cd51c51564952
cmp byte [rbx], 0
jne 0x140030a76
mov r8d, 3
mov edx, 3
mov rcx, rsi
call sym.shiftRow__OOZOOZOOZOOZOOZOOZOnimbleZpkgs50Znimtestcrypto4548O50O484548a4856cdb56dbde565055524954565048ad54b495152cd51c51564952
cmp byte [rbx], 0
jne 0x140030a76
mov rdi, qword [rsi]
xor eax, eax
sub rdi, 1
seto al
mov r15, rax
test r15, r15
je 0x140030a54
jmp 0x140030a90
mov rax, r15
add rax, 4
mov r15, rax
jo 0x140030a90
cmp rdi, r15
jl 0x140030a9c
mov r9d, 4
lea r8, [0x1401141fa]
mov rdx, r15
mov rcx, rsi
call sym.mulWord__OOZOOZOOZOOZOOZOOZOnimbleZpkgs50Znimtestcrypto4548O50O484548a4856cdb56dbde565055524954565048ad54b495152cd51c51564952a
cmp byte [rbx], 0
je 0x140030a48
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 0x140030a76
imul rcx, rbp, 4
jo 0x140030c20
add rbp, 1
imul rax, rbp, 4
jo 0x140030c20
sub rax, 1
jo 0x140030c20
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.140015350
cmp byte [rbx], 0
mov rdi, qword [rsp + 0x48]
jne 0x140030a76
mov rdx, r13
mov rcx, rsi
call sym.addRoundKey__OOZOOZOOZOOZOOZOOZOnimbleZpkgs50Znimtestcrypto4548O50O484548a4856cdb56dbde565055524954565048ad54b495152cd51c51564
cmp byte [rbx], 0
jne 0x140030a76
test rdi, rdi
je 0x140030b15
test byte [rdi + 7], 0x40
je 0x140030c00
cmp qword [r12 + 8], rbp
jg 0x1400309d6
mov rcx, rsi
call sym.subBytes__OOZOOZOOZOOZOOZOOZOnimbleZpkgs50Znimtestcrypto4548O50O484548a4856cdb56dbde565055524954565048ad54b495152cd51c51564952
cmp byte [rbx], 0
jne 0x140030a76
mov rcx, rsi
call sym.shiftRows__OOZOOZOOZOOZOOZOOZOnimbleZpkgs50Znimtestcrypto4548O50O484548a4856cdb56dbde565055524954565048ad54b495152cd51c5156495
cmp byte [rbx], 0
jne 0x140030a76
mov rax, qword [r12 + 8]
imul rcx, rax, 4
jo 0x140030c20
add rax, 1
jo 0x140030c20
imul rax, rax, 4
jo 0x140030c20
sub rax, 1
jo 0x140030c20
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.140015350
cmp byte [rbx], 0
mov rdi, qword [rsp + 0x48]
jne 0x140030a76
mov rdx, r13
mov rcx, rsi
call sym.addRoundKey__OOZOOZOOZOOZOOZOOZOnimbleZpkgs50Znimtestcrypto4548O50O484548a4856cdb56dbde565055524954565048ad54b495152cd51c51564
cmp byte [rbx], 0
jne 0x140030a76
test rdi, rdi
je 0x140030bc6
test byte [rdi + 7], 0x40
je 0x140030c35
mov rax, qword [rsp + 0x28]
test rax, rax
je 0x140030a76
test byte [rax + 7], 0x40
jne 0x140030a76
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 0x1400309d6
jmp 0x140030b20
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 0x140030bc6