Function at 0x1800e8b80
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1308]
mov eax, 0x1408
call fcn.1801518f0
sub rsp, rax
mov rax, qword [0x18025cbc0]
xor rax, rsp
mov qword [rbp + 0x12f0], rax
movsxd r13, dword [rdx + 0x504]
xor r14d, r14d
mov r15, qword [rdx + 0x510]
mov r11, r9
mov r12d, dword [rdx + 0x508]
mov r10, r8
mov qword [rbp - 0x78], r9
mov qword [rbp - 0x80], r8
mov qword [rsp + 0x50], rdx
mov qword [rbp - 0x70], rcx
mov qword [rsp + 0x58], r15
mov dword [rsp + 0x48], r13d
test r13d, r13d
jle 0x1800e8dd2
mov rax, 0xffffffffffffff38
lea rbx, [r13*4]
lea rdi, [rbp - 0x60]
mov rcx, r13
rep stosd dword [rdi], eax
mov rcx, rbx
lea rdi, [rbp + 0xb0]
shr rcx, 2
mov r8, rbx
rep stosd dword [rdi], eax
lea rcx, [rbp + 0x2d0]
and r8, 0xfffffffffffffffc
xor edx, edx
call sub.VCRUNTIME140.dll_memset
mov rcx, rbx
lea rdi, [rbp + 0x1c0]
shr rcx, 2
mov eax, 1
rep stosd dword [rdi], eax
and rbx, 0xfffffffffffffffc
lea rcx, [rbp + 0x3e0]
mov r8, rbx
mov edx, 0xffffffff
call sub.VCRUNTIME140.dll_memset
mov rdx, qword [rsp + 0x50]
mov r10, qword [rbp - 0x80]
mov r11, qword [rbp - 0x78]
lea eax, [r13 - 1]
test eax, eax
jle 0x1800e9181
mov r8d, dword [rdx]
lea rsi, [rbp + 0x4f0]
mov r13, qword [rsp + 0x58]
mov rbx, rdx
mov r15d, eax
nop dword [rax]
mov r9d, dword [rbx + 4]
lea rbx, [rbx + 4]
mov qword [rsp + 0x30], r13
mov rdx, r10
mov dword [rsp + 0x28], r12d
mov rcx, r11
mov qword [rsp + 0x20], rsi
call fcn.1800d7580
mov r8d, dword [rbx]
add r14d, eax
mov r10, qword [rbp - 0x80]
add rsi, 0x38
mov r11, qword [rbp - 0x78]
sub r15, 1
jne 0x1800e8c90
mov r15, r13
mov r13d, dword [rsp + 0x48]
test r14d, r14d
je 0x1800e9181
lea edx, [r13 - 1]
mov dword [rsp + 0x40], 0xffffff38
lea r9, [rsp + 0x44]
mov dword [rsp + 0x44], 0xffffff38
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], r15
lea rcx, [rbp + 0x4f0]
call fcn.1800e7de0
mov ebx, dword [rsp + 0x40]
mov esi, 2
mov edi, dword [rsp + 0x44]
mov eax, dword [rsp + 0x48]
mov dword [rbp - 0x60], ebx
mov dword [rbp + 0xb0], ebx
mov dword [rbp + 0xb4], edi
mov dword [rbp - 0x5c], edi
movsxd r13, r13d
cmp eax, esi
jle 0x1800e8fec
mov rdx, qword [rsp + 0x50]
lea rcx, [rbp - 0x58]
mov rax, rdx
mov r14d, esi
sub rax, rcx
lea rcx, [rax + 0x210]
mov qword [rsp + 0x70], rcx
lea rax, [rbp - 0x60]
lea rax, [rax + r14*4]
movsxd rax, dword [rax + rcx]
mov dword [rsp + 0x40], eax
movsxd r12, dword [rbp + rax*4 + 0x2d0]
movsxd r15, dword [rbp + rax*4 + 0x1c0]
cmp dword [rbp + r12*4 + 0x3e0], r15d
je 0x1800e8fcc
mov ecx, dword [rdx + r12*4 + 0x208]
mov r8, qword [rsp + 0x58]
mov ebx, dword [rbp + r12*4 + 0xb0]
mov dword [rsp + 0x4c], ecx
mov ecx, dword [rdx + r15*4 + 0x208]
mov r10d, dword [r8 + r12*4 + 0x344]
mov edx, dword [r8 + r15*4 + 0x344]
mov dword [rsp + 0x78], ecx
mov ecx, dword [rbp + r12*4 - 0x60]
mov dword [rbp + r12*4 + 0x3e0], r15d
test ecx, ecx
js 0x1800e8e0b
test ebx, ebx
jns 0x1800e8e07
mov ebx, ecx
jmp 0x1800e8e0b
jne 0x1800e8c6c
mov qword [rsp + 0x30], r15
lea rax, [rbp + 0x4f0]
mov dword [rsp + 0x28], r12d
mov r9d, r12d
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov rdx, r10
mov rcx, r11
call fcn.1800d7580
mov r14d, eax
jmp 0x1800e8cd2
add ebx, ecx
sar ebx, 1
mov eax, dword [rbp + r15*4 - 0x60]
mov edi, dword [rbp + r15*4 + 0xb0]
test eax, eax
js 0x1800e8e28
test edi, edi
jns 0x1800e8e24
mov edi, eax
jmp 0x1800e8e28
add edi, eax
sar edi, 1
cmp ebx, 0xffffffff
je 0x1800e9064
cmp edi, 0xffffffff
je 0x1800e9064
mov rax, qword [rbp - 0x80]
mov r9d, edi
mov qword [rsp + 0x30], r8
mov ecx, r10d
mov qword [rsp + 0x28], rax
mov r8d, ebx
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x20], rax
call fcn.1800f0ae0
test eax, eax
je 0x1800e8fad
movsxd rax, dword [rsp + 0x4c]
lea r9, [rsp + 0x64]
mov edx, dword [rsp + 0x40]
lea r8, [rsp + 0x60]
imul rcx, rax, 0x38
sub edx, eax
mov dword [rsp + 0x60], 0xffffff38
lea rax, [rbp + 0x4f0]
mov dword [rsp + 0x64], 0xffffff38
add rcx, rax
mov dword [rsp + 0x44], 0xffffff38
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x68], 0xffffff38
call fcn.1800e7de0
mov edx, dword [rsp + 0x78]
lea r9, [rsp + 0x68]
mov dword [rsp + 0x4c], eax
lea r8, [rsp + 0x44]
movsxd rax, dword [rsp + 0x40]
imul rcx, rax, 0x38
sub edx, eax
lea rax, [rbp + 0x4f0]
add rcx, rax
mov rax, qword [rsp + 0x58]
mov qword [rsp + 0x20], rax
call fcn.1800e7de0
mov r8d, dword [rsp + 0x4c]
mov edx, dword [rsp + 0x44]
test r8d, r8d
je 0x1800e8f01
mov ecx, edx
jmp 0x1800e8f09
mov ebx, dword [rsp + 0x60]
mov ecx, dword [rsp + 0x64]
test eax, eax
je 0x1800e8f11
mov edx, ecx
jmp 0x1800e8f15
mov edi, dword [rsp + 0x68]
test r8d, r8d
je 0x1800e8f22
test eax, eax
jne 0x1800e8fad
mov eax, dword [rbp - 0x60]
test r12d, r12d
mov dword [rbp + r12*4 + 0xb0], ebx
cmove eax, ebx
mov dword [rbp + r14*4 + 0xb0], edx
mov dword [rbp - 0x60], eax
cmp r15d, 1
mov eax, dword [rbp + 0xb4]
cmove eax, edi
mov dword [rbp + r14*4 - 0x60], ecx
mov dword [rbp + 0xb4], eax
mov dword [rbp + r15*4 - 0x60], edi
test ecx, ecx
jns 0x1800e8f63
test edx, edx
js 0x1800e8fc2
mov edx, dword [rsp + 0x40]
lea eax, [rdx - 1]
movsxd rcx, eax
test eax, eax
js 0x1800e8f88
cmp dword [rbp + rcx*4 + 0x1c0], r15d
jne 0x1800e8f88
mov dword [rbp + rcx*4 + 0x1c0], esi
sub rcx, 1
jns 0x1800e8f71
lea eax, [rdx + 1]
cdqe
cmp rax, r13
jge 0x1800e8fc2
cmp dword [rbp + rax*4 + 0x2d0], r12d
jne 0x1800e8fc2
mov dword [rbp + rax*4 + 0x2d0], esi
inc rax
cmp rax, r13
jl 0x1800e8f92
jmp 0x1800e8fc2
mov dword [rbp + r14*4 + 0xb0], 0xffffff38
mov dword [rbp + r14*4 - 0x60], 0xffffff38
mov rcx, qword [rsp + 0x70]
mov rdx, qword [rsp + 0x50]
inc esi
inc r14
cmp r14, r13
jl 0x1800e8d56
mov edi, dword [rbp - 0x5c]
mov ebx, dword [rbp + 0xb0]
mov r15, qword [rsp + 0x58]
mov eax, dword [rsp + 0x48]
mov r14, qword [rbp - 0x70]
lea esi, [rax*4 + 7]
and esi, 0xfffffff8
mov ecx, dword [r14 + 0x60]
lea eax, [rsi + rcx]
cmp eax, dword [r14 + 0x64]
jle 0x1800e9047
cmp qword [r14 + 0x58], 0
je 0x1800e9034
mov ecx, 0x10
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [r14 + 0x60]
add dword [r14 + 0x68], ecx
mov rcx, qword [r14 + 0x70]
mov qword [rax + 8], rcx
mov rcx, qword [r14 + 0x58]
mov qword [rax], rcx
mov qword [r14 + 0x70], rax
movsxd rcx, esi
mov dword [r14 + 0x64], esi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [r14 + 0x58], rax
xor ecx, ecx
movsxd r12, ecx
lea eax, [rcx + rsi]
add r12, qword [r14 + 0x58]
cmp dword [rbp - 0x60], 0
mov dword [r14 + 0x60], eax
jl 0x1800e9075
test ebx, ebx
jns 0x1800e9070
mov ebx, dword [rbp - 0x60]
jmp 0x1800e9075
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
add ebx, dword [rbp - 0x60]
sar ebx, 1
mov dword [r12], ebx
test edi, edi
jns 0x1800e9085
mov edi, dword [rbp + 0xb4]
jmp 0x1800e9096
cmp dword [rbp + 0xb4], 0
jl 0x1800e9096
add edi, dword [rbp + 0xb4]
sar edi, 1
mov dword [r12 + 4], edi
cmp r13, 2
jle 0x1800e9184
mov rax, qword [rsp + 0x50]
lea r14, [rbp - 0x58]
mov rsi, r15
lea rbx, [rbp + 0xb8]
mov r11, r12
sub rsi, rax
sub r14, rax
sub rbx, rax
sub r11, rax
lea r9, [rax + 0x30c]
add r13, 0xfffffffffffffffe
nop dword [rax]
nop word [rax + rax]
movsxd rax, dword [r9 + 0xfc]
movsxd rdx, dword [r9]
mov ecx, dword [rsi + r9 + 0x40]
mov edi, dword [r15 + rax*4 + 0x344]
mov r10d, dword [r12 + rax*4]
mov r8d, dword [r12 + rdx*4]
and r10d, 0x7fff
and r8d, 0x7fff
sub r8d, r10d
mov eax, r8d
neg eax
cmovs eax, r8d
sub ecx, edi
imul eax, ecx
mov ecx, dword [r15 + rdx*4 + 0x344]
sub ecx, edi
cdq
idiv ecx
lea ecx, [rax + r10]
sub r10d, eax
mov eax, dword [rbx + r9 - 0x30c]
test r8d, r8d
cmovns r10d, ecx
mov ecx, dword [r14 + r9 - 0x30c]
test ecx, ecx
js 0x1800e9159
test eax, eax
jns 0x1800e9155
mov eax, ecx
jmp 0x1800e915d
add eax, ecx
sar eax, 1
test eax, eax
js 0x1800e9162
cmp r10d, eax
jne 0x1800e9169
mov eax, r10d
bts eax, 0xf
mov dword [r11 + r9 - 0x304], eax
add r9, 4
sub r13, 1
jne 0x1800e90e0
jmp 0x1800e9184
xor r12d, r12d
mov rax, r12
mov rcx, qword [rbp + 0x12f0]
xor rcx, rsp
call fcn.180151320
add rsp, 0x1408
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret