Function at 0x1400508f0
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x68
mov rbx, qword [rsp + 0xc0]
mov rsi, r9
mov r13, r8
mov r14, rdx
mov r15, rcx
mov r12, rdx
test rbx, rbx
je 0x140050930
movsxd rax, dword [rbx]
lea r12, [rdx + rax*2]
movzx eax, word [r12]
mov qword [rsp + 0xb0], rbp
mov qword [rsp + 0x60], rdi
test ax, ax
je 0x14005140e
movzx edi, word [rsp + 0xc8]
lea rbx, [0x140000000]
movzx edx, ax
lea rcx, [0x140105528]
mov ebp, 0x29
call fcn.1400bbe98
test rax, rax
je 0x140050c87
movzx eax, word [r12]
cmp ax, di
je 0x140051406
cmp ax, 0x25
je 0x140050c87
cmp ax, 0x2e
jne 0x1400509e6
add r12, 2
mov rbx, r12
nop dword [rax]
movzx eax, word [r12]
cmp eax, 0x7f
ja 0x1400509c0
mov ecx, eax
call fcn.1400c5550
test eax, eax
jne 0x1400509c0
movzx eax, word [r12]
cmp ax, 0x5f
jne 0x1400509c6
add r12, 2
jmp 0x1400509a0
mov qword [rsp + 0x48], r12
cmp ax, 0x25
jne 0x1400509da
cmp di, ax
jne 0x140050c84
lea rbx, [0x140000000]
jmp 0x140050c75
cmp ax, 0xa
je 0x140050c6a
cmp ax, 0x28
je 0x140050a62
cmp ax, 0x5b
je 0x140050a5b
cmp ax, 0x7b
jne 0x140050c71
mov ecx, 0x7d
sub r12, r14
sar r12, 1
inc r12d
mov dword [rsp + 0x40], r12d
mov word [rsp + 0x28], cx
lea rax, [rsp + 0x40]
mov rcx, r15
mov qword [rsp + 0x20], rax
mov r9, rsi
mov r8, r13
mov rdx, r14
call fcn.1400508f0
test eax, eax
je 0x140050f19
movsxd rax, dword [rsp + 0x40]
cmp word [r14 + rax*2], 0
lea r12, [r14 + rax*2]
je 0x140050c75
jmp 0x140050c71
mov ecx, 0x5d
jmp 0x140050a0b
mov r8, r12
mov edx, ebp
sub r8, r14
mov r9, r13
sar r8, 1
mov rcx, r14
inc r8d
mov dword [rsp + 0x40], r8d
call fcn.14009f630
movsxd rcx, eax
mov eax, 0x29
cmp word [r14 + rcx*2], 0
lea rbp, [r14 + rcx*2]
movzx ecx, ax
je 0x140050a19
lea r8, [rbp + 2]
nop dword [rax + rax]
movzx eax, word [r8]
cmp ax, 0x20
je 0x140050ab0
cmp ax, 9
jne 0x140050ab6
add r8, 2
jmp 0x140050aa0
cmp ax, 0x3d
jne 0x140050a19
cmp word [r8 + 2], 0x3e
jne 0x140050a19
movsxd rax, dword [rsi + 0xc]
test eax, eax
je 0x140050af6
lea rcx, [rax + rax*2]
mov rax, qword [rsi]
cmp byte [rax + rcx*8 - 8], 0
jne 0x140050af6
mov rdx, qword [rax + rcx*8 - 0x18]
mov eax, dword [rax + rcx*8 - 4]
lea rcx, [rdx + rax*2]
cmp rcx, r12
cmove r12, rdx
lea rsi, [r8 + 4]
mov rdi, rsi
sub rdi, r14
sar rdi, 1
mov eax, edi
nop word [rax + rax]
movsxd r8, eax
movsxd r9, eax
movzx r11d, word [r14 + r8*2]
test r11w, r11w
je case.0x140050b42.0
cmp r11d, 0x7d
ja case.0x140050b42.8
movzx ecx, byte [rbx + r11 + 0x51464]
mov edx, dword [rbx + rcx*4 + 0x51440]
add rdx, rbx
jmp rdx
lea rdx, [r9 + 1]
inc eax
lea r8, [r13 + 2]
lea rdx, [r14 + rdx*2]
lea r8, [r8 + r9*2]
movzx ecx, word [rdx]
cmp cx, r11w
jne 0x140050b7f
test r13, r13
je 0x140050c54
cmp word [r8], 0
je 0x140050c54
inc eax
add r8, 2
add rdx, 2
jmp 0x140050b56
test cx, cx
je 0x140050c54
cmp cx, 0x60
jne 0x140050ba4
test r13, r13
jne 0x140050ba4
cmp word [rdx + 2], r13w
je 0x140050ba4
inc eax
add r8, 2
add rdx, 2
inc eax
add r8, 2
add rdx, 2
jmp 0x140050b56
cmp word [r14 + r8*2 + 2], 0x3d
je case.0x140050b42.8
movsxd rcx, eax
mov r9, rbp
movsxd rax, edi
mov r8, r12
lea rbx, [r14 + rcx*2]
lea rcx, [rax*2]
add rcx, r13
mov qword [rsp + 0x30], rcx
mov rcx, r15
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov rsi, qword [rsp + 0xb8]
mov rdx, rsi
call fcn.140051590
test eax, eax
je 0x140050f19
movzx edi, word [rsp + 0xc8]
mov r12, rbx
lea rbx, [0x140000000]
jmp 0x140050c75
inc eax
cmp word [r14 + r9*2 + 2], 0x3f
je case.0x140050b42.8
mov edx, 0x3a
mov r8d, eax
jmp 0x140050c49
mov edx, 0x25
jmp 0x140050c45
mov edx, 0x29
jmp 0x140050c45
mov edx, 0x5d
jmp 0x140050c45
mov edx, 0x7d
lea r8d, [rax + 1]
mov r9, r13
mov rcx, r14
call fcn.14009f630
movsxd rcx, eax
cmp word [r14 + rcx*2], 0
je case.0x140050b42.0
inc eax
jmp 0x140050b10
mov word [r12], SafeArrayAllocDescriptor
add r12, 2
movzx eax, word [r12]
test ax, ax
je 0x140050c87
jmp 0x14005095a
mov r12, rbx
movzx r9d, word [r12]
test r9w, r9w
je 0x140051406
cmp r9w, 0x22
je 0x140051291
cmp r9w, 0x27
je 0x140051291
sub r9w, 0x30
cmp r9w, 9
ja 0x140050d4c
lea rdx, [rsp + 0x48]
mov rcx, r12
call fcn.14009d490
cmp word [r12], 0x30
mov r15, qword [rsp + 0x48]
jne 0x140050cf9
movzx eax, word [r12 + 2]
mov ecx, 0xffdf
sub ax, 0x58
test cx, ax
jne 0x140050cf9
movzx ecx, word [r12 + 4]
call fcn.1400c56b0
test eax, eax
jne 0x140050d33
lea rdx, [rsp + 0x50]
mov rcx, r12
call fcn.1400ccdd4
mov rdx, qword [rsp + 0x50]
cmp r15, rdx
jae 0x140050d33
movzx edx, word [rdx]
lea rcx, [0x140105528]
call fcn.1400bbe98
test rax, rax
je 0x140050d33
mov r15, qword [rsp + 0x50]
mov qword [rsp + 0x48], r15
jmp 0x140050fa3
movzx edx, word [r15]
lea rcx, [0x140105528]
call fcn.1400bbe98
test rax, rax
jne 0x140050fa3
mov r15, r12
nop
movzx eax, word [r15]
cmp eax, 0x7f
ja 0x140050d6e
mov ecx, eax
call fcn.1400c5550
test eax, eax
jne 0x140050d6e
movzx eax, word [r15]
cmp ax, 0x5f
jne 0x140050d74
add r15, 2
jmp 0x140050d50
mov r14, r15
mov qword [rsp + 0x48], r15
sub r14, r12
sar r14, 1
cmp ax, 0x25
jne 0x140050f20
cmp di, ax
je 0x140050f20
mov r15, qword [rsp + 0xa8]
mov rax, r12
sub rax, r15
mov bpl, 1
sar rax, 1
mov dword [rsp + 0x40], eax
xor esi, esi
cdqe
lea rdi, [r15 + rax*2]
mov rbx, rdi
movzx eax, word [rbx]
cmp eax, 0x7f
ja 0x140050dd1
mov ecx, eax
call fcn.1400c5550
test eax, eax
jne 0x140050dd1
cmp word [rbx], 0x5f
jne 0x140050dd7
add rbx, 2
jmp 0x140050db8
mov rcx, qword [rsp + 0xb8]
call fcn.140050870
test eax, eax
je 0x140050f19
mov r8, qword [rsp + 0xb8]
movsxd rax, dword [r8 + 0xc]
lea rcx, [rax + rax*2]
mov rax, qword [r8]
lea rdx, [rax + rcx*8]
mov byte [rdx - 8], 2
cmp word [rbx], 0x25
mov qword [rdx - 0x18], rdi
setne al
inc esi
mov byte [rdx - 0x10], al
mov rax, rbx
sub rax, rdi
mov byte [rdx - 7], sil
sub rbx, r15
sar rax, 1
sar rbx, 1
mov dword [rdx - 4], eax
mov dword [rsp + 0x40], ebx
cmp byte [rdx - 0x10], 0
jne 0x140050ea4
lea eax, [rbx + 1]
mov word [rsp + 0x28], 0x25
mov rbx, qword [rsp + 0xa0]
mov r9, r8
mov dword [rsp + 0x40], eax
mov r8, r13
lea rax, [rsp + 0x40]
mov rdx, r15
mov rcx, rbx
mov qword [rsp + 0x20], rax
call fcn.1400508f0
test eax, eax
je 0x140050f19
movsxd rax, dword [rsp + 0x40]
cmp word [r15 + rax*2], 0x25
jne 0x140050e8a
lea rdi, [rax + 1]
lea rdi, [r15 + rdi*2]
jmp 0x140050db5
mov r8, rdi
lea rdx, [0x140105930]
mov rcx, rbx
call fcn.140010a80
test eax, eax
je 0x140050f19
mov ebx, dword [rsp + 0x40]
mov rsi, qword [rsp + 0xb8]
movsxd rax, ebx
lea r15, [r15 + rax*2]
mov qword [rsp + 0x48], r15
mov eax, dword [rsi + 8]
cmp dword [rsi + 0xc], eax
jne 0x140051155
sub eax, 0xffffff80
movsxd rcx, eax
lea rdx, [rcx + rcx*2]
mov rcx, qword [rsi]
shl rdx, 3
call fcn.1400c09ac
test rax, rax
jne 0x14005114e
mov rax, qword [0x140127498]
lea rdx, [0x1400ffa10]
mov qword [rsp + 0x28], rax
lea rcx, [0x140127620]
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor r8d, r8d
call fcn.14000f840
test eax, eax
jne 0x140051158
xor eax, eax
jmp 0x140051421
xor bpl, bpl
test r14, r14
je 0x1400513d4
mov rcx, r15
nop
cmp ax, 0x20
je 0x140050f3c
cmp ax, 9
jne 0x140050f46
movzx eax, word [rcx + 2]
add rcx, 2
jmp 0x140050f30
cmp ax, 0x3a
jne 0x140050fc0
cmp word [rcx + 2], 0x3d
je 0x140050eb8
mov rdx, qword [rsp + 0xa8]
lea rax, [r12 - 2]
cmp rax, rdx
jbe 0x140050f88
nop dword [rax]
movzx ecx, word [rax]
cmp cx, 0x20
je 0x140050f7f
cmp cx, 9
jne 0x140050f88
sub rax, 2
cmp rax, rdx
ja 0x140050f70
movzx ecx, word [rax]
cmp cx, 0x2c
je 0x140050f9b
cmp cx, 0x7b
jne 0x140050eb8
mov r14, qword [rsp + 0xa8]
movzx eax, word [r15]
mov r12, r15
test ax, ax
je 0x140051406
mov r15, qword [rsp + 0xa0]
jmp 0x14005094b
cmp ax, 0x3d
jne 0x140050eb8
cmp word [rcx + 2], 0x3e
jne 0x140050eb8
mov r14, qword [rsp + 0xa8]
lea rsi, [rcx + 4]
mov rdi, rsi
lea rbx, [0x140000000]
sub rdi, r14
sar rdi, 1
mov r8d, edi
nop dword [rax]
nop dword [rax + rax]
movsxd rdx, r8d
movsxd r9, r8d
movzx r11d, word [r14 + rdx*2]
test r11w, r11w
je case.0x140051032.0
cmp r11d, 0x7d
ja case.0x140051032.8
movzx eax, byte [rbx + r11 + 0x51508]
mov ecx, dword [rbx + rax*4 + 0x514e4]
add rcx, rbx
jmp rcx
lea rcx, [r14 + 2]
inc r8d
lea rdx, [r13 + 2]
lea rcx, [rcx + r9*2]
lea rdx, [rdx + r9*2]
movzx eax, word [rcx]
cmp ax, r11w
jne 0x140051069
test r13, r13
je 0x14005105b
cmp word [rdx], 0
jne 0x14005108b
movsxd rax, r8d
cmp word [r14 + rax*2], 0
jmp 0x140051140
test ax, ax
je 0x14005105b
cmp ax, 0x60
jne 0x14005108b
test r13, r13
jne 0x14005108b
cmp word [rcx + 2], r13w
je 0x14005108b
inc r8d
add rdx, 2
add rcx, 2
inc r8d
add rdx, 2
add rcx, 2
jmp 0x140051047
cmp word [r14 + rdx*2 + 2], 0x3d
je case.0x140051032.8
movsxd rax, r8d
mov r9, r15
mov r8, r12
lea rbx, [r14 + rax*2]
movsxd rax, edi
lea rcx, [rax*2]
add rcx, r13
mov qword [rsp + 0x30], rcx
mov rcx, qword [rsp + 0xa0]
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], rsi
mov rsi, qword [rsp + 0xb8]
mov rdx, rsi
call fcn.140051590
test eax, eax
je 0x140050f19
mov r15, rbx
mov qword [rsp + 0x48], rbx
jmp 0x140050fa3
inc r8d
cmp word [r14 + r9*2 + 2], 0x3f
je case.0x140051032.8
mov edx, 0x3a
jmp 0x14005112c
mov edx, 0x25
jmp 0x140051129
mov edx, 0x29
jmp 0x140051129
mov edx, 0x5d
jmp 0x140051129
mov edx, 0x7d
inc r8d
mov r9, r13
mov rcx, r14
call fcn.14009f630
movsxd r8, eax
cmp word [r14 + r8*2], 0
je case.0x140051032.0
inc r8d
jmp 0x140051000
sub dword [rsi + 8], 0xffffff80
mov qword [rsi], rax
inc dword [rsi + 0xc]
movsxd rax, dword [rsi + 0xc]
lea rcx, [rax + rax*2]
mov rax, qword [rsi]
lea rdi, [rax + rcx*8]
test bpl, bpl
je 0x140051199
mov r14, qword [rsp + 0xa8]
mov qword [rdi - 0x18], r15
mov dword [rdi - 4], 0
cmp r12, r14
jbe 0x14005118f
cmp word [r12 - 2], 0x2e
mov al, 6
je 0x140051191
mov al, 1
mov byte [rdi - 8], al
jmp 0x140050fa3
cmp r14, 9
jae 0x1400511e3
xor esi, esi
lea rbx, [0x140123ca0]
xor ebp, ebp
nop word [rax + rax]
mov rcx, qword [rbx]
mov r8, r14
mov rdx, r12
call fcn.1400c0a00
test eax, eax
jne 0x1400511cd
mov rax, qword [rbx]
cmp word [rax + r14*2], 0
je 0x140051241
inc esi
inc rbp
add rbx, 0x10
cmp esi, 0xa
jb 0x1400511b0
mov rsi, qword [rsp + 0xb8]
cmp r14, 4
jne 0x1400511ff
mov r8, r14
lea rdx, [0x1401052c8]
mov rcx, r12
call fcn.1400c0a00
test eax, eax
je 0x14005121b
cmp r14, 5
jne 0x140051278
mov r8, r14
lea rdx, [0x1401052d8]
mov rcx, r12
call fcn.1400c0a00
test eax, eax
jne 0x140051278
mov qword [rdi - 0x18], r12
mov dword [rdi - 4], r14d
mov byte [rdi - 8], 5
movzx ecx, word [r12]
call fcn.1400cca38
xor ecx, ecx
cmp eax, 0x54
sete cl
mov dword [rdi - 0x10], ecx
jmp 0x140050f9b
add rbp, rbp
lea rcx, [0x140123ca0]
mov eax, dword [rcx + rbp*8 + 8]
test eax, eax
je 0x1400511db
cmp eax, 0x47
jge 0x1400513bb
mov rsi, qword [rsp + 0xb8]
mov qword [rdi - 0x18], r12
mov dword [rdi - 4], r14d
mov byte [rdi - 8], 4
mov dword [rdi - 0x10], eax
jmp 0x140050f9b
mov qword [rdi - 0x18], r12
mov dword [rdi - 4], r14d
mov byte [rdi - 8], 0
mov qword [rdi - 0x10], 0
jmp 0x140050f9b
mov rcx, r12
sub rcx, r14
sar rcx, 1
inc ecx
movsxd rax, ecx
lea r8, [rax*2]
add r8, r13
lea rdx, [r14 + rax*2]
nop
movzx eax, word [rdx]
cmp ax, r9w
jne 0x14005133f
test r13, r13
je 0x1400512cd
cmp word [r8], 0
jne 0x140051360
movsxd rax, ecx
cmp word [r14 + rax*2], 0
lea r15, [r14 + rax*2]
je 0x1400513ed
mov eax, dword [rsi + 8]
cmp dword [rsi + 0xc], eax
jne 0x140051376
sub eax, 0xffffff80
movsxd rcx, eax
lea rdx, [rcx + rcx*2]
mov rcx, qword [rsi]
shl rdx, 3
call fcn.1400c09ac
test rax, rax
jne 0x14005136f
mov rax, qword [0x140127498]
lea rdx, [0x1400ffa10]
mov qword [rsp + 0x28], rax
lea rcx, [0x140127620]
xor r9d, r9d
mov qword [rsp + 0x20], 0
xor r8d, r8d
call fcn.14000f840
test eax, eax
je 0x140050f19
jmp 0x140051379
test ax, ax
je 0x1400512cd
cmp ax, 0x60
jne 0x140051360
test r13, r13
jne 0x140051360
cmp word [rdx + 2], r13w
je 0x140051360
inc ecx
add r8, 2
add rdx, 2
inc ecx
add r8, 2
add rdx, 2
jmp 0x1400512b0
sub dword [rsi + 8], 0xffffff80
mov qword [rsi], rax
inc dword [rsi + 0xc]
movsxd rax, dword [rsi + 0xc]
lea rcx, [rax + rax*2]
mov rax, qword [rsi]
mov word [rax + rcx*8 - 8], 0x103
mov byte [rax + rcx*8 - 0x10], 1
lea rdx, [rax + rcx*8]
lea rax, [r12 + 2]
mov qword [rdx - 0x18], rax
mov rax, r15
sub rax, r12
sub rax, 2
sar rax, 1
add r15, 2
mov dword [rdx - 4], eax
mov qword [rsp + 0x48], r15
jmp 0x140050fa3
mov rcx, qword [rsp + 0xa0]
lea rdx, [0x1401058f8]
mov r8, r12
call fcn.140010a80
jmp 0x140051421
mov rcx, qword [rsp + 0xa0]
lea rdx, [0x1401058b0]
mov r8, r15
call fcn.140010a80
jmp 0x140051421
mov rcx, qword [rsp + 0xa0]
lea rdx, [0x140105880]
mov r8, r12
call fcn.140010a80
jmp 0x140051421
mov rbx, qword [rsp + 0xc0]
test rbx, rbx
je 0x14005141c
sub r12, r14
sar r12, 1
mov dword [rbx], r12d
mov eax, 1
mov rdi, qword [rsp + 0x60]
mov rbp, qword [rsp + 0xb0]
add rsp, 0x68
pop r15
pop r14
pop r13
pop r12
pop rsi
pop rbx
ret