Function at 0x10001aba
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
sub esp, 0x1c
push edi
xor edi, edi
cmp ecx, edi
jne 0x100018ba
push 0x80004005
call fcn.10001090
push ebx
push esi
mov esi, dword [ebp + 0xc]
cmp esi, edi
jne 0x100018cd
push 0x80004005
call fcn.10001090
cmp ecx, esi
jne 0x100018db
push 0x80004005
call fcn.10001090
mov eax, dword [ebp + 0x14]
mov bl, byte [ecx]
mov edx, dword [ebp + 0x18]
add eax, esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], edx
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], eax
test bl, bl
je 0x10001b5e
inc ecx
mov dword [ebp + 8], ecx
cmp edi, dword [ebp + 0x14]
jne 0x10001916
mov dword [ebp - 4], 0
cmp bl, 0x3a
jne 0x1000198b
test dl, dl
jns 0x10001a9a
cmp dword [ebp - 0x10], 0
jne 0x10001a2e
cmp dword [ebp - 4], 0
je 0x10001980
mov eax, esi
sub eax, edi
mov byte [esi], 0
cmp eax, dword [ebp - 0x1c]
jb 0x100018b0
mov ecx, dword [ebp - 0x18]
cmp eax, ecx
ja 0x100018b0
sub ecx, eax
inc ecx
push ecx
push eax
call fcn.10001310
add esp, 8
cmp edi, 4
jne 0x1000197d
push edi
lea ecx, [esi - 4]
push ecx
push 0x10020574
call fcn.10010d5e
add esp, 0xc
test eax, eax
jne 0x1000197d
mov dword [ebp - 0x14], 1
mov edx, dword [ebp - 8]
lea eax, [edi + 1]
mov dword [ebp - 0x10], eax
jmp 0x10001a2e
cmp bl, 0x25
jne 0x10001a19
test dl, 4
je 0x10001a2e
mov al, byte [ecx]
test al, al
je 0x10001b58
lea edx, [eax - 0x30]
cmp dl, 9
ja 0x100019b8
movzx eax, al
sub ax, 0x30
jmp 0x100019dc
lea edx, [eax - 0x41]
cmp dl, 5
ja 0x100019c9
movzx eax, al
sub ax, 0x37
jmp 0x100019dc
lea edx, [eax - 0x61]
cmp dl, 5
ja 0x10001b4f
movzx eax, al
sub ax, 0x57
movzx ebx, ax
test bx, bx
js 0x10001b4f
movzx eax, byte [ecx + 1]
test al, al
je 0x10001b58
add ecx, 2
push eax
mov dword [ebp + 8], ecx
call fcn.10001700
movzx eax, ax
add esp, 4
test ax, ax
js 0x10001b4f
mov edx, dword [ebp - 8]
shl bl, 4
add bl, al
jmp 0x10001a2e
cmp bl, 0x3f
je 0x10001a23
cmp bl, 0x23
jne 0x10001a2e
test dl, 0x20
je 0x10001a2e
or edx, 2
mov dword [ebp - 8], edx
test dl, dl
jns 0x10001a9a
test dl, 2
jne 0x10001a9a
cmp bl, 0x5c
jne 0x10001a5f
cmp dword [ebp - 0x10], 0
jne 0x10001a4a
test edx, 0x100
je 0x10001a9a
cmp dword [ebp - 4], 0
je 0x10001a9a
cmp dword [ebp - 0x14], 0
je 0x10001a5b
cmp edi, 7
jae 0x10001a9a
mov bl, 0x2f
jmp 0x10001a9a
cmp bl, 0x2e
jne 0x10001a9a
test edi, edi
je 0x10001a9a
test dl, 8
jne 0x10001a9a
mov ecx, dword [ebp - 0x10]
push ecx
push edx
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp + 8]
push eax
push edi
dec esi
lea ecx, [ebp + 0xc]
push esi
push ecx
call fcn.100017a0
mov esi, dword [ebp + 0xc]
mov edi, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
add esp, 0x1c
test eax, eax
jne 0x10001b3f
movzx ecx, bl
lea eax, [ecx - 0x20]
cmp eax, 0x5d
ja case.0x10001aac.33
movzx eax, byte [eax + 0x10001b94]
jmp dword [eax*4 + 0x10001b8c]
lea eax, [ebx - 0x20]
cmp al, 0x5e
jbe 0x10001b2f
test dl, 2
jne 0x10001b2f
test dl, 0x10
je 0x10001ac9
cmp bl, 0x20
jne 0x10001b2f
test dl, 8
je 0x10001ad3
cmp bl, 0x2e
je 0x10001b2f
test dl, 0x40
jne 0x10001add
cmp bl, 0x25
je 0x10001b2f
mov eax, dword [ebp + 0x14]
add eax, 0xfffffffd
cmp dword [ebp - 0xc], eax
jb 0x10001af7
mov edi, dword [ebp - 0xc]
mov dword [ebp - 4], 0
add edi, 2
jmp 0x10001b3b
cmp dword [ebp - 4], 0
je 0x10001b27
mov byte [esi], 0x25
lea eax, [esi + 1]
cmp bl, 0x10
jae 0x10001b0c
mov byte [eax], 0x30
inc eax
mov edx, dword [ebp - 0x18]
push 0x10
sub edx, eax
push edx
push eax
push ecx
call fcn.100013c0
mov edx, dword [ebp - 8]
add esp, 0x10
add esi, 3
mov dword [ebp + 0xc], esi
mov edi, dword [ebp - 0xc]
add edi, 2
jmp 0x10001b3b
cmp dword [ebp - 4], 0
je 0x10001b3b
mov byte [esi], bl
inc esi
mov dword [ebp + 0xc], esi
inc edi
mov dword [ebp - 0xc], edi
mov eax, dword [ebp + 8]
mov bl, byte [eax]
test bl, bl
je 0x10001b58
mov ecx, eax
jmp 0x10001906
mov dword [ebp - 4], 0
jmp 0x10001b66
cmp dword [ebp - 4], 0
je 0x10001b66
cmp edi, dword [ebp + 0x14]
jae 0x10001b66
mov byte [esi], 0
mov eax, dword [ebp + 0x10]
pop esi
pop ebx
test eax, eax
je 0x10001b74
lea ecx, [edi + 1]
mov dword [eax], ecx
inc edi
cmp edi, dword [ebp + 0x14]
pop edi
jbe 0x10001b82
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret