Function at 0x1004bc8c0
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 0x1004bce28
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 0x1004bce20
movsxd rax, dword [rsp + 0xcc]
lea rcx, [rsp + 0x1c8]
mov qword [rsp + 0x48], rcx
test eax, eax
jle 0x1004bc986
lea rdx, [rsp + 0x120]
lea r8, [rcx + rax*8]
lea r9, [0x100662c04]
nop dword [rax]
mov rax, qword [rcx]
add rcx, 8
cmp qword [rdx], 0
je 0x1004bc979
test rax, rax
cmove rax, r9
mov qword [rdx], rax
xor eax, eax
mov qword [rdx - 0x48], rax
add rdx, 8
cmp r8, rcx
jne 0x1004bc960
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 0x1004bca78
mov byte [rsp + 0x3f], 0
mov rax, qword [rsi + 0x168]
test rax, rax
je 0x1004bcdc4
movsxd r15, ecx
test ecx, ecx
jle 0x1004bcd86
mov byte [rsp + 0x3d], 0
mov rbx, r12
mov byte [rsp + 0x3e], 0
jmp 0x1004bca16
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 0x1004bcd86
add rbx, 1
mov rax, rbx
sub rax, r12
cmp rax, r15
jge 0x1004bcd86
movzx r8d, byte [rbx]
cmp r8b, 0x25
je 0x1004bcb20
mov rax, qword [rsi + 0x160]
mov rcx, qword [rsi + 0x150]
lea rdx, [rax + 1]
cmp qword [rsi + 0x158], rdx
jae 0x1004bc9e0
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 0x1004bdb5a
mov rax, qword [rsi + 0x160]
movzx r8d, byte [rbx]
lea rdx, [rax + 1]
jmp 0x1004bc9e0
mov r11d, dword [rsp + 0xd0]
test r11d, r11d
jle 0x1004bcb14
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 0x1004bcae3
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 0x1004bcb08
mov edx, dword [rsi + 0x148]
mov rbx, qword [rax + 0x58]
test rbx, rbx
je 0x1004bcdf0
cmp edx, 0x13
jle 0x1004bcab8
sub rax, 8
add r10d, 1
mov r11d, 1
cmp rax, r9
jne 0x1004bcadd
test r11b, r11b
je 0x1004bcb14
mov dword [sym.bash.exe__nc_tparm_err], r10d
mov byte [rsp + 0x3f], 1
jmp 0x1004bc9af
mov r14, qword [rsi + 0x168]
mov qword [rsi], rbx
lea rdx, [rbx + 1]
test r14, r14
je 0x1004bcde0
mov byte [r14], 0x25
movzx eax, byte [rbx + 1]
lea rbp, [r14 + 1]
test al, al
je 0x1004bd950
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 0x1004bcbcb
cmp al, 0x2e
je 0x1004bcce8
lea ecx, [rax - 0x3a]
cmp cl, 0x3e
ja 0x1004bcca0
mov edx, 1
shl rdx, cl
mov rcx, rdx
movabs rdx, 0x4220060040000000
test rcx, rdx
jne 0x1004bcc18
and ecx, 1
je 0x1004bcca0
mov r10, rdi
mov ebx, ecx
movzx eax, byte [rdi]
add rdi, 1
test al, al
je 0x1004bde7c
cmp al, 0x2d
je 0x1004bcbf0
jg 0x1004bcb80
cmp al, 0x20
je 0x1004bcc08
cmp al, 0x23
jne 0x1004bcca0
mov byte [rbp], 0x23
mov r10, rdi
add rbp, 1
jmp 0x1004bcbbc
test bl, bl
je 0x1004bcd10
mov byte [rbp], 0x2d
mov r10, rdi
add rbp, 1
jmp 0x1004bcbbc
mov byte [rbp], 0x20
mov r10, rdi
add rbp, 1
jmp 0x1004bcbbc
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 0x1004bcc5a
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.0x1004bcc94.1
lea rcx, [0x10053eb50]
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 0x1004bcd10
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 0x1004bcbbc
mov byte [rbp], 0x2e
mov r10, rdi
lea rax, [rbp + 1]
test sil, sil
je 0x1004bcd40
xor r13d, r13d
mov r12d, esi
mov rbp, rax
jmp 0x1004bcbbc
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 0x1004bcc3d
mov r14d, r13d
mov rbp, rax
xor r13d, r13d
mov esi, 1
jmp 0x1004bcbbc
movzx eax, byte [rbx + 1]
lea rdx, [rbx + 1]
test al, al
je 0x1004bcd86
xor ecx, ecx
jmp 0x1004bcd77
mov rbx, rdx
movzx eax, byte [rbx + 1]
lea rdx, [rbx + 1]
test al, al
je 0x1004bcd86
cmp al, 0x25
je 0x1004bd928
movzx eax, byte [rdx]
test al, al
jne 0x1004bcd68
mov rdx, qword [rsi + 0x160]
mov rcx, qword [rsi + 0x150]
lea rax, [rdx + 1]
cmp qword [rsi + 0x158], rax
jb 0x1004bd960
mov byte [rcx + rdx], 0
mov edx, dword [rsi + 0x148]
test edx, edx
je 0x1004bcdbd
mov eax, dword [sym.bash.exe__nc_tparm_err]
test eax, eax
je 0x1004bce38
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 0x1004bcc75
cmp edx, 0x13
jg 0x1004bcaf5
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 0x1004bcace
xor eax, eax
jmp 0x1004bcdc4
mov rax, qword [sym.bash.exe__nc_prescreen]
lea rsi, [rax + 0x10]
jmp 0x1004bc908
mov dword [sym.bash.exe__nc_tparm_err], 1
mov rax, qword [rsi + 0x150]
jmp 0x1004bcdc4
movsxd rax, dword [rsi + 0x148]
lea edx, [rax - 1]
mov dword [rsi + 0x148], edx
test eax, eax
jle 0x1004bdcae
shl rax, 4
add rax, rsi
cmp byte [rax], 0
jne 0x1004bdae8
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 0x1004bcedd
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 0x1004bdb5a
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 0x1004bd43a
movsx edx, byte [rbx + 1]
lea r8, [rbx + 1]
lea eax, [rdx - 0x41]
cmp al, 0x19
jbe 0x1004bda65
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x1004bdbfb
sub edx, 0x61
cmp byte [rsp + 0x3e], 0
je 0x1004bde07
movsxd rax, dword [rsi + 0x148]
lea ecx, [rax - 1]
mov dword [rsi + 0x148], ecx
test eax, eax
jle 0x1004bddbd
shl rax, 4
add rax, rsi
cmp byte [rax], 0
je 0x1004bddce
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.0x1004bcc94.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 0x1004bd8f3
shl rax, 4
add rax, rsi
cmp byte [rax], 0
je 0x1004bd904
mov edi, dword [rax - 8]
cmp r9, rdx
jb 0x1004bddd5
test edi, edi
mov eax, 0xffffff80
cmovne eax, edi
jmp 0x1004bd912
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004bd9b7
movsxd rcx, eax
xor r8d, r8d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004bdaf0
lea edx, [rax - 2]
mov dword [rsi + 0x148], edx
sub eax, 1
je 0x1004bde5e
xor r9d, r9d
cmp byte [rcx - 0x10], 0
je 0x1004bcffe
mov r9d, dword [rcx - 0x18]
cmp edx, 0x13
jle 0x1004bdbbc
nop word [rax + rax]
add dword [sym.bash.exe__nc_tparm_err], 1
movzx edx, byte [rbx]
jmp case.0x1004bcc94.1
mov edi, dword [rsi + 0x148]
lea edx, [rdi - 1]
mov dword [rsi + 0x148], edx
test edi, edi
jle 0x1004bdc03
movsxd rax, edi
lea r8, [0x100662c04]
mov rcx, rax
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004bd061
mov r8, qword [rcx - 8]
lea rcx, [0x100662c04]
test r8, r8
cmove r8, rcx
cmp edx, 0x13
jg 0x1004bd010
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.0x1004bcc94.1
cmp byte [rsp + 0x3d], 0
jne 0x1004bd0e7
cmp qword [rsp + 0x120], 0
mov rax, qword [rsp + 0x128]
je 0x1004bdd6a
test rax, rax
jne 0x1004bd0e7
mov rax, qword [rsp + 0xe0]
add rax, 1
cmp byte [rsp + 0x3f], 0
mov qword [rsp + 0xe0], rax
je 0x1004bd0e7
mov dword [rsi + 0x18], eax
movzx edx, byte [rbx]
mov byte [rsp + 0x3d], 1
jmp case.0x1004bcc94.1
test rax, rax
jne 0x1004bd0e7
add qword [rsp + 0xe0], 1
mov byte [rsp + 0x3d], 1
jmp 0x1004bca03
movsx edx, byte [rbx + 1]
lea r8, [rbx + 1]
lea eax, [rdx - 0x41]
cmp al, 0x19
jbe 0x1004bda23
lea eax, [rdx - 0x61]
cmp al, 0x19
ja 0x1004bdbfb
cmp byte [rsp + 0x3e], 0
je 0x1004bde1e
mov ecx, dword [rsi + 0x148]
cmp ecx, 0x13
jg 0x1004bdda5
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.0x1004bcc94.1
mov edx, dword [rsi + 0x148]
lea eax, [rdx - 1]
mov dword [rsi + 0x148], eax
test edx, edx
jle 0x1004bdc48
movsxd rcx, edx
xor r8d, r8d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
je 0x1004bd18b
mov r8d, dword [rcx - 8]
cmp eax, 0x13
jg 0x1004bd010
mov ecx, r8d
not ecx
jmp 0x1004bd736
movsxd rax, dword [rsi + 0x148]
lea edx, [rax - 1]
mov dword [rsi + 0x148], edx
test eax, eax
jle 0x1004bdb70
shl rax, 4
add rax, rsi
cmp byte [rax], 0
je 0x1004bdb81
mov ecx, dword [rax - 8]
test ecx, ecx
je 0x1004bdb81
nop dword [rax + rax]
movzx edx, byte [rbx]
jmp case.0x1004bcc94.1
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004bd9b7
movsxd rcx, eax
xor r8d, r8d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004bdad6
lea edx, [rax - 2]
mov dword [rsi + 0x148], edx
sub eax, 1
je 0x1004bde5e
xor r9d, r9d
cmp byte [rcx - 0x10], 0
je 0x1004bd223
mov r9d, dword [rcx - 0x18]
or r8d, r9d
cmp edx, 0x13
jg 0x1004bd010
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.0x1004bcc94.1
add rbx, 1
xor edi, edi
jmp 0x1004bd26b
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 0x1004bd260
mov eax, dword [rsi + 0x148]
cmp eax, 0x13
jg 0x1004bd010
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.0x1004bcc94.1
movzx eax, byte [rbx + 1]
lea rcx, [rbx + 1]
mov edx, eax
sub eax, 0x31
cmp eax, 8
ja 0x1004bda1b
cdqe
mov edx, dword [rsi + 0x148]
mov r8, qword [rsp + rax*8 + 0x120]
test r8, r8
je 0x1004bdd35
cmp edx, 0x13
jg 0x1004bdd0a
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.0x1004bcc94.1
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004bdc25
movsxd r9, eax
xor edx, edx
shl r9, 4
add r9, rsi
cmp byte [r9], 0
jne 0x1004bdacd
lea r8d, [rax - 2]
sub eax, 1
mov dword [rsi + 0x148], r8d
mov ecx, eax
je 0x1004bdecb
xor eax, eax
cmp byte [r9 - 0x10], 0
je 0x1004bd357
mov eax, dword [r9 - 0x18]
cmp r8d, 0x13
jg 0x1004bd010
movsxd r8, r8d
shl r8, 4
add r8, rsi
mov byte [r8 + 0x10], 1
test edx, edx
je 0x1004bd379
mov edi, edx
cdq
idiv edi
mov dword [r8 + 8], edx
mov dword [rsi + 0x148], ecx
movzx edx, byte [rbx]
jmp case.0x1004bcc94.1
movsxd rax, dword [rsi + 0x148]
lea edx, [rax - 1]
mov dword [rsi + 0x148], edx
test eax, eax
jle 0x1004bdc19
shl rax, 4
add rax, rsi
cmp byte [rax], 0
je 0x1004bdabb
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 0x1004bd42c
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 0x1004bdb5a
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 0x1004bd1d8
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004bd997
movsxd rcx, eax
xor r8d, r8d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004bdadf
lea edx, [rax - 2]
mov dword [rsi + 0x148], edx
sub eax, 1
je 0x1004bdeb8
xor r9d, r9d
cmp byte [rcx - 0x10], 0
je 0x1004bd4a2
mov r9d, dword [rcx - 0x18]
cmp edx, 0x13
jg 0x1004bd010
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.0x1004bcc94.1
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004bd9d8
movsxd rcx, eax
xor r9d, r9d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004bdab2
lea edx, [rax - 2]
mov dword [rsi + 0x148], edx
sub eax, 1
je 0x1004bdef2
xor r8d, r8d
cmp byte [rcx - 0x10], 0
je 0x1004bd51a
mov r8d, dword [rcx - 0x18]
cmp edx, 0x13
jg 0x1004bd010
test r9d, r9d
setne r9b
xor ecx, ecx
test r8d, r8d
setne cl
and ecx, r9d
jmp 0x1004bd4b8
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004bd9d8
movsxd rcx, eax
xor r8d, r8d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004bdaa9
lea edx, [rax - 2]
mov dword [rsi + 0x148], edx
sub eax, 1
je 0x1004bdef2
xor r9d, r9d
cmp byte [rcx - 0x10], 0
je 0x1004bd583
mov r9d, dword [rcx - 0x18]
cmp edx, 0x13
jg 0x1004bd010
mov ecx, r8d
imul ecx, r9d
jmp 0x1004bd4b8
mov eax, dword [rsi + 0x148]
cmp eax, 0x13
jle 0x1004bd9f8
add dword [sym.bash.exe__nc_tparm_err], 1
movzx edx, byte [rbx + 2]
add rbx, 2
jmp case.0x1004bcc94.1
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004bd997
movsxd rcx, eax
xor r8d, r8d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004bdb1d
lea edx, [rax - 2]
mov dword [rsi + 0x148], edx
sub eax, 1
je 0x1004bde69
xor r9d, r9d
cmp byte [rcx - 0x10], 0
je 0x1004bd606
mov r9d, dword [rcx - 0x18]
cmp edx, 0x13
jg 0x1004bd010
xor ecx, ecx
cmp r8d, r9d
setg cl
jmp 0x1004bd4b8
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004bdc8b
movsxd r8, eax
xor r9d, r9d
shl r8, 4
add r8, rsi
cmp byte [r8], 0
jne 0x1004bdb14
lea edx, [rax - 2]
sub eax, 1
mov dword [rsi + 0x148], edx
mov ecx, eax
je 0x1004bdee7
xor eax, eax
cmp byte [r8 - 0x10], 0
je 0x1004bd666
mov eax, dword [r8 - 0x18]
cmp edx, 0x13
jg 0x1004bd010
movsxd r8, edx
shl r8, 4
add r8, rsi
mov byte [r8 + 0x10], 1
test r9d, r9d
je 0x1004bd68a
cdq
idiv r9d
mov r9d, eax
mov dword [r8 + 8], r9d
mov dword [rsi + 0x148], ecx
movzx edx, byte [rbx]
jmp case.0x1004bcc94.1
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004bd997
movsxd rcx, eax
xor r9d, r9d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004bdb0b
lea edx, [rax - 2]
mov dword [rsi + 0x148], edx
sub eax, 1
je 0x1004bdefd
xor r8d, r8d
cmp byte [rcx - 0x10], 0
je 0x1004bd6df
mov r8d, dword [rcx - 0x18]
mov ecx, r8d
sub ecx, r9d
cmp edx, 0x13
jg 0x1004bd010
jmp 0x1004bd4b8
mov edx, dword [rsi + 0x148]
lea eax, [rdx - 1]
mov dword [rsi + 0x148], eax
test edx, edx
jle 0x1004bdc73
movsxd rcx, edx
xor r8d, r8d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
je 0x1004bd725
mov r8d, dword [rcx - 8]
cmp eax, 0x13
jg 0x1004bd010
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.0x1004bcc94.1
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004bd997
movsxd rcx, eax
xor r8d, r8d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004bdb02
lea edx, [rax - 2]
mov dword [rsi + 0x148], edx
sub eax, 1
je 0x1004bded6
xor r9d, r9d
cmp byte [rcx - 0x10], 0
je 0x1004bd797
mov r9d, dword [rcx - 0x18]
cmp edx, 0x13
jg 0x1004bd010
xor ecx, ecx
cmp r8d, r9d
setl cl
jmp 0x1004bd4b8
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004bd9d8
movsxd rcx, eax
xor r8d, r8d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004bdaf9
lea edx, [rax - 2]
mov dword [rsi + 0x148], edx
sub eax, 1
je 0x1004bdef2
xor r9d, r9d
cmp byte [rcx - 0x10], 0
je 0x1004bd7f3
mov r9d, dword [rcx - 0x18]
mov ecx, r8d
and ecx, r9d
cmp edx, 0x13
jg 0x1004bd010
jmp 0x1004bd4b8
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004bd9b7
movsxd rcx, eax
xor r8d, r8d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004bdb2f
lea edx, [rax - 2]
mov dword [rsi + 0x148], edx
sub eax, 1
je 0x1004bde5e
xor r9d, r9d
cmp byte [rcx - 0x10], 0
je 0x1004bd853
mov r9d, dword [rcx - 0x18]
add r8d, r9d
cmp edx, 0x13
jg 0x1004bd010
jmp 0x1004bd22f
mov rdx, qword [rsi + 0x160]
mov rcx, qword [rsi + 0x150]
lea rax, [rdx + 1]
cmp qword [rsi + 0x158], rax
jb 0x1004bdcc4
mov qword [rsi + 0x160], rax
mov byte [rcx + rdx], 0x25
movzx edx, byte [rbx]
jmp case.0x1004bcc94.1
mov eax, dword [rsi + 0x148]
test eax, eax
jle 0x1004bdc60
movsxd rcx, eax
xor r8d, r8d
shl rcx, 4
add rcx, rsi
cmp byte [rcx], 0
jne 0x1004bdb26
lea edx, [rax - 2]
mov dword [rsi + 0x148], edx
sub eax, 1
je 0x1004bdea5
xor r9d, r9d
cmp byte [rcx - 0x10], 0
je 0x1004bd8dd
mov r9d, dword [rcx - 0x18]
cmp edx, 0x13
jg 0x1004bd010
xor ecx, ecx
cmp r8d, r9d
sete cl
jmp 0x1004bd4b8
add dword [sym.bash.exe__nc_tparm_err], 1
mov dword [rsi + 0x148], 0
cmp r9, rdx
jb 0x1004bdb38
mov eax, 0xffffff80
mov qword [rsi + 0x160], rdx
mov byte [rcx + r8], al
movzx edx, byte [rbx]
jmp case.0x1004bcc94.1
movzx eax, byte [rdx + 1]
lea rbx, [rdx + 1]
cmp al, 0x3f
je 0x1004bd98f
mov rdx, rbx
cmp al, 0x3b
jne 0x1004bcd82
test ecx, ecx
jle 0x1004bca03
sub ecx, 1
jmp 0x1004bcd6b
xor edi, edi
mov rbx, rdx
mov rcx, rbp
jmp 0x1004bcc72
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 0x1004bdb5a
mov rdx, qword [rsi + 0x160]
jmp 0x1004bcda5
add ecx, 1
jmp 0x1004bcd6b
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 0x1004bd4b8
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 0x1004bd22f
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 0x1004bd4b8
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 0x1004bd5b6
mov rbx, rcx
jmp case.0x1004bcc94.1
mov eax, dword [rsi + 0x148]
cmp eax, 0x13
jg 0x1004bdcf7
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.0x1004bcc94.1
movsxd rax, dword [rsi + 0x148]
sub edx, 0x41
lea ecx, [rax - 1]
mov dword [rsi + 0x148], ecx
test eax, eax
jle 0x1004bdd1d
shl rax, 4
add rax, rsi
cmp byte [rax], 0
je 0x1004bdd2e
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.0x1004bcc94.1
mov r8d, dword [rcx - 8]
jmp 0x1004bd564
mov r9d, dword [rcx - 8]
jmp 0x1004bd4fb
mov rbp, qword [rax - 8]
test rbp, rbp
jne 0x1004bd3ba
jmp 0x1004bd3b3
mov edx, dword [r9 - 8]
jmp 0x1004bd334
mov r8d, dword [rcx - 8]
jmp 0x1004bd204
mov r8d, dword [rcx - 8]
jmp 0x1004bd483
mov ebp, dword [rax - 8]
jmp 0x1004bce78
mov r8d, dword [rcx - 8]
jmp 0x1004bcfdf
mov r8d, dword [rcx - 8]
jmp 0x1004bd7d4
mov r8d, dword [rcx - 8]
jmp 0x1004bd778
mov r9d, dword [rcx - 8]
jmp 0x1004bd6c0
mov r9d, dword [r8 - 8]
jmp 0x1004bd645
mov r8d, dword [rcx - 8]
jmp 0x1004bd5e7
mov r8d, dword [rcx - 8]
jmp 0x1004bd8be
mov r8d, dword [rcx - 8]
jmp 0x1004bd834
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 0x1004bde35
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 0x1004bcd86
xor ecx, ecx
jmp 0x1004bdbab
mov rbx, rdx
movzx eax, byte [rbx + 1]
lea rdx, [rbx + 1]
test al, al
je 0x1004bcd86
cmp al, 0x25
je 0x1004bdbc8
movzx eax, byte [rdx]
test al, al
je 0x1004bcd86
jmp 0x1004bdb98
xor r8d, r9d
jmp 0x1004bd22f
movzx eax, byte [rdx + 1]
lea rbx, [rdx + 1]
cmp al, 0x3f
je 0x1004bdbe9
cmp al, 0x3b
je 0x1004bdbee
test ecx, ecx
jne 0x1004bdbe4
cmp al, 0x65
je 0x1004bca03
mov rdx, rbx
jmp 0x1004bdbb2
add ecx, 1
jmp 0x1004bdb9b
test ecx, ecx
jle 0x1004bca03
sub ecx, 1
jmp 0x1004bdb9b
mov rbx, r8
jmp case.0x1004bcc94.1
add dword [sym.bash.exe__nc_tparm_err], 1
lea r8, [0x100662c04]
movsxd rax, edi
jmp 0x1004bd066
add dword [sym.bash.exe__nc_tparm_err], 1
jmp 0x1004bd3b3
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 0x1004bd361
add dword [sym.bash.exe__nc_tparm_err], 1
xor eax, eax
mov edx, 1
mov ecx, 0xffffffff
jmp 0x1004bd736
mov eax, dword [sym.bash.exe__nc_tparm_err]
mov ecx, 1
add eax, 1
jmp 0x1004bd9a2
add dword [sym.bash.exe__nc_tparm_err], 1
xor eax, eax
mov edx, 1
mov ecx, 1
jmp 0x1004bd736
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 0x1004bd66f
add dword [sym.bash.exe__nc_tparm_err], 1
mov dword [rsi + 0x148], 0
jmp 0x1004bce76
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 0x1004bdb5a
mov rdx, qword [rsi + 0x160]
lea rax, [rdx + 1]
jmp 0x1004bd887
add dword [sym.bash.exe__nc_tparm_err], 1
movzx edx, byte [rbx + 1]
mov rbx, r8
jmp case.0x1004bcc94.1
add dword [sym.bash.exe__nc_tparm_err], 1
movzx edx, byte [rbx + 1]
mov rbx, rcx
jmp case.0x1004bcc94.1
add dword [sym.bash.exe__nc_tparm_err], 1
mov dword [rsi + 0x148], 0
xor ecx, ecx
jmp 0x1004bda93
cmp edx, 0x13
jg 0x1004bdd0a
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.0x1004bcc94.1
mov rdi, qword [rsp + 0xd8]
lea rdx, [rdi + 1]
movzx edi, byte [rsp + 0x3f]
mov qword [rsp + 0xd8], rdx
test dil, dil
je 0x1004bd0d9
mov dword [rsi + 8], edx
test rax, rax
je 0x1004bde45
mov byte [rsp + 0x3d], dil
movzx edx, byte [rbx]
jmp case.0x1004bcc94.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.0x1004bcc94.1
add dword [sym.bash.exe__nc_tparm_err], 1
mov dword [rsi + 0x148], 0
xor eax, eax
jmp 0x1004bcf47
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 0x1004bdb5a
mov r8, qword [rsi + 0x160]
lea rdx, [r8 + 1]
jmp 0x1004bcfac
lea r9, [rsp + 0x50]
mov ecx, 0xd
xor eax, eax
mov rdi, r9
rep stosq qword [rdi], rax
jmp 0x1004bcf1c
lea r9, [rsp + 0x50]
mov ecx, 0xd
xor eax, eax
mov rdi, r9
rep stosq qword [rdi], rax
jmp 0x1004bd11a
mov r8, qword [rsi + 0x160]
lea rdx, [r8 + 1]
jmp 0x1004bd90d
mov rax, qword [rsp + 0xe0]
add rax, 1
mov qword [rsp + 0xe0], rax
jmp 0x1004bd0c9
mov eax, dword [sym.bash.exe__nc_tparm_err]
jmp 0x1004bd9c3
xor ecx, ecx
test r8d, r8d
mov eax, dword [sym.bash.exe__nc_tparm_err]
setg cl
jmp 0x1004bd9a2
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 0x1004bcc41
xor ecx, ecx
test r8d, r8d
mov eax, dword [sym.bash.exe__nc_tparm_err]
sete cl
jmp 0x1004bd9a2
xor ecx, ecx
test r8d, r8d
mov eax, dword [sym.bash.exe__nc_tparm_err]
setne cl
jmp 0x1004bd9a2
mov eax, dword [sym.bash.exe__nc_tparm_err]
jmp 0x1004bdc30
mov ecx, r8d
mov eax, dword [sym.bash.exe__nc_tparm_err]
shr ecx, 0x1f
jmp 0x1004bd9a2
mov eax, dword [sym.bash.exe__nc_tparm_err]
jmp 0x1004bdc97
mov eax, dword [sym.bash.exe__nc_tparm_err]
jmp 0x1004bd9e1
mov ecx, r9d
mov eax, dword [sym.bash.exe__nc_tparm_err]
neg ecx
jmp 0x1004bd9a2