Function at 0x1004bdf10
Capabilities:
Parse credit card information

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x178
mov rax, qword [sym.bash.exe_cur_term]
mov qword [rsp + 0x1c8], rdx
mov r12, rcx
mov qword [rsp + 0x1d0], r8
mov qword [rsp + 0x1d8], r9
mov rcx, qword [rax]
lea rsi, [rcx + 0xb0]
test rcx, rcx
je 0x1004be488
lea rbx, [rsp + 0xc0]
mov rdx, r12
mov dword [sym.bash.exe__nc_tparm_err], 0
mov r8, rbx
call fcn.1004bc5f0
test eax, eax
jne 0x1004be480
movsxd rcx, dword [rsp + 0xcc]
lea rdx, [rsp + 0x1c8]
mov qword [rsp + 0x48], rdx
test ecx, ecx
jle 0x1004bdfe9
lea rax, [rsp + 0x120]
lea r8, [rdx + rcx*8]
lea r9, [0x100662c04]
jmp 0x1004bdfce
mov rcx, qword [rdx - 8]
test rcx, rcx
cmove rcx, r9
add rax, 8
mov qword [rax - 8], rcx
xor ecx, ecx
mov qword [rax - 0x50], rcx
cmp r8, rdx
je 0x1004bdfe9
add rdx, 8
cmp qword [rax], 0
jne 0x1004bdfb0
movsxd rcx, dword [rdx - 8]
add rax, 8
mov qword [rax - 0x50], rcx
cmp r8, rdx
jne 0x1004bdfce
mov rcx, r12
call sub.msys_2.0.dll_strlen
mov edx, dword [rsp + 0xd4]
mov dword [rsi + 0x148], 0
mov rcx, rax
test edx, edx
je 0x1004be0d8
mov byte [rsp + 0x3f], 0
mov rax, qword [rsi + 0x168]
test rax, rax
je 0x1004be424
movsxd r15, ecx
test ecx, ecx
jle 0x1004be3e6
mov byte [rsp + 0x3d], 0
mov rbx, r12
mov byte [rsp + 0x3e], 0
jmp 0x1004be076
test r8b, r8b
mov r9d, 0xffffff80
mov qword [rsi + 0x160], rdx
cmove r8d, r9d
mov byte [rcx + rax], r8b
movzx edx, byte [rbx]
test dl, dl
je 0x1004be3e6
add rbx, 1
mov rax, rbx
sub rax, r12
cmp rax, r15
jge 0x1004be3e6
movzx r8d, byte [rbx]
cmp r8b, 0x25
je 0x1004be180
mov rax, qword [rsi + 0x160]
mov rcx, qword [rsi + 0x150]
lea rdx, [rax + 1]
cmp qword [rsi + 0x158], rdx
jae 0x1004be040
add rdx, rdx
mov qword [rsi + 0x158], rdx
call sym.bash.exe__nc_doalloc
mov qword [rsi + 0x150], rax
mov rcx, rax
test rax, rax
je 0x1004bf1ba
mov rax, qword [rsi + 0x160]
movzx r8d, byte [rbx]
lea rdx, [rax + 1]
jmp 0x1004be040
mov r11d, dword [rsp + 0xd0]
test r11d, r11d
jle 0x1004be174
movsxd r8, r11d
mov r10d, dword [sym.bash.exe__nc_tparm_err]
shl r8, 3
lea r9, [rsp + r8 + 0xb8]
lea rax, [rbx + r8]
lea r8d, [r11 - 1]
xor r11d, r11d
shl r8, 3
sub r9, r8
jmp 0x1004be143
movsxd r8, edx
add edx, 1
shl r8, 4
add r8, rsi
mov byte [r8 + 0x10], 0
mov qword [r8 + 8], rbx
sub rax, 8
mov dword [rsi + 0x148], edx
cmp rax, r9
je 0x1004be168
mov edx, dword [rsi + 0x148]
mov rbx, qword [rax + 0x58]
test rbx, rbx
je 0x1004be450
cmp edx, 0x13
jle 0x1004be118
sub rax, 8
add r10d, 1
mov r11d, 1
cmp rax, r9
jne 0x1004be13d
test r11b, r11b
je 0x1004be174
mov dword [sym.bash.exe__nc_tparm_err], r10d
mov byte [rsp + 0x3f], 1
jmp 0x1004be012
mov r14, qword [rsi + 0x168]
mov qword [rsi], rbx
lea rdx, [rbx + 1]
test r14, r14
je 0x1004be440
mov byte [r14], 0x25
movzx eax, byte [rbx + 1]
lea rbp, [r14 + 1]
test al, al
je 0x1004befb0
xor edx, edx
xor r9d, r9d
xor r10d, r10d
xor r8d, r8d
mov qword [rsp + 0x28], r14
lea rdi, [rbx + 2]
xor r13d, r13d
mov ebx, r10d
mov qword [rsp + 0x30], r15
mov r14d, edx
mov r15, rsi
mov esi, r8d
mov qword [rsp + 0x1c0], r12
mov r12d, r9d
jmp 0x1004be22b
cmp al, 0x2e
je 0x1004be348
lea ecx, [rax - 0x3a]
cmp cl, 0x3e
ja 0x1004be300
mov edx, 1
shl rdx, cl
mov rcx, rdx
movabs rdx, 0x4220060040000000
test rcx, rdx
jne 0x1004be278
and ecx, 1
je 0x1004be300
mov r10, rdi
mov ebx, ecx
movzx eax, byte [rdi]
add rdi, 1
test al, al
je 0x1004bf4dc
cmp al, 0x2d
je 0x1004be250
jg 0x1004be1e0
cmp al, 0x20
je 0x1004be268
cmp al, 0x23
jne 0x1004be300
mov byte [rbp], 0x23
mov r10, rdi
add rbp, 1
jmp 0x1004be21c
test bl, bl
je 0x1004be370
mov byte [rbp], 0x2d
mov r10, rdi
add rbp, 1
jmp 0x1004be21c
mov byte [rbp], 0x20
mov r10, rdi
add rbp, 1
jmp 0x1004be21c
mov byte [rbp], al
mov r8d, esi
mov r9d, r12d
mov rsi, r15
mov edx, r14d
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
lea rcx, [rbp + 1]
mov r12, qword [rsp + 0x1c0]
lea rbx, [rdi - 1]
test r9b, r9b
je 0x1004be2ba
mov byte [r14], 0x25
movzx eax, byte [rbx]
lea rcx, [r14 + 2]
xor r13d, r13d
xor edx, edx
mov byte [r14 + 1], al
cmp edx, r13d
cmovl edx, r13d
xor eax, eax
test r13d, r13d
cmovns eax, r13d
test r8b, r8b
mov edi, edx
cmove edi, eax
mov byte [rcx], 0
movzx edx, byte [rbx]
lea eax, [rdx - 0x21]
cmp al, 0x5d
ja case.0x1004be2f4.1
lea rcx, [0x10053ecc8]
movzx eax, al
movsxd rax, dword [rcx + rax*4]
add rax, rcx
jmp rax
call sub.msys_2.0.dll___locale_ctype_ptr
movzx r11d, byte [rdi - 1]
mov r10, rdi
mov rcx, rax
mov rax, r11
test byte [r11 + rcx + 1], 4
je 0x1004be370
movsx ecx, al
lea r11d, [r13 + r13*4]
mov byte [rbp], al
lea r13d, [rcx + r11*2 - 0x30]
mov ecx, 1
cmp r13d, 0x2711
cmovge r12d, ecx
add rbp, 1
jmp 0x1004be21c
mov byte [rbp], 0x2e
mov r10, rdi
lea rax, [rbp + 1]
test sil, sil
je 0x1004be3a0
xor r13d, r13d
mov r12d, esi
mov rbp, rax
jmp 0x1004be21c
mov r8d, esi
mov r9d, r12d
mov rsi, r15
mov edx, r14d
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
mov rcx, rbp
mov r12, qword [rsp + 0x1c0]
jmp 0x1004be29d
mov r14d, r13d
mov rbp, rax
xor r13d, r13d
mov esi, 1
jmp 0x1004be21c
movzx eax, byte [rbx + 1]
lea rdx, [rbx + 1]
test al, al
je 0x1004be3e6
xor ecx, ecx
jmp 0x1004be3d7
mov rbx, rdx
movzx eax, byte [rbx + 1]
lea rdx, [rbx + 1]
test al, al
je 0x1004be3e6
cmp al, 0x25
je 0x1004bef88
movzx eax, byte [rdx]
test al, al
jne 0x1004be3c8
mov rdx, qword [rsi + 0x160]
mov rcx, qword [rsi + 0x150]
lea rax, [rdx + 1]
cmp qword [rsi + 0x158], rax
jb 0x1004befc0
mov byte [rcx + rdx], 0
mov edx, dword [rsi + 0x148]
test edx, edx
je 0x1004be41d
mov eax, dword [sym.bash.exe__nc_tparm_err]
test eax, eax
je 0x1004be498
mov rax, qword [rsi + 0x150]
add rsp, 0x178
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
xor edi, edi
mov rbx, rdx
jmp 0x1004be2d5
cmp edx, 0x13
jg 0x1004be155
movsxd r8, edx
add edx, 1
shl r8, 4
add r8, rsi
mov byte [r8 + 0x10], 1
mov rbx, qword [rax + 0x10]
mov dword [r8 + 8], ebx
jmp 0x1004be12e
xor eax, eax
jmp 0x1004be424
mov rax, qword [sym.bash.exe__nc_prescreen]
lea rsi, [rax + 0x10]
jmp 0x1004bdf58
mov dword [sym.bash.exe__nc_tparm_err], 1
mov rax, qword [rsi + 0x150]
jmp 0x1004be424
movsxd rax, dword [rsi + 0x148]
lea edx, [rax - 1]
mov dword [rsi + 0x148], edx
test eax, eax
jle 0x1004bf30e
shl rax, 4
add rax, rsi
cmp byte [rax], 0
jne 0x1004bf148
xor ebp, ebp
mov r13, qword [rsi + 0x168]
mov rcx, r13
call sub.msys_2.0.dll_strlen
mov rdx, qword [rsi + 0x160]
mov rcx, rax
movsxd rax, edi
lea rax, [rdx + rax + 0x1f]
add rax, rcx
mov rcx, qword [rsi + 0x150]
cmp qword [rsi + 0x158], rax
jae 0x1004be53d
lea rdx, [rax + rax]
mov qword [rsi + 0x158], rdx
call sym.bash.exe__nc_doalloc
mov qword [rsi + 0x150], rax
mov rcx, rax
test rax, rax
je 0x1004bf1ba
mov r13, qword [rsi + 0x168]
mov rdx, qword [rsi + 0x160]
add rcx, rdx
mov r8d, ebp
mov rdx, r13
call sub.msys_2.0.dll_sprintf
jmp 0x1004bea9a
movsx edx, byte [rbx + 1]
lea r8, [rbx + 1]
lea eax, [rdx - 0x41]
cmp al, 0x19
jbe 0x1004bf0c5
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x1004bf25b
sub edx, 0x61
cmp byte [rsp + 0x3e], 0
je 0x1004bf467
movsxd rax, dword [rsi + 0x148]
lea ecx, [rax - 1]
mov dword [rsi + 0x148], ecx
test eax, eax
jle 0x1004bf41d
shl rax, 4
add rax, rsi
cmp byte [rax], 0
je 0x1004bf42e
mov eax, dword [rax - 8]
movsxd rdx, edx
mov byte [rsp + 0x3e], 1
mov dword [rsp + rdx*4 + 0x50], eax
movzx edx, byte [rbx + 1]
mov rbx, r8
jmp case.0x1004be2f4.1
movsxd rax, dword [rsi + 0x148]
mov r8, qword [rsi + 0x160]
mov r9, qword [rsi + 0x158]
mov rcx, qword [rsi + 0x150]
lea edx, [rax - 1]
mov dword [rsi + 0x148], edx
lea rdx, [r8 + 1]
test eax, eax
jle 0x1004bef53
shl rax, 4
add rax, rsi
cmp byte [rax], 0
je 0x1004bef64
mov edi, dword [rax - 8]
cmp r9, rdx
jb 0x1004bf435
test edi, edi
mov eax, 0xffffff80
cmovne eax, edi
jmp 0x1004bef72
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004bf017
movsxd rcx, eax
xor r8d, r8d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004bf150
lea edx, [rax - 2]
mov dword [rsi + 0x148], edx
sub eax, 1
je 0x1004bf4be
xor r9d, r9d
cmp byte [rcx - 0x10], 0
je 0x1004be65e
mov r9d, dword [rcx - 0x18]
cmp edx, 0x13
jle 0x1004bf21c
nop word [rax + rax]
add dword [sym.bash.exe__nc_tparm_err], 1
movzx edx, byte [rbx]
jmp case.0x1004be2f4.1
mov edi, dword [rsi + 0x148]
lea edx, [rdi - 1]
mov dword [rsi + 0x148], edx
test edi, edi
jle 0x1004bf263
movsxd rax, edi
lea r8, [0x100662c04]
mov rcx, rax
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004be6c1
mov r8, qword [rcx - 8]
lea rcx, [0x100662c04]
test r8, r8
cmove r8, rcx
cmp edx, 0x13
jg 0x1004be670
shl rax, 4
mov rcx, r8
lea rbp, [rsi + rax]
mov byte [rbp], 1
call sub.msys_2.0.dll_strlen
mov dword [rbp - 8], eax
mov dword [rsi + 0x148], edi
movzx edx, byte [rbx]
jmp case.0x1004be2f4.1
cmp byte [rsp + 0x3d], 0
jne 0x1004be747
cmp qword [rsp + 0x120], 0
mov rax, qword [rsp + 0x128]
je 0x1004bf3ca
test rax, rax
jne 0x1004be747
mov rax, qword [rsp + 0xe0]
add rax, 1
cmp byte [rsp + 0x3f], 0
mov qword [rsp + 0xe0], rax
je 0x1004be747
mov dword [rsi + 0x18], eax
movzx edx, byte [rbx]
mov byte [rsp + 0x3d], 1
jmp case.0x1004be2f4.1
test rax, rax
jne 0x1004be747
add qword [rsp + 0xe0], 1
mov byte [rsp + 0x3d], 1
jmp 0x1004be063
movsx edx, byte [rbx + 1]
lea r8, [rbx + 1]
lea eax, [rdx - 0x41]
cmp al, 0x19
jbe 0x1004bf083
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x1004bf25b
cmp byte [rsp + 0x3e], 0
je 0x1004bf47e
mov ecx, dword [rsi + 0x148]
cmp ecx, 0x13
jg 0x1004bf405
sub edx, 0x61
movsxd rax, ecx
add ecx, 1
mov byte [rsp + 0x3e], 1
movsxd rdx, edx
shl rax, 4
mov edx, dword [rsp + rdx*4 + 0x50]
add rax, rsi
mov byte [rax + 0x10], 1
mov dword [rax + 8], edx
mov dword [rsi + 0x148], ecx
movzx edx, byte [rbx + 1]
mov rbx, r8
jmp case.0x1004be2f4.1
mov edx, dword [rsi + 0x148]
lea eax, [rdx - 1]
mov dword [rsi + 0x148], eax
test edx, edx
jle 0x1004bf2a8
movsxd rcx, edx
xor r8d, r8d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
je 0x1004be7eb
mov r8d, dword [rcx - 8]
cmp eax, 0x13
jg 0x1004be670
mov ecx, r8d
not ecx
jmp 0x1004bed96
movsxd rax, dword [rsi + 0x148]
lea edx, [rax - 1]
mov dword [rsi + 0x148], edx
test eax, eax
jle 0x1004bf1d0
shl rax, 4
add rax, rsi
cmp byte [rax], 0
je 0x1004bf1e1
mov ecx, dword [rax - 8]
test ecx, ecx
je 0x1004bf1e1
nop dword [rax + rax]
movzx edx, byte [rbx]
jmp case.0x1004be2f4.1
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004bf017
movsxd rcx, eax
xor r8d, r8d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004bf136
lea edx, [rax - 2]
mov dword [rsi + 0x148], edx
sub eax, 1
je 0x1004bf4be
xor r9d, r9d
cmp byte [rcx - 0x10], 0
je 0x1004be883
mov r9d, dword [rcx - 0x18]
or r8d, r9d
cmp edx, 0x13
jg 0x1004be670
movsxd rdx, edx
shl rdx, 4
add rdx, rsi
mov byte [rdx + 0x10], 1
mov dword [rdx + 8], r8d
mov dword [rsi + 0x148], eax
movzx edx, byte [rbx]
jmp case.0x1004be2f4.1
add rbx, 1
xor edi, edi
jmp 0x1004be8cb
lea edx, [rdi + rdi*4]
add rbx, 1
lea edi, [rax + rdx*2 - 0x30]
call sub.msys_2.0.dll___locale_ctype_ptr
mov rdx, rax
movzx eax, byte [rbx]
movzx ecx, al
test byte [rcx + rdx + 1], 4
jne 0x1004be8c0
mov eax, dword [rsi + 0x148]
cmp eax, 0x13
jg 0x1004be670
movsxd rdx, eax
add eax, 1
shl rdx, 4
add rdx, rsi
mov byte [rdx + 0x10], 1
mov dword [rdx + 8], edi
mov dword [rsi + 0x148], eax
movzx edx, byte [rbx]
jmp case.0x1004be2f4.1
movzx eax, byte [rbx + 1]
lea rcx, [rbx + 1]
mov edx, eax
sub eax, 0x31
cmp eax, 8
ja 0x1004bf07b
cdqe
mov edx, dword [rsi + 0x148]
mov r8, qword [rsp + rax*8 + 0x120]
test r8, r8
je 0x1004bf395
cmp edx, 0x13
jg 0x1004bf36a
movsxd rax, edx
add edx, 1
shl rax, 4
add rax, rsi
mov byte [rax + 0x10], 0
mov qword [rax + 8], r8
mov dword [rsi + 0x148], edx
movzx edx, byte [rbx + 1]
mov rbx, rcx
jmp case.0x1004be2f4.1
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004bf285
movsxd r9, eax
xor edx, edx
shl r9, 4
add r9, rsi
cmp byte [r9], 0
jne 0x1004bf12d
lea r8d, [rax - 2]
sub eax, 1
mov dword [rsi + 0x148], r8d
mov ecx, eax
je 0x1004bf52b
xor eax, eax
cmp byte [r9 - 0x10], 0
je 0x1004be9b7
mov eax, dword [r9 - 0x18]
cmp r8d, 0x13
jg 0x1004be670
movsxd r8, r8d
shl r8, 4
add r8, rsi
mov byte [r8 + 0x10], 1
test edx, edx
je 0x1004be9d9
mov edi, edx
cdq
idiv edi
mov dword [r8 + 8], edx
mov dword [rsi + 0x148], ecx
movzx edx, byte [rbx]
jmp case.0x1004be2f4.1
movsxd rax, dword [rsi + 0x148]
lea edx, [rax - 1]
mov dword [rsi + 0x148], edx
test eax, eax
jle 0x1004bf279
shl rax, 4
add rax, rsi
cmp byte [rax], 0
je 0x1004bf11b
lea rbp, [0x100662c04]
mov rcx, rbp
call sub.msys_2.0.dll_strlen
mov r14, qword [rsi + 0x168]
mov r13, rax
mov rcx, r14
call sub.msys_2.0.dll_strlen
mov r8, qword [rsi + 0x160]
mov rcx, rax
movsxd rax, edi
lea rdx, [r8 + rax + 1]
add rdx, r13
add rdx, rcx
mov rcx, qword [rsi + 0x150]
cmp qword [rsi + 0x158], rdx
jae 0x1004bea8c
add rdx, rdx
mov qword [rsi + 0x158], rdx
call sym.bash.exe__nc_doalloc
mov qword [rsi + 0x150], rax
mov rcx, rax
test rax, rax
je 0x1004bf1ba
mov r14, qword [rsi + 0x168]
mov r8, qword [rsi + 0x160]
add rcx, r8
mov rdx, r14
mov r8, rbp
call sub.msys_2.0.dll_sprintf
mov rdi, qword [rsi + 0x160]
mov rcx, qword [rsi + 0x150]
add rcx, rdi
call sub.msys_2.0.dll_strlen
add rdi, rax
mov qword [rsi + 0x160], rdi
jmp 0x1004be838
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004beff7
movsxd rcx, eax
xor r8d, r8d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004bf13f
lea edx, [rax - 2]
mov dword [rsi + 0x148], edx
sub eax, 1
je 0x1004bf518
xor r9d, r9d
cmp byte [rcx - 0x10], 0
je 0x1004beb02
mov r9d, dword [rcx - 0x18]
cmp edx, 0x13
jg 0x1004be670
xor ecx, ecx
or r8d, r9d
setne cl
nop dword [rax + rax]
movsxd rdx, edx
shl rdx, 4
add rdx, rsi
mov byte [rdx + 0x10], 1
mov dword [rdx + 8], ecx
mov dword [rsi + 0x148], eax
movzx edx, byte [rbx]
jmp case.0x1004be2f4.1
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004bf038
movsxd rcx, eax
xor r8d, r8d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004bf112
lea edx, [rax - 2]
mov dword [rsi + 0x148], edx
sub eax, 1
je 0x1004bf552
xor r9d, r9d
cmp byte [rcx - 0x10], 0
je 0x1004beb7a
mov r9d, dword [rcx - 0x18]
cmp edx, 0x13
jg 0x1004be670
test r9d, r9d
setne r9b
xor ecx, ecx
test r8d, r8d
setne cl
and ecx, r9d
jmp 0x1004beb18
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004bf038
movsxd rcx, eax
xor r8d, r8d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004bf109
lea edx, [rax - 2]
mov dword [rsi + 0x148], edx
sub eax, 1
je 0x1004bf552
xor r9d, r9d
cmp byte [rcx - 0x10], 0
je 0x1004bebe3
mov r9d, dword [rcx - 0x18]
cmp edx, 0x13
jg 0x1004be670
mov ecx, r8d
imul ecx, r9d
jmp 0x1004beb18
mov eax, dword [rsi + 0x148]
cmp eax, 0x13
jle 0x1004bf058
add dword [sym.bash.exe__nc_tparm_err], 1
movzx edx, byte [rbx + 2]
add rbx, 2
jmp case.0x1004be2f4.1
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004beff7
movsxd rcx, eax
xor r8d, r8d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004bf17d
lea edx, [rax - 2]
mov dword [rsi + 0x148], edx
sub eax, 1
je 0x1004bf4c9
xor r9d, r9d
cmp byte [rcx - 0x10], 0
je 0x1004bec66
mov r9d, dword [rcx - 0x18]
cmp edx, 0x13
jg 0x1004be670
xor ecx, ecx
cmp r8d, r9d
setg cl
jmp 0x1004beb18
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004bf2eb
movsxd r8, eax
xor r9d, r9d
shl r8, 4
add r8, rsi
cmp byte [r8], 0
jne 0x1004bf174
lea edx, [rax - 2]
sub eax, 1
mov dword [rsi + 0x148], edx
mov ecx, eax
je 0x1004bf547
xor eax, eax
cmp byte [r8 - 0x10], 0
je 0x1004becc6
mov eax, dword [r8 - 0x18]
cmp edx, 0x13
jg 0x1004be670
movsxd r8, edx
shl r8, 4
add r8, rsi
mov byte [r8 + 0x10], 1
test r9d, r9d
je 0x1004becea
cdq
idiv r9d
mov r9d, eax
mov dword [r8 + 8], r9d
mov dword [rsi + 0x148], ecx
movzx edx, byte [rbx]
jmp case.0x1004be2f4.1
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004beff7
movsxd rcx, eax
xor r9d, r9d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004bf16b
lea edx, [rax - 2]
mov dword [rsi + 0x148], edx
sub eax, 1
je 0x1004bf55d
xor r8d, r8d
cmp byte [rcx - 0x10], 0
je 0x1004bed3f
mov r8d, dword [rcx - 0x18]
mov ecx, r8d
sub ecx, r9d
cmp edx, 0x13
jg 0x1004be670
jmp 0x1004beb18
mov edx, dword [rsi + 0x148]
lea eax, [rdx - 1]
mov dword [rsi + 0x148], eax
test edx, edx
jle 0x1004bf2d3
movsxd rcx, edx
xor r8d, r8d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
je 0x1004bed85
mov r8d, dword [rcx - 8]
cmp eax, 0x13
jg 0x1004be670
xor ecx, ecx
test r8d, r8d
sete cl
cdqe
shl rax, 4
add rax, rsi
mov byte [rax + 0x10], 1
mov dword [rax + 8], ecx
mov dword [rsi + 0x148], edx
movzx edx, byte [rbx]
jmp case.0x1004be2f4.1
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004beff7
movsxd rcx, eax
xor r8d, r8d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004bf162
lea edx, [rax - 2]
mov dword [rsi + 0x148], edx
sub eax, 1
je 0x1004bf536
xor r9d, r9d
cmp byte [rcx - 0x10], 0
je 0x1004bedf7
mov r9d, dword [rcx - 0x18]
cmp edx, 0x13
jg 0x1004be670
xor ecx, ecx
cmp r8d, r9d
setl cl
jmp 0x1004beb18
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004bf038
movsxd rcx, eax
xor r8d, r8d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004bf159
lea edx, [rax - 2]
mov dword [rsi + 0x148], edx
sub eax, 1
je 0x1004bf552
xor r9d, r9d
cmp byte [rcx - 0x10], 0
je 0x1004bee53
mov r9d, dword [rcx - 0x18]
mov ecx, r8d
and ecx, r9d
cmp edx, 0x13
jg 0x1004be670
jmp 0x1004beb18
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004bf017
movsxd rcx, eax
xor r8d, r8d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004bf18f
lea edx, [rax - 2]
mov dword [rsi + 0x148], edx
sub eax, 1
je 0x1004bf4be
xor r9d, r9d
cmp byte [rcx - 0x10], 0
je 0x1004beeb3
mov r9d, dword [rcx - 0x18]
add r8d, r9d
cmp edx, 0x13
jg 0x1004be670
jmp 0x1004be88f
mov rdx, qword [rsi + 0x160]
mov rcx, qword [rsi + 0x150]
lea rax, [rdx + 1]
cmp qword [rsi + 0x158], rax
jb 0x1004bf324
mov qword [rsi + 0x160], rax
mov byte [rcx + rdx], 0x25
movzx edx, byte [rbx]
jmp case.0x1004be2f4.1
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004bf2c0
movsxd rcx, eax
xor r8d, r8d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004bf186
lea edx, [rax - 2]
mov dword [rsi + 0x148], edx
sub eax, 1
je 0x1004bf505
xor r9d, r9d
cmp byte [rcx - 0x10], 0
je 0x1004bef3d
mov r9d, dword [rcx - 0x18]
cmp edx, 0x13
jg 0x1004be670
xor ecx, ecx
cmp r8d, r9d
sete cl
jmp 0x1004beb18
add dword [sym.bash.exe__nc_tparm_err], 1
mov dword [rsi + 0x148], 0
cmp r9, rdx
jb 0x1004bf198
mov eax, 0xffffff80
mov qword [rsi + 0x160], rdx
mov byte [rcx + r8], al
movzx edx, byte [rbx]
jmp case.0x1004be2f4.1
movzx eax, byte [rdx + 1]
lea rbx, [rdx + 1]
cmp al, 0x3f
je 0x1004befef
mov rdx, rbx
cmp al, 0x3b
jne 0x1004be3e2
test ecx, ecx
jle 0x1004be063
sub ecx, 1
jmp 0x1004be3cb
xor edi, edi
mov rbx, rdx
mov rcx, rbp
jmp 0x1004be2d2
lea rdx, [rax + rax]
mov qword [rsi + 0x158], rdx
call sym.bash.exe__nc_doalloc
mov qword [rsi + 0x150], rax
mov rcx, rax
test rax, rax
je 0x1004bf1ba
mov rdx, qword [rsi + 0x160]
jmp 0x1004be405
add ecx, 1
jmp 0x1004be3cb
mov eax, dword [sym.bash.exe__nc_tparm_err]
xor ecx, ecx
add eax, 1
add eax, 1
xor edx, edx
mov dword [sym.bash.exe__nc_tparm_err], eax
mov eax, 1
jmp 0x1004beb18
mov eax, dword [sym.bash.exe__nc_tparm_err]
xor r8d, r8d
add eax, 1
add eax, 1
xor edx, edx
mov dword [sym.bash.exe__nc_tparm_err], eax
mov eax, 1
jmp 0x1004be88f
mov eax, dword [sym.bash.exe__nc_tparm_err]
add eax, 1
add eax, 1
xor ecx, ecx
xor edx, edx
mov dword [sym.bash.exe__nc_tparm_err], eax
mov eax, 1
jmp 0x1004beb18
movsxd rdx, eax
add eax, 1
shl rdx, 4
add rdx, rsi
mov byte [rdx + 0x10], 1
movzx ecx, byte [rbx + 1]
mov dword [rdx + 8], ecx
mov dword [rsi + 0x148], eax
jmp 0x1004bec16
mov rbx, rcx
jmp case.0x1004be2f4.1
mov eax, dword [rsi + 0x148]
cmp eax, 0x13
jg 0x1004bf357
movsxd rcx, eax
sub edx, 0x41
add eax, 1
shl rcx, 4
movsxd rdx, edx
add rcx, rsi
mov byte [rcx + 0x10], 1
mov edx, dword [rsi + rdx*4 + 0x178]
mov dword [rcx + 8], edx
mov dword [rsi + 0x148], eax
movzx edx, byte [rbx + 1]
mov rbx, r8
jmp case.0x1004be2f4.1
movsxd rax, dword [rsi + 0x148]
sub edx, 0x41
lea ecx, [rax - 1]
mov dword [rsi + 0x148], ecx
test eax, eax
jle 0x1004bf37d
shl rax, 4
add rax, rsi
cmp byte [rax], 0
je 0x1004bf38e
mov ecx, dword [rax - 8]
movsxd rax, edx
mov dword [rsi + rax*4 + 0x178], ecx
movzx edx, byte [rbx + 1]
mov rbx, r8
jmp case.0x1004be2f4.1
mov r8d, dword [rcx - 8]
jmp 0x1004bebc4
mov r8d, dword [rcx - 8]
jmp 0x1004beb5b
mov rbp, qword [rax - 8]
test rbp, rbp
jne 0x1004bea1a
jmp 0x1004bea13
mov edx, dword [r9 - 8]
jmp 0x1004be994
mov r8d, dword [rcx - 8]
jmp 0x1004be864
mov r8d, dword [rcx - 8]
jmp 0x1004beae3
mov ebp, dword [rax - 8]
jmp 0x1004be4d8
mov r8d, dword [rcx - 8]
jmp 0x1004be63f
mov r8d, dword [rcx - 8]
jmp 0x1004bee34
mov r8d, dword [rcx - 8]
jmp 0x1004bedd8
mov r9d, dword [rcx - 8]
jmp 0x1004bed20
mov r9d, dword [r8 - 8]
jmp 0x1004beca5
mov r8d, dword [rcx - 8]
jmp 0x1004bec47
mov r8d, dword [rcx - 8]
jmp 0x1004bef1e
mov r8d, dword [rcx - 8]
jmp 0x1004bee94
add rdx, rdx
mov qword [rsi + 0x158], rdx
call sym.bash.exe__nc_doalloc
mov qword [rsi + 0x150], rax
mov rcx, rax
test rax, rax
jne 0x1004bf495
lea rcx, [0x10053eb40]
call sym.bash.exe__nc_err_abort
nop word cs:[rax + rax]
add dword [sym.bash.exe__nc_tparm_err], 1
mov dword [rsi + 0x148], 0
movzx eax, byte [rbx + 1]
lea rdx, [rbx + 1]
test al, al
je 0x1004be3e6
xor ecx, ecx
jmp 0x1004bf20b
mov rbx, rdx
movzx eax, byte [rbx + 1]
lea rdx, [rbx + 1]
test al, al
je 0x1004be3e6
cmp al, 0x25
je 0x1004bf228
movzx eax, byte [rdx]
test al, al
je 0x1004be3e6
jmp 0x1004bf1f8
xor r8d, r9d
jmp 0x1004be88f
movzx eax, byte [rdx + 1]
lea rbx, [rdx + 1]
cmp al, 0x3f
je 0x1004bf249
cmp al, 0x3b
je 0x1004bf24e
test ecx, ecx
jne 0x1004bf244
cmp al, 0x65
je 0x1004be063
mov rdx, rbx
jmp 0x1004bf212
add ecx, 1
jmp 0x1004bf1fb
test ecx, ecx
jle 0x1004be063
sub ecx, 1
jmp 0x1004bf1fb
mov rbx, r8
jmp case.0x1004be2f4.1
add dword [sym.bash.exe__nc_tparm_err], 1
lea r8, [0x100662c04]
movsxd rax, edi
jmp 0x1004be6c6
add dword [sym.bash.exe__nc_tparm_err], 1
jmp 0x1004bea13
mov eax, dword [sym.bash.exe__nc_tparm_err]
xor edx, edx
add eax, 1
add eax, 1
xor r8d, r8d
mov ecx, 1
mov dword [sym.bash.exe__nc_tparm_err], eax
xor eax, eax
jmp 0x1004be9c1
add dword [sym.bash.exe__nc_tparm_err], 1
xor eax, eax
mov edx, 1
mov ecx, 0xffffffff
jmp 0x1004bed96
mov eax, dword [sym.bash.exe__nc_tparm_err]
mov ecx, 1
add eax, 1
jmp 0x1004bf002
add dword [sym.bash.exe__nc_tparm_err], 1
xor eax, eax
mov edx, 1
mov ecx, 1
jmp 0x1004bed96
mov eax, dword [sym.bash.exe__nc_tparm_err]
xor r9d, r9d
add eax, 1
add eax, 1
xor edx, edx
mov ecx, 1
mov dword [sym.bash.exe__nc_tparm_err], eax
xor eax, eax
jmp 0x1004beccf
add dword [sym.bash.exe__nc_tparm_err], 1
mov dword [rsi + 0x148], 0
jmp 0x1004be4d6
lea rdx, [rax + rax]
mov qword [rsi + 0x158], rdx
call sym.bash.exe__nc_doalloc
mov qword [rsi + 0x150], rax
mov rcx, rax
test rax, rax
je 0x1004bf1ba
mov rdx, qword [rsi + 0x160]
lea rax, [rdx + 1]
jmp 0x1004beee7
add dword [sym.bash.exe__nc_tparm_err], 1
movzx edx, byte [rbx + 1]
mov rbx, r8
jmp case.0x1004be2f4.1
add dword [sym.bash.exe__nc_tparm_err], 1
movzx edx, byte [rbx + 1]
mov rbx, rcx
jmp case.0x1004be2f4.1
add dword [sym.bash.exe__nc_tparm_err], 1
mov dword [rsi + 0x148], 0
xor ecx, ecx
jmp 0x1004bf0f3
cmp edx, 0x13
jg 0x1004bf36a
movsxd r8, edx
mov rax, qword [rsp + rax*8 + 0xd8]
add edx, 1
shl r8, 4
add r8, rsi
mov byte [r8 + 0x10], 1
mov dword [r8 + 8], eax
mov dword [rsi + 0x148], edx
movzx edx, byte [rbx + 1]
mov rbx, rcx
jmp case.0x1004be2f4.1
mov rdi, qword [rsp + 0xd8]
lea rdx, [rdi + 1]
movzx edi, byte [rsp + 0x3f]
mov qword [rsp + 0xd8], rdx
test dil, dil
je 0x1004be739
mov dword [rsi + 8], edx
test rax, rax
je 0x1004bf4a5
mov byte [rsp + 0x3d], dil
movzx edx, byte [rbx]
jmp case.0x1004be2f4.1
add dword [sym.bash.exe__nc_tparm_err], 1
movzx edx, byte [rbx + 1]
mov rbx, r8
mov byte [rsp + 0x3e], 1
jmp case.0x1004be2f4.1
add dword [sym.bash.exe__nc_tparm_err], 1
mov dword [rsi + 0x148], 0
xor eax, eax
jmp 0x1004be5a7
add rdx, rdx
mov qword [rsi + 0x158], rdx
call sym.bash.exe__nc_doalloc
mov qword [rsi + 0x150], rax
mov rcx, rax
test rax, rax
je 0x1004bf1ba
mov r8, qword [rsi + 0x160]
lea rdx, [r8 + 1]
jmp 0x1004be60c
lea r9, [rsp + 0x50]
mov ecx, 0xd
xor eax, eax
mov rdi, r9
rep stosq qword [rdi], rax
jmp 0x1004be57c
lea r9, [rsp + 0x50]
mov ecx, 0xd
xor eax, eax
mov rdi, r9
rep stosq qword [rdi], rax
jmp 0x1004be77a
mov r8, qword [rsi + 0x160]
lea rdx, [r8 + 1]
jmp 0x1004bef6d
mov rax, qword [rsp + 0xe0]
add rax, 1
mov qword [rsp + 0xe0], rax
jmp 0x1004be729
mov eax, dword [sym.bash.exe__nc_tparm_err]
jmp 0x1004bf023
xor ecx, ecx
test r8d, r8d
mov eax, dword [sym.bash.exe__nc_tparm_err]
setg cl
jmp 0x1004bf002
mov r8d, esi
mov r9d, r12d
mov rsi, r15
mov edx, r14d
mov r15, qword [rsp + 0x30]
mov r14, qword [rsp + 0x28]
mov rbx, r10
mov rcx, rbp
mov r12, qword [rsp + 0x1c0]
jmp 0x1004be2a1
xor ecx, ecx
test r8d, r8d
mov eax, dword [sym.bash.exe__nc_tparm_err]
sete cl
jmp 0x1004bf002
xor ecx, ecx
test r8d, r8d
mov eax, dword [sym.bash.exe__nc_tparm_err]
setne cl
jmp 0x1004bf002
mov eax, dword [sym.bash.exe__nc_tparm_err]
jmp 0x1004bf290
mov ecx, r8d
mov eax, dword [sym.bash.exe__nc_tparm_err]
shr ecx, 0x1f
jmp 0x1004bf002
mov eax, dword [sym.bash.exe__nc_tparm_err]
jmp 0x1004bf2f7
mov eax, dword [sym.bash.exe__nc_tparm_err]
jmp 0x1004bf041
mov ecx, r9d
mov eax, dword [sym.bash.exe__nc_tparm_err]
neg ecx
jmp 0x1004bf002