Function at 0x5fcf80
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov edi, dword [eax]
mov ecx, dword [edi + 0x4bec]
mov al, byte [ecx]
mov ebp, dword [edi + 0x164]
mov dword [esp + 0x1c], edi
mov esi, ecx
call fcn.005fce40
test eax, eax
je 0x5fcfe8
mov al, byte [esi + 1]
inc esi
call fcn.005fce40
test eax, eax
jne 0x5fcfa6
cmp esi, ecx
je 0x5fcfe8
mov eax, esi
jbe 0x5fcfc6
cmp byte [esi - 1], 0x2f
lea edx, [esi - 1]
jne 0x5fcfc6
mov eax, edx
push 1
xor ebx, ebx
push ebx
lea edx, [ebp + 4]
push edx
sub eax, ecx
push eax
push ecx
push edi
call fcn.0060e000
add esp, 0x18
cmp eax, ebx
je 0x5fcfed
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
xor ebx, ebx
mov dword [ebp + 4], ebx
cmp byte [esi], 0x3b
jne 0x5fd1d6
mov al, byte [esi + 1]
inc esi
mov ecx, esi
cmp al, bl
je 0x5fd1c9
cmp al, 0x3d
je 0x5fd01d
mov al, byte [esi + 1]
inc esi
cmp al, bl
jne 0x5fd004
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x10
ret
cmp byte [esi], bl
je 0x5fd1c9
push 1
push ebx
lea edx, [esp + 0x1c]
push edx
mov eax, esi
sub eax, ecx
push eax
push ecx
push edi
call fcn.0060e000
add esp, 0x18
cmp eax, ebx
jne 0x5fd225
mov al, byte [esi + 1]
inc esi
mov ecx, esi
call fcn.005fce40
test eax, eax
je 0x5fd060
mov al, byte [esi + 1]
inc esi
call fcn.005fce40
test eax, eax
jne 0x5fd053
push 1
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x18]
push eax
mov edx, esi
sub edx, ecx
push edx
push ecx
push edi
call fcn.0060e000
mov edi, eax
add esp, 0x18
cmp edi, ebx
jne 0x5fd198
mov eax, dword [esp + 0x14]
push str.UIDVALIDITY
push eax
call fcn.005f4f70
add esp, 8
test eax, eax
je 0x5fd0c3
cmp dword [ebp + 8], ebx
jne 0x5fd0c3
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x5fd0b7
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x5fd0b7
mov byte [ecx + eax - 1], bl
mov ecx, dword [esp + 0x10]
mov dword [ebp + 8], ecx
jmp 0x5fd172
mov edx, dword [esp + 0x14]
push 0x66b4a0
push edx
call fcn.005f4f70
add esp, 8
test eax, eax
je 0x5fd0fe
cmp dword [ebp + 0xc], ebx
jne 0x5fd0fe
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x5fd0f5
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x5fd0f5
mov byte [ecx + eax - 1], bl
mov eax, dword [esp + 0x10]
mov dword [ebp + 0xc], eax
jmp 0x5fd172
mov ecx, dword [esp + 0x14]
push str.SECTION
push ecx
call fcn.005f4f70
add esp, 8
test eax, eax
je 0x5fd139
cmp dword [ebp + 0x10], ebx
jne 0x5fd139
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x5fd130
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x5fd130
mov byte [ecx + eax - 1], bl
mov edx, dword [esp + 0x10]
mov dword [ebp + 0x10], edx
jmp 0x5fd172
mov eax, dword [esp + 0x14]
push str.PARTIAL
push eax
call fcn.005f4f70
add esp, 8
test eax, eax
je 0x5fd1b0
cmp dword [ebp + 0x14], ebx
jne 0x5fd1b0
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x5fd16b
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x5fd16b
mov byte [ecx + eax - 1], bl
mov ecx, dword [esp + 0x10]
mov dword [ebp + 0x14], ecx
mov edx, dword [esp + 0x14]
push edx
mov dword [esp + 0x14], ebx
call dword [0x6b3f84]
mov eax, dword [esp + 0x14]
push eax
call dword [0x6b3f84]
mov edi, dword [esp + 0x24]
add esp, 8
jmp 0x5fcfed
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x6b3f84]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov edx, dword [esp + 0x14]
push edx
call dword [0x6b3f84]
mov eax, dword [esp + 0x14]
push eax
call dword [0x6b3f84]
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x10
ret
cmp dword [ebp + 4], ebx
je 0x5fd21b
cmp dword [ebp + 0xc], ebx
jne 0x5fd21b
cmp byte [esi], 0x3f
jne 0x5fd21b
mov al, byte [esi + 1]
inc esi
mov ecx, esi
call fcn.005fce40
test eax, eax
je 0x5fd201
mov al, byte [esi + 1]
inc esi
call fcn.005fce40
test eax, eax
jne 0x5fd1f4
push 1
push ebx
add ebp, 0x18
push ebp
mov edx, esi
sub edx, ecx
push edx
push ecx
push edi
call fcn.0060e000
add esp, 0x18
cmp eax, ebx
jne 0x5fd225
movsx eax, byte [esi]
neg eax
sbb eax, eax
and eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret