Function at 0x47ccb0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
push esi
mov eax, ecx
mov esi, edx
mov dword [ebp - 0xc], esi
push edi
test eax, eax
je 0x47cfd0
test esi, esi
je 0x47cfd0
cmp eax, esi
je 0x47cfd0
mov ebx, dword [ebp + 0xc]
xor edi, edi
add ebx, esi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x28], ebx
xor edx, edx
mov bl, byte [eax]
mov ecx, 1
mov dword [ebp - 4], ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x24], esi
test bl, bl
je 0x47cfbd
mov dword [ebp - 0x2c], ecx
nop dword [eax + eax]
inc eax
mov dword [ebp - 4], 0
cmp edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
cmove ecx, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov dword [ebp - 4], ecx
cmp bl, 0x3a
jne 0x47cda2
test dl, dl
jns 0x47ce57
cmp dword [ebp - 8], 0
jne 0x47ce57
test ecx, ecx
je 0x47cd97
mov ecx, esi
mov byte [esi], 0
sub ecx, edi
cmp ecx, dword [ebp - 0x24]
jb 0x47cfd0
mov eax, dword [ebp - 0x28]
cmp ecx, eax
ja 0x47cfd0
sub eax, ecx
inc eax
push eax
push ecx
call fcn.004bfe26
push eax
call fcn.00409910
add esp, 0xc
cmp edi, 4
jne 0x47cd94
push edi
lea eax, [esi - 4]
push eax
push str.file
call fcn.004bf4c0
mov ecx, dword [ebp - 0x20]
add esp, 0xc
test eax, eax
cmove ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x14]
lea ecx, [edi + 1]
mov dword [ebp - 8], ecx
jmp 0x47ce5a
cmp bl, 0x25
jne 0x47ce89
test dl, 4
je 0x47ce57
mov cl, byte [eax]
test cl, cl
je 0x47cfba
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x47cdd2
movzx eax, cl
sub ax, 0x30
jmp 0x47cdf4
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x47cde2
movzx eax, cl
sub ax, 0x37
jmp 0x47cdf4
lea eax, [ecx - 0x61]
cmp al, 5
ja 0x47cf98
movzx eax, cl
sub ax, 0x57
movzx ebx, ax
test bx, bx
js 0x47cf98
mov eax, dword [ebp - 0x10]
shl bl, 4
mov cl, byte [eax]
test cl, cl
je 0x47cfba
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], eax
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x47ce27
movzx eax, cl
sub ax, 0x30
jmp 0x47ce49
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x47ce37
movzx eax, cl
sub ax, 0x37
jmp 0x47ce49
lea eax, [ecx - 0x61]
cmp al, 5
ja 0x47cf98
movzx eax, cl
sub ax, 0x57
movzx eax, ax
test ax, ax
js 0x47cf98
add bl, al
mov ecx, dword [ebp - 8]
mov eax, edx
and al, 0x82
cmp al, 0x80
jne 0x47cee1
cmp bl, 0x5c
jne 0x47cea3
test ecx, ecx
jne 0x47ce73
test edx, 0x100
je 0x47cee1
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x47cee4
cmp dword [ebp - 0x20], 0
je 0x47ce85
cmp edi, 7
jae 0x47cee4
mov bl, 0x2f
jmp 0x47cee4
cmp bl, 0x3f
je 0x47ce93
cmp bl, 0x23
jne 0x47ce57
mov ecx, dword [ebp - 8]
test dl, 0x20
je 0x47ce5a
or edx, 2
mov dword [ebp - 0x14], edx
jmp 0x47ce5a
cmp bl, 0x2e
jne 0x47cee1
test edi, edi
je 0x47cee1
test dl, 8
jne 0x47cee1
push ecx
push edx
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x18]
push eax
push edi
lea edx, [esi - 1]
lea ecx, [ebp - 0xc]
call fcn.0047cbb0
mov esi, dword [ebp - 0xc]
add esp, 0x14
mov edi, dword [ebp - 0x1c]
test eax, eax
mov eax, dword [ebp - 0x18]
jne 0x47cf87
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 4]
movzx eax, bl
mov dword [ebp - 0x1c], eax
add eax, 0xffffffe0
cmp eax, 0x5d
ja case.0x47cef9.33
movzx eax, byte [eax + 0x47cfe4]
jmp dword [eax*4 + 0x47cfdc]
lea eax, [ebx - 0x20]
cmp al, 0x5e
jbe 0x47cf76
test dl, 2
jne 0x47cf76
test dl, 0x10
je 0x47cf16
cmp bl, 0x20
jne 0x47cf76
test dl, 8
je 0x47cf20
cmp bl, 0x2e
je 0x47cf76
test dl, 0x40
jne 0x47cf2a
cmp bl, 0x25
je 0x47cf76
mov eax, dword [ebp + 0xc]
add eax, 0xfffffffd
cmp edi, eax
jb 0x47cf3e
xor edx, edx
add edi, 2
mov dword [ebp - 4], edx
jmp 0x47cf80
test ecx, ecx
je 0x47cf71
mov byte [esi], 0x25
lea ecx, [esi + 1]
cmp bl, 0x10
jae 0x47cf51
mov byte [ecx], 0x30
inc ecx
mov eax, dword [ebp - 0x28]
push 0x10
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x1c]
call fcn.004bfc93
push eax
call fcn.00409910
add esp, 0x14
add esi, 3
mov dword [ebp - 0xc], esi
add edi, 2
jmp 0x47cf80
test ecx, ecx
je 0x47cf80
mov byte [esi], bl
inc esi
mov dword [ebp - 0xc], esi
mov eax, dword [ebp - 0x10]
inc edi
mov dword [ebp - 0x1c], edi
mov bl, byte [eax]
mov ecx, dword [ebp - 4]
test bl, bl
je 0x47cfbd
mov edx, dword [ebp - 0x14]
jmp 0x47cd10
xor edx, edx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x47cfa9
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 0x47cf9a
mov ebx, dword [ebp + 0xc]
cmp edi, ebx
jae 0x47cf9d
mov byte [esi], 0
jmp 0x47cf9d
push 0x80004005
call fcn.00409e30
nop
pop es
iretd