Function at 0x140001070
Capabilities:
Terminate process

Disassembly:
push rbp
push rsi
push r12
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x80], rax
mov r12, rcx
mov ecx, 0x100000
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rsi, rax
test rax, rax
jne 0x1400010c9
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 + 0x1c8], rbx
mov rbx, rsi
mov qword [rsp + 0x1d0], rdi
xor edi, edi
mov qword [rsp + 0x198], r14
mov r14d, edi
mov qword [rsp + 0x190], r15
mov r15d, edi
nop dword [rax]
nop dword [rax + rax]
mov edx, r14d
lea rcx, str.read:__d_n
call fcn.140001010
xorps xmm0, xmm0
lea rdx, [rbp + 0x10]
xor eax, eax
mov r8d, 0xa
mov dword [rbp + 0x70], eax
mov ecx, r14d
mov qword [rsp + 0x77], rax
mov dword [rsp + 0x7f], eax
mov byte [rbp - 0x7d], al
mov eax, dword [str.mykeya]
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 [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], 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 0x1400011b3
xor edx, edx
nop
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x1400011c0
lea rax, [rsp + 0x20]
dec rax
nop dword [rax + rax]
cmp byte [rax + 1], dil
lea rax, [rax + 1]
jne 0x1400011e0
movzx ecx, word [0x1400032ec]
lea r8, [rbp - 0x70]
mov word [rax], cx
mov r9d, 0x7e
movzx ecx, byte [0x1400032ee]
mov byte [rax + 2], cl
lea rcx, [rsp + 0x20]
call fcn.140001470
test eax, eax
je 0x14000145e
movaps xmm2, xmmword [rbp]
inc r14d
movaps xmm0, xmmword [rbp - 0x70]
inc r15
movaps xmm1, xmmword [rbp - 0x60]
movups xmmword [rbx], xmm0
movaps xmm0, xmmword [rbp - 0x50]
movups xmmword [rbx + 0x10], xmm1
movaps xmm1, xmmword [rbp - 0x40]
movups xmmword [rbx + 0x20], xmm0
movaps xmm0, xmmword [rbp - 0x30]
movups xmmword [rbx + 0x30], xmm1
movaps xmm1, xmmword [rbp - 0x20]
movups xmmword [rbx + 0x40], xmm0
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [rbx + 0x50], xmm1
movups xmmword [rbx + 0x60], xmm0
movsd qword [rbx + 0x70], xmm2
movdqa xmm0, xmm2
pextrw eax, xmm2, 6
psrldq xmm0, 8
movd dword [rbx + 0x78], xmm0
mov word [rbx + 0x7c], ax
add rbx, 0x7e
cmp r15, 0x30b
jl 0x140001100
mov edx, r14d
lea rcx, str.read:__d_n
call fcn.140001010
xorps xmm0, xmm0
lea rdx, [rbp + 0x10]
xor eax, eax
mov r8d, 0xa
mov dword [rbp + 0x70], eax
mov ecx, r14d
mov qword [rsp + 0x77], rax
mov dword [rsp + 0x7f], eax
mov byte [rbp - 0x7d], al
mov eax, dword [str.mykeya]
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 [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], 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
nop dword [rax + rax]
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x140001340
xor edx, edx
nop dword [rax]
movzx eax, byte [r8 + rdx]
mov byte [rcx + rdx], al
lea rdx, [rdx + 1]
test al, al
jne 0x140001350
lea rcx, [rsp + 0x20]
dec rcx
nop dword [rax + rax]
cmp byte [rcx + 1], dil
lea rcx, [rcx + 1]
jne 0x140001370
movzx eax, word [0x1400032ec]
lea r8, [rbp - 0x70]
mov word [rcx], ax
mov r9d, 0x40
movzx eax, byte [0x1400032ee]
mov byte [rcx + 2], al
lea rcx, [rsp + 0x20]
call fcn.140001470
test eax, eax
je 0x140001464
movaps xmm0, xmmword [rbp - 0x70]
mov r9d, 0xc9
movaps xmm1, xmmword [rbp - 0x60]
imul eax, r14d, 0x7e
movsxd rcx, eax
movups xmmword [rcx + rsi], xmm0
movaps xmm0, xmmword [rbp - 0x50]
movups xmmword [rcx + rsi + 0x10], xmm1
movaps xmm1, xmmword [rbp - 0x40]
movups xmmword [rcx + rsi + 0x20], xmm0
movups xmmword [rcx + rsi + 0x30], xmm1
nop word [rax + rax]
movzx r8d, byte [rsi + rdi*2]
movzx edx, byte [rsi + 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 + r12], r8b
inc rdi
cmp rdi, 0xbfd5
jl 0x1400013e0
mov r14, qword [rsp + 0x198]
mov rdi, qword [rsp + 0x1d0]
mov rbx, qword [rsp + 0x1c8]
mov r15, qword [rsp + 0x190]
mov rcx, qword [rbp + 0x80]
xor rcx, rsp
call fcn.140001940
add rsp, 0x1a0
pop r12
pop rsi
pop rbp
ret
call fcn.140001750
int3
call fcn.140001750
int3