Function at 0x1400063b0
Capabilities:
Terminate process

Disassembly:
push r12
sub rsp, 0x50
mov rax, qword [0x14001fba8]
mov r12, rcx
test rax, rax
je 0x1400063d4
mov edx, dword [0x14001f73c]
mov dword [rcx], edx
add rsp, 0x50
pop r12
ret
mov qword [rsp + 0x60], rbx
mov edx, 0x10
mov qword [rsp + 0x68], rbp
mov ecx, edx
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
mov dword [0x14001f738], 0x10
call sub.api_ms_win_crt_heap_l1_1_0.dll_calloc
mov qword [0x14001fba8], rax
test rax, rax
je 0x14000665b
call fcn.1400081c0
mov rsi, qword [0x140021b98]
mov rbx, rax
test rsi, rsi
jne 0x140006447
mov rcx, qword [rax + 0x30]
lea edx, [rsi + 1]
call fcn.1400051b0
mov rsi, rax
mov qword [0x140021b98], rax
cmp qword [0x140021b88], 0
jne 0x140006480
mov rcx, qword [rbx + 0x50]
call fcn.140002a20
test rax, rax
je 0x140006687
xor edx, edx
mov rcx, rax
call fcn.1400051b0
mov rdx, qword [rsi + 0x20]
mov rcx, rax
mov qword [0x140021b88], rax
call fcn.140004d00
mov r14, qword [0x14001fba8]
xor edi, edi
mov ebp, edi
mov r11d, dword [0x14001f73c]
lea r13, [rdi - 1]
cmp dword [rsi + 0x60], edi
jbe 0x14000658c
nop
mov rax, qword [rsi + 0x58]
mov r15, qword [rsi + 0x28]
mov ecx, ebp
mov r9d, dword [rax + rcx*4]
cmp dword [rsi], edi
je 0x1400064b8
lea rbx, [r15 + r9]
jmp 0x1400064f3
mov rax, qword [rsi + 0x30]
mov r8d, edi
mov rbx, qword [rsi + 0x48]
movzx r10d, word [rax + 6]
test r10d, r10d
je 0x1400064f0
lea rax, [rbx + 8]
mov edx, dword [rax + 4]
cmp edx, r9d
ja 0x1400064e4
add edx, dword [rax]
cmp r9d, edx
jb 0x140006632
inc r8d
add rax, 0x28
cmp r8d, r10d
jb 0x1400064d1
mov rbx, rdi
cmp byte [rbx], 0x5a
jne 0x140006581
cmp byte [rbx + 1], 0x77
jne 0x140006581
mov eax, dword [0x14001f738]
cmp r11d, eax
jne 0x140006549
add eax, eax
mov rcx, r14
mov dword [0x14001f738], eax
mov edx, eax
mov eax, 0x10
mul rdx
cmovo rax, r13
mov rdx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
mov r14, rax
test rax, rax
je 0x14000665b
mov r11d, dword [0x14001f73c]
mov qword [0x14001fba8], rax
mov eax, r11d
mov rdx, rbx
add rax, rax
mov rcx, rsi
mov qword [r14 + rax*8], rbx
call fcn.140005380
mov r11d, dword [0x14001f73c]
mov r14, qword [0x14001fba8]
mov ecx, r11d
add rcx, rcx
inc r11d
mov dword [0x14001f73c], r11d
mov dword [r14 + rcx*8 + 8], eax
inc ebp
cmp ebp, dword [rsi + 0x60]
jb 0x1400064a0
mov ecx, r11d
mov eax, 0x10
mul rcx
mov rcx, r14
cmovo rax, r13
mov rdx, rax
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
test rax, rax
je 0x14000665b
mov ecx, dword [0x14001f73c]
test ecx, ecx
je 0x14000665b
mov dword [0x14001f738], ecx
lea r9, [0x140006360]
mov edx, ecx
mov qword [0x14001fba8], rax
mov rcx, rax
mov r8d, 0x10
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov edx, dword [0x14001f73c]
mov rcx, qword [0x14001fba8]
test edx, edx
je 0x14000660c
lea rax, [rcx + 0xc]
nop dword [rax + rax]
mov dword [rax], edi
lea rax, [rax + 0x10]
inc edi
cmp edi, edx
jb 0x140006600
lea r9, [0x140006380]
mov r8d, 0x10
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_qsort]
mov eax, dword [0x14001f73c]
mov dword [r12], eax
mov rax, qword [0x14001fba8]
jmp 0x14000665d
mov eax, r8d
lea rcx, [rax + rax*4]
lea rdx, [rbx + rcx*8]
test rdx, rdx
je 0x1400064f0
sub r9d, dword [rdx + 0xc]
mov ebx, dword [rdx + 0x14]
mov eax, r9d
add rax, r15
add rbx, rax
jmp 0x1400064f3
xor eax, eax
mov r14, qword [rsp + 0x38]
mov r13, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x48]
mov rsi, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov r15, qword [rsp + 0x30]
add rsp, 0x50
pop r12
ret
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3