Function at 0x180029550
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x70
mov r14d, dword [rsp + 0xd8]
mov rdi, r9
movaps xmmword [rsp + 0x60], xmm6
mov r13, r8
mov r10, rdx
mov rsi, rcx
lea eax, [r14 - 4]
mov dword [rsp + 0x44], eax
cmp r14d, eax
jbe 0x180029a45
mov r15d, dword [rsp + 0xd8]
xorps xmm6, xmm6
mov r12d, dword [rsp + 0xd8]
mov ebp, dword [rsp + 0xd8]
mov eax, r14d
sub eax, 0x95
je 0x180029a2e
sub eax, 1
je 0x1800299f9
sub eax, 3
je 0x1800295f2
cmp eax, 1
jne 0x180029a37
lea rax, [rsi + 0x4fe8]
xor r12d, r12d
mov qword [rsp + 0x48], rax
mov eax, dword [rsi + 0x18]
mov dword [rsp + 0x40], eax
jmp 0x180029a37
cmp dword [rsp + 0x40], 1
mov rbx, qword [rsp + 0x48]
jne 0x1800296e5
mov qword [rbx + 0x1c], 0
lea r9, [rsp + 0x50]
mov eax, dword [rsi + 0x501c]
mov r8d, 0xf1
mov qword [rsp + 0x28], rsi
mov rdx, r13
mov rcx, rdi
mov dword [rsi + 0x5018], eax
movsd qword [rsp + 0x50], xmm6
mov qword [rsp + 0x20], r10
call fcn.1800211f0
mov rcx, qword [rsp + 0xd0]
cmp eax, dword [rcx]
jle 0x1800296db
mov dword [rbx + 0x1c], 1
mov ebx, 4
movsd qword [rsp + 0x50], xmm6
nop
lea rax, [rsp + 0xd8]
dec ebx
mov r9d, 0x23
mov dword [rsp + 0xd8], ebx
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call fcn.1800097e0
mov dword [rsi + 0x5018], eax
lea r9, [rsp + 0x50]
mov rax, qword [rsp + 0xb8]
mov r8d, 0xf1
mov qword [rsp + 0x28], rsi
mov rdx, r13
mov rcx, rdi
mov qword [rsp + 0x20], rax
call fcn.1800211f0
mov rcx, qword [rsp + 0xd0]
cmp eax, dword [rcx]
jle 0x1800296c6
test ebx, ebx
jg 0x180029660
mov rax, qword [rsp + 0x48]
mov r10, qword [rsp + 0xb8]
mov dword [rax + 0x20], ebx
mov rbx, rax
jmp 0x1800296ed
mov r10, qword [rsp + 0xb8]
jmp 0x1800296ed
mov rcx, qword [rsp + 0xd0]
cmp dword [rsi + 0x40], 0
jne 0x18002972c
mov qword [rsp + 0x38], rsi
mov rdx, rcx
mov dword [rsp + 0x30], 0xa3
xor r9d, r9d
mov qword [rsp + 0x28], r13
mov r8, rdi
mov rcx, r10
mov qword [rsp + 0x20], 0
call fcn.180040e50
mov r10, qword [rsp + 0xb8]
jmp 0x180029a37
mov edi, 0xc7
mov dword [rsp + 0xd8], edi
nop dword [rax + rax]
mov eax, edi
sub eax, 0xc5
je 0x18002986f
sub eax, 1
je 0x180029866
cmp eax, 1
jne 0x1800299cd
mov eax, dword [rsi + 0xa8]
xor r9d, r9d
mov r8, rsi
mov dword [rbx + 0xc], eax
mov edx, 0xde
xor ecx, ecx
call fcn.180020600
mov rcx, qword [rsp + 0xd0]
mov ebx, 7
mov dword [rcx], eax
nop dword [rax]
cmp ebx, 7
je 0x180029812
cmp ebx, 0x317
je 0x1800297be
cmp ebx, 0x627
jne 0x18002984f
test r15d, r15d
jne 0x18002984f
mov r12d, dword [rsi + 0xac]
jmp 0x18002984f
movsxd rcx, dword [rsi + 0xa8]
mov r8d, dword [rsi + 0xac]
cmp ecx, r8d
jg 0x180029805
lea rdx, [rsi + 0xb0]
lea rdx, [rdx + rcx*4]
nop dword [rax]
cmp dword [rdx], ebp
jg 0x1800297fc
inc ecx
add rdx, 4
cmp ecx, r8d
jle 0x1800297e0
mov ebx, 0x317
mov r14d, 0x99
jmp 0x18002984f
mov r12d, ecx
mov r15d, 1
mov ebx, 0x317
mov r14d, 0x99
jmp 0x18002984f
movsd xmm0, qword [rsi + 0x50]
lea r9, [rsp + 0x50]
mov rax, qword [rsp + 0xb8]
xor r15d, r15d
mov rcx, qword [rsp + 0xc8]
mov r8d, 0xf1
mov qword [rsp + 0x28], rsi
mov rdx, r13
movsd qword [rsp + 0x50], xmm0
mov qword [rsp + 0x20], rax
call fcn.1800211f0
mov ebp, eax
add ebx, 0x310
cmp ebx, 0x930
jbe 0x180029790
jmp 0x1800299cd
mov dword [rbx + 0xc], r12d
jmp 0x1800299cd
xor r9d, r9d
mov r8, rsi
mov edx, 0xde
xor ecx, ecx
call fcn.180020600
mov rcx, qword [rsp + 0xd0]
mov dword [rcx], eax
movsxd rax, dword [rbx + 0xc]
inc dword [rsi + rax*4 + 0x5024]
mov r9d, dword [rsi + 0x88]
cmp r9d, 3
jle 0x1800299a0
mov r8d, dword [rsi + 0xec]
mov eax, 0x10624dd3
imul r8d
sar edx, 6
mov eax, edx
shr eax, 0x1f
add edx, eax
imul ecx, edx, 0x3e8
cmp r8d, ecx
lea ecx, [r8 + 1]
mov dword [rsi + 0xec], ecx
jne 0x18002992e
lea rbx, [rsi + 0x5028]
mov edi, 0xe
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8d, dword [rbx]
lea rdx, str._4i
mov rcx, rax
call fcn.180043240
lea rbx, [rbx + 4]
sub rdi, 1
jne 0x1800298e1
lea ecx, [rdi + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov rcx, rax
lea rdx, [0x18005b14c]
call fcn.180043240
mov r9d, dword [rsi + 0x88]
mov edi, dword [rsp + 0xd8]
cmp r9d, 5
jle 0x1800299a0
movsd xmm0, qword [rsi + 0x50]
lea r9, [rsp + 0x50]
mov rax, qword [rsp + 0xb8]
mov r8d, 0xf1
mov rcx, qword [rsp + 0xc8]
mov rdx, r13
mov qword [rsp + 0x28], rsi
movsd qword [rsp + 0x50], xmm0
mov qword [rsp + 0x20], rax
call fcn.1800211f0
mov ecx, 2
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
lea rdx, str.void_glCompressedTexImage2DARB__s___d___s___d___d___d___d__0x_p_
mov dword [rsp + 0x20], ebx
mov rcx, rax
mov rax, qword [rsp + 0xd0]
mov r9d, dword [rax]
mov rax, qword [rsp + 0x48]
mov r8d, dword [rax + 0xc]
call fcn.180043240
mov r8, qword [rsp + 0xd0]
mov r9, r13
mov rdx, qword [rsp + 0xb8]
mov rcx, qword [rsp + 0xc8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], 0x83
call fcn.180040420
mov rbx, qword [rsp + 0x48]
dec edi
mov dword [rsp + 0xd8], edi
cmp edi, 0xc4
ja 0x180029740
mov rdi, qword [rsp + 0xc8]
mov r10, qword [rsp + 0xb8]
jmp 0x180029a37
mov ecx, 0x10
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov qword [rsp + 0x58], rax
test rax, rax
je 0x180029a69
mov ecx, dword [r13]
mov r10, qword [rsp + 0xb8]
mov dword [rax], ecx
mov qword [rax + 8], 0
mov rcx, qword [rsi + 8]
mov qword [rcx + 8], rax
jmp 0x180029a37
mov rax, qword [rsp + 0x58]
mov qword [rsi + 8], rax
dec r14d
cmp r14d, dword [rsp + 0x44]
ja 0x1800295b2
mov eax, dword [rsp + 0xd8]
mov rbx, qword [rsp + 0xb0]
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3