Function at 0x140001070
Capabilities:
Terminate process

Disassembly:
push rbp
push r13
push r14
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp], rax
mov r13, rcx
mov ecx, 0x100000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r14, rax
test rax, rax
jne 0x1400010c4
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, str.memory_not_enough__n
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov ecx, 0x3ea
mov qword [rsp + 0x148], rbx
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rbx, rax
test rax, rax
jne 0x140001106
mov rcx, r13
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, r14
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rcx, str.memory_not_enough__n
call fcn.140001010
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov qword [rsp + 0x150], rsi
mov rsi, r14
mov qword [rsp + 0x158], rdi
xor edi, edi
mov qword [rsp + 0x118], r12
mov r12d, edi
mov qword [rsp + 0x110], r15
mov r15d, edi
mov edx, r12d
lea rcx, str.read:__d_n
call fcn.140001010
xor edx, edx
mov r8d, 0x3ea
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
lea rdx, [rbp - 0x70]
xor eax, eax
mov r8d, 0xa
mov dword [rbp - 0x10], eax
mov ecx, r12d
mov qword [rsp + 0x77], rax
mov dword [rsp + 0x7f], eax
mov byte [rbp - 0x7d], al
mov eax, dword [str.mykeyt]
mov dword [rsp + 0x20], eax
movzx eax, word [0x1400032e8]
mov word [rsp + 0x24], ax
movzx eax, byte [0x1400032ea]
mov byte [rsp + 0x26], al
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rsp + 0x27], xmm0
movups xmmword [rsp + 0x37], xmm0
movups xmmword [rsp + 0x47], xmm0
movups xmmword [rsp + 0x57], xmm0
movups xmmword [rsp + 0x67], xmm0
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
lea rdx, [rsp + 0x20]
mov r8, rax
dec rdx
cmp byte [rdx + 1], dil
lea rdx, [rdx + 1]
jne 0x1400011d4
xor ecx, ecx
movzx eax, byte [r8 + rcx]
mov byte [rdx + rcx], al
lea rcx, [rcx + 1]
test al, al
jne 0x1400011e0
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x140001200
movzx eax, word [0x1400032ec]
mov r9d, 0x3e8
mov word [rcx], ax
mov r8, rbx
movzx eax, byte [0x1400032ee]
mov byte [rcx + 2], al
lea rcx, [rsp + 0x20]
call fcn.140001530
test eax, eax
je 0x140001515
mov r8, rsi
mov rax, rbx
mov ecx, 7
nop dword [rax]
nop dword [rax + rax]
lea r8, [r8 + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [r8 - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [r8 - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [r8 - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [r8 - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [r8 - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [r8 - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [r8 - 0x20], xmm0
movups xmmword [r8 - 0x10], xmm1
sub rcx, 1
jne 0x140001250
movups xmm0, xmmword [rax]
mov rdx, qword [rax + 0x60]
inc r12d
movups xmm1, xmmword [rax + 0x10]
inc r15
add rsi, 0x3e8
movups xmmword [r8], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [r8 + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [r8 + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [r8 + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [r8 + 0x40], xmm0
movups xmmword [r8 + 0x50], xmm1
mov qword [r8 + 0x60], rdx
cmp r15, 0x62
jl 0x140001131
mov edx, r12d
lea rcx, str.read:__d_n
call fcn.140001010
xorps xmm0, xmm0
lea rdx, [rbp - 0x70]
xor eax, eax
mov r8d, 0xa
mov qword [rbx], rax
mov ecx, r12d
mov dword [rbp - 0x10], eax
mov qword [rsp + 0x77], rax
mov dword [rsp + 0x7f], eax
mov byte [rbp - 0x7d], al
mov eax, dword [str.mykeyt]
mov dword [rsp + 0x20], eax
movzx eax, word [0x1400032e8]
mov word [rsp + 0x24], ax
movzx eax, byte [0x1400032ea]
mov byte [rsp + 0x26], al
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rsp + 0x27], xmm0
movups xmmword [rsp + 0x37], xmm0
movups xmmword [rsp + 0x47], xmm0
movups xmmword [rsp + 0x57], xmm0
movups xmmword [rsp + 0x67], xmm0
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
lea rcx, [rsp + 0x20]
mov r8, rax
dec rcx
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x140001394
xor edx, edx
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400013a0
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x1400013c0
movzx eax, word [0x1400032ec]
mov r9d, 0xda
mov word [rcx], ax
mov r8, rbx
movzx eax, byte [0x1400032ee]
mov byte [rcx + 2], al
lea rcx, [rsp + 0x20]
call fcn.140001530
test eax, eax
je 0x14000151b
movups xmm0, xmmword [rbx]
mov r9d, 0xc9
movups xmm1, xmmword [rbx + 0x10]
imul eax, r12d, 0x3e8
movsxd rdx, eax
add rdx, r14
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rbx + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rbx + 0x60]
movups xmmword [rdx + 0x50], xmm1
movups xmm1, xmmword [rbx + 0x70]
movups xmmword [rdx + 0x60], xmm0
sub rdx, 0xffffffffffffff80
sub rbx, 0xffffffffffffff80
movups xmmword [rdx - 0x10], xmm1
mov rax, qword [rbx + 0x50]
movups xmm0, xmmword [rbx]
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rbx + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rbx + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rbx + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmmword [rdx + 0x40], xmm0
mov qword [rdx + 0x50], rax
movzx eax, word [rbx + 0x58]
mov word [rdx + 0x58], ax
nop dword [rax + rax]
movzx r8d, byte [r14 + rdi*2]
movzx edx, byte [r14 + rdi*2 + 1]
lea ecx, [r8 - 0x30]
cmp cl, 9
lea eax, [r8 - 0x37]
movzx eax, al
mov ecx, 0xd0
cmova r8d, eax
lea eax, [rdx - 0x30]
shl r8b, 4
cmp al, 9
cmova ecx, r9d
add cl, dl
or r8b, cl
mov byte [rdi + r13], r8b
inc rdi
cmp rdi, 0xbfd5
jl 0x140001490
mov r12, qword [rsp + 0x118]
mov rdi, qword [rsp + 0x158]
mov rsi, qword [rsp + 0x150]
mov r15, qword [rsp + 0x110]
mov rbx, qword [rsp + 0x148]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.1400019c0
add rsp, 0x120
pop r14
pop r13
pop rbp
ret
call fcn.1400017d0
int3
call fcn.1400017d0
int3