Function at 0x4a09e0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov edx, dword [eax]
mov ecx, dword [edx + 0x86b8]
mov al, byte [ecx]
push ebx
push esi
push edi
mov edi, dword [edx + 0x128]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x14], edi
mov esi, ecx
call fcn.004a0780
test eax, eax
je 0x4a0a88
lea ebx, [ebx]
mov al, byte [esi + 1]
inc esi
call fcn.004a0780
test eax, eax
jne 0x4a0a10
cmp esi, ecx
je 0x4a0a88
mov eax, esi
jbe 0x4a0a2e
cmp byte [esi - 1], 0x2f
jne 0x4a0a2e
lea eax, [esi - 1]
push 1
xor ebx, ebx
push ebx
lea edx, [edi + 4]
push edx
sub eax, ecx
push eax
push ecx
mov ecx, dword [ebp - 0xc]
push ecx
call fcn.004b11a0
add esp, 0x18
cmp eax, ebx
jne 0x4a0c68
mov edx, dword [ebp - 0xc]
cmp byte [esi], 0x3b
jne 0x4a0c19
jmp 0x4a0a60
mov al, byte [esi + 1]
inc esi
mov ecx, esi
cmp al, bl
je 0x4a0cae
mov edi, edi
cmp al, 0x3d
je 0x4a0a8f
mov al, byte [esi + 1]
inc esi
cmp al, bl
jne 0x4a0a70
pop edi
pop esi
mov eax, 3
pop ebx
mov esp, ebp
pop ebp
ret
xor ebx, ebx
mov dword [edi + 4], ebx
jmp 0x4a0a52
cmp byte [esi], bl
je 0x4a0cae
push 1
push ebx
lea eax, [ebp - 8]
push eax
mov eax, esi
sub eax, ecx
push eax
push ecx
push edx
call fcn.004b11a0
add esp, 0x18
cmp eax, ebx
jne 0x4a0c68
mov al, byte [esi + 1]
inc esi
mov ecx, esi
call fcn.004a0780
test eax, eax
je 0x4a0ad1
mov al, byte [esi + 1]
inc esi
call fcn.004a0780
test eax, eax
jne 0x4a0ac4
push 1
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 0xc]
mov edx, esi
sub edx, ecx
push edx
push ecx
push eax
call fcn.004b11a0
mov edi, eax
add esp, 0x18
cmp edi, ebx
jne 0x4a0c6f
mov ecx, dword [ebp - 8]
push str.UIDVALIDITY
push ecx
call fcn.004b0ff0
mov edi, dword [ebp - 0x14]
add esp, 8
test eax, eax
je 0x4a0b34
cmp dword [edi + 8], ebx
jne 0x4a0b34
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jbe 0x4a0b29
mov ecx, dword [ebp - 4]
cmp byte [ecx + eax - 1], 0x2f
jne 0x4a0b29
mov byte [ecx + eax - 1], bl
mov edx, dword [ebp - 4]
mov dword [edi + 8], edx
jmp 0x4a0bdf
mov eax, dword [ebp - 8]
push 0x5f9a98
push eax
call fcn.004b0ff0
add esp, 8
test eax, eax
je 0x4a0b6b
cmp dword [edi + 0xc], ebx
jne 0x4a0b6b
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jbe 0x4a0b63
mov ecx, dword [ebp - 4]
cmp byte [ecx + eax - 1], 0x2f
jne 0x4a0b63
mov byte [ecx + eax - 1], bl
mov ecx, dword [ebp - 4]
mov dword [edi + 0xc], ecx
jmp 0x4a0bdf
mov edx, dword [ebp - 8]
push str.SECTION
push edx
call fcn.004b0ff0
add esp, 8
test eax, eax
je 0x4a0ba2
cmp dword [edi + 0x10], ebx
jne 0x4a0ba2
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jbe 0x4a0b9a
mov ecx, dword [ebp - 4]
cmp byte [ecx + eax - 1], 0x2f
jne 0x4a0b9a
mov byte [ecx + eax - 1], bl
mov eax, dword [ebp - 4]
mov dword [edi + 0x10], eax
jmp 0x4a0bdf
mov ecx, dword [ebp - 8]
push str.PARTIAL
push ecx
call fcn.004b0ff0
add esp, 8
test eax, eax
je 0x4a0c89
cmp dword [edi + 0x14], ebx
jne 0x4a0c89
mov eax, dword [ebp - 0x10]
cmp eax, ebx
jbe 0x4a0bd9
mov ecx, dword [ebp - 4]
cmp byte [ecx + eax - 1], 0x2f
jne 0x4a0bd9
mov byte [ecx + eax - 1], bl
mov edx, dword [ebp - 4]
mov dword [edi + 0x14], edx
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ebx
cmp eax, ebx
je 0x4a0c0a
push eax
call dword [0x657004]
mov eax, dword [ebp - 4]
add esp, 4
mov dword [ebp - 8], ebx
cmp eax, ebx
je 0x4a0c0a
push eax
call dword [0x657004]
add esp, 4
mov dword [ebp - 4], ebx
cmp byte [esi], 0x3b
mov edx, dword [ebp - 0xc]
je 0x4a0a60
mov edi, dword [ebp - 0x14]
cmp dword [edi + 4], ebx
je 0x4a0c5e
cmp dword [edi + 0xc], ebx
jne 0x4a0c5e
cmp byte [esi], 0x3f
jne 0x4a0c5e
mov al, byte [esi + 1]
inc esi
mov ecx, esi
call fcn.004a0780
test eax, eax
je 0x4a0c44
mov al, byte [esi + 1]
inc esi
call fcn.004a0780
test eax, eax
jne 0x4a0c37
push 1
push ebx
add edi, 0x18
push edi
mov eax, esi
sub eax, ecx
push eax
push ecx
push edx
call fcn.004b11a0
add esp, 0x18
cmp eax, ebx
jne 0x4a0c68
movsx eax, byte [esi]
neg eax
sbb eax, eax
and eax, 3
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x4a0c80
push eax
call dword [0x657004]
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 8]
cmp eax, ebx
je 0x4a0c9d
push eax
call dword [0x657004]
add esp, 4
mov dword [ebp - 8], ebx
mov eax, dword [ebp - 4]
cmp eax, ebx
je 0x4a0cae
push eax
call dword [0x657004]
add esp, 4
pop edi
pop esi
mov eax, 3
pop ebx
mov esp, ebp
pop ebp
ret