Function at 0x140001af0
Capabilities:
Query environment variable

Disassembly:
push rdi
push rsi
push rbx
mov r10d, dword [rsp + 0x40]
mov r11d, dword [rsp + 0x48]
mov rax, rdx
movzx edx, byte [rdx]
test dl, dl
je 0x140001d19
mov byte [rcx], dl
movzx edx, byte [rax + 1]
test dl, dl
je 0x140001d9a
mov byte [rcx + 1], dl
movzx edx, byte [rax + 2]
test dl, dl
je 0x140001da4
mov byte [rcx + 2], dl
movzx edx, byte [rax + 3]
test dl, dl
je 0x140001dae
mov byte [rcx + 3], dl
movzx edx, byte [rax + 4]
test dl, dl
je 0x140001dcb
mov byte [rcx + 4], dl
movzx edx, byte [rax + 5]
test dl, dl
je 0x140001dd5
mov byte [rcx + 5], dl
movzx edx, byte [rax + 6]
test dl, dl
je 0x140001ddf
mov byte [rcx + 6], dl
movzx edx, byte [rax + 7]
test dl, dl
je 0x140001de9
mov byte [rcx + 7], dl
movzx edx, byte [rax + 8]
test dl, dl
je 0x140001df3
mov byte [rcx + 8], dl
movzx eax, byte [rax + 9]
test al, al
je 0x140001dfd
mov byte [rcx + 9], al
mov eax, r8d
bswap r9d
mov byte [rcx + 0x10], 0
rol ax, 8
mov dword [rcx + 0xc], r9d
mov word [rcx + 0xa], ax
lea eax, [r10 + 0xff]
mov edx, eax
mov byte [rcx + 0x13], ah
shr eax, 0x18
mov byte [rcx + 0x11], al
movzx eax, word [0x14000a134]
shr edx, 0x10
mov byte [rcx + 0x12], dl
mov word [rcx + 0x1a], ax
cmp r8d, 0xe0d0
je 0x140001cd0
ja 0x140001c40
cmp r8d, 0xe080
je 0x140001cf8
jbe 0x140001c00
mov dword [rcx + 0x1c], 0
pop rbx
pop rsi
pop rdi
jmp sym.put_time
cmp r8d, 0xe060
je 0x140001c14
jbe 0x140001c70
cmp r8d, 0xe070
jne 0x140001beb
add r10d, 7
mov word [rcx + 0x1e], 0
mov eax, r10d
shr r10d, 0xb
mov dword [rcx + 0x14], 0
shr eax, 3
mov byte [rcx + 0x1c], r10b
mov byte [rcx + 0x1d], al
xor eax, eax
mov word [rcx + 0x18], ax
pop rbx
pop rsi
pop rdi
ret
cmp r8d, 0xe0f1
ja 0x140001c88
cmp r8d, 0xe0ef
jbe 0x140001beb
movzx eax, word [0x14000a132]
mov word [rcx + 0x1c], r10w
mov word [rcx + 0x1e], ax
pop rbx
pop rsi
pop rdi
jmp sym.put_time
and r8d, 0xffffffef
cmp r8d, 0xe040
jne 0x140001beb
jmp 0x140001c14
sub r8d, 0xe204
cmp r8d, 0x17
ja 0x140001beb
mov eax, 0xff033f
bt rax, r8
jae 0x140001beb
add r10d, r10d
cmp r11d, 1
mov byte [rcx + 0x1f], 0
adc r10d, 0xffffffff
mov word [rcx + 0x1c], r10w
shr r10d, 0x10
mov byte [rcx + 0x1e], r10b
pop rbx
pop rsi
pop rdi
jmp sym.put_time
add r10d, 7
mov word [rcx + 0x1e], 0
mov eax, r10d
shr r10d, 0xb
shr eax, 3
mov byte [rcx + 0x1c], r10b
mov byte [rcx + 0x1d], al
pop rbx
pop rsi
pop rdi
jmp sym.put_time
rol r10w, 8
xor edx, edx
mov word [rcx + 0x1e], 0
mov word [rcx + 0x1c], r10w
mov dword [rcx + 0x14], 0
mov word [rcx + 0x18], dx
pop rbx
pop rsi
pop rdi
ret
xor edx, edx
nop dword [rax + rax]
movabs rsi, 0x2020202020202020
mov eax, 0xa
sub eax, edx
add rdx, rcx
cmp eax, 8
jae 0x140001d60
test al, 4
jne 0x140001db8
test eax, eax
je 0x140001b94
mov byte [rdx], 0x20
test al, 2
je 0x140001b94
mov ebx, 0x2020
mov word [rdx + rax - 2], bx
jmp 0x140001b94
mov ebx, eax
mov qword [rdx], rsi
mov qword [rdx + rbx - 8], rsi
lea rbx, [rdx + 8]
and rbx, 0xfffffffffffffff8
sub rdx, rbx
add eax, edx
and eax, 0xfffffff8
cmp eax, 8
jb 0x140001b94
and eax, 0xfffffff8
xor edx, edx
mov edi, edx
add edx, 8
mov qword [rbx + rdi], rsi
cmp edx, eax
jb 0x140001d88
jmp 0x140001b94
mov edx, 1
jmp 0x140001d20
mov edx, 2
jmp 0x140001d20
mov edx, 3
jmp 0x140001d20
mov dword [rdx], 0x20202020
mov dword [rdx + rax - 4], 0x20202020
jmp 0x140001b94
mov edx, 4
jmp 0x140001d20
mov edx, 5
jmp 0x140001d20
mov edx, 6
jmp 0x140001d20
mov edx, 7
jmp 0x140001d20
mov edx, 8
jmp 0x140001d20
mov edx, 9
jmp 0x140001d20