Function at 0x14001ce80
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xc0
mov rax, qword [0x14002b040]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov dword [rbp - 0x69], edx
mov r15d, ecx
xor r12d, r12d
movzx r14d, r12w
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
mov esi, r12d
mov qword [rbp + 0x27], r12
mov ebx, 1
mov edi, dword [0x14002b75c]
cmp edi, ebx
jl 0x14001d5fc
lea r13, [0x14002b780]
mov r9, qword [rbp + 0x1f]
nop dword [rax]
cmp ebx, r15d
je 0x14001cf91
mov r8d, r12d
movsxd rax, ebx
shl rax, 6
mov r10d, dword [rax + r13 + 8]
test r10d, r10d
jle 0x14001cf91
mov r11, qword [rax + r13 + 0x10]
mov rdx, r12
nop dword [rax]
lea rax, [rdx + r11]
lea rcx, [rax + 0x20]
cmp qword [rax + 0x38], 0xf
jbe 0x14001cf33
mov rcx, qword [rax + 0x20]
cmp qword [rax + 0x30], 6
jne 0x14001cf4a
cmp dword [rcx], 0xe4cfa6b1
jne 0x14001cf4a
cmp word [rcx + 4], 0xd6b9
je 0x14001cf58
inc r8d
add rdx, 0x70
cmp r8d, r10d
jl 0x14001cf20
jmp 0x14001cf91
inc r14w
mov word [rbp - 0x61], bx
cmp r9, rsi
je 0x14001cf73
mov word [r9], bx
add r9, 2
mov qword [rbp + 0x1f], r9
jmp 0x14001cf91
lea r8, [rbp - 0x61]
mov rdx, r9
lea rcx, [rbp + 0x17]
call fcn.14001e920
mov rsi, qword [rbp + 0x27]
mov r9, qword [rbp + 0x1f]
mov edi, dword [0x14002b75c]
inc ebx
cmp ebx, edi
jle 0x14001cef0
test r14w, r14w
mov r13d, dword [rbp - 0x69]
je 0x14001d5fc
mov rdi, qword [rbp + 0x17]
cmp r14w, 1
jne 0x14001d2a8
mov r9d, r12d
movsx rax, word [rdi]
shl rax, 6
lea rbx, [0x14002b780]
lea r15, [rax + rbx]
movsxd rcx, dword [r15 + 8]
test ecx, ecx
jle 0x14001d09b
mov r10, rcx
mov rdx, r12
lea r14, [rax + rbx]
mov r11, qword [r14 + 0x10]
mov r8, r12
nop dword [rax + rax]
lea rax, [r11 + r8]
lea rcx, [rax + 0x20]
cmp qword [rax + 0x38], 0xf
jbe 0x14001d003
mov rcx, qword [rax + 0x20]
cmp qword [rax + 0x30], 6
jne 0x14001d01a
cmp dword [rcx], 0xe4cfa6b1
jne 0x14001d01a
cmp word [rcx + 4], 0xd6b9
je 0x14001d02b
inc r9d
inc rdx
add r8, 0x70
cmp rdx, r10
jl 0x14001cff0
jmp 0x14001d09b
movsxd rax, r9d
imul rbx, rax, 0x70
mov dword [rbx + r11 + 0x10], 3
mov r8, qword [r14 + 0x10]
add r8, rbx
mov rax, qword [0x14002e598]
cmp rax, qword [0x14002e5a0]
je 0x14001d067
mov rdx, r8
mov rcx, rax
call fcn.140001370
add qword [0x14002e598], 0x70
jmp 0x14001d076
mov rdx, rax
lea rcx, [0x14002e590]
call fcn.140017370
mov r8, qword [r14 + 0x10]
add r8, rbx
lea rdx, [rbp - 0x69]
lea rcx, [r14 + 0x10]
call fcn.140016d80
dec dword [r15 + 8]
inc dword [0x14002b770]
lea rbx, [0x14002b780]
test r13d, r13d
jne 0x14001d188
movsx ecx, word [rdi]
call fcn.14001cc80
movsx eax, word [rdi]
cmp eax, 1
jne 0x14001d0bb
call fcn.14001dfa0
jmp 0x14001d0c2
mov ecx, eax
call fcn.14001e200
movsx ecx, word [rdi]
call fcn.14001cc80
movsx eax, word [rdi]
cmp eax, 1
jne 0x14001d0d9
call fcn.14001dfa0
jmp 0x14001d0e0
mov ecx, eax
call fcn.14001e200
call fcn.1400179c0
movsx edx, word [rdi]
lea rcx, [0x1400266c8]
call fcn.1400010a0
lea rax, [rbp - 0x59]
mov qword [rbp - 0x69], rax
mov eax, dword [0x14002d1e0]
mov dword [rbp - 0x59], eax
mov eax, dword [0x14002d1e4]
mov dword [rbp - 0x55], eax
mov eax, dword [0x14002d1e8]
mov dword [rbp - 0x51], eax
mov eax, dword [0x14002d1ec]
mov dword [rbp - 0x4d], eax
mov eax, dword [0x14002d1f0]
mov dword [rbp - 0x49], eax
mov eax, dword [0x14002d1f4]
mov dword [rbp - 0x45], eax
movzx eax, byte [0x14002d1f8]
mov byte [rbp - 0x41], al
lea rdx, [0x14002d200]
lea rcx, [rbp - 0x39]
call fcn.140016ed0
nop
lea rdx, [0x14002d220]
lea rcx, [rbp - 0x19]
call fcn.140016ed0
mov rax, qword [0x14002d240]
mov qword [rbp + 7], rax
mov rax, qword [0x14002d248]
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 0x59]
call fcn.140019650
lea rcx, [0x1400266d8]
jmp 0x14001d4c7
cmp r13d, 1
jne 0x14001d5f8
movsx rax, word [rdi]
shl rax, 6
inc dword [rax + rbx]
call fcn.1400179c0
movsx edx, word [rdi]
lea rcx, [0x1400266c8]
call fcn.1400010a0
lea rax, [rbp - 0x59]
mov qword [rbp - 0x69], rax
mov eax, dword [0x14002d1e0]
mov dword [rbp - 0x59], eax
mov eax, dword [0x14002d1e4]
mov dword [rbp - 0x55], eax
mov eax, dword [0x14002d1e8]
mov dword [rbp - 0x51], eax
mov eax, dword [0x14002d1ec]
mov dword [rbp - 0x4d], eax
mov eax, dword [0x14002d1f0]
mov dword [rbp - 0x49], eax
mov eax, dword [0x14002d1f4]
mov dword [rbp - 0x45], eax
movzx eax, byte [0x14002d1f8]
mov byte [rbp - 0x41], al
lea rdx, [0x14002d200]
lea rcx, [rbp - 0x39]
call fcn.140016ed0
nop
lea rdx, [0x14002d220]
lea rcx, [rbp - 0x19]
call fcn.140016ed0
mov rax, qword [0x14002d240]
mov qword [rbp + 7], rax
mov rax, qword [0x14002d248]
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 0x59]
call fcn.140019650
lea rcx, [0x1400266f0]
call fcn.1400010a0
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movsx rax, word [rdi]
mov edx, eax
mov rcx, rax
shl rcx, 6
mov eax, dword [0x14002b754]
cmp dword [rcx + rbx], eax
jne 0x14001d280
mov dword [0x14002b750], edx
mov dword [0x14002b768], r12d
movzx ebx, r13b
jmp 0x14001d602
mov ecx, edx
call fcn.14001d8d0
cmp dword [0x14002b768], 0
jne 0x14001d297
mov bl, 1
jmp 0x14001d602
movsx ecx, word [rdi]
xor edx, edx
call fcn.14001ce80
mov bl, 1
jmp 0x14001d602
jle 0x14001d5f8
movsx ebx, r14w
mov edx, ebx
lea rcx, [0x140026708]
call fcn.1400010a0
lea rdx, [0x14002d1e0]
lea rcx, [rbp - 0x59]
call fcn.140001370
mov rcx, rax
call fcn.140019650
lea rcx, [0x140026720]
call fcn.1400010a0
call qword [sym.imp.api_ms_win_crt_utility_l1_1_0.dll_rand]
cdq
idiv ebx
mov r9d, r12d
movsx rax, dx
lea r15, [rdi + rax*2]
movsx rax, word [r15]
shl rax, 6
lea rbx, [0x14002b780]
lea r12, [rax + rbx]
movsxd rcx, dword [r12 + 8]
test ecx, ecx
jle 0x14001d3dc
mov r10, rcx
xor edx, edx
lea r14, [rax + rbx]
mov r11, qword [r14 + 0x10]
xor r8d, r8d
nop dword [rax + rax]
lea rax, [r11 + r8]
lea rcx, [rax + 0x20]
cmp qword [rax + 0x38], 0xf
jbe 0x14001d343
mov rcx, qword [rax + 0x20]
cmp qword [rax + 0x30], 6
jne 0x14001d35a
cmp dword [rcx], 0xe4cfa6b1
jne 0x14001d35a
cmp word [rcx + 4], 0xd6b9
je 0x14001d36b
inc r9d
inc rdx
add r8, 0x70
cmp rdx, r10
jl 0x14001d330
jmp 0x14001d3dc
movsxd rax, r9d
imul rbx, rax, 0x70
mov dword [r11 + rbx + 0x10], 3
mov r8, qword [r14 + 0x10]
add r8, rbx
mov rax, qword [0x14002e598]
cmp rax, qword [0x14002e5a0]
je 0x14001d3a7
mov rdx, r8
mov rcx, rax
call fcn.140001370
add qword [0x14002e598], 0x70
jmp 0x14001d3b6
mov rdx, rax
lea rcx, [0x14002e590]
call fcn.140017370
mov r8, qword [r14 + 0x10]
add r8, rbx
lea rdx, [rbp - 0x69]
lea rcx, [r14 + 0x10]
call fcn.140016d80
dec dword [r12 + 8]
inc dword [0x14002b770]
lea rbx, [0x14002b780]
test r13d, r13d
jne 0x14001d4e0
movsx ecx, word [r15]
call fcn.14001cc80
movsx eax, word [rdi]
cmp eax, 1
jne 0x14001d3fd
call fcn.14001dfa0
jmp 0x14001d404
mov ecx, eax
call fcn.14001e200
movsx ecx, word [r15]
call fcn.14001cc80
movsx eax, word [rdi]
cmp eax, 1
jne 0x14001d41c
call fcn.14001dfa0
jmp 0x14001d423
mov ecx, eax
call fcn.14001e200
call fcn.1400179c0
movsx edx, word [r15]
lea rcx, [0x140026730]
call fcn.1400010a0
lea rax, [rbp - 0x59]
mov qword [rbp - 0x69], rax
mov eax, dword [0x14002d1e0]
mov dword [rbp - 0x59], eax
mov eax, dword [0x14002d1e4]
mov dword [rbp - 0x55], eax
mov eax, dword [0x14002d1e8]
mov dword [rbp - 0x51], eax
mov eax, dword [0x14002d1ec]
mov dword [rbp - 0x4d], eax
mov eax, dword [0x14002d1f0]
mov dword [rbp - 0x49], eax
mov eax, dword [0x14002d1f4]
mov dword [rbp - 0x45], eax
movzx eax, byte [0x14002d1f8]
mov byte [rbp - 0x41], al
lea rdx, [0x14002d200]
lea rcx, [rbp - 0x39]
call fcn.140016ed0
nop
lea rdx, [0x14002d220]
lea rcx, [rbp - 0x19]
call fcn.140016ed0
mov rax, qword [0x14002d240]
mov qword [rbp + 7], rax
mov rax, qword [0x14002d248]
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 0x59]
call fcn.140019650
lea rcx, [0x140026748]
call fcn.1400010a0
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov bl, 1
jmp 0x14001d602
cmp r13d, 1
jne 0x14001d5f8
movsx rax, word [r15]
shl rax, 6
inc dword [rax + rbx]
call fcn.1400179c0
movsx edx, word [r15]
lea rcx, [0x140026730]
call fcn.1400010a0
lea rax, [rbp - 0x59]
mov qword [rbp - 0x69], rax
mov eax, dword [0x14002d1e0]
mov dword [rbp - 0x59], eax
mov eax, dword [0x14002d1e4]
mov dword [rbp - 0x55], eax
mov eax, dword [0x14002d1e8]
mov dword [rbp - 0x51], eax
mov eax, dword [0x14002d1ec]
mov dword [rbp - 0x4d], eax
mov eax, dword [0x14002d1f0]
mov dword [rbp - 0x49], eax
mov eax, dword [0x14002d1f4]
mov dword [rbp - 0x45], eax
movzx eax, byte [0x14002d1f8]
mov byte [rbp - 0x41], al
lea rdx, [0x14002d200]
lea rcx, [rbp - 0x39]
call fcn.140016ed0
nop
lea rdx, [0x14002d220]
lea rcx, [rbp - 0x19]
call fcn.140016ed0
mov rax, qword [0x14002d240]
mov qword [rbp + 7], rax
mov rax, qword [0x14002d248]
mov qword [rbp + 0xf], rax
lea rcx, [rbp - 0x59]
call fcn.140019650
lea rcx, [0x140026758]
call fcn.1400010a0
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
movsx rax, word [r15]
mov edx, eax
mov rcx, rax
shl rcx, 6
mov eax, dword [0x14002b754]
cmp dword [rcx + rbx], eax
jne 0x14001d5d9
mov dword [0x14002b750], edx
mov dword [0x14002b768], 0
movzx ebx, r13b
jmp 0x14001d602
mov ecx, edx
call fcn.14001d8d0
cmp dword [0x14002b768], 0
jne 0x14001d5ed
mov bl, 1
jmp 0x14001d602
movsx ecx, word [r15]
xor edx, edx
call fcn.14001ce80
mov bl, 1
jmp 0x14001d602
xor bl, bl
mov rdi, qword [rbp + 0x17]
test rdi, rdi
je 0x14001d643
sub rsi, rdi
sar rsi, 1
add rsi, rsi
mov rax, rdi
cmp rsi, 0x1000
jb 0x14001d638
add rsi, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001d638
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rdx, rsi
mov rcx, rdi
call fcn.14002181c
movzx eax, bl
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400217c0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret