Function at 0x100402dcb
Capabilities:
Terminate process

Disassembly:
push rbp
push rbx
sub rsp, 0x58
lea rbp, [rsp + 0x80]
mov dword [rbp - 0x10], ecx
mov qword [rbp - 8], rdx
mov qword [rbp], r8
mov rax, qword [rbp]
mov byte [rax + 0x18], 0
mov rax, qword [rbp]
mov byte [rax + 0x19], 0
mov rax, qword [rbp]
mov byte [rax + 0x1a], 0
mov rax, qword [rbp]
mov byte [rax + 0x1b], 0
mov rax, qword [rbp]
mov byte [rax + 0x1c], 0
mov byte [rbp - 0x31], 0
cmp dword [rbp - 0x10], 0
jle 0x100402e1f
mov rax, qword [rbp - 8]
mov rax, qword [rax]
jmp 0x100402e26
lea rax, str._program_
mov qword [rbp - 0x40], rax
mov dword [rbp - 0x38], 1
mov eax, dword [rbp - 0x38]
cmp eax, dword [rbp - 0x10]
jge 0x100403092
lea rax, [rbp - 0x51]
mov rcx, rax
call fcn.1004551c0
mov eax, dword [rbp - 0x38]
lea edx, [rax + 1]
mov dword [rbp - 0x38], edx
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp - 8]
add rax, rdx
mov rdx, qword [rax]
lea rcx, [rbp - 0x51]
lea rax, [rbp - 0x60]
mov r8, rcx
mov rcx, rax
call fcn.10045e9d0
lea rax, [rbp - 0x51]
mov rcx, rax
call fcn.1004551f0
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.100414f80
test rax, rax
je 0x100402eb5
lea rax, [rbp - 0x60]
mov edx, 0
mov rcx, rax
call fcn.10045f080
movzx eax, byte [rax]
cmp al, 0x2d
jne 0x100402eb5
mov eax, 1
jmp 0x100402eba
mov eax, 0
test al, al
je 0x10040305f
lea rax, [rbp - 0x60]
lea rdx, [0x10049267f]
mov rcx, rax
call fcn.10048b900
test al, al
jne 0x100402ef0
lea rax, [rbp - 0x60]
lea rdx, str.__help
mov rcx, rax
call fcn.10048b900
test al, al
je 0x100402ef7
mov eax, 1
jmp 0x100402efc
mov eax, 0
test al, al
je 0x100402f16
mov rax, qword [rbp - 0x40]
mov edx, 0
mov rcx, rax
call fcn.100402d5b
jmp 0x100403076
lea rax, [rbp - 0x60]
lea rdx, str.__mouse
mov rcx, rax
call fcn.10048b900
test al, al
je 0x100402f3a
mov rax, qword [rbp]
mov byte [rax + 0x18], 1
jmp 0x100403076
lea rax, [rbp - 0x60]
lea rdx, str.__showkey
mov rcx, rax
call fcn.10048b900
test al, al
je 0x100402f5a
mov byte [rbp - 0x31], 1
jmp 0x100403076
lea rax, [rbp - 0x60]
lea rdx, str.__version
mov rcx, rax
call fcn.10048b900
test al, al
je 0x100402f80
call fcn.100405c10
mov ecx, 0
call sub.msys_2.0.dll_exit
lea rax, [rbp - 0x60]
lea rdx, str._Xallow_non_tty
mov rcx, rax
call fcn.10048b900
test al, al
je 0x100402fa4
mov rax, qword [rbp]
mov byte [rax + 0x19], 1
jmp 0x100403076
lea rax, [rbp - 0x60]
lea rdx, str._Xconerr
mov rcx, rax
call fcn.10048b900
test al, al
je 0x100402fc8
mov rax, qword [rbp]
mov byte [rax + 0x1a], 1
jmp 0x100403076
lea rax, [rbp - 0x60]
lea rdx, str._Xplain
mov rcx, rax
call fcn.10048b900
test al, al
je 0x100402fec
mov rax, qword [rbp]
mov byte [rax + 0x1b], 1
jmp 0x100403076
lea rax, [rbp - 0x60]
lea rdx, str._Xcolor
mov rcx, rax
call fcn.10048b900
test al, al
je 0x10040300d
mov rax, qword [rbp]
mov byte [rax + 0x1c], 1
jmp 0x100403076
lea rax, [rbp - 0x60]
lea rdx, [0x1004926ce]
mov rcx, rax
call fcn.10048b900
test al, al
je 0x10040302b
mov ebx, 0
jmp 0x10040307b
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.100414fa0
mov rbx, rax
call sub.msys_2.0.dll___getreent
mov rax, qword [rax + 0x18]
mov r8, rbx
lea rdx, str.Error:_unrecognized_option:__s_n
mov rcx, rax
call sub.msys_2.0.dll_fprintf
mov ecx, 1
call sub.msys_2.0.dll_exit
mov rax, qword [rbp]
lea rdx, [rbp - 0x60]
mov rcx, rax
call fcn.100478190
mov ebx, 0
jmp 0x10040307b
mov ebx, 1
lea rax, [rbp - 0x60]
mov rcx, rax
call fcn.10045ef70
cmp ebx, 1
jne 0x100403092
nop
jmp 0x100402e31
mov eax, dword [rbp - 0x38]
cmp eax, dword [rbp - 0x10]
jge 0x1004030fe
lea rax, [rbp - 0x41]
mov rcx, rax
call fcn.1004551c0
mov eax, dword [rbp - 0x38]
cdqe
lea rdx, [rax*8]
mov rax, qword [rbp - 8]
add rax, rdx
mov rdx, qword [rax]
lea rcx, [rbp - 0x41]
lea rax, [rbp - 0x50]
mov r8, rcx
mov rcx, rax
call fcn.10045e9d0
mov rax, qword [rbp]
lea rdx, [rbp - 0x50]
mov rcx, rax
call fcn.100478160
lea rax, [rbp - 0x50]
mov rcx, rax
call fcn.10045ef70
lea rax, [rbp - 0x41]
mov rcx, rax
call fcn.1004551f0
add dword [rbp - 0x38], 1
jmp 0x100403092
cmp byte [rbp - 0x31], 0
je 0x100403120
mov rax, qword [rbp]
movzx eax, byte [rax + 0x19]
movzx eax, al
mov ecx, eax
call fcn.100401f58
mov ecx, 0
call sub.msys_2.0.dll_exit
mov rax, qword [rbp]
mov rcx, rax
call fcn.10041d210
test rax, rax
sete al
test al, al
je 0x1004031a8
mov rax, qword [rbp - 0x40]
mov edx, 1
mov rcx, rax
call fcn.100402d5b
jmp 0x1004031a8
nop
add rsp, 0x58
pop rbx
pop rbp
ret