Function at 0x140052430
Capabilities:
Parse credit card information

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push r14
mov rbp, rsp
sub rsp, 0x30
movsxd r14, r8d
mov rsi, rdx
mov qword [rbp + 0x38], 0
mov rbx, rcx
cmp r14d, 0xa
ja case.default.0x14005247b
mov qword [rsp + 0x50], rdi
lea rdi, [rcx + 4]
mov qword [rsp + 0x58], r12
lea r12, [0x140000000]
mov ecx, dword [r12 + r14*4 + 0x52adc]
add rcx, r12
jmp rcx
cmp dword [rdi], 0x3f
jne case.0x140052a9b.1
mov rcx, rbx
call fcn.140053410
xor r8d, r8d
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400532b0
cmp dword [rdi], 0x2c
je 0x140052482
cmp dword [rdi], 0x3a
mov rcx, rbx
jne case.default.0x1400524e6
call fcn.140053410
xor r8d, r8d
lea rdx, [rbp - 0x10]
mov rcx, rbx
call fcn.1400532b0
cmp dword [rsi], 0
lea rdi, [rbx + 4]
mov ecx, dword [rbp - 0xc]
mov eax, dword [rbp - 0x10]
cmovne eax, dword [rbp + 0x38]
cmp dword [rbp + 0x3c], ecx
mov dword [rsi], eax
cmova ecx, dword [rbp + 0x3c]
mov dword [rsi + 4], ecx
mov ecx, dword [r12 + r14*4 + 0x52adc]
add rcx, r12
jmp rcx
cmp dword [rdi], 0x104
jne case.0x140052a9b.2
mov rcx, rbx
call fcn.140053410
mov r8d, 2
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400532b0
cmp dword [rsi], 0
jne case.default.0x14005252b
cmp dword [rbp + 0x38], 0
jne case.default.0x14005252b
mov ecx, dword [r12 + r14*4 + 0x52adc]
xor eax, eax
mov dword [rsi], eax
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
mov ecx, dword [r12 + r14*4 + 0x52adc]
mov eax, 1
mov dword [rsi], eax
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
cmp dword [rdi], 0x105
jne case.0x140052a9b.3
mov rcx, rbx
call fcn.140053410
mov r8d, 3
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400532b0
cmp dword [rsi], 0
je case.default.0x14005258e
cmp dword [rbp + 0x38], 0
je case.default.0x14005258e
mov ecx, dword [r12 + r14*4 + 0x52adc]
mov eax, 1
mov dword [rsi], eax
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
mov ecx, dword [r12 + r14*4 + 0x52adc]
xor eax, eax
mov dword [rsi], eax
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
cmp dword [rdi], 0x7c
jne case.0x140052a9b.4
mov rcx, rbx
call fcn.140053410
mov r8d, 4
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400532b0
mov eax, dword [rbp + 0x38]
or dword [rsi], eax
jmp 0x140052963
cmp dword [rdi], 0x5e
jne case.0x140052a9b.5
mov rcx, rbx
call fcn.140053410
mov r8d, 5
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400532b0
mov eax, dword [rbp + 0x38]
xor dword [rsi], eax
jmp 0x140052963
cmp dword [rdi], 0x26
jne case.0x140052a9b.6
mov rcx, rbx
call fcn.140053410
mov r8d, 6
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400532b0
mov eax, dword [rbp + 0x38]
and dword [rsi], eax
jmp 0x140052963
cmp dword [rdi], 0x106
jne case.default.0x140052663
mov rcx, rbx
call fcn.140053410
mov r8d, 7
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400532b0
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
mov dword [rsi + 4], 9
sete cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0x52adc]
add rcx, r12
jmp rcx
cmp dword [rdi], 0x107
jne case.0x140052a9b.7
mov rcx, rbx
call fcn.140053410
mov r8d, 7
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400532b0
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
mov dword [rsi + 4], 9
setne cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0x52adc]
add rcx, r12
jmp rcx
cmp dword [rdi], 0x3c
jne 0x140052712
mov rcx, rbx
call fcn.140053410
mov r8d, 8
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400532b0
cmp dword [rsi + 4], 9
jne case.default.0x1400526f0
cmp dword [rbp + 0x3c], 9
jne case.default.0x1400526f0
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
setl cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0x52adc]
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
setb cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0x52adc]
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
cmp dword [rdi], 0x3e
jne 0x14005277d
mov rcx, rbx
call fcn.140053410
mov r8d, 8
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400532b0
cmp dword [rsi + 4], 9
jne case.default.0x14005275b
cmp dword [rbp + 0x3c], 9
jne case.default.0x14005275b
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
setg cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0x52adc]
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
seta cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0x52adc]
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
cmp dword [rdi], 0x108
jne 0x1400527eb
mov rcx, rbx
call fcn.140053410
mov r8d, 8
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400532b0
cmp dword [rsi + 4], 9
jne case.default.0x1400527c9
cmp dword [rbp + 0x3c], 9
jne case.default.0x1400527c9
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
setle cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0x52adc]
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
setbe cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0x52adc]
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
cmp dword [rdi], 0x109
jne case.0x140052a9b.8
mov rcx, rbx
call fcn.140053410
mov r8d, 8
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400532b0
cmp dword [rsi + 4], 9
jne case.default.0x140052837
cmp dword [rbp + 0x3c], 9
jne case.default.0x140052837
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
setge cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0x52adc]
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
mov eax, dword [rbp + 0x38]
xor ecx, ecx
cmp dword [rsi], eax
setae cl
mov dword [rsi], ecx
mov ecx, dword [r12 + r14*4 + 0x52adc]
add rcx, r12
mov dword [rsi + 4], 9
jmp rcx
cmp dword [rdi], 0x10a
jne case.default.0x14005288b
mov rcx, rbx
call fcn.140053410
mov r8d, 9
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400532b0
mov ecx, dword [rbp + 0x38]
shl dword [rsi], cl
mov ecx, dword [r12 + r14*4 + 0x52adc]
add rcx, r12
jmp rcx
cmp dword [rdi], 0x10b
jne case.0x140052a9b.9
mov rcx, rbx
call fcn.140053410
mov r8d, 9
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400532b0
cmp dword [rsi + 4], 9
mov ecx, dword [rbp + 0x38]
jne case.default.0x1400528c5
sar dword [rsi], cl
mov ecx, dword [r12 + r14*4 + 0x52adc]
add rcx, r12
jmp rcx
shr dword [rsi], cl
mov ecx, dword [r12 + r14*4 + 0x52adc]
add rcx, r12
jmp rcx
cmp dword [rdi], 0x2b
jne 0x1400528fc
mov rcx, rbx
call fcn.140053410
mov r8d, 0xa
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400532b0
mov eax, dword [rbp + 0x38]
add dword [rsi], eax
jmp 0x140052963
cmp dword [rdi], 0x2d
jne case.0x14005288b.10
mov rcx, rbx
call fcn.140053410
mov r8d, 0xa
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.1400532b0
mov eax, dword [rbp + 0x38]
sub dword [rsi], eax
jmp 0x140052963
cmp dword [rdi], 0x2a
jne 0x14005297f
mov rcx, rbx
call fcn.140053410
mov eax, dword [rbx + 0x5c]
inc eax
mov dword [rbx + 0x5c], eax
cmp eax, 0x14
jg 0x140052ace
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140052e90
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140052c80
dec dword [rbx + 0x5c]
mov eax, dword [rbp + 0x38]
imul eax, dword [rsi]
mov dword [rsi], eax
mov eax, dword [rbp + 0x3c]
cmp eax, dword [rsi + 4]
jbe case.default.0x14005297d
mov ecx, dword [r12 + r14*4 + 0x52adc]
add rcx, r12
mov dword [rsi + 4], eax
jmp rcx
cmp dword [rdi], 0x2f
jne 0x140052a12
mov rcx, rbx
call fcn.140053410
mov eax, dword [rbx + 0x5c]
inc eax
mov dword [rbx + 0x5c], eax
cmp eax, 0x14
jg 0x140052ace
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140052e90
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140052c80
dec dword [rbx + 0x5c]
mov edx, dword [rsi + 4]
mov eax, dword [rbp + 0x3c]
cmp eax, edx
jbe 0x1400529cb
mov dword [rsi + 4], eax
mov edx, eax
mov ecx, dword [rbp + 0x38]
test ecx, ecx
je 0x140052ac0
mov eax, dword [rsi]
cmp edx, 9
jne 0x1400529ff
cmp eax, 0x80000000
jne 0x1400529ed
cmp ecx, 0xffffffff
je 0x140052ac0
cdq
idiv ecx
mov ecx, dword [r12 + r14*4 + 0x52adc]
mov dword [rsi], eax
add rcx, r12
jmp rcx
xor edx, edx
div ecx
mov ecx, dword [r12 + r14*4 + 0x52adc]
mov dword [rsi], eax
add rcx, r12
jmp rcx
cmp dword [rdi], 0x25
jne 0x140052a9d
mov rcx, rbx
call fcn.140053410
mov eax, dword [rbx + 0x5c]
inc eax
mov dword [rbx + 0x5c], eax
cmp eax, 0x14
jg 0x140052ace
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140052e90
lea rdx, [rbp + 0x38]
mov rcx, rbx
call fcn.140052c80
dec dword [rbx + 0x5c]
mov edx, dword [rsi + 4]
mov eax, dword [rbp + 0x3c]
cmp eax, edx
jbe 0x140052a5e
mov dword [rsi + 4], eax
mov edx, eax
mov ecx, dword [rbp + 0x38]
test ecx, ecx
je 0x140052ac0
mov eax, dword [rsi]
cmp edx, 9
jne 0x140052a8a
cmp eax, 0x80000000
jne 0x140052a78
cmp ecx, 0xffffffff
je 0x140052ac0
cdq
idiv ecx
mov ecx, dword [r12 + r14*4 + 0x52adc]
mov dword [rsi], edx
add rcx, r12
jmp rcx
xor edx, edx
div ecx
mov ecx, dword [r12 + r14*4 + 0x52adc]
mov dword [rsi], edx
add rcx, r12
jmp rcx
mov rdi, qword [rsp + 0x50]
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x60]
add rsp, 0x30
pop r14
pop rsi
pop rbp
ret
mov edx, 0x3a
call fcn.1400522b0
int3
mov edx, 0x219
mov rcx, rbx
call fcn.140052260
int3
mov edx, 0x8d7
mov rcx, rbx
call fcn.140052260
int3