Function at 0x1800206f0
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rcx
sub rsp, 0x58
mov rax, qword [rsp + 0x60]
mov qword [rax + 8], 0
xor eax, eax
test eax, eax
je 0x18002072a
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov dword [rax + 0x28], 2
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax]
mov qword [rsp + 0x28], 0x3b9aca00
cmp dword [rsp + 0x28], 0x3b9aca00
jne 0x180020743
xor eax, eax
test eax, eax
je 0x180020761
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov dword [rax + 0x28], 3
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax]
mov rcx, qword [rsp + 0x60]
call fcn.1800222c0
mov dword [rsp + 0x20], eax
mov edx, 0xa0
mov rcx, qword [rsp + 0x60]
call fcn.180022210
mov qword [rsp + 0x30], rax
cmp qword [rsp + 0x30], 0
jne 0x1800207c2
mov rcx, qword [rsp + 0x60]
call fcn.1800385e0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov dword [rax + 0x28], 0x36
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov dword [rax + 0x2c], 0
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x60]
call qword [rax]
mov rcx, qword [rsp + 0x30]
lea rax, [fcn.180020990]
mov qword [rcx], rax
mov rcx, qword [rsp + 0x30]
lea rax, [fcn.180020c90]
mov qword [rcx + 8], rax
mov rcx, qword [rsp + 0x30]
lea rax, [fcn.180020de0]
mov qword [rcx + 0x10], rax
mov rcx, qword [rsp + 0x30]
lea rax, [fcn.180020f50]
mov qword [rcx + 0x18], rax
mov rcx, qword [rsp + 0x30]
lea rax, [0x1800210d0]
mov qword [rcx + 0x20], rax
mov rcx, qword [rsp + 0x30]
lea rax, [0x1800211c0]
mov qword [rcx + 0x28], rax
mov rcx, qword [rsp + 0x30]
lea rax, [0x1800212b0]
mov qword [rcx + 0x30], rax
mov rcx, qword [rsp + 0x30]
lea rax, [0x180021680]
mov qword [rcx + 0x38], rax
mov rcx, qword [rsp + 0x30]
lea rax, [0x180021ad0]
mov qword [rcx + 0x40], rax
mov rcx, qword [rsp + 0x30]
lea rax, [fcn.180021f30]
mov qword [rcx + 0x48], rax
mov rcx, qword [rsp + 0x30]
lea rax, [0x1800221a0]
mov qword [rcx + 0x50], rax
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x5c], 0x3b9aca00
mov rcx, qword [rsp + 0x30]
mov eax, dword [rsp + 0x20]
mov dword [rcx + 0x58], eax
mov dword [rsp + 0x38], 1
jmp 0x18002089e
mov eax, dword [rsp + 0x38]
sub eax, 1
mov dword [rsp + 0x38], eax
cmp dword [rsp + 0x38], 0
jl 0x1800208cd
movsxd rcx, dword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov qword [rax + rcx*8 + 0x60], 0
movsxd rcx, dword [rsp + 0x38]
mov rax, qword [rsp + 0x30]
mov qword [rax + rcx*8 + 0x70], 0
jmp 0x180020893
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x80], 0
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x88], 0
mov rax, qword [rsp + 0x30]
mov qword [rax + 0x90], 0xa0
mov rcx, qword [rsp + 0x60]
mov rax, qword [rsp + 0x30]
mov qword [rcx + 8], rax
lea rcx, str.JPEGMEM
call fcn.1800509fc
mov qword [rsp + 0x40], rax
cmp qword [rsp + 0x40], 0
je 0x18002097c
mov byte [rsp + 0x48], 0x78
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x20]
lea rdx, str._ld_c
mov rcx, qword [rsp + 0x40]
call fcn.180050920
test eax, eax
jle 0x18002097c
movsx eax, byte [rsp + 0x48]
cmp eax, 0x6d
je 0x18002095c
movsx eax, byte [rsp + 0x48]
cmp eax, 0x4d
jne 0x18002096a
mov eax, dword [rsp + 0x20]
imul eax, eax, 0x3e8
mov dword [rsp + 0x20], eax
mov ecx, dword [rsp + 0x20]
imul ecx, ecx, 0x3e8
mov rax, qword [rsp + 0x30]
mov dword [rax + 0x58], ecx
add rsp, 0x58
ret