Function at 0x10043b450
Capabilities:
Query environment variable

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x68
mov r12d, 8
mov ebx, 1
mov rbp, rcx
lea rcx, str.POSIXLY_CORRECT
mov rsi, rdx
mov rdi, r8
mov r13, r9
call sub.cygwin1.dll_getenv
test rax, rax
je 0x10043b648
add r12, rsi
mov rax, qword [r12]
test rax, rax
je 0x10043b49d
cmp byte [rax], 0x2d
je 0x10043b4b8
xor r14d, r14d
mov eax, r14d
add rsp, 0x68
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
cmp byte [rax + 1], 0x2d
jne 0x10043b4f0
movzx r14d, byte [rax + 2]
test r14d, r14d
jne 0x10043b4f0
mov r8d, dword [rbp]
lea eax, [rbx + 1]
mov rcx, r12
lea rdx, [rsi + rax*8]
sub r8d, ebx
shl r8, 3
call sub.cygwin1.dll_memmove
sub dword [rbp], 1
jmp 0x10043b4a0
cmp byte [rax + 1], 0x2d
jne 0x10043b688
mov eax, dword [rdi]
test eax, eax
jne 0x10043b89c
lea r15, [rsp + 0x5c]
lea r14, [rsp + 0x58]
mov rdx, r15
mov rcx, r14
call fcn.10043af50
mov r9, rax
test rax, rax
je 0x10043b6e2
mov r10, qword [r12]
mov r8d, dword [rsp + 0x5c]
mov rdx, r9
mov qword [rsp + 0x30], r9
lea rcx, [r10 + 2]
mov dword [rsp + 0x4c], r8d
mov qword [rsp + 0x40], r10
mov qword [rsp + 0x38], r8
call sub.cygwin1.dll_strncmp
mov r9, qword [rsp + 0x30]
test eax, eax
jne 0x10043b6c8
mov r11d, dword [rsp + 0x4c]
mov r10, qword [rsp + 0x40]
mov r8, qword [rsp + 0x38]
lea eax, [r11 + 2]
mov r11, rax
movzx eax, byte [r10 + rax]
cmp al, 0x3d
je 0x10043b81f
test al, al
jne 0x10043b6c8
mov dword [rsp + 0x5c], r11d
lea r14, [r9 - 2]
mov eax, dword [rsp + 0x58]
mov r15, qword [0x10044d020]
lea rdx, [rax*8]
mov rcx, qword [r15]
sub rdx, rax
lea rdx, [rcx + rdx*8]
cmp dword [rdx + 8], 1
je 0x10043b7e8
mov ecx, dword [rdi]
test ecx, ecx
je 0x10043b740
lea r8d, [rcx + 1]
cmp byte [r10 + r8], 0
je 0x10043b740
mov dword [rdi], 0
lea r9, [r10 + rcx + 1]
cmp dword [rdx + 8], 4
je 0x10043b800
lea rdx, [rax*8]
mov qword [rsp + 0x30], r9
mov rcx, r9
sub rdx, rax
mov rax, qword [r15]
lea rax, [rax + rdx*8]
mov rdx, qword [rax + 0x28]
call qword [rax + 0x18]
mov r9, qword [rsp + 0x30]
mov r15, rax
test r15, r15
je 0x10043b780
mov r9, r14
mov r8d, dword [rsp + 0x5c]
mov rdx, qword [rsi]
mov qword [rsp + 0x20], r15
lea rcx, str._s:__.s:__s
mov r14d, 0xffffffff
call r13
mov rcx, r15
call fcn.10043bf30
jmp 0x10043b4a0
mov rax, qword [rsi + 8]
test rax, rax
jne 0x10043b673
jmp 0x10043b49d
lea eax, [rbx + 1]
mov rbx, rax
mov rax, qword [rsi + rax*8]
test rax, rax
je 0x10043b49d
cmp byte [rax], 0x2d
jne 0x10043b660
mov r12d, ebx
shl r12, 3
jmp 0x10043b48c
lea r14, [rsp + 0x58]
mov rcx, r14
call fcn.10043b050
mov rcx, rax
test rax, rax
je 0x10043b6e2
mov eax, dword [rdi]
mov r10, qword [r12]
movzx r15d, byte [rcx]
lea edx, [rax + 1]
cmp byte [r10 + rdx], r15b
jne 0x10043b720
mov dword [rdi], edx
lea r14, [rcx - 1]
mov dword [rsp + 0x5c], 2
jmp 0x10043b58f
mov rcx, r9
mov r8, r15
mov rdx, r14
call fcn.10043b000
mov r9, rax
test rax, rax
jne 0x10043b525
mov rbx, qword [r12]
lea rdi, str.unrecognized_option
mov r14d, 0xffffffff
mov rcx, rbx
call sub.cygwin1.dll_strlen
mov qword [rsp + 0x20], rdi
mov rdx, qword [rsi]
mov r9, rbx
mov r8d, eax
lea rcx, str._s:__.s:__s
call r13
jmp 0x10043b4a0
mov rdx, r14
call fcn.10043b110
mov rcx, rax
test rax, rax
jne 0x10043b69d
jmp 0x10043b6e2
lea ecx, [rbx + 1]
mov r9, qword [rsi + rcx*8]
test r9, r9
jne 0x10043b5da
lea rax, str.requires_an_argument
mov r9, r14
mov r8d, dword [rsp + 0x5c]
mov rdx, qword [rsi]
mov qword [rsp + 0x20], rax
lea rcx, str._s:__.s:__s
mov r14d, 0xffffffff
call r13
jmp 0x10043b4a0
mov eax, dword [rdi]
test eax, eax
jne 0x10043b7d0
mov r8d, dword [rbp]
lea eax, [rbx + 1]
mov rcx, r12
mov qword [rsp + 0x30], r9
lea r13, [rsi + rax*8]
sub r8d, ebx
mov rdx, r13
shl r8, 3
call sub.cygwin1.dll_memmove
mov eax, dword [rbp]
mov r9, qword [rsp + 0x30]
sub eax, 1
mov dword [rbp], eax
test r9, r9
je 0x10043b7c5
cmp qword [r12], r9
je 0x10043b87e
mov r14d, 1
jmp 0x10043b4a0
mov rdx, qword [r12]
add eax, 1
cmp byte [rdx + rax], 0
jne 0x10043b7c5
mov dword [rdi], 0
jmp 0x10043b786
mov rcx, qword [rdx + 0x28]
call qword [rdx + 0x10]
xor r9d, r9d
mov r15, rax
jmp 0x10043b60d
mov rdx, qword [rdx + 0x28]
mov rcx, r9
mov qword [rsp + 0x30], r9
call fcn.10043a7d0
mov eax, dword [rsp + 0x58]
mov r9, qword [rsp + 0x30]
jmp 0x10043b5e4
mov eax, dword [rsp + 0x58]
mov r15, qword [0x10044d020]
lea r14, [r9 - 2]
mov dword [rsp + 0x5c], r11d
lea r9, [r10 + r8 + 3]
mov rcx, qword [r15]
lea rdx, [rax*8]
sub rdx, rax
lea rdx, [rcx + rdx*8]
cmp dword [rdx + 8], 1
jne 0x10043b5da
lea rax, str.doesnt_allow_an_argument
mov r9, r14
mov rdx, qword [rsi]
mov r8d, r11d
mov qword [rsp + 0x20], rax
lea rcx, str._s:__.s:__s
mov r14d, 0xffffffff
call r13
jmp 0x10043b4a0
sub eax, ebx
mov rdx, r13
mov rcx, r12
lea r8, [rax*8]
call sub.cygwin1.dll_memmove
sub dword [rbp], 1
jmp 0x10043b7c5
lea r9, str.offset__0
lea r8, str.parse_one
mov edx, 0x3b
lea rcx, str.opt_parse.c
call sub.cygwin1.dll___assert_func
nop
nop
nop
nop
nop