Function at 0x180055b80
Capabilities:
Set environment variable

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], r9
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x40
mov r12d, dword [rsp + 0x90]
mov r13, r8
imul eax, r12d, 0x1e
mov r14, rdx
mov r15, rcx
mov edi, r12d
mov dword [rsp + 0x90], eax
mov ebx, dword [rsp + 0x90]
cmp r12d, eax
ja 0x180055c72
mov rbp, qword [rsp + 0x38]
mov rsi, qword [rsp + 0x38]
nop word [rax + rax]
cmp edi, 0x4ab
ja 0x180055d28
je 0x180055cc3
cmp edi, 0x12b
ja 0x180055c37
je 0x180055c22
mov eax, edi
sub eax, 0x52
je 0x180055e7d
sub eax, 0x9d
je 0x180055c16
cmp eax, 7
jmp 0x180055e7d
lea rbp, [r14 + 0x420]
jmp 0x180055e7d
mov rdx, r15
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_SetEnvironmentVariableA]
mov dword [rsp + 0x30], eax
jmp 0x180055e7d
cmp edi, 0x2cd
je 0x180055c57
cmp edi, 0x381
jne 0x180055e84
neg dword [rsp + 0x30]
sbb eax, eax
neg eax
dec eax
jmp 0x180055c74
cmp dword [r14 + 0x700], 0
jne 0x180055ca2
mov eax, 0x52
cmp eax, 0x52
je 0x180055c94
cmp eax, 0x38b2
jne 0x180055c96
mov eax, ebx
mov rbx, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x78]
mov rsi, qword [rsp + 0x80]
add rsp, 0x40
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
xor ebx, ebx
add eax, 0x3860
cmp eax, 0x70c0
jbe 0x180055c66
mov r9d, 0xe0
mov qword [rsp + 0x20], 0
xor r8d, r8d
mov rdx, rbp
xor ecx, ecx
call fcn.1800303f0
jmp 0x180055e7d
xor r9d, r9d
lea r8, [r14 + 0x460]
xor ecx, ecx
lea edx, [r9 + 0x51]
call fcn.18003e6d0
mov r9, rax
test rax, rax
je 0x180055e7d
mov eax, dword [rax + 8]
lea rcx, [rsp + 0x38]
mov r9, qword [r9]
mov r8d, 0x123
mov rdx, rbp
mov dword [rsp + 0x38], eax
call fcn.1800d3940
lea r9, [0x18010f474]
mov dword [rsp + 0x38], 1
mov r8d, 0x123
lea rcx, [rsp + 0x38]
mov rdx, rbp
call fcn.1800d3940
jmp 0x180055e7d
cmp edi, 0xc23
ja 0x180055e55
je 0x180055de8
cmp edi, 0x689
je 0x180055d75
cmp edi, 0x867
je 0x180055dde
cmp edi, 0xa45
jne 0x180055e84
xor r9d, r9d
mov r8, rsi
xor edx, edx
mov ecx, SHRegGetIntW
call fcn.180087440
mov dword [rsp + 0x38], eax
mov r9, rsi
jmp 0x180055d10
mov ecx, dword [r13]
lea rsi, str.Error:
sub ecx, 2
je 0x180055da3
cmp ecx, 1
je 0x180055dd0
mov eax, dword [rsp + 0x90]
mov edi, 0x867
mov dword [r13], 1
jmp 0x180055e84
mov ecx, 0x2a
mov eax, ecx
sub eax, 0x2a
je 0x180055db6
cmp eax, 1
je 0x180055dd7
jmp 0x180055dbd
lea rsi, str.Warning:
inc ecx
cmp ecx, 0x2c
jb 0x180055da8
nop dword [rax]
nop dword [rax + rax]
lea rsi, str.Notice:
mov eax, dword [rsp + 0x90]
mov edi, 0x867
jmp 0x180055e84
test r15, r15
je 0x180055e2d
mov eax, dword [r15 + 8]
lea rcx, [rsp + 0x38]
mov r9, qword [r15]
mov r8d, 0x123
mov rdx, rbp
mov dword [rsp + 0x38], eax
call fcn.1800d3940
lea r9, str.__:
mov dword [rsp + 0x38], 4
mov r8d, 0x123
lea rcx, [rsp + 0x38]
mov rdx, rbp
call fcn.1800d3940
mov r8, qword [rsp + 0x88]
xor r9d, r9d
xor edx, edx
mov ecx, SHRegGetIntW
call fcn.180087440
mov r9, qword [rsp + 0x88]
mov dword [rsp + 0x38], eax
jmp 0x180055d10
cmp edi, 0xe01
je 0x180055e6b
cmp edi, 0xfdf
je 0x180055c72
jmp 0x180055e84
xor edx, edx
mov r9, rbp
mov r8, r14
lea ecx, [rdx + 0x4c]
call fcn.18009af20
mov ebx, eax
mov eax, dword [rsp + 0x90]
lea edi, [rdi + r12*2]
cmp edi, eax
jbe 0x180055be0
jmp 0x180055c72