Function at 0x47cd90
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
mov eax, dword [0x6d3438]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, edx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x34], edx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x18], ebx
push esi
mov esi, eax
mov dword [ebp - 8], esi
push edi
test ecx, ecx
je 0x47d0c8
test eax, eax
je 0x47d0c8
cmp ecx, eax
je 0x47d0c8
mov bl, byte [ecx]
xor edi, edi
inc ecx
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x28], edi
mov eax, 1
mov dword [ebp - 0x10], eax
mov edx, 0x80
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], ecx
test bl, bl
je 0x47d0b5
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x30], eax
cmp edi, dword [ebp - 0x18]
mov dword [ebp - 0x10], 0
cmove eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
cmp bl, 0x3a
jne 0x47ce91
mov ecx, dword [ebp - 0x14]
test dl, dl
jns 0x47cf45
test ecx, ecx
jne 0x47cf45
test eax, eax
je 0x47ce86
mov byte [esi], cl
mov ecx, esi
sub ecx, edi
cmp ecx, dword [ebp - 0x2c]
jb 0x47d0c8
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x18]
mov esi, dword [ebp - 8]
cmp ecx, eax
ja 0x47d0c8
sub eax, ecx
inc eax
push eax
push ecx
call fcn.0062001e
push eax
call fcn.00421030
add esp, 0xc
cmp edi, 4
jne 0x47ce83
push edi
lea eax, [esi - 4]
push eax
push str.file
call fcn.0061fe30
mov ecx, dword [ebp - 0x28]
add esp, 0xc
test eax, eax
cmove ecx, dword [ebp - 0x30]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x1c]
lea ecx, [edi + 1]
mov dword [ebp - 0x14], ecx
jmp 0x47cf45
cmp bl, 0x25
jne 0x47cf74
test dl, 4
je 0x47cf42
mov cl, byte [ecx]
test cl, cl
je 0x47d0b5
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x47cebd
movzx eax, cl
sub ax, 0x30
jmp 0x47cedf
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x47cecd
movzx eax, cl
sub ax, 0x37
jmp 0x47cedf
lea eax, [ecx - 0x61]
cmp al, 5
ja 0x47d086
movzx eax, cl
sub ax, 0x57
movzx ebx, ax
test bx, bx
js 0x47d086
mov eax, dword [ebp - 0x24]
shl bl, 4
mov cl, byte [eax + 1]
test cl, cl
je 0x47d0b2
add eax, 2
mov dword [ebp - 0xc], eax
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x47cf12
movzx eax, cl
sub ax, 0x30
jmp 0x47cf34
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x47cf22
movzx eax, cl
sub ax, 0x37
jmp 0x47cf34
lea eax, [ecx - 0x61]
cmp al, 5
ja 0x47d086
movzx eax, cl
sub ax, 0x57
movzx eax, ax
test ax, ax
js 0x47d086
add bl, al
mov ecx, dword [ebp - 0x14]
mov eax, edx
and al, 0x82
cmp al, 0x80
jne 0x47cfc6
cmp bl, 0x5c
jne 0x47cf8e
test ecx, ecx
jne 0x47cf5e
test edx, 0x100
je 0x47cfc6
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x47cfc9
cmp dword [ebp - 0x28], 0
je 0x47cf70
cmp edi, 7
jae 0x47cfc9
mov bl, 0x2f
jmp 0x47cfc9
cmp bl, 0x3f
je 0x47cf7e
cmp bl, 0x23
jne 0x47cf42
mov ecx, dword [ebp - 0x14]
test dl, 0x20
je 0x47cf45
or edx, 2
mov dword [ebp - 0x1c], edx
jmp 0x47cf45
cmp bl, 0x2e
jne 0x47cfc6
test edi, edi
je 0x47cfc6
test dl, 8
jne 0x47cfc6
push ecx
push edx
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
push edi
lea edx, [esi - 1]
lea ecx, [ebp - 8]
call fcn.0047cc90
mov edi, dword [ebp - 0x20]
add esp, 0x14
mov esi, dword [ebp - 8]
test eax, eax
jne 0x47d06b
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
movzx eax, bl
mov dword [ebp - 0x24], eax
add eax, 0xffffffe0
cmp eax, 0x5d
ja case.0x47cfde.33
movzx eax, byte [eax + 0x47d0dc]
jmp dword [eax*4 + 0x47d0d4]
lea eax, [ebx - 0x20]
cmp al, 0x5e
jbe 0x47d05d
test dl, 2
jne 0x47d05d
test dl, 0x10
je 0x47cffb
cmp bl, 0x20
jne 0x47d05d
test dl, 8
je 0x47d005
cmp bl, 0x2e
je 0x47d05d
test dl, 0x40
jne 0x47d00f
cmp bl, 0x25
je 0x47d05d
mov edx, dword [ebp - 0x18]
lea eax, [edx - 3]
cmp edi, eax
jb 0x47d023
xor edx, edx
add edi, 2
mov dword [ebp - 0x10], edx
jmp 0x47d067
test ecx, ecx
je 0x47d058
mov byte [esi], 0x25
lea ecx, [esi + 1]
cmp bl, 0x10
jae 0x47d036
mov byte [ecx], 0x30
inc ecx
mov eax, dword [ebp - 0x2c]
add eax, edx
push 0x10
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x24]
call fcn.0061fe07
push eax
call fcn.00421030
add esp, 0x14
add esi, 3
mov dword [ebp - 8], esi
add edi, 2
jmp 0x47d067
test ecx, ecx
je 0x47d067
mov byte [esi], bl
inc esi
mov dword [ebp - 8], esi
inc edi
mov dword [ebp - 0x20], edi
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov bl, byte [ecx]
inc ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x24], ecx
test bl, bl
je 0x47d0b5
mov edx, dword [ebp - 0x1c]
jmp 0x47ce00
xor edx, edx
mov ebx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x47d097
lea eax, [edi + 1]
mov dword [ecx], eax
lea ecx, [edi + 1]
xor eax, eax
cmp ecx, ebx
mov ecx, dword [ebp - 4]
pop edi
cmovbe eax, edx
xor ecx, ebp
pop esi
pop ebx
call fcn.00608185
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
test eax, eax
je 0x47d088
mov ebx, dword [ebp - 0x18]
cmp edi, ebx
jae 0x47d08b
mov byte [esi], 0
jmp 0x47d08b
push 0x80004005
call fcn.00421010
nop
in al, dx
iretd