Function at 0x4277eb
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [eax]
mov ecx, dword [eax + 0x4ac0]
push ebx
push esi
mov esi, dword [eax + 0x164]
mov dword [ebp - 0x10], eax
mov al, byte [ecx]
push edi
mov edi, ecx
call fcn.00427713
test eax, eax
je 0x427855
inc edi
mov al, byte [edi]
call fcn.00427713
test eax, eax
jne 0x427812
cmp edi, ecx
je 0x427855
mov eax, edi
jbe 0x427830
lea edx, [edi - 1]
cmp byte [edx], 0x2f
jne 0x427830
mov eax, edx
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.00435a23
add esp, 0x18
cmp eax, ebx
je 0x4279c2
jmp 0x427a39
xor ebx, ebx
mov dword [esi + 4], ebx
jmp 0x4279c2
inc edi
mov al, byte [edi]
mov ecx, edi
cmp al, bl
je 0x427a02
cmp al, 0x3d
je 0x427877
inc edi
mov al, byte [edi]
cmp al, bl
jne 0x42786c
cmp byte [edi], bl
je 0x427a02
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.00435a23
add esp, 0x18
cmp eax, ebx
jne 0x427a39
inc edi
mov ecx, edi
jmp 0x4278a5
inc edi
mov al, byte [edi]
call fcn.00427713
test eax, eax
jne 0x4278a4
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.00435a23
add esp, 0x18
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x4279df
push str.UIDVALIDITY
push dword [ebp - 8]
call fcn.004204a1
pop ecx
pop ecx
test eax, eax
je 0x42790e
cmp dword [esi + 8], ebx
jne 0x42790e
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x427903
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 1]
cmp byte [eax], 0x2f
jne 0x427903
mov byte [eax], bl
mov eax, dword [ebp - 4]
mov dword [esi + 8], eax
jmp 0x4279ab
push 0x470530
push dword [ebp - 8]
call fcn.004204a1
pop ecx
pop ecx
test eax, eax
je 0x427943
cmp dword [esi + 0xc], ebx
jne 0x427943
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x42793b
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 1]
cmp byte [eax], 0x2f
jne 0x42793b
mov byte [eax], bl
mov eax, dword [ebp - 4]
mov dword [esi + 0xc], eax
jmp 0x4279ab
push str.SECTION
push dword [ebp - 8]
call fcn.004204a1
pop ecx
pop ecx
test eax, eax
je 0x427978
cmp dword [esi + 0x10], ebx
jne 0x427978
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x427970
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 1]
cmp byte [eax], 0x2f
jne 0x427970
mov byte [eax], bl
mov eax, dword [ebp - 4]
mov dword [esi + 0x10], eax
jmp 0x4279ab
push str.PARTIAL
push dword [ebp - 8]
call fcn.004204a1
pop ecx
pop ecx
test eax, eax
je 0x4279ee
cmp dword [esi + 0x14], ebx
jne 0x4279ee
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x4279a5
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 1]
cmp byte [eax], 0x2f
jne 0x4279a5
mov byte [eax], bl
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
push dword [ebp - 8]
mov dword [ebp - 4], ebx
call dword [0x48d004]
push dword [ebp - 4]
call dword [0x48d004]
pop ecx
pop ecx
cmp byte [edi], 0x3b
je 0x42785f
cmp dword [esi + 4], ebx
je 0x427a2f
cmp dword [esi + 0xc], ebx
jne 0x427a2f
cmp byte [edi], 0x3f
jne 0x427a2f
inc edi
mov ecx, edi
jmp 0x427a08
push dword [ebp - 8]
call dword [0x48d004]
mov eax, dword [ebp - 0x14]
pop ecx
jmp 0x427a39
push dword [ebp - 8]
call dword [0x48d004]
push dword [ebp - 4]
call dword [0x48d004]
pop ecx
pop ecx
push 3
pop eax
jmp 0x427a39
inc edi
mov al, byte [edi]
call fcn.00427713
test eax, eax
jne 0x427a07
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.00435a23
add esp, 0x18
cmp eax, ebx
jne 0x427a39
movsx eax, byte [edi]
neg eax
sbb eax, eax
and eax, 3
pop edi
pop esi
pop ebx
leave
ret