Function at 0x47a35f
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [eax]
mov ecx, dword [eax + 0x86b8]
push ebx
push esi
mov esi, dword [eax + 0x128]
mov dword [ebp - 0x10], eax
mov al, byte [ecx]
push edi
mov edi, ecx
call fcn.0047a178
test eax, eax
je 0x47a3c8
inc edi
mov al, byte [edi]
call fcn.0047a178
test eax, eax
jne 0x47a386
cmp edi, ecx
je 0x47a3c8
mov eax, edi
jbe 0x47a3a3
cmp byte [edi - 1], 0x2f
jne 0x47a3a3
lea eax, [edi - 1]
push 1
xor ebx, ebx
push ebx
lea edx, [esi + 4]
push edx
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x10]
call fcn.00488649
add esp, 0x18
cmp eax, ebx
je 0x47a545
jmp 0x47a5ce
xor ebx, ebx
mov dword [esi + 4], ebx
jmp 0x47a545
inc edi
mov al, byte [edi]
mov ecx, edi
cmp al, bl
je 0x47a597
cmp al, 0x3d
je 0x47a3ea
inc edi
mov al, byte [edi]
cmp al, bl
jne 0x47a3df
cmp byte [edi], bl
je 0x47a597
push 1
push ebx
lea eax, [ebp - 8]
push eax
mov eax, edi
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x10]
call fcn.00488649
add esp, 0x18
cmp eax, ebx
jne 0x47a5ce
inc edi
mov ecx, edi
jmp 0x47a418
inc edi
mov al, byte [edi]
call fcn.0047a178
test eax, eax
jne 0x47a417
push 1
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
mov eax, edi
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x10]
call fcn.00488649
add esp, 0x18
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x47a562
push str.UIDVALIDITY
push dword [ebp - 8]
call fcn.004884f2
pop ecx
pop ecx
test eax, eax
je 0x47a481
cmp dword [esi + 8], ebx
jne 0x47a481
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x47a476
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 1]
cmp byte [eax], 0x2f
jne 0x47a476
mov byte [eax], bl
mov eax, dword [ebp - 4]
mov dword [esi + 8], eax
jmp 0x47a51e
push 0x4dccb0
push dword [ebp - 8]
call fcn.004884f2
pop ecx
pop ecx
test eax, eax
je 0x47a4b6
cmp dword [esi + 0xc], ebx
jne 0x47a4b6
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x47a4ae
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 1]
cmp byte [eax], 0x2f
jne 0x47a4ae
mov byte [eax], bl
mov eax, dword [ebp - 4]
mov dword [esi + 0xc], eax
jmp 0x47a51e
push str.SECTION
push dword [ebp - 8]
call fcn.004884f2
pop ecx
pop ecx
test eax, eax
je 0x47a4eb
cmp dword [esi + 0x10], ebx
jne 0x47a4eb
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x47a4e3
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 1]
cmp byte [eax], 0x2f
jne 0x47a4e3
mov byte [eax], bl
mov eax, dword [ebp - 4]
mov dword [esi + 0x10], eax
jmp 0x47a51e
push str.PARTIAL
push dword [ebp - 8]
call fcn.004884f2
pop ecx
pop ecx
test eax, eax
je 0x47a576
cmp dword [esi + 0x14], ebx
jne 0x47a576
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x47a518
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 1]
cmp byte [eax], 0x2f
jne 0x47a518
mov byte [eax], bl
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
je 0x47a545
push dword [ebp - 8]
call dword [0x4ff384]
pop ecx
mov dword [ebp - 8], ebx
cmp dword [ebp - 4], ebx
je 0x47a545
push dword [ebp - 4]
call dword [0x4ff384]
pop ecx
mov dword [ebp - 4], ebx
cmp byte [edi], 0x3b
je 0x47a3d2
cmp dword [esi + 4], ebx
je 0x47a5c4
cmp dword [esi + 0xc], ebx
jne 0x47a5c4
cmp byte [edi], 0x3f
jne 0x47a5c4
inc edi
mov ecx, edi
jmp 0x47a59d
cmp dword [ebp - 8], ebx
je 0x47a571
push dword [ebp - 8]
call dword [0x4ff384]
pop ecx
mov eax, dword [ebp - 0x14]
jmp 0x47a5ce
cmp dword [ebp - 8], ebx
je 0x47a588
push dword [ebp - 8]
call dword [0x4ff384]
pop ecx
mov dword [ebp - 8], ebx
cmp dword [ebp - 4], ebx
je 0x47a597
push dword [ebp - 4]
call dword [0x4ff384]
pop ecx
push 3
pop eax
jmp 0x47a5ce
inc edi
mov al, byte [edi]
call fcn.0047a178
test eax, eax
jne 0x47a59c
push 1
push ebx
add esi, 0x18
push esi
mov eax, edi
sub eax, ecx
push eax
push ecx
push dword [ebp - 0x10]
call fcn.00488649
add esp, 0x18
cmp eax, ebx
jne 0x47a5ce
movsx eax, byte [edi]
neg eax
sbb eax, eax
and eax, 3
pop edi
pop esi
pop ebx
leave
ret