Function at 0x8520b0
Capabilities:
Parse credit card information

Disassembly:
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x30
mov rax, qword [rcx + 0xb0]
mov rdi, qword [rcx + 0xc0]
lea rdx, [rax + 1]
mov qword [rcx + 0xb0], rdx
movsx r12d, byte [rax]
mov rbx, rcx
movzx ebp, r12b
mov esi, r12d
movsx edx, byte [rdi + rbp + 0x139]
test dl, dl
jne 0x852115
mov rax, qword [rdi]
lea rcx, [0x007b2ff0]
mov edx, r12d
mov r9, qword [rax + 0x40]
mov eax, r12d
cmp r9, rcx
jne 0x852350
cmp al, 0x20
je 0x852115
mov byte [rdi + rbp + 0x139], al
mov rcx, qword [rbx + 0xa0]
call sub.msvcrt.dll_strchr
test rax, rax
je 0x8523a0
cmp sil, 0x5c
je 0x852210
cmp sil, 0x28
je 0x8521e0
cmp sil, 0x29
je 0x852338
cmp sil, 0x5b
je 0x852368
cmp sil, 0x7b
je 0x8522e8
mov eax, esi
movsx edx, sil
and eax, 0xffffffdf
cmp al, 0x5d
je 0x852400
mov rbp, qword [rbx + 0xc0]
movzx r12d, sil
mov rdi, rbx
movzx eax, byte [rbp + r12 + 0x139]
test al, al
jne 0x852430
mov rax, qword [rbp]
lea rcx, [0x007b2ff0]
mov rax, qword [rax + 0x40]
cmp rax, rcx
jne 0x8523f0
test sil, sil
je 0x8521b1
mov byte [rbp + r12 + 0x139], sil
movzx eax, byte [rbx]
test al, al
jne 0x8521cc
jmp 0x8521fb
movzx eax, byte [rdi + 8]
add rdi, 8
test al, al
je 0x8521fb
cmp sil, al
jne 0x8521c0
mov eax, dword [rdi + 4]
mov dword [rbx + 0x90], eax
jmp 0x8521fb
mov eax, dword [rbx + 0x8c]
test al, 0x10
jne 0x852260
test al, 2
setne al
movzx eax, al
add eax, 5
mov dword [rbx + 0x90], eax
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov rax, qword [rbx + 0xb0]
cmp rax, qword [rbx + 0xb8]
je 0x8524a8
test dword [rbx + 0x8c], 0x120
je 0x852308
movzx edx, byte [rax]
lea ecx, [rdx - 0x28]
cmp cl, 1
jbe 0x852248
cmp dl, 0x7b
jne 0x852308
lea rdx, [rax + 1]
mov qword [rbx + 0xb0], rdx
movzx esi, byte [rax]
jmp 0x852134
mov rdx, qword [rbx + 0xb0]
cmp byte [rdx], 0x3f
jne 0x8521ea
lea rax, [rdx + 1]
mov qword [rbx + 0xb0], rax
cmp rax, qword [rbx + 0xb8]
je 0x8524b9
movzx eax, byte [rdx + 1]
cmp al, 0x3a
je 0x852440
cmp al, 0x3d
je 0x85245a
cmp al, 0x21
jne 0x852497
add rdx, 2
mov dword [rsp + 0x20], 0x6e
mov r8, qword [rbx + 0xd0]
lea rcx, [rbx + 0xc8]
mov qword [rbx + 0xb0], rdx
mov r9d, 1
xor edx, edx
mov dword [rbx + 0x90], 7
call fcn.008354f0
jmp 0x8521fb
mov dword [rbx + 0x88], 1
mov dword [rbx + 0x90], 0xc
jmp 0x8521fb
mov rcx, qword [rbx + 0xf0]
mov rax, qword [rbx + 0xe8]
add rcx, rbx
test al, 1
je 0x852325
mov rdx, qword [rcx]
mov rax, qword [rdx + rax - 1]
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
jmp rax
mov dword [rbx + 0x90], 8
add rsp, 0x30
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
ret
mov r8d, 0x20
mov rcx, rdi
call r9
movsx edx, al
jmp 0x85210a
mov byte [rbx + 0xa8], 1
mov rax, qword [rbx + 0xb0]
mov dword [rbx + 0x88], 2
cmp rax, qword [rbx + 0xb8]
je 0x85238e
cmp byte [rax], 0x5e
je 0x8523d0
mov dword [rbx + 0x90], 9
jmp 0x8521fb
mov dword [rsp + 0x20], r12d
mov r8, qword [rbx + 0xd0]
lea rcx, [rbx + 0xc8]
xor edx, edx
mov dword [rbx + 0x90], 1
mov r9d, 1
call fcn.008354f0
jmp 0x8521fb
mov dword [rbx + 0x90], 0xa
add rax, 1
mov qword [rbx + 0xb0], rax
jmp 0x8521fb
xor r8d, r8d
mov rcx, rbp
call rax
mov esi, eax
jmp 0x8521a4
mov dword [rsp + 0x20], edx
mov r8, qword [rbx + 0xd0]
lea rcx, [rbx + 0xc8]
xor edx, edx
mov dword [rbx + 0x90], 1
mov r9d, 1
call fcn.008354f0
jmp 0x8521fb
mov esi, eax
jmp 0x8521b1
mov dword [rbx + 0x90], 6
add rdx, 2
mov qword [rbx + 0xb0], rdx
jmp 0x8521fb
add rdx, 2
mov dword [rsp + 0x20], 0x70
mov r8, qword [rbx + 0xd0]
lea rcx, [rbx + 0xc8]
mov qword [rbx + 0xb0], rdx
mov r9d, 1
xor edx, edx
mov dword [rbx + 0x90], 7
call fcn.008354f0
jmp 0x8521fb
lea rdx, [0x0087c480]
mov ecx, 5
call fcn.00864410
lea rdx, [0x0087c2f0]
mov ecx, 2
call fcn.00864410
lea rdx, [0x0087c448]
mov ecx, 5
call fcn.00864410
nop
nop
nop
nop
nop
nop