Function at 0x180056880
Capabilities:
Query environment variable

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], r8
mov qword [rax + 0x10], rdx
mov dword [rax + 8], ecx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x128
mov r14, rdx
movaps xmmword [rax - 0x58], xmm6
imul edx, ecx, 0x456
mov rsi, r8
movaps xmmword [rax - 0x68], xmm7
mov r12d, ecx
mov dword [rbp + 0x88], edx
cmp ecx, edx
ja 0x180056eab
movsd xmm6, qword [0x1800d3df8]
lea rcx, [0x180092e30]
mov r13d, dword [rbp + 0x70]
xor r15d, r15d
mov edi, dword [rbp + 0x70]
xorps xmm7, xmm7
mov ebx, dword [rbp + 0x70]
lea r8, [0x180097ef0]
cmp r12d, 0x52e9
ja 0x180056bb6
je 0x180056b78
cmp r12d, 0x11b
ja 0x1800569d9
je 0x1800569b5
mov eax, r12d
sub eax, 0x92
je 0x180056997
sub eax, 0x20
je 0x18005693d
cmp eax, 0x66
jne 0x180056e4e
mov dword [0x1800dd4b0], 1
jmp 0x180056e4e
mov rcx, qword [r14]
xor r9d, r9d
xor edx, edx
mov r8d, 0x103
call fcn.1800b2760
test eax, eax
jne 0x180056eab
mov eax, dword [rsi]
sub eax, 2
cmp eax, 1
ja 0x180056f37
mov rax, qword [r14 + 8]
lea r9, str.block
mov rdx, qword [r14]
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rcx, [rbp - 0x28]
mov dword [rsp + 0x20], 0xb5
call fcn.1800a66c0
mov r13d, dword [rax]
jmp 0x180056e41
lea rcx, str.ColorGridColor
movsd qword [0x1800e2268], xmm7
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov qword [rbp - 0x70], rax
jmp 0x180056e41
mov eax, dword [r14]
lea rdx, [rsi + 0x48]
mov r8d, 0x125
mov dword [rsp + 0x60], eax
lea rcx, [rsp + 0x60]
call fcn.180077060
mov qword [rbp - 0x68], rax
jmp 0x180056e41
cmp r12d, 0x2ac6
je 0x180056b18
cmp r12d, 0x3426
je 0x180056a47
cmp r12d, 0x5208
jne 0x180056e4e
mov qword [rsp + 0x60], r8
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x28], r15
mov r9d, 0x59
mov qword [rsp + 0x20], rax
xor edx, edx
xor ecx, ecx
call fcn.180084650
lea rax, [0x180097ef0]
xor r8d, r8d
lea r9, [rsp + 0x60]
mov qword [rsp + 0x60], rax
mov edx, 0xee
xor ecx, ecx
call fcn.18006e2a0
jmp 0x180056e41
cmp dword [rsp + 0x58], 0
jne 0x180056eab
cmp dword [rsi], 3
jne 0x180056e4e
mov esi, 0x96
mov eax, esi
sub eax, 0x96
je 0x180056a98
sub eax, 1
je 0x180056a7c
cmp eax, 1
je 0x180056eab
jmp 0x180056b05
mov r8d, dword [rsp + 0x68]
lea rcx, str.Seule_la_simulation_peut_
dec r8d
mov edx, r13d
add r8d, r13d
call fcn.1800c03a0
jmp 0x180056b05
mov rax, qword [r14 + 0x10]
lea r9, [0x1800cba74]
mov rdx, qword [r14]
lea r8, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rcx, [rbp - 0x18]
mov dword [rsp + 0x20], 0xb5
call fcn.1800a66c0
cmp dword [rsp + 0x58], 0
mov eax, dword [rax]
mov dword [rsp + 0x68], eax
jne 0x180056eab
mov dword [rsp + 0x60], eax
lea r9, [rbp - 0x78]
mov eax, r13d
lea r8, [rsp + 0x40]
mov qword [rsp + 0x40], rax
mov edx, 0x17
mov rax, qword [0x1800e1ba0]
mov rcx, qword [rax + 0x50]
mov qword [rbp - 0x78], rcx
lea rcx, [rsp + 0x60]
call fcn.1800ba4e0
inc esi
cmp esi, 0x99
jb 0x180056a60
jmp 0x180056e3a
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x180056b62
cmp byte [rcx], 0
je 0x180056b62
mov qword [rsp + 0x28], r15
xor r9d, r9d
mov qword [rsp + 0x20], rcx
xor r8d, r8d
mov ecx, 0x117
xor edx, edx
call fcn.180085f30
mov edx, dword [rbp + 0x88]
mov qword [0x1800e2268], rax
movsd xmm0, qword [0x1800e2268]
movsd qword [rsp + 0x50], xmm0
jmp 0x180056e47
movsd qword [0x1800e2268], xmm6
movaps xmm0, xmm6
movsd qword [rsp + 0x50], xmm6
jmp 0x180056e47
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x180056e47
mov r9d, 0xcc
mov qword [rsp + 0x20], r15
xor r8d, r8d
xor edx, edx
call fcn.1800aea80
cmp eax, 1
jne 0x180056e41
movsd xmm0, qword [0x1800d3f30]
movsd qword [rsp + 0x50], xmm0
jmp 0x180056eab
cmp r12d, 0xa4b7
ja 0x180056e5f
je 0x180056f4d
cmp r12d, 0x54fa
je 0x180056eab
cmp r12d, 0x679a
je 0x180056c8f
cmp r12d, 0xa2f8
jne 0x180056e4e
mov qword [rsp + 0x40], r8
lea rcx, [rsp + 0x40]
mov r8d, 0xa4
xor r9d, r9d
xor edx, edx
call fcn.180037520
xor r9d, r9d
lea rax, [0x180097ef0]
mov qword [rsp + 0x40], rax
xor edx, edx
lea rax, [rsp + 0x40]
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x2e]
call fcn.180042060
lea rax, [0x1800baac0]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x40], rax
mov r9d, 0x59
lea rax, [rsp + 0x40]
xor r8d, r8d
xor edx, edx
mov qword [rsp + 0x20], rax
xor ecx, ecx
call fcn.180084650
lea rax, [0x180092e30]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x40], rax
xor r9d, r9d
lea rax, [rsp + 0x40]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
mov r8d, 0x81
call fcn.1800b1220
jmp 0x180056e41
mov rax, qword [0x1800e1ba0]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x30], r15
mov r9d, 0x25
mov r14d, r13d
xor edx, edx
mov qword [rsp + 0x40], r14
mov rcx, qword [rax + 0x50]
lea rax, [rbp - 0x60]
mov qword [rbp - 0x60], rcx
xor ecx, ecx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
call fcn.180089d20
mov rcx, qword [0x1800e1ba0]
mov r15d, eax
mov esi, 0xb
mov rdx, qword [rcx + 0x50]
mov qword [rsp + 0x48], rdx
cmp esi, 0x14
ja case.0x180056d01.3
lea rax, [0x180000000]
mov ecx, esi
mov edx, dword [rax + rcx*4 + 0x56f60]
add rdx, rax
jmp rdx
mov rcx, qword [rsp + 0x68]
call fcn.180052730
lea rcx, [rsp + 0x48]
call fcn.180052730
jmp case.0x180056d01.3
mov rcx, qword [rsp + 0x58]
call fcn.180052730
jmp case.0x180056d01.3
mov rax, qword [rsp + 0x48]
lea r9, [rbp - 0x30]
mov qword [rbp - 0x58], rax
lea rdx, [rbp - 0x80]
lea rax, [rbp - 0x40]
mov dword [rsp + 0x70], r13d
mov qword [rsp + 0x30], rax
lea rcx, [rsp + 0x70]
lea rax, [rbp - 0x38]
mov r8d, 0x7c
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x20], rax
call fcn.18007e440
mov rax, qword [rsp + 0x48]
lea r8, [rsp + 0x78]
lea rdx, [rbp - 0x50]
mov qword [rbp - 0x50], rax
mov ecx, 0x118
mov dword [rsp + 0x78], r13d
call fcn.180092260
mov rdi, rax
jmp case.0x180056d01.3
mov rcx, qword [rsp + 0x60]
call fcn.180052730
jmp case.0x180056d01.3
mov rax, qword [rsp + 0x48]
mov ecx, 0xfffffffe
sub ecx, dword [rax + 0x40]
sub ecx, dword [rbp - 0x80]
add edi, ecx
mov ebx, edi
dec esi
lea eax, [rsi + 0x20]
cmp eax, 0x22
ja 0x180056ce5
jmp case.0x180056d01.16
mov rax, qword [rsp + 0x48]
lea r8, [rsp + 0x40]
mov edx, 7
mov qword [rbp - 0x48], rax
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x40], r14
call fcn.180057290
mov ebx, eax
lea rax, [0x1800cb9e0]
test ebx, ebx
lea r8, str.clear
mov edx, r13d
cmovne r8, rax
lea rcx, str.NetStream.Authenticate.UsherToken
call fcn.1800c03a0
mov r14, qword [rbp + 0x78]
xor ecx, ecx
test ebx, ebx
sete cl
xor eax, eax
test r15d, r15d
sete al
cmp eax, ecx
je 0x180056e37
mov rcx, qword [r14]
lea r8, str.only_allowed_when_using_GLSL_for_Vulkan
mov r9d, r15d
mov dword [rsp + 0x20], ebx
xor edx, edx
call fcn.18005c140
xor r15d, r15d
mov rsi, qword [rbp + 0x80]
mov edx, dword [rbp + 0x88]
lea rcx, [0x180092e30]
imul eax, dword [rbp + 0x70], 0x4a
add r12d, eax
cmp r12d, edx
ja 0x180056eab
jmp 0x1800568e9
cmp r12d, 0xf3e8
je 0x180056ef8
cmp r12d, 0x144d8
je 0x180056ed4
cmp r12d, 0x195c8
jne 0x180056e4e
mov rdx, qword [0x1800dbfd0]
xor r9d, r9d
mov qword [rbp + 0x88], rcx
mov r8d, 0x104
lea rcx, [rbp + 0x88]
call fcn.1800b26c0
mov eax, dword [0x1800dd4b0]
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x50]
movaps xmm6, xmmword [rsp + 0x110]
movaps xmm7, xmmword [rsp + 0x100]
add rsp, 0x128
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor r9d, r9d
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x40]
xor edx, edx
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea r8d, [r9 + 0x2e]
call fcn.180042060
jmp 0x180056e41
mov qword [rsp + 0x40], rcx
lea r9, [rsp + 0x40]
xor ecx, ecx
xor r8d, r8d
mov edx, 0xee
call fcn.18006e2a0
lea rax, [0x1800a0640]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x40], rax
mov r8d, 0xa4
lea rcx, [rsp + 0x40]
call fcn.180037520
jmp 0x180056e41
mov rcx, qword [r14]
lea r8, str.UpdateConvexesDelete_Destr2
xor edx, edx
call fcn.18005c140
jmp 0x180056eab
movsd xmm0, qword [r14 + 8]
movsd qword [rsp + 0x50], xmm0
jmp 0x180056eab