Function at 0x180064380
Capabilities:
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2b0
mov rax, qword [0x1801eef68]
xor rax, rsp
mov qword [rsp + 0x2a0], rax
lea r12d, [rcx + 0x618]
mov r15, r8
mov rbp, rdx
mov edi, ecx
cmp ecx, r12d
jae 0x1800646bb
mov r14, qword [rsp + 0x58]
lea rdx, [0x180000000]
mov rsi, qword [rsp + 0x58]
mov r13, qword [rsp + 0x58]
nop word [rax + rax]
cmp edi, 0x190
ja 0x1800645a3
je 0x180064574
lea eax, [rdi - 0x39]
cmp eax, 0xeb
ja case.0x180064412.63
movzx eax, byte [rdx + rax + 0x64708]
mov ecx, dword [rdx + rax*4 + 0x646ec]
add rcx, rdx
jmp rcx
mov rax, qword [rbp]
mov rcx, qword [rax + 0x2d8]
mov qword [rsp + 0x78], rcx
jmp case.0x180064412.63
mov rax, qword [rsp + 0x58]
lea r9, [rsp + 0x70]
xor edx, edx
mov qword [rsp + 0x70], rax
mov r8d, 0xa5
mov rcx, rbp
call fcn.180089520
jmp 0x18006464d
mov rcx, qword [rbp]
mov rdx, qword [rsp + 0x78]
mov esi, dword [rcx + 0x30c]
mov eax, dword [rcx + 0x304]
imul esi, dword [rdx + 0x4a4]
imul eax, dword [rdx + 0x4a8]
movsxd r14, dword [rcx + 0x330]
add r14, qword [rcx + 0x348]
add rsi, rax
add rsi, qword [rdx + 0x4b0]
jmp 0x18006464d
cmp dword [rbp], 2
jge case.0x180064412.63
mov ecx, 2
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll___acrt_iob_func]
mov r8, qword [r15]
lea rdx, str.VariableArguments
mov rcx, rax
call fcn.1800d6850
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rcx, rbp
call qword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov r13, rax
test rax, rax
jne 0x18006464d
mov ebx, 0x2a
nop word [rax + rax]
mov ecx, ebx
sub ecx, 0x2a
je 0x180064502
sub ecx, 1
je 0x1800644f7
cmp ecx, 1
je 0x1800646bb
jmp 0x18006453f
mov qword [rsp + 0x50], 0
jmp 0x18006453f
call qword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
lea rax, [rsp + 0x90]
mov dword [rsp + 0x28], 0x104
lea r9, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x68]
mov qword [rsp + 0x80], 0
xor edx, edx
xor ecx, ecx
call sub.SHELL32.dll_SHGetUnreadMailCountW
inc ebx
cmp ebx, 0x2d
jb 0x1800644e0
jmp 0x18006464d
mov r9d, 0x5a
mov qword [rsp + 0x20], 0
xor r8d, r8d
xor edx, edx
mov rcx, rbp
call fcn.1800c2130
add rax, qword [r15]
mov qword [rsp + 0x58], rax
jmp 0x18006464d
mov rax, qword [r15 + 8]
lea r9, [rsp + 0x64]
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea r8d, [rdx + 0x6f]
call fcn.180047de0
test eax, eax
je 0x18006464d
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov eax, edi
sub eax, 0x191
je 0x180064665
sub eax, 0x15
je 0x18006463c
sub eax, 0x6c
je 0x1800645d9
sub eax, 0x16
je 0x1800646bb
cmp eax, 0x6c
jne case.0x180064412.63
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rax, qword [r15 + 8]
lea r8, [rsp + 0x60]
mov qword [rsp + 0x40], 0
xor edx, edx
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x28], 0
lea ecx, [rdx + 0xb]
mov qword [rsp + 0x20], 0
call fcn.180047b40
test eax, eax
jne 0x180064597
mov r9d, dword [rsp + 0x60]
lea rcx, str.extension_GL_ARB_fragment_coord_conventions:_require
mov r8d, dword [rsp + 0x64]
mov rdx, qword [r15 + 8]
call fcn.1800d6920
jmp 0x18006464d
mov rdx, r15
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rsp + 0x50], rax
lea rdx, [0x180000000]
add edi, 0x82
cmp edi, r12d
jb 0x1800643e0
jmp 0x1800646bb
mov rax, qword [rbp]
xor r8d, r8d
cmp dword [rax + 0x314], r8d
jle 0x1800646b3
nop word [rax + rax]
mov eax, dword [r14]
lea r14, [r14 + 6]
mov dword [rsi], eax
inc r8d
movzx eax, word [r14 - 2]
mov word [rsi + 4], ax
mov rdx, qword [rbp]
mov eax, dword [rdx + 0x310]
lea ecx, [rax + rax*2]
lea eax, [rcx + rcx]
cdqe
add rsi, rax
cmp r8d, dword [rdx + 0x314]
jl 0x180064680
mov dword [rsp + 0x50], 0
mov rax, qword [rsp + 0x50]
mov rcx, qword [rsp + 0x2a0]
xor rcx, rsp
call fcn.1800d7250
mov rbx, qword [rsp + 0x2f0]
add rsp, 0x2b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret