Function at 0x180029c10
Capabilities:
Query environment variable

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xe0]
sub rsp, 0x1e0
mov rax, qword [0x1800529c8]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rax, qword [rbp + 0x148]
mov rdi, r9
mov r11, qword [rbp + 0x150]
mov r15, r8
mov r13, qword [rbp + 0x140]
mov r12, rdx
mov qword [rsp + 0x70], rax
mov r14d, ecx
lea eax, [rcx + 0x289]
mov qword [rsp + 0x58], r9
mov dword [rsp + 0x30], ecx
mov qword [rsp + 0x68], r11
mov dword [rsp + 0x50], eax
cmp ecx, eax
jae 0x18002a30b
mov r8d, dword [0x1800527ec]
lea rcx, [0x180000000]
mov r9d, dword [0x1800527fc]
xor ebx, ebx
mov edx, dword [0x1800527cc]
mov r10, qword [0x1800528a8]
mov esi, dword [rsp + 0x50]
nop
lea eax, [r14 - 0x85]
cmp eax, 0xec
ja case.default.0x180029cdb
movzx eax, byte [rcx + rax + 0x2a88c]
mov ecx, dword [rcx + rax*4 + 0x2a85c]
lea rax, [0x180000000]
add rcx, rax
jmp rcx
cmp dword [0x180052d60], ebx
lea rcx, [0x180000000]
mov qword [0x180052d68], rbx
je case.default.0x180029cdb
mov r9d, 0xffffffff
mov dword [0x1800527fc], r9d
mov r8d, r9d
mov dword [0x1800527ec], r9d
jmp case.default.0x180029cdb
lea r8, [rsp + 0x78]
mov ecx, 0xda
lea rdx, [rbp + 0x10]
call fcn.180018c70
mov r8, rax
lea rcx, [rbp - 0x40]
mov edx, 0xb0
call fcn.1800300b0
xor r9d, r9d
mov dword [rsp + 0x30], 3
xor edx, edx
lea rcx, [rsp + 0x30]
lea r8d, [r9 + 0x37]
call fcn.18002f640
lea rcx, [rbp]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rcx
lea r9, [rsp + 0x40]
xor ecx, ecx
mov dword [rsp + 0x40], 0x3fc90fdb
mov r8d, 0x2d
mov rdx, rax
call fcn.180026030
lea r8, [rbp + 0x50]
mov rdx, rax
mov ecx, 0xa6
call fcn.18002e1e0
mov r8, rax
lea rcx, [rbp - 0x40]
mov edx, 0xb0
call fcn.1800300b0
lea r8, [rbp - 0x78]
mov edx, 0xa2
lea rcx, [rbp - 0x40]
call fcn.180035670
lea r8, [rbp - 0x78]
mov ecx, 0x38
lea rdx, [rbp - 0x68]
call fcn.1800179c0
test eax, eax
je 0x18002a6fd
mov r8d, dword [0x1800527ec]
mov r9d, dword [0x1800527fc]
mov edx, dword [0x1800527cc]
mov r10, qword [0x1800528a8]
jmp case.0x180029cdb.144
lea r8, [rbp - 0x40]
mov qword [rbp - 0x68], 0x3f8ccccd
mov edx, 0x4f
mov dword [rbp - 0x60], ebx
xor ecx, ecx
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0x7c], 0x3f800000
call fcn.180023f90
lea r8, [rbp + 0x90]
mov ecx, 0x100
lea rdx, [rbp - 0x58]
call fcn.18001d130
mov r8, rax
lea rcx, [rbp - 0x40]
mov edx, 0xb0
call fcn.1800300b0
mov r8d, dword [0x1800527ec]
mov r9d, dword [0x1800527fc]
mov edx, dword [0x1800527cc]
mov r10, qword [0x1800528a8]
jmp case.0x180029cdb.144
mov dword [0x180055104], 0xffffffff
test r13, r13
je 0x18002a005
lea rcx, [0x180000000]
test edx, edx
jne case.default.0x180029cdb
mov eax, 1
mov dword [0x180052d60], eax
mov edx, eax
mov dword [0x1800527cc], eax
jmp case.default.0x180029cdb
mov r14d, 0x136
nop dword [rax]
cmp dword [0x180052d60], ebx
jne 0x180029eb1
cmp byte [r10], bl
jne 0x18002a1df
mov esi, 0x46
nop word [rax + rax]
cmp esi, 0x19b4
ja 0x18002a1df
cmp esi, 0x46
je 0x180029fcb
cmp esi, 0xd20
jne 0x18002a1ca
cmp byte [r10 + 1], bl
lea rax, [r10 + 1]
je 0x18002a1ca
mov qword [0x1800528a8], rax
mov r10, rax
cmp byte [rax], 0x2d
jne 0x18002a1ca
cmp byte [rax + 1], bl
jne 0x18002a1ca
mov edi, 0x69
cmp edi, 0x69
je 0x180029f26
cmp edi, 0x11f
je 0x18002a005
jmp 0x180029fa9
inc edx
lea rax, [0x18003d7a3]
mov dword [0x1800527cc], edx
mov r10, rax
mov qword [0x1800528a8], rax
cmp r9d, 0xffffffff
je 0x180029f92
mov dword [rsp + 0x48], edx
mov ecx, 0x16
mov dword [rsp + 0x40], r9d
lea rdx, [rsp + 0x48]
mov dword [rsp + 0x30], r8d
lea r9, [rsp + 0x40]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], r15
call fcn.180037470
mov edx, dword [0x1800527cc]
mov eax, dword [0x1800527ec]
sub eax, dword [0x1800527fc]
mov r10, qword [0x1800528a8]
add edx, eax
mov dword [0x1800527cc], edx
mov r9d, 0xffffffff
mov dword [0x1800527fc], r9d
mov r8d, r9d
mov dword [0x1800527ec], r9d
add edi, 0xb6
cmp edi, 0x1d5
jb 0x180029f10
mov rdi, qword [rsp + 0x58]
add esi, 0xcda
jmp 0x180029ec0
mov dword [0x180052d60], ebx
cmp edx, dword [rdi]
jl 0x18002a090
mov edi, 0x6a
nop
cmp edi, 0x6a
je 0x18002a012
cmp edi, 0x12b
jne 0x18002a07e
mov dword [0x1800527fc], 0xffffffff
mov dword [0x1800527ec], 0xffffffff
mov dword [rsp + 0x38], 0xffffffff
jmp 0x18002a30b
lea rax, [0x18003d7a3]
mov qword [0x1800528a8], rax
cmp r9d, 0xffffffff
je 0x18002a070
mov dword [rsp + 0x30], edx
mov ecx, 0x16
mov dword [rsp + 0x48], r9d
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x40], r8d
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], r15
call fcn.180037470
mov r8d, dword [0x1800527ec]
mov eax, r8d
mov r9d, dword [0x1800527fc]
sub eax, r9d
mov edx, dword [0x1800527cc]
add edx, eax
jmp 0x18002a078
cmp r8d, 0xffffffff
cmovne edx, r8d
mov dword [0x1800527cc], edx
add edi, 0xc1
cmp edi, 0x1ec
jb 0x180029fe0
movsxd rax, edx
mov r10, qword [r15 + rax*8]
mov qword [0x1800528a8], r10
cmp byte [r10], 0x2d
jne 0x18002a0df
cmp byte [r10 + 1], bl
jne 0x18002a1b0
mov edx, 0x2d
mov rcx, r13
call sub.VCRUNTIME140.dll_strchr
mov r8d, dword [0x1800527ec]
mov r9d, dword [0x1800527fc]
mov edx, dword [0x1800527cc]
mov r10, qword [0x1800528a8]
test rax, rax
jne 0x18002a1b0
mov edi, 0x17
mov eax, edi
sub eax, 0x15
je 0x18002a1d5
sub eax, 1
je 0x18002a127
cmp eax, 1
jne 0x18002a1a5
lea rax, [0x18003d7a3]
mov r10, rax
mov qword [0x1800528a8], rax
mov eax, dword [r12]
test al, 2
jne 0x18002a709
test al, 1
je 0x18002a005
jmp 0x18002a1a5
cmp r8d, 0xffffffff
jne 0x18002a138
mov r8d, edx
mov dword [0x1800527ec], edx
jmp 0x18002a19d
cmp r9d, 0xffffffff
je 0x18002a19d
mov dword [rsp + 0x30], edx
mov ecx, 0x16
mov dword [rsp + 0x48], r9d
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x40], r8d
lea r9, [rsp + 0x48]
lea r8, [rsp + 0x40]
mov qword [rsp + 0x20], r15
call fcn.180037470
mov r8d, dword [0x1800527ec]
mov r9d, 0xffffffff
mov edx, dword [0x1800527cc]
mov eax, edx
sub eax, dword [0x1800527fc]
mov r10, qword [0x1800528a8]
add r8d, eax
mov dword [0x1800527ec], r8d
mov dword [0x1800527fc], r9d
inc edx
mov dword [0x1800527cc], edx
dec edi
cmp edi, 0x14
ja 0x18002a0e4
cmp r8d, 0xffffffff
je 0x18002a1c5
cmp r9d, 0xffffffff
cmove r9d, edx
mov dword [0x1800527fc], r9d
mov rdi, qword [rsp + 0x58]
add esi, 0xcda
jmp 0x180029ec0
mov rdi, qword [rsp + 0x58]
jmp 0x180029ea0
mov r11, qword [rsp + 0x68]
test r11, r11
je 0x18002a283
movsxd rax, edx
cmp r10, qword [r15 + rax*8]
je 0x18002a283
cmp byte [r10], 0x2d
je 0x18002a210
test byte [r12], 4
je 0x18002a283
nop word [rax + rax]
movsx eax, byte [r10]
mov edi, ebx
cmp al, 0x2d
jne 0x18002a226
inc r10
mov qword [0x1800528a8], r10
jmp 0x18002a244
cmp al, 0x3a
je 0x18002a244
mov edx, eax
mov rcx, r13
call sub.VCRUNTIME140.dll_strchr
mov r11, qword [rsp + 0x68]
test rax, rax
mov eax, 1
cmovne edi, eax
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rax
mov r9, r11
mov r8d, 0x3d
mov qword [rsp + 0x20], r15
mov rdx, r13
mov dword [rsp + 0x48], edi
call fcn.180026030
cmp eax, 0xffffffff
jne 0x18002a752
mov edx, dword [0x1800527cc]
mov r10, qword [0x1800528a8]
movsx esi, byte [r10]
inc r10
mov qword [0x1800528a8], r10
cmp esi, 0x3a
je 0x18002a2d5
cmp esi, 0x2d
jne 0x18002a2a0
cmp byte [r10], bl
jne 0x18002a2d5
mov edx, esi
mov rcx, r13
call sub.VCRUNTIME140.dll_strchr
mov edx, dword [0x1800527cc]
mov r10, qword [0x1800528a8]
mov qword [rsp + 0x60], rax
cmp rax, 0
je 0x18002a2d5
mov r8d, dword [0x1800527ec]
mov r9d, dword [0x1800527fc]
jmp case.0x180029cdb.144
mov edi, 0x8e
nop word [rax + rax]
cmp edi, 0x8e
je 0x18002a366
cmp edi, 0x315e
je 0x18002a33a
cmp edi, 0x622e
jne 0x18002a383
mov dword [0x1800527dc], esi
mov eax, 0x3f
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x38]
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.18003bee0
mov rbx, qword [rsp + 0x220]
add rsp, 0x1e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
cmp dword [0x1800527bc], ebx
je 0x18002a383
cmp byte [r13], 0x3a
je 0x18002a383
mov edx, esi
lea rcx, str.callback_buffer_size
call fcn.1800319e0
mov edx, dword [0x1800527cc]
mov r10, qword [0x1800528a8]
jmp 0x18002a383
cmp esi, 0x2d
jne 0x18002a376
cmp byte [r10], bl
je 0x18002a005
jmp 0x18002a383
cmp byte [r10], bl
jne 0x18002a383
inc edx
mov dword [0x1800527cc], edx
add edi, 0x30d0
cmp edi, 0x9270
jbe 0x18002a2e0
mov r8d, dword [0x1800527ec]
mov r9d, dword [0x1800527fc]
jmp case.0x180029cdb.144
mov dword [rbp - 0x78], ebx
mov qword [rbp - 0x74], 0x3f800000
mov dword [rbp - 0x58], 0x3dcccccd
mov dword [rbp - 0x54], 0x3dcccccd
mov dword [rbp - 0x50], 0x3dcccccd
jmp case.0x180029cdb.144
mov r14d, 0x42
mov eax, r14d
sub eax, 0x40
je 0x18002a30b
sub eax, 1
je 0x18002a5cf
cmp eax, 1
jne 0x18002a5d3
mov r8, qword [rsp + 0x60]
test r11, r11
je 0x18002a4d9
cmp esi, 0x57
jne 0x18002a4d9
cmp byte [r8 + 1], 0x3b
jne 0x18002a4d9
mov ecx, 0xec
nop dword [rax + rax]
mov eax, ecx
sub eax, 0xeb
je 0x18002a729
cmp eax, 1
jne 0x18002a4cb
cmp byte [r10], bl
jne 0x18002a4cb
inc edx
mov dword [0x1800527cc], edx
cmp edx, dword [rdi]
jl 0x18002a4bd
mov eax, 0xd9
cmp eax, 0xd9
je 0x18002a49e
cmp eax, 0x76ac
jne 0x18002a4af
cmp dword [0x1800527bc], ebx
je 0x18002a47e
cmp byte [r13], 0x3a
je 0x18002a47e
mov edx, 0x57
lea rcx, str.update_continue_:_err__res___200
call fcn.1800319e0
mov dword [0x1800527dc], 0x57
mov ecx, 0x3a
mov eax, 0x3f
cmp byte [r13], cl
cmove eax, ecx
jmp 0x18002a307
lea r9, [0x18003d7a3]
mov r10, r9
mov qword [0x1800528a8], r9
add eax, 0x75d3
cmp eax, 0xeba6
jbe 0x18002a450
jmp 0x18002a4cb
movsxd rax, edx
mov r10, qword [r15 + rax*8]
mov qword [0x1800528a8], r10
dec ecx
cmp ecx, 0xea
ja 0x18002a420
inc r8
mov qword [rsp + 0x60], r8
cmp byte [r8], 0x3a
je 0x18002a500
cmp byte [r10], bl
jne 0x18002a5d3
inc edx
mov dword [0x1800527cc], edx
jmp 0x18002a5d3
mov qword [0x180052d68], rbx
cmp byte [r10], bl
je 0x18002a518
mov qword [0x180052d68], r10
jmp 0x18002a5b4
cmp byte [r8 + 1], 0x3a
je 0x18002a5b4
inc edx
mov dword [0x1800527cc], edx
cmp edx, dword [rdi]
jl 0x18002a5a6
mov edi, StrCmpNCA
nop dword [rax]
nop dword [rax + rax]
mov eax, edi
sub eax, 0x93
je 0x18002a488
sub eax, 1
je 0x18002a584
cmp eax, 1
jne 0x18002a58a
cmp dword [0x1800527bc], ebx
lea rax, [0x18003d7a3]
mov qword [0x1800528a8], rax
je 0x18002a58a
cmp byte [r13], 0x3a
je 0x18002a58a
mov edx, esi
lea rcx, str.update_continue_:_err__res___200
call fcn.1800319e0
jmp 0x18002a58a
mov dword [0x1800527dc], esi
dec edi
cmp edi, 0x92
ja 0x18002a540
mov edx, dword [0x1800527cc]
mov rdi, qword [rsp + 0x58]
mov r11, qword [rsp + 0x68]
jmp 0x18002a5b4
movsxd rax, edx
mov rcx, qword [r15 + rax*8]
mov qword [0x180052d68], rcx
lea rax, [0x18003d7a3]
inc edx
mov r10, rax
mov qword [0x1800528a8], rax
mov dword [0x1800527cc], edx
jmp 0x18002a5d3
mov dword [rsp + 0x38], esi
dec r14d
cmp r14d, 0x3f
ja 0x18002a3d3
mov r14d, dword [rsp + 0x30]
mov eax, 0xdd
nop word [rax + rax]
cmp eax, 0xdd
je 0x18002a765
add eax, 0x7c50
cmp eax, 0x7c50
jbe 0x18002a5f0
lea rcx, [rdi + 8]
mov edx, 0xcf
call fcn.18001c2e0
test al, al
je 0x18002a849
mov qword [r15], rbx
mov r8d, dword [0x1800527ec]
mov r9d, dword [0x1800527fc]
mov edx, dword [0x1800527cc]
mov r10, qword [0x1800528a8]
jmp case.0x180029cdb.144
cmp dword [0x180055104], 0xffffffff
je 0x18002a651
cmp dword [0x180052d60], ebx
je 0x18002a687
lea rcx, str.tv_affiliations
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r8d, dword [0x1800527ec]
mov ecx, ebx
mov r9d, dword [0x1800527fc]
test rax, rax
mov edx, dword [0x1800527cc]
mov r10, qword [0x1800528a8]
setne cl
mov dword [0x180055104], ecx
movzx eax, byte [r13]
cmp al, 0x2d
jne 0x18002a697
or dword [r12], 2
jmp 0x18002a6a8
cmp dword [0x180055104], ebx
jne 0x18002a6a3
cmp al, 0x2b
jne 0x18002a6cc
and dword [r12], 0xfffffffe
movzx eax, byte [r13]
mov r8d, dword [0x1800527ec]
mov r9d, dword [0x1800527fc]
mov edx, dword [0x1800527cc]
mov r10, qword [0x1800528a8]
cmp al, 0x2b
je 0x18002a6d0
cmp al, 0x2d
jne case.0x180029cdb.144
inc r13
lea rcx, [0x180000000]
add r14d, 0x3b
mov dword [rsp + 0x30], r14d
cmp r14d, dword [rsp + 0x50]
jae 0x18002a30b
mov rdi, qword [rsp + 0x58]
mov r11, qword [rsp + 0x68]
jmp 0x180029cb0
lea rax, str.SRCcolorO__Input_Buf_SRC_int2_dispatchThreadID.x_2_dispatchThreadID.y_2_________
jmp 0x18002a310
movsxd rax, edx
inc edx
mov rcx, qword [r15 + rax*8]
mov eax, 1
mov qword [0x180052d68], rcx
mov dword [0x1800527cc], edx
jmp 0x18002a307
mov rax, qword [rsp + 0x70]
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rax
mov r9, r11
mov r8d, 0x3d
mov qword [rsp + 0x20], r15
mov rdx, r13
mov dword [rsp + 0x50], ebx
call fcn.180026030
lea rcx, [0x18003d7a3]
mov qword [0x1800528a8], rcx
jmp 0x18002a307
mov rbx, qword [rdi + 8]
mov rbx, qword [rbx]
cmp byte [rbx + 0x19], 0
jne 0x18002a809
nop word [rax + rax]
lea rax, [rbx + 0x20]
mov r9d, 0xa1
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
mov rcx, rdi
call fcn.180011420
mov qword [rsp + 0x70], rax
movsd xmm0, qword [rsp + 0x70]
addsd xmm0, qword [r15]
movsd qword [r15], xmm0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x18002a7dd
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x18002a7d8
cmp rbx, qword [rax + 0x10]
jne 0x18002a7d8
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x18002a7c5
mov rbx, rax
jmp 0x18002a7ff
mov rcx, qword [rax]
mov rbx, rax
cmp byte [rcx + 0x19], 0
jne 0x18002a7ff
nop dword [rax]
mov rax, qword [rcx]
mov rbx, rcx
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x18002a7f0
cmp byte [rbx + 0x19], 0
je 0x18002a780
mov rcx, qword [rdi + 0x10]
xorps xmm1, xmm1
test rcx, rcx
js 0x18002a81c
cvtsi2sd xmm1, rcx
jmp 0x18002a831
mov rax, rcx
and ecx, 1
shr rax, 1
or rax, rcx
cvtsi2sd xmm1, rax
addsd xmm1, xmm1
movsd xmm0, qword [r15]
divsd xmm0, xmm1
mov byte [rsp + 0x38], 1
movsd qword [r15], xmm0
jmp 0x18002a30b
mov byte [rsp + 0x38], bl
jmp 0x18002a30b
mov rax, rbx
jmp 0x18002a310