Function at 0x47a300
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
mov eax, ecx
mov esi, edx
mov dword [ebp - 0xc], esi
push edi
test eax, eax
je 0x47a618
test esi, esi
je 0x47a618
cmp eax, esi
je 0x47a618
mov bl, byte [eax]
xor edi, edi
xor edx, edx
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], edi
mov ecx, 1
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x20], esi
test bl, bl
je 0x47a605
mov dword [ebp - 0x28], ecx
inc eax
mov dword [ebp - 4], 0
cmp edi, dword [ebp + 0xc]
mov dword [ebp - 0x24], eax
cmove ecx, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], ecx
cmp bl, 0x3a
jne 0x47a3e8
test dl, dl
jns 0x47a49d
cmp dword [ebp - 8], 0
jne 0x47a49d
test ecx, ecx
je 0x47a3dd
mov ecx, esi
mov byte [esi], 0
sub ecx, edi
cmp ecx, dword [ebp - 0x20]
jb 0x47a618
mov eax, dword [ebp + 0xc]
add eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0xc]
cmp ecx, eax
ja 0x47a618
sub eax, ecx
inc eax
push eax
push ecx
call fcn.0049c2d1
push eax
call fcn.004043a0
add esp, 0xc
cmp edi, 4
jne 0x47a3da
push edi
lea eax, [esi - 4]
push eax
push str.file
call fcn.0049b760
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
test eax, eax
cmove ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
mov edx, dword [ebp - 0x10]
lea ecx, [edi + 1]
mov dword [ebp - 8], ecx
jmp 0x47a4a0
cmp bl, 0x25
jne 0x47a4cf
test dl, 4
je 0x47a49d
mov cl, byte [eax]
test cl, cl
je 0x47a602
inc eax
mov dword [ebp - 0x24], eax
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x47a418
movzx eax, cl
sub ax, 0x30
jmp 0x47a43a
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x47a428
movzx eax, cl
sub ax, 0x37
jmp 0x47a43a
lea eax, [ecx - 0x61]
cmp al, 5
ja 0x47a5e0
movzx eax, cl
sub ax, 0x57
movzx ebx, ax
test bx, bx
js 0x47a5e0
mov eax, dword [ebp - 0x24]
shl bl, 4
mov cl, byte [eax]
test cl, cl
je 0x47a602
inc eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], eax
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x47a46d
movzx eax, cl
sub ax, 0x30
jmp 0x47a48f
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x47a47d
movzx eax, cl
sub ax, 0x37
jmp 0x47a48f
lea eax, [ecx - 0x61]
cmp al, 5
ja 0x47a5e0
movzx eax, cl
sub ax, 0x57
movzx eax, ax
test ax, ax
js 0x47a5e0
add bl, al
mov ecx, dword [ebp - 8]
mov eax, edx
and al, 0x82
cmp al, 0x80
jne 0x47a527
cmp bl, 0x5c
jne 0x47a4e9
test ecx, ecx
jne 0x47a4b9
test edx, 0x100
je 0x47a527
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x47a52a
cmp dword [ebp - 0x1c], 0
je 0x47a4cb
cmp edi, 7
jae 0x47a52a
mov bl, 0x2f
jmp 0x47a52a
cmp bl, 0x3f
je 0x47a4d9
cmp bl, 0x23
jne 0x47a49d
mov ecx, dword [ebp - 8]
test dl, 0x20
je 0x47a4a0
or edx, 2
mov dword [ebp - 0x10], edx
jmp 0x47a4a0
cmp bl, 0x2e
jne 0x47a527
test edi, edi
je 0x47a527
test dl, 8
jne 0x47a527
push ecx
push edx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push edi
lea edx, [esi - 1]
lea ecx, [ebp - 0xc]
call fcn.0047a200
mov esi, dword [ebp - 0xc]
add esp, 0x14
mov edi, dword [ebp - 0x18]
test eax, eax
mov eax, dword [ebp - 0x14]
jne 0x47a5cf
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x24], eax
mov ecx, dword [ebp - 4]
movzx eax, bl
mov dword [ebp - 0x18], eax
add eax, 0xffffffe0
cmp eax, 0x5d
ja case.0x47a53f.33
movzx eax, byte [eax + 0x47a62c]
jmp dword [eax*4 + 0x47a624]
lea eax, [ebx - 0x20]
cmp al, 0x5e
jbe 0x47a5be
test dl, 2
jne 0x47a5be
test dl, 0x10
je 0x47a55c
cmp bl, 0x20
jne 0x47a5be
test dl, 8
je 0x47a566
cmp bl, 0x2e
je 0x47a5be
test dl, 0x40
jne 0x47a570
cmp bl, 0x25
je 0x47a5be
mov edx, dword [ebp + 0xc]
lea eax, [edx - 3]
cmp edi, eax
jb 0x47a584
xor edx, edx
add edi, 2
mov dword [ebp - 4], edx
jmp 0x47a5c8
test ecx, ecx
je 0x47a5b9
mov byte [esi], 0x25
lea ecx, [esi + 1]
cmp bl, 0x10
jae 0x47a597
mov byte [ecx], 0x30
inc ecx
mov eax, dword [ebp - 0x20]
add eax, edx
push 0x10
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x18]
call fcn.0049c0c0
push eax
call fcn.004043a0
add esp, 0x14
add esi, 3
mov dword [ebp - 0xc], esi
add edi, 2
jmp 0x47a5c8
test ecx, ecx
je 0x47a5c8
mov byte [esi], bl
inc esi
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 0x24]
inc edi
mov dword [ebp - 0x18], edi
mov bl, byte [eax]
mov ecx, dword [ebp - 4]
test bl, bl
je 0x47a605
mov edx, dword [ebp - 0x10]
jmp 0x47a350
xor edx, edx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x47a5f1
lea eax, [edi + 1]
mov dword [ecx], eax
lea ecx, [edi + 1]
xor eax, eax
pop edi
cmp ecx, ebx
pop esi
cmovbe eax, edx
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 4]
test ecx, ecx
je 0x47a5e2
mov ebx, dword [ebp + 0xc]
cmp edi, ebx
jae 0x47a5e5
mov byte [esi], 0
jmp 0x47a5e5
push 0x80004005
call fcn.00404860
nop
dec ebp
movsd dword es:[edi], dword [esi]
inc edi
add byte [esi - 0x5b], al
inc edi
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add dword [ecx], eax
add dword [ecx], eax
add byte [eax], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add dword [ecx], eax
add byte [eax], al
add ah, cl
int3