Function at 0x140001070
Capabilities:
Terminate process

Disassembly:
push rbp
push rsi
push r13
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x20], rax
mov r13, 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 0x1400010c3
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 qword [rsp + 0x168], rbx
xor ebx, ebx
mov qword [rsp + 0x170], rdi
mov qword [rsp + 0x178], r12
mov r12, rsi
mov qword [rsp + 0x138], r14
mov r14d, ebx
mov qword [rsp + 0x130], r15
lea rdi, [rbx - 1]
mov r15d, ebx
nop word [rax + rax]
mov edx, r14d
lea rcx, str.read:__d_n
call fcn.140001010
xorps xmm0, xmm0
lea rdx, [rbp - 0x50]
xor eax, eax
mov r8d, 0xa
mov dword [rbp + 0x10], eax
mov ecx, r14d
mov qword [rbp - 0x69], rax
mov dword [rbp - 0x61], eax
mov byte [rbp - 0x5d], al
mov eax, dword [str.mykeya]
mov dword [rsp + 0x40], eax
movzx eax, word [0x1400032e8]
mov word [rsp + 0x44], ax
movzx eax, byte [0x1400032ea]
mov byte [rsp + 0x46], al
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 [rsp + 0x47], xmm0
movups xmmword [rsp + 0x57], xmm0
movups xmmword [rsp + 0x67], xmm0
movups xmmword [rsp + 0x77], xmm0
movups xmmword [rbp - 0x79], xmm0
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
lea rcx, [rsp + 0x40]
mov r8, rax
dec rcx
cmp byte [rcx + 1], bl
lea rcx, [rcx + 1]
jne 0x140001190
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 0x1400011a0
lea rax, [rsp + 0x40]
mov rcx, rdi
inc rcx
cmp byte [rax + rcx], bl
jne 0x1400011b8
inc rcx
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov rdi, rax
mov r8, 0xffffffffffffffff
lea rax, [rsp + 0x40]
nop word [rax + rax]
cmp byte [rax + r8 + 1], bl
lea r8, [r8 + 1]
jne 0x1400011f0
lea r8, [r8*2 + 2]
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x40]
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp byte [rcx + rax], bl
jne 0x140001220
inc eax
lea r8, [rsp + 0x40]
mov dword [rsp + 0x28], eax
xor edx, edx
mov qword [rsp + 0x20], rdi
xor ecx, ecx
mov rdi, 0xffffffffffffffff
mov r9d, edi
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea r9, [rsp + 0x30]
mov qword [rsp + 0x30], rbx
xor r8d, r8d
lea edx, [rdi + 2]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ADVAPI32.dll_CredReadW]
test eax, eax
je 0x1400015c3
mov rax, qword [rsp + 0x30]
lea r8, [r12 + 0x80]
inc r14d
inc r15
mov rdx, qword [rax + 0x10]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [r12], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [r12 + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [r12 + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [r12 + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [r12 + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [r12 + 0x50], xmm1
movups xmm1, xmmword [rdx + 0x70]
sub rdx, 0xffffffffffffff80
movups xmmword [r12 + 0x60], xmm0
add r12, 0xfe
movups xmmword [r8 - 0x10], xmm1
mov rax, qword [rdx + 0x70]
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [rdx + 0x10]
movups xmmword [r8], xmm0
movups xmm0, xmmword [rdx + 0x20]
movups xmmword [r8 + 0x10], xmm1
movups xmm1, xmmword [rdx + 0x30]
movups xmmword [r8 + 0x20], xmm0
movups xmm0, xmmword [rdx + 0x40]
movups xmmword [r8 + 0x30], xmm1
movups xmm1, xmmword [rdx + 0x50]
movups xmmword [r8 + 0x40], xmm0
movups xmm0, xmmword [rdx + 0x60]
movups xmmword [r8 + 0x50], xmm1
movups xmmword [r8 + 0x60], xmm0
mov qword [r8 + 0x70], rax
mov eax, dword [rdx + 0x78]
mov dword [r8 + 0x78], eax
movzx eax, word [rdx + 0x7c]
mov word [r8 + 0x7c], ax
cmp r15, 0x182
jl 0x140001100
mov edx, r14d
lea rcx, str.read:__d_n
call fcn.140001010
xorps xmm0, xmm0
lea r8d, [rdi + 0xb]
xor eax, eax
lea rdx, [rbp - 0x50]
mov dword [rbp + 0x10], eax
mov ecx, r14d
mov qword [rbp - 0x69], rax
mov dword [rbp - 0x61], eax
mov byte [rbp - 0x5d], al
mov eax, dword [str.mykeya]
mov dword [rsp + 0x40], eax
movzx eax, word [0x1400032e8]
mov word [rsp + 0x44], ax
movzx eax, byte [0x1400032ea]
mov byte [rsp + 0x46], al
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 [rsp + 0x47], xmm0
movups xmmword [rsp + 0x57], xmm0
movups xmmword [rsp + 0x67], xmm0
movups xmmword [rsp + 0x77], xmm0
movups xmmword [rbp - 0x79], xmm0
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll__itoa]
lea rcx, [rsp + 0x40]
mov r8, rax
dec rcx
nop
cmp byte [rcx + 1], bl
lea rcx, [rcx + 1]
jne 0x1400013d0
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 0x1400013e0
lea rdx, [rsp + 0x40]
mov rcx, rdi
inc rcx
cmp byte [rdx + rcx], bl
jne 0x1400013f8
inc rcx
mov eax, 2
mul rcx
cmovo rax, rdi
mov rcx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov r15, 0xffffffffffffffff
mov rdi, rax
lea rax, [rsp + 0x40]
mov r8, r15
nop word [rax + rax]
cmp byte [rax + r8 + 1], bl
lea r8, [r8 + 1]
jne 0x140001430
lea r8, [r8*2 + 2]
xor edx, edx
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
lea rcx, [rsp + 0x40]
mov rax, r15
inc rax
cmp byte [rcx + rax], bl
jne 0x140001455
inc eax
lea r8, [rsp + 0x40]
mov dword [rsp + 0x28], eax
mov r9d, r15d
xor edx, edx
mov qword [rsp + 0x20], rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
xor r8d, r8d
mov qword [rsp + 0x30], rbx
lea r9, [rsp + 0x30]
lea rcx, [rsp + 0x40]
lea edx, [r8 + 1]
call qword [sym.imp.ADVAPI32.dll_CredReadW]
test eax, eax
je 0x1400015c9
mov rax, qword [rsp + 0x30]
mov r9d, 0xc9
mov r8, qword [rax + 0x10]
imul eax, r14d, 0xfe
movups xmm0, xmmword [r8]
movups xmm1, xmmword [r8 + 0x10]
movsxd rdx, eax
mov rax, qword [r8 + 0xa0]
add rdx, rsi
movups xmmword [rdx], xmm0
movups xmm0, xmmword [r8 + 0x20]
movups xmmword [rdx + 0x10], xmm1
movups xmm1, xmmword [r8 + 0x30]
movups xmmword [rdx + 0x20], xmm0
movups xmm0, xmmword [r8 + 0x40]
movups xmmword [rdx + 0x30], xmm1
movups xmm1, xmmword [r8 + 0x50]
movups xmmword [rdx + 0x40], xmm0
movups xmm0, xmmword [r8 + 0x60]
movups xmmword [rdx + 0x50], xmm1
movups xmm1, xmmword [r8 + 0x70]
movups xmmword [rdx + 0x60], xmm0
sub rdx, 0xffffffffffffff80
movups xmm0, xmmword [r8 + 0x80]
movups xmmword [rdx - 0x10], xmm1
movups xmm1, xmmword [r8 + 0x90]
movups xmmword [rdx], xmm0
movups xmmword [rdx + 0x10], xmm1
mov qword [rdx + 0x20], rax
mov eax, dword [r8 + 0xa8]
mov dword [rdx + 0x28], eax
movzx eax, word [r8 + 0xac]
mov word [rdx + 0x2c], ax
nop dword [rax]
movzx r8d, byte [rsi + rbx*2]
movzx edx, byte [rsi + 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 + r13], r8b
inc rbx
cmp rbx, 0xbfd5
jl 0x140001540
mov r14, qword [rsp + 0x138]
mov r12, qword [rsp + 0x178]
mov rdi, qword [rsp + 0x170]
mov rbx, qword [rsp + 0x168]
mov r15, qword [rsp + 0x130]
mov rcx, qword [rbp + 0x20]
xor rcx, rsp
call fcn.1400018d0
add rsp, 0x140
pop r13
pop rsi
pop rbp
ret
call fcn.140001880
int3
call fcn.140001880
int3