Function at 0x140001070
Capabilities:
Terminate process

Disassembly:
push rbp
push r12
push r15
lea rbp, [rsp - 0x410]
sub rsp, 0x510
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x3f0], rax
mov r12, rcx
mov ecx, 0x100000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, rax
test rax, rax
jne 0x1400010ca
mov rcx, r12
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 + 0x538], rbx
xor ebx, ebx
mov qword [rsp + 0x540], rsi
mov esi, ebx
mov qword [rsp + 0x508], rdi
mov rdi, r15
mov qword [rsp + 0x500], r14
mov r14d, ebx
nop dword [rax]
nop dword [rax + rax]
mov edx, r14d
lea rcx, str.read:__d_n
call fcn.140001010
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x3ea
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
lea rdx, [rbp - 0x70]
xor eax, eax
mov r8d, 0xa
movups xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x10], eax
mov ecx, r14d
movups xmmword [rbp - 0x60], xmm0
mov qword [rsp + 0x79], rax
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x7f], ax
movups xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x7d], al
movzx eax, byte [0x1400032f0]
movups xmmword [rbp - 0x30], xmm0
mov byte [rsp + 0x28], al
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rsp + 0x29], xmm0
movups xmmword [rsp + 0x39], xmm0
movups xmmword [rsp + 0x49], xmm0
movups xmmword [rsp + 0x59], xmm0
movups xmmword [rsp + 0x69], xmm0
movsd xmm0, qword [str.mykeyaaa]
movsd qword [rsp + 0x20], xmm0
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
lea rcx, [rsp + 0x20]
mov r8, rax
dec rcx
nop dword [rax]
cmp byte [rcx + 1], bl
lea rcx, [rcx + 1]
jne 0x1400011a0
xor edx, edx
nop dword [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400011b0
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], bl
lea rcx, [rcx + 1]
jne 0x1400011d0
movzx eax, word [0x1400032f4]
lea r8, [rbp]
mov word [rcx], ax
mov r9d, 0x3e8
movzx eax, byte [0x1400032f6]
mov byte [rcx + 2], al
lea rcx, [rsp + 0x20]
call fcn.140001500
test eax, eax
je 0x1400014f0
mov r9, rdi
lea rax, [rbp]
mov ecx, 7
nop word [rax + rax]
lea r9, [r9 + 0x80]
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
lea rax, [rax + 0x80]
movups xmmword [r9 - 0x80], xmm0
movups xmm0, xmmword [rax - 0x60]
movups xmmword [r9 - 0x70], xmm1
movups xmm1, xmmword [rax - 0x50]
movups xmmword [r9 - 0x60], xmm0
movups xmm0, xmmword [rax - 0x40]
movups xmmword [r9 - 0x50], xmm1
movups xmm1, xmmword [rax - 0x30]
movups xmmword [r9 - 0x40], xmm0
movups xmm0, xmmword [rax - 0x20]
movups xmmword [r9 - 0x30], xmm1
movups xmm1, xmmword [rax - 0x10]
movups xmmword [r9 - 0x20], xmm0
movups xmmword [r9 - 0x10], xmm1
sub rcx, 1
jne 0x140001220
movups xmm0, xmmword [rax]
mov rdx, qword [rax + 0x60]
inc r14d
movups xmm1, xmmword [rax + 0x10]
inc rsi
add rdi, 0x3e8
movups xmmword [r9], xmm0
movups xmm0, xmmword [rax + 0x20]
movups xmmword [r9 + 0x10], xmm1
movups xmm1, xmmword [rax + 0x30]
movups xmmword [r9 + 0x20], xmm0
movups xmm0, xmmword [rax + 0x40]
movups xmmword [r9 + 0x30], xmm1
movups xmm1, xmmword [rax + 0x50]
movups xmmword [r9 + 0x40], xmm0
movups xmmword [r9 + 0x50], xmm1
mov qword [r9 + 0x60], rdx
cmp rsi, 0x62
jl 0x140001100
mov edx, r14d
lea rcx, str.read:__d_n
call fcn.140001010
xor edx, edx
lea rcx, [rbp]
mov r8d, 0x3ea
call sub.VCRUNTIME140.dll_memset
xorps xmm0, xmm0
lea rdx, [rbp - 0x70]
xor eax, eax
mov r8d, 0xa
movups xmmword [rbp - 0x70], xmm0
mov dword [rbp - 0x10], eax
mov ecx, r14d
movups xmmword [rbp - 0x60], xmm0
mov qword [rsp + 0x79], rax
movups xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x7f], ax
movups xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x7d], al
movzx eax, byte [0x1400032f0]
movups xmmword [rbp - 0x30], xmm0
mov byte [rsp + 0x28], al
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rsp + 0x29], xmm0
movups xmmword [rsp + 0x39], xmm0
movups xmmword [rsp + 0x49], xmm0
movups xmmword [rsp + 0x59], xmm0
movups xmmword [rsp + 0x69], xmm0
movsd xmm0, qword [str.mykeyaaa]
movsd qword [rsp + 0x20], xmm0
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
lea rcx, [rsp + 0x20]
mov r8, rax
dec rcx
nop word [rax + rax]
cmp byte [rcx + 1], bl
lea rcx, [rcx + 1]
jne 0x140001370
xor edx, edx
nop dword [rax + rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140001380
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], bl
lea rcx, [rcx + 1]
jne 0x1400013a0
movzx eax, word [0x1400032f4]
lea r8, [rbp]
mov word [rcx], ax
mov r9d, 0xda
movzx eax, byte [0x1400032f6]
mov byte [rcx + 2], al
lea rcx, [rsp + 0x20]
call fcn.140001500
test eax, eax
je 0x1400014f6
lea rcx, [rbp]
imul eax, r14d, 0x3e8
movups xmm0, xmmword [rcx]
mov r9d, 0xc9
movups xmm1, xmmword [rcx + 0x10]
lea rcx, [rcx + 0x80]
movsxd rdx, eax
mov rax, qword [rcx + 0x50]
add rdx, r15
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rcx - 0x60]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rcx - 0x50]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rcx - 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [rcx - 0x30]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [rcx - 0x20]
movups xmmword [rdx + 0x50], xmm1
movups xmm1, xmmword [rcx - 0x10]
movups xmmword [rdx + 0x60], xmm0
sub rdx, 0xffffffffffffff80
movups xmm0, xmmword [rcx]
movups xmmword [rdx - 0x10], xmm1
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rdx], xmm0
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmmword [rdx + 0x40], xmm0
mov qword [rdx + 0x50], rax
movzx eax, word [rcx + 0x58]
mov word [rdx + 0x58], ax
nop
movzx r8d, byte [r15 + rbx*2]
movzx edx, byte [r15 + rbx*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 [rbx + r12], r8b
inc rbx
cmp rbx, 0xbfd5
jl 0x140001470
mov rdi, qword [rsp + 0x508]
mov rsi, qword [rsp + 0x540]
mov rbx, qword [rsp + 0x538]
mov r14, qword [rsp + 0x500]
mov rcx, qword [rbp + 0x3f0]
xor rcx, rsp
call fcn.140001990
add rsp, 0x510
pop r15
pop r12
pop rbp
ret
call fcn.1400017a0
int3
call fcn.1400017a0
int3