Function at 0x140106860
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1300]
mov eax, 0x1400
call fcn.1401748a0
sub rsp, rax
movsxd r14, dword [rdx + 0x504]
xor esi, esi
mov r13, qword [rdx + 0x510]
mov r10, r9
mov r15d, dword [rdx + 0x508]
mov r11, r8
mov qword [rsp + 0x60], r13
mov r12d, esi
mov dword [rsp + 0x70], r14d
mov qword [rsp + 0x78], rsi
test r14d, r14d
jle 0x140106918
mov rax, 0xffffffffffffff38
lea rdi, [rbp + 0xb0]
mov rcx, r14
rep stosd dword [rdi], eax
mov rcx, r14
lea rdi, [rbp - 0x60]
rep stosd dword [rdi], eax
xor eax, eax
lea rdi, [rbp + 0x2d0]
mov rcx, r14
rep stosd dword [rdi], eax
test r14d, r14d
jle 0x140106918
mov eax, 1
lea rdi, [rbp + 0x1c0]
mov rcx, r14
rep stosd dword [rdi], eax
mov rcx, r14
lea rdi, [rbp + 0x3e0]
or rax, 0xffffffffffffffff
rep stosd dword [rdi], eax
mov qword [rsp + 0x13f8], rbx
test r14d, r14d
jne 0x140106950
mov qword [rsp + 0x30], r13
lea rax, [rbp + 0x4f0]
mov dword [rsp + 0x28], r15d
mov r9d, r15d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r11
mov rcx, r10
call fcn.140108670
mov esi, eax
jmp 0x1401069b5
lea ecx, [r14 - 1]
test ecx, ecx
jle 0x140106e46
mov r12, qword [rbp + 0x1358]
lea rbx, [rbp + 0x4f0]
mov rax, rdx
mov r14d, ecx
mov r9d, dword [rax + 4]
lea rdi, [rax + 4]
mov r8d, dword [rax]
mov rdx, r11
mov qword [rsp + 0x30], r13
mov rcx, r12
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], rbx
call fcn.140108670
mov r11, qword [rbp + 0x1350]
add esi, eax
add rbx, 0x38
lea rax, [rdi]
sub r14, 1
jne 0x140106970
mov r12, qword [rsp + 0x78]
mov r14d, dword [rsp + 0x70]
test esi, esi
je 0x140106e46
lea edx, [r14 - 1]
mov dword [rsp + 0x40], 0xffffff38
lea r9, [rsp + 0x44]
mov dword [rsp + 0x44], 0xffffff38
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], r13
lea rcx, [rbp + 0x4f0]
call fcn.140108b60
mov esi, dword [rsp + 0x40]
mov edi, 2
mov ebx, dword [rsp + 0x44]
movsxd r15, r14d
mov dword [rbp + 0xb0], esi
mov dword [rbp - 0x60], esi
mov dword [rbp - 0x5c], ebx
mov dword [rbp + 0xb4], ebx
mov qword [rsp + 0x48], rdi
cmp rdi, r15
jge 0x140106d01
mov rdx, qword [rbp + 0x1348]
lea rcx, [rbp + 0xb8]
mov rax, rdx
sub rax, rcx
lea rcx, [rax + 0x210]
mov eax, edi
mov qword [rsp + 0x58], rcx
nop
lea r13, [rbp + 0xb0]
lea r13, [r13 + rax*4]
movsxd rax, dword [rcx + r13]
mov qword [rbp - 0x78], rax
movsxd r12, dword [rbp + rax*4 + 0x2d0]
movsxd r14, dword [rbp + rax*4 + 0x1c0]
cmp dword [rbp + r12*4 + 0x3e0], r14d
je 0x140106cd6
mov ecx, dword [rdx + r12*4 + 0x208]
mov edx, dword [rdx + r14*4 + 0x208]
mov esi, dword [rbp + r12*4 + 0xb0]
mov dword [rbp - 0x80], edx
mov rdx, qword [rsp + 0x60]
mov dword [rsp + 0x50], ecx
mov dword [rbp + r12*4 + 0x3e0], r14d
mov r10d, dword [rdx + r12*4 + 0x344]
mov r11d, dword [rdx + r14*4 + 0x344]
test esi, esi
jns 0x140106aca
lea rdx, [rbp - 0x60]
mov esi, dword [rdx + r12*4]
lea rdx, [rdx + r12*4]
mov qword [rsp + 0x78], rdx
mov rdx, qword [rsp + 0x60]
jmp 0x140106ae1
lea rax, [rbp - 0x60]
lea rax, [rax + r12*4]
mov qword [rsp + 0x78], rax
mov eax, dword [rax]
test eax, eax
js 0x140106ae1
add esi, eax
sar esi, 1
lea rax, [rbp + 0xb0]
mov ebx, dword [rax + r14*4]
lea rax, [rax + r14*4]
mov qword [rbp - 0x70], rax
test ebx, ebx
jns 0x140106aff
mov ebx, dword [rbp + r14*4 - 0x60]
jmp 0x140106b0c
mov eax, dword [rbp + r14*4 - 0x60]
test eax, eax
js 0x140106b0c
add ebx, eax
sar ebx, 1
cmp esi, 0xffffffff
je 0x140106e64
cmp ebx, 0xffffffff
je 0x140106e64
mov rax, qword [rbp + 0x1350]
mov r9d, ebx
mov qword [rsp + 0x30], rdx
mov r8d, esi
mov qword [rsp + 0x28], rax
mov edx, r11d
mov rax, qword [rbp + 0x1358]
mov ecx, r10d
mov qword [rsp + 0x20], rax
call fcn.140109210
test eax, eax
je 0x140106c12
mov rax, qword [rsp + 0x58]
lea r9, [rsp + 0x68]
lea r8, [rsp + 0x40]
mov dword [rsp + 0x40], 0xffffff38
mov dword [rsp + 0x68], 0xffffff38
mov dword [rsp + 0x44], 0xffffff38
mov edx, dword [rax + r13]
movsxd rax, dword [rsp + 0x50]
imul rcx, rax, 0x38
sub edx, eax
mov dword [rsp + 0x6c], 0xffffff38
lea rax, [rbp + 0x4f0]
add rcx, rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.140108b60
mov edx, dword [rbp - 0x80]
lea r9, [rsp + 0x6c]
imul rcx, qword [rbp - 0x78], 0x38
mov dword [rsp + 0x50], eax
lea r8, [rsp + 0x44]
mov rax, qword [rsp + 0x58]
sub edx, dword [rax + r13]
lea rax, [rbp + 0x4f0]
add rcx, rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x20], rax
call fcn.140108b60
mov r8d, dword [rsp + 0x50]
mov edx, dword [rsp + 0x44]
test r8d, r8d
je 0x140106bf5
mov ecx, edx
jmp 0x140106bfd
mov esi, dword [rsp + 0x40]
mov ecx, dword [rsp + 0x68]
test eax, eax
je 0x140106c05
mov edx, ecx
jmp 0x140106c09
mov ebx, dword [rsp + 0x6c]
test r8d, r8d
je 0x140106c38
test eax, eax
je 0x140106c38
mov rax, qword [rsp + 0x48]
mov rdx, qword [rbp + 0x1348]
mov rcx, qword [rsp + 0x58]
mov dword [r13], 0xffffff38
mov dword [rbp + rax*4 - 0x60], 0xffffff38
jmp 0x140106cdb
mov rax, qword [rsp + 0x78]
test r12d, r12d
mov dword [rax], esi
mov eax, dword [rbp + 0xb0]
cmove eax, esi
cmp r14d, 1
mov dword [rbp + 0xb0], eax
mov rax, qword [rsp + 0x48]
mov dword [r13], ecx
mov dword [rbp + rax*4 - 0x60], edx
mov rax, qword [rbp - 0x70]
mov dword [rax], ebx
mov eax, dword [rbp - 0x5c]
cmove eax, ebx
mov dword [rbp - 0x5c], eax
test ecx, ecx
jns 0x140106c79
test edx, edx
js 0x140106cca
mov rax, qword [rsp + 0x58]
mov edx, dword [rax + r13]
lea eax, [rdx - 1]
movsxd rcx, eax
test eax, eax
js 0x140106ca7
nop dword [rax]
cmp dword [rbp + rcx*4 + 0x1c0], r14d
jne 0x140106ca7
mov dword [rbp + rcx*4 + 0x1c0], edi
sub rcx, 1
jns 0x140106c90
lea eax, [rdx + 1]
cdqe
cmp rax, r15
jge 0x140106cca
cmp dword [rbp + rax*4 + 0x2d0], r12d
jne 0x140106cca
mov dword [rbp + rax*4 + 0x2d0], edi
inc rax
cmp rax, r15
jl 0x140106cb1
mov rdx, qword [rbp + 0x1348]
mov rcx, qword [rsp + 0x58]
mov rax, qword [rsp + 0x48]
inc rax
inc edi
mov qword [rsp + 0x48], rax
cmp rax, r15
jl 0x140106a40
mov ebx, dword [rbp + 0xb4]
mov esi, dword [rbp - 0x60]
mov r13, qword [rsp + 0x60]
mov r14d, dword [rsp + 0x70]
mov rcx, qword [rbp + 0x1340]
lea edx, [r14*4]
call fcn.1400f5320
cmp dword [rbp + 0xb0], 0
mov r12, rax
jl 0x140106d35
test esi, esi
jns 0x140106d2d
mov esi, dword [rbp + 0xb0]
jmp 0x140106d35
add esi, dword [rbp + 0xb0]
sar esi, 1
mov dword [rax], esi
test ebx, ebx
jns 0x140106d40
mov ebx, dword [rbp - 0x5c]
jmp 0x140106d4b
cmp dword [rbp - 0x5c], 0
jl 0x140106d4b
add ebx, dword [rbp - 0x5c]
sar ebx, 1
mov dword [rax + 4], ebx
cmp r15, 2
jle 0x140106e46
mov rcx, qword [rbp + 0x1348]
lea r14, [rbp + 0xb8]
lea rsi, [rbp - 0x58]
mov rbx, rax
sub r13, rcx
sub r14, rcx
sub rsi, rcx
sub rbx, rcx
lea r11, [rcx + 0x30c]
add r15, 0xfffffffffffffffe
nop dword [rax]
nop dword [rax + rax]
movsxd rax, dword [r11 + 0xfc]
mov rcx, qword [rsp + 0x60]
movsxd rdi, dword [r11]
mov r10d, dword [r12 + rax*4]
mov r8d, dword [rcx + rax*4 + 0x344]
and r10d, 0x7fff
mov ecx, dword [r11 + r13 + 0x40]
mov r9d, dword [r12 + rdi*4]
sub ecx, r8d
and r9d, 0x7fff
sub r9d, r10d
mov eax, r9d
cdq
xor eax, edx
sub eax, edx
imul eax, ecx
mov rcx, qword [rsp + 0x60]
mov ecx, dword [rcx + rdi*4 + 0x344]
cdq
sub ecx, r8d
idiv ecx
test r9d, r9d
jns 0x140106def
sub r10d, eax
jmp 0x140106df2
add r10d, eax
mov eax, dword [r14 + r11 - 0x30c]
test eax, eax
jns 0x140106e08
mov eax, dword [rsi + r11 - 0x30c]
jmp 0x140106e18
mov ecx, dword [rsi + r11 - 0x30c]
test ecx, ecx
js 0x140106e18
add eax, ecx
sar eax, 1
test eax, eax
js 0x140106e2b
cmp r10d, eax
je 0x140106e2b
mov dword [rbx + r11 - 0x304], eax
jmp 0x140106e38
bts r10d, 0xf
mov dword [rbx + r11 - 0x304], r10d
add r11, 4
sub r15, 1
jne 0x140106d90
mov rax, r12
mov rbx, qword [rsp + 0x13f8]
add rsp, 0x1400
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 1
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
int3