Function at 0x47861c
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebx]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
xor esi, esi
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
cmp dl, 0x28
jne 0x47898f
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx + 1]
cmp al, 0x3f
jne 0x478677
mov edx, dword [ebp - 0x10]
mov cl, byte [edx + 2]
cmp cl, 0x7c
jne 0x478677
add dword [ebp - 0x10], 3
mov esi, 1
jmp 0x47898f
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 1]
cmp al, 0x3f
je 0x4786a6
cmp al, 0x2a
je 0x4786a6
inc dword [ebx]
mov edx, dword [ebp - 0xc]
test edx, edx
jne 0x47869e
mov ecx, dword [ebx]
mov eax, dword [ebp + 0x10]
cmp ecx, eax
jne 0x47869e
mov eax, dword [ebx]
jmp 0x4789a7
inc dword [ebp - 0x10]
jmp 0x47898f
mov edx, dword [ebp - 0x10]
mov cl, byte [edx + 2]
cmp cl, 0x28
jne 0x4786eb
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
mov dl, byte [eax + 1]
cmp dl, 0x3f
je 0x47898f
jmp 0x4786c9
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
test al, al
je 0x4786d6
cmp al, 0x29
jne 0x4786c6
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
test cl, cl
je 0x47898f
inc dword [ebp - 0x10]
jmp 0x47898f
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
cmp dl, 0x50
jne 0x4786fc
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
cmp al, 0x3c
jne 0x47871b
mov edx, dword [ebp - 0x10]
mov cl, byte [edx + 1]
cmp cl, 0x21
je 0x47871b
mov edx, dword [ebp - 0x10]
mov cl, byte [edx + 1]
cmp cl, 0x3d
jne 0x478723
cmp al, 0x27
jne 0x47898f
inc dword [ebx]
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x47873c
mov eax, dword [ebx]
mov edx, dword [ebp + 0x10]
cmp eax, edx
jne 0x47873c
mov eax, dword [ebx]
jmp 0x4789a7
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
inc dword [ebp - 0x10]
cmp eax, 0x3c
jne 0x478750
mov eax, 0x3e
mov edx, dword [ebp - 0x10]
jmp 0x478758
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx]
cmp eax, ecx
jne 0x478755
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x47898f
mov eax, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp + 0x10]
cmp eax, ecx
jne 0x47898f
mov eax, dword [ebp + 0x10]
push eax
push edx
mov edx, dword [ebp - 0xc]
push edx
call sub.MSVCRT.DLL_strncmp
add esp, 0xc
test eax, eax
jne 0x47898f
mov eax, dword [ebx]
jmp 0x4789a7
cmp al, 0x5c
jne 0x4787f9
inc dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
test cl, cl
je 0x47899c
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
cmp dl, 0x51
jne 0x47898c
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
test al, al
je 0x4787da
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x5c
jne 0x4787c4
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
test dl, dl
je 0x47899c
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
cmp al, 0x45
je 0x47898c
jmp 0x4787c4
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x5b
jne 0x4788e0
xor edi, edi
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
cmp eax, 0x5c
jne 0x478845
mov edx, dword [ebp - 0x10]
mov cl, byte [edx + 1]
cmp cl, 0x45
jne 0x478827
inc dword [ebp - 0x10]
jmp 0x478809
push 3
push 0x4c8a69
mov eax, dword [ebp - 0x10]
inc eax
push eax
call sub.MSVCRT.DLL_strncmp
add esp, 0xc
test eax, eax
jne 0x478855
add dword [ebp - 0x10], 3
jmp 0x478809
test edi, edi
jne 0x478855
cmp eax, 0x5e
jne 0x478855
mov edi, 1
jmp 0x478809
mov eax, dword [ebp - 0x10]
mov dl, byte [eax + 1]
cmp dl, 0x5d
jne 0x4788ce
mov ecx, dword [ebp - 8]
test byte [ecx + 0x43], 2
jne 0x4788ce
inc dword [ebp - 0x10]
jmp 0x4788ce
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x47887f
or eax, 0xffffffff
jmp 0x4789a7
cmp al, 0x5c
jne 0x4788ce
inc dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
test cl, cl
je 0x47899c
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
cmp dl, 0x51
jne 0x4788ce
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
test al, al
je 0x4788b3
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x5c
jne 0x47889d
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
test dl, dl
je 0x47899c
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
cmp al, 0x45
je 0x4788ce
jmp 0x47889d
inc dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x5d
jne 0x47886e
jmp 0x47898c
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x478915
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x23
jne 0x478915
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
test dl, dl
je 0x478906
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
cmp al, 0xa
jne 0x4788f1
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
test cl, cl
je 0x47899c
jmp 0x47898c
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
cmp dl, 0x28
jne 0x478945
mov ecx, dword [ebp + 0x10]
push ecx
mov eax, dword [ebp + 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.0047861c
test eax, eax
jg 0x4789a7
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
test dl, dl
je 0x47899c
jmp 0x47898c
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
cmp al, 0x29
jne 0x47896d
test esi, esi
je 0x478960
mov edx, dword [ebx]
mov ecx, dword [ebp - 0x18]
cmp edx, ecx
jge 0x478960
mov eax, dword [ebp - 0x18]
mov dword [ebx], eax
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx], ecx
or eax, 0xffffffff
jmp 0x4789a7
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x7c
jne 0x47898c
test esi, esi
je 0x47898c
mov eax, dword [ebx]
mov edx, dword [ebp - 0x18]
cmp eax, edx
jle 0x478987
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebx], ecx
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x4787a2
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx], ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc