Function at 0x40d59a
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov esi, edx
mov edi, ebx
movzx ecx, word [eax]
cmp ecx, 0x7f
jbe 0x40d5e2
mov eax, 0x103
sub eax, esi
cmp eax, 6
jbe 0x40d8a8
push ecx
push 0x42f198
push 0xffffffffffffffff
push 7
push edi
call fcn.00406ece
add esp, 0x14
add esi, 6
add edi, 0xc
jmp 0x40d87b
cmp ecx, 0x20
jne 0x40d601
mov eax, 0x103
sub eax, esi
cmp eax, 4
jbe 0x40d8a8
mov ecx, 0x42f190
jmp 0x40d86c
cmp ecx, 0x25
jne 0x40d620
mov eax, 0x103
sub eax, esi
cmp eax, 4
jbe 0x40d8a8
mov ecx, 0x42f1b0
jmp 0x40d86c
cmp ecx, 0x3f
jne 0x40d63f
mov eax, 0x103
sub eax, esi
cmp eax, 4
jbe 0x40d8a8
mov ecx, 0x42f1a8
jmp 0x40d86c
cmp ecx, 0x23
jne 0x40d65e
mov eax, 0x103
sub eax, esi
cmp eax, 4
jbe 0x40d8a8
mov ecx, 0x42f1c0
jmp 0x40d86c
cmp ecx, 0x5e
jne 0x40d67d
mov eax, 0x103
sub eax, esi
cmp eax, 4
jbe 0x40d8a8
mov ecx, 0x42f1b8
jmp 0x40d86c
cmp ecx, 0x26
jne 0x40d69c
mov eax, 0x103
sub eax, esi
cmp eax, 4
jbe 0x40d8a8
mov ecx, 0x42f1d0
jmp 0x40d86c
cmp ecx, 0x60
jne 0x40d6bb
mov eax, 0x103
sub eax, esi
cmp eax, 4
jbe 0x40d8a8
mov ecx, 0x42f1c8
jmp 0x40d86c
cmp ecx, 0x7b
jne 0x40d6da
mov eax, 0x103
sub eax, esi
cmp eax, 4
jbe 0x40d8a8
mov ecx, 0x42f1e0
jmp 0x40d86c
cmp ecx, 0x7d
jne 0x40d6f9
mov eax, 0x103
sub eax, esi
cmp eax, 4
jbe 0x40d8a8
mov ecx, 0x42f1d8
jmp 0x40d86c
cmp ecx, 0x7c
jne 0x40d718
mov eax, 0x103
sub eax, esi
cmp eax, 4
jbe 0x40d8a8
mov ecx, 0x42f1f0
jmp 0x40d86c
cmp ecx, 0x5d
jne 0x40d737
mov eax, 0x103
sub eax, esi
cmp eax, 4
jbe 0x40d8a8
mov ecx, 0x42f1e8
jmp 0x40d86c
cmp ecx, 0x5b
jne 0x40d756
mov eax, 0x103
sub eax, esi
cmp eax, 4
jbe 0x40d8a8
mov ecx, 0x42f200
jmp 0x40d86c
cmp ecx, 0x22
jne 0x40d775
mov eax, 0x103
sub eax, esi
cmp eax, 4
jbe 0x40d8a8
mov ecx, 0x42f1f8
jmp 0x40d86c
cmp ecx, 0x3c
jne 0x40d794
mov eax, 0x103
sub eax, esi
cmp eax, 4
jbe 0x40d8a8
mov ecx, 0x42f210
jmp 0x40d86c
cmp ecx, 0x3e
jne 0x40d7b3
mov eax, 0x103
sub eax, esi
cmp eax, 4
jbe 0x40d8a8
mov ecx, 0x42f208
jmp 0x40d86c
cmp ecx, 0x5c
jne 0x40d7d2
mov eax, 0x103
sub eax, esi
cmp eax, 4
jbe 0x40d8a8
mov ecx, 0x42f220
jmp 0x40d86c
cmp ecx, 0x2f
jne 0x40d7ee
mov eax, 0x103
sub eax, esi
cmp eax, 4
jbe 0x40d8a8
mov ecx, 0x42f218
jmp 0x40d86c
cmp ecx, 0x3b
jne 0x40d80a
mov eax, 0x103
sub eax, esi
cmp eax, 4
jbe 0x40d8a8
mov ecx, 0x42f230
jmp 0x40d86c
cmp ecx, 0x3a
jne 0x40d826
mov eax, 0x103
sub eax, esi
cmp eax, 4
jbe 0x40d8a8
mov ecx, 0x42f228
jmp 0x40d86c
cmp ecx, 0x2b
jne 0x40d83e
mov eax, 0x103
sub eax, esi
cmp eax, 4
jbe 0x40d8a8
mov ecx, 0x42f240
jmp 0x40d86c
cmp ecx, 0x40
jne 0x40d856
mov eax, 0x103
sub eax, esi
cmp eax, 4
jbe 0x40d8a8
mov ecx, 0x42f238
jmp 0x40d86c
cmp ecx, 0x7e
jne 0x40d882
mov eax, 0x103
sub eax, esi
cmp eax, 4
jbe 0x40d8a8
mov ecx, 0x42f25c
mov edx, edi
push 4
call fcn.00401c61
add esi, 3
add edi, 6
mov eax, dword [ebp + 8]
xor edx, edx
jmp 0x40d889
mov word [edi], cx
inc esi
add edi, 2
cmp esi, 0x103
je 0x40d8bf
cmp word [eax], dx
je 0x40d8c8
add eax, 2
mov dword [ebp + 8], eax
cmp esi, 0x104
jb 0x40d5ac
xor eax, eax
cmp esi, 0x104
jae 0x40d8b8
mov word [ebx + esi*2], ax
jmp 0x40d8bb
mov word [ebx], ax
xor al, al
jmp 0x40d8ca
xor eax, eax
mov word [ebx + 0x206], ax
mov al, 1
pop edi
pop esi
pop ebx
pop ebp
ret 0xc