Function at 0x48baa0
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x48
test r8, r8
mov esi, ecx
mov rbx, rdx
mov r13, r8
mov qword [rsp + 0xa8], r9
je 0x48bede
mov r9d, dword [0x004c212c]
test r9d, r9d
je 0x48bd00
cmp dword [0x004c2110], 0xffffffff
je 0x48bd14
mov eax, dword [0x004e71c8]
test eax, eax
jne 0x48bd14
movzx edx, byte [r13]
cmp dl, 0x2d
je 0x48bd43
mov r8d, dword [0x004c2110]
test r8d, r8d
jne 0x48bb13
cmp dl, 0x2b
jne 0x48bb24
and dword [rsp + 0xb8], 0xfffffffe
cmp dl, 0x2b
je 0x48bd4b
test eax, eax
mov qword [0x004e71c0], 0
je 0x48bb47
mov dword [0x004c2114], 0xffffffff
mov dword [0x004c2118], 0xffffffff
mov edi, dword [rsp + 0xb8]
mov r12d, dword [rsp + 0xb8]
lea rbp, [0x004d2755]
and edi, 2
and r12d, 1
test eax, eax
je 0x48bbdf
mov r14d, dword [0x004c212c]
mov dword [0x004e71c8], 0
cmp r14d, esi
jge 0x48bea0
movsxd rax, r14d
mov r11, qword [rbx + rax*8]
cmp byte [r11], 0x2d
mov qword [0x004c2120], r11
je 0x48bd54
test edi, edi
mov qword [0x004c2120], rbp
jne 0x48bf00
test r12d, r12d
je 0x48bede
mov r15d, dword [0x004c2118]
cmp r15d, 0xffffffff
je 0x48be30
mov r10d, dword [0x004c2114]
cmp r10d, 0xffffffff
jne 0x48be50
lea r8d, [r14 + 1]
mov dword [0x004c212c], r8d
mov r10, qword [0x004c2120]
movzx r15d, byte [r10]
test r15b, r15b
je 0x48bb68
cmp qword [rsp + 0xa8], 0
je 0x48bc23
movsxd rax, dword [0x004c212c]
cmp qword [rbx + rax*8], r10
je 0x48bc23
cmp r15b, 0x2d
je 0x48bde6
test byte [rsp + 0xb8], 4
jne 0x48bf39
lea rbp, [r10 + 1]
movsx edi, r15b
cmp edi, 0x3a
mov qword [0x004c2120], rbp
je 0x48bfd1
cmp edi, 0x2d
je 0x48c14c
mov edx, edi
mov rcx, r13
mov qword [rsp + 0x38], r10
call sub.msvcrt.dll_strchr
test rax, rax
mov r10, qword [rsp + 0x38]
je 0x48bfd1
cmp qword [rsp + 0xa8], 0
movzx edx, byte [rax + 1]
je 0x48bfa1
cmp edi, 0x57
jne 0x48bfa1
cmp dl, 0x3b
jne 0x48bfa1
cmp byte [r10 + 1], 0
jne 0x48c0c9
mov eax, dword [0x004c212c]
add eax, 1
cmp eax, esi
mov dword [0x004c212c], eax
jl 0x48c0bc
mov edx, dword [0x004c2130]
lea rax, [0x004d2755]
mov qword [0x004c2120], rax
test edx, edx
je 0x48bcd8
cmp byte [r13], 0x3a
je 0x48bcd8
lea rcx, str.option_requires_an_argument_____c
mov edx, 0x57
call fcn.0048b690
mov dword [0x004c2128], 0x57
cmp byte [r13], 0x3a
je 0x48c0b2
mov edi, 0x3f
jmp 0x48bee3
mov dword [0x004e71c8], 1
mov dword [0x004c212c], 1
lea rcx, str.POSIXLY_CORRECT
call sub.msvcrt.dll_getenv
movzx edx, byte [r13]
test rax, rax
setne al
movzx eax, al
mov dword [0x004c2110], eax
mov eax, dword [0x004e71c8]
cmp dl, 0x2d
jne 0x48bb02
or dword [rsp + 0xb8], 2
add r13, 1
jmp 0x48bb24
movzx r15d, byte [r11 + 1]
test r15b, r15b
jne 0x48bfbd
mov edx, 0x2d
mov rcx, r13
mov qword [rsp + 0x38], r11
call sub.msvcrt.dll_strchr
test rax, rax
mov r11, qword [rsp + 0x38]
je 0x48bb9a
mov edi, dword [0x004c2118]
cmp edi, 0xffffffff
je 0x48bf5f
cmp dword [0x004c2114], 0xffffffff
jne 0x48bda1
mov dword [0x004c2114], r14d
test r15b, r15b
je 0x48bf5f
lea r10, [r11 + 1]
cmp r15b, 0x2d
mov qword [0x004c2120], r10
jne 0x48bbf3
cmp byte [r11 + 2], 0
je 0x48c11c
cmp qword [rsp + 0xa8], 0
je 0x48c0f3
movsxd r8, r14d
cmp r10, qword [rbx + r8*8]
je 0x48bc23
add r10, 1
xor eax, eax
mov qword [0x004c2120], r10
mov r9, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xa8]
mov rdx, r13
mov dword [rsp + 0x20], eax
mov rcx, rbx
call fcn.0048b720
cmp eax, 0xffffffff
mov edi, eax
je 0x48c050
lea rax, [0x004d2755]
mov qword [0x004c2120], rax
jmp 0x48bee3
lea r8d, [r14 + 1]
mov dword [0x004c2118], r14d
mov dword [0x004c212c], r8d
jmp 0x48bbdf
mov edx, r10d
mov r9, rbx
mov r8d, r14d
mov ecx, r15d
mov dword [rsp + 0x38], r10d
call fcn.0048b5d0
mov edx, dword [0x004c212c]
mov r10d, dword [rsp + 0x38]
mov dword [0x004c2114], 0xffffffff
mov eax, edx
sub r10d, r15d
add edx, 1
sub eax, r10d
mov dword [0x004c212c], edx
mov dword [0x004c2118], eax
mov eax, dword [0x004e71c8]
jmp 0x48bb64
mov esi, dword [0x004c2114]
lea rax, [0x004d2755]
mov edi, dword [0x004c2118]
mov qword [0x004c2120], rax
cmp esi, 0xffffffff
jne 0x48bf20
cmp edi, 0xffffffff
je 0x48beca
mov dword [0x004c212c], edi
mov dword [0x004c2114], 0xffffffff
mov dword [0x004c2118], 0xffffffff
mov edi, 0xffffffff
mov eax, edi
add rsp, 0x48
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
lea r8d, [r14 + 1]
mov qword [0x004e71c0], r11
mov edi, 1
mov dword [0x004c212c], r8d
jmp 0x48bee3
mov r9, rbx
mov r8d, r14d
mov edx, esi
mov ecx, edi
sub esi, edi
call fcn.0048b5d0
sub dword [0x004c212c], esi
jmp 0x48beca
xor eax, eax
cmp r15b, 0x3a
je 0x48bdf3
movsx edx, r15b
mov rcx, r13
call sub.msvcrt.dll_strchr
test rax, rax
setne al
movzx eax, al
jmp 0x48bdf3
lea rbp, [r11 + 1]
mov qword [0x004c2120], rbp
cmp byte [r11 + 1], 0
jne 0x48c00e
mov edx, 0x2d
mov rcx, r13
mov qword [rsp + 0x38], r11
call sub.msvcrt.dll_strchr
test rax, rax
mov r11, qword [rsp + 0x38]
je 0x48bede
movzx edx, byte [rax + 1]
mov r10, r11
mov edi, 0x2d
cmp dl, 0x3a
je 0x48c015
cmp byte [r10 + 1], 0
jne 0x48bee3
add dword [0x004c212c], 1
jmp 0x48bee3
mov edi, dword [0x004c2118]
cmp edi, 0xffffffff
jne 0x48bd91
jmp 0x48bdaa
cmp byte [r10 + 1], 0
jne 0x48bfdf
add dword [0x004c212c], 1
mov ecx, dword [0x004c2130]
test ecx, ecx
je 0x48bffe
cmp byte [r13], 0x3a
je 0x48bffe
lea rcx, str.unknown_option_____c
mov edx, edi
call fcn.0048b690
mov dword [0x004c2128], edi
mov edi, 0x3f
jmp 0x48bee3
mov edi, 0x2d
jmp 0x48bfdf
mov qword [0x004e71c0], 0
cmp byte [r10 + 1], 0
mov ecx, dword [0x004c212c]
lea edx, [rcx + 1]
je 0x48c060
mov qword [0x004e71c0], rbp
lea rax, [0x004d2755]
mov dword [0x004c212c], edx
mov qword [0x004c2120], rax
jmp 0x48bee3
mov r10, qword [0x004c2120]
movzx r15d, byte [r10]
jmp 0x48bc23
cmp byte [rax + 2], 0x3a
je 0x48c037
cmp esi, edx
mov dword [0x004c212c], edx
jg 0x48c106
lea rax, [0x004d2755]
mov qword [0x004c2120], rax
mov eax, dword [0x004c2130]
test eax, eax
je 0x48c0a1
cmp byte [r13], 0x3a
je 0x48c0a1
lea rcx, str.option_requires_an_argument_____c
mov edx, edi
call fcn.0048b690
mov dword [0x004c2128], edi
cmp byte [r13], 0x3a
jne 0x48bced
mov edi, 0x3a
jmp 0x48bee3
cdqe
mov rax, qword [rbx + rax*8]
mov qword [0x004c2120], rax
mov r9, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xa8]
mov rdx, r13
mov dword [rsp + 0x20], 0
mov rcx, rbx
call fcn.0048b720
mov edi, eax
jmp 0x48be1d
lea rbp, [r11 + 2]
mov r11, r10
mov qword [0x004c2120], rbp
jmp 0x48bf6a
movsxd rdx, edx
mov rax, qword [rbx + rdx*8]
lea edx, [rcx + 2]
mov qword [0x004e71c0], rax
jmp 0x48c037
mov esi, dword [0x004c2114]
lea r8d, [r14 + 1]
lea rax, [0x004d2755]
mov dword [0x004c212c], r8d
mov qword [0x004c2120], rax
cmp esi, 0xffffffff
je 0x48beca
mov r9, rbx
jmp 0x48bf26
mov r11, r10
jmp 0x48bf6a