Function at 0x10021790
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov byte [ebp - 2], 0
mov byte [ebp - 1], 1
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0xffffffff
je 0x100217c5
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x4c], 0x7c
je 0x100217c5
mov edx, dword [ebp - 8]
cmp dword [edx + 0x4c], 0x29
jne 0x100217d2
mov eax, dword [ebp - 8]
cmp dword [eax + 0x10], 0
je 0x100217d2
mov al, byte [ebp - 2]
jmp 0x100219f4
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x4c], 0x29
jne 0x100217f7
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x50]
and eax, 0x10000000
jne 0x100217f7
push 5
mov ecx, dword [ebp - 8]
call fcn.10025b40
jmp 0x100219db
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x4c], 0x2e
jne 0x10021818
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.10020be0
mov ecx, dword [ebp - 8]
call fcn.10029370
jmp 0x100219db
mov edx, dword [ebp - 8]
cmp dword [edx + 0x4c], 0x5c
jne 0x100218ab
mov ecx, dword [ebp - 8]
call fcn.10029370
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x50]
and ecx, 0x80
je 0x10021860
mov edx, dword [ebp - 8]
movsx eax, byte [edx + 0x48]
cmp eax, 0x62
jne 0x10021860
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.10021300
mov ecx, dword [ebp - 8]
call fcn.10029370
mov byte [ebp - 1], 0
jmp 0x100218a6
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x50]
and edx, 0x80
je 0x1002189e
mov eax, dword [ebp - 8]
movsx ecx, byte [eax + 0x48]
cmp ecx, 0x42
jne 0x1002189e
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.10021300
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.10029300
mov ecx, dword [ebp - 8]
call fcn.10029370
mov byte [ebp - 1], 0
jmp 0x100218a6
mov ecx, dword [ebp - 8]
call fcn.10021b00
jmp 0x100219db
mov edx, dword [ebp - 8]
cmp dword [edx + 0x4c], 0x5b
jne 0x100218d5
mov ecx, dword [ebp - 8]
call fcn.10029370
mov ecx, dword [ebp - 8]
call fcn.10022d60
push 4
push 0x5d
mov ecx, dword [ebp - 8]
call fcn.10025bb0
jmp 0x100219db
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x28
jne 0x10021902
mov ecx, dword [ebp - 8]
call fcn.10029370
mov ecx, dword [ebp - 8]
call fcn.1002c1f0
mov byte [ebp - 1], al
push 5
push 0x29
mov ecx, dword [ebp - 8]
call fcn.10025bb0
jmp 0x100219db
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x4c], 0x5e
jne 0x10021927
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.10020910
mov ecx, dword [ebp - 8]
call fcn.10029370
mov byte [ebp - 1], 0
jmp 0x100219db
mov edx, dword [ebp - 8]
cmp dword [edx + 0x4c], 0x24
jne 0x1002194c
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.10020ca0
mov ecx, dword [ebp - 8]
call fcn.10029370
mov byte [ebp - 1], 0
jmp 0x100219db
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x2a
je 0x10021970
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x4c], 0x2b
je 0x10021970
mov edx, dword [ebp - 8]
cmp dword [edx + 0x4c], 0x3f
je 0x10021970
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0x7b
jne 0x1002197c
push 0xa
mov ecx, dword [ebp - 8]
call fcn.10025b40
jmp 0x100219db
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x4c], 0x7d
jne 0x1002199e
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x50]
and eax, 0x10000000
jne 0x1002199e
push 6
mov ecx, dword [ebp - 8]
call fcn.10025b40
jmp 0x100219db
mov ecx, dword [ebp - 8]
cmp dword [ecx + 0x4c], 0x5d
jne 0x100219c0
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x50]
and eax, 0x10000000
jne 0x100219c0
push 4
mov ecx, dword [ebp - 8]
call fcn.10025b40
jmp 0x100219db
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x48]
push edx
mov ecx, dword [ebp - 8]
add ecx, 0x24
call fcn.10020930
mov ecx, dword [ebp - 8]
call fcn.10029370
movzx eax, byte [ebp - 1]
test eax, eax
je 0x100219eb
mov ecx, dword [ebp - 8]
call fcn.100296a0
mov byte [ebp - 2], 1
jmp 0x1002179d
mov esp, ebp
pop ebp
ret