Function at 0x4d1bb0
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 + 0x47cc]
mov al, byte [ecx]
mov ebp, dword [edi + 0x128]
mov dword [esp + 0x1c], edi
mov esi, ecx
call fcn.004d1a70
test eax, eax
je 0x4d1c24
jmp 0x4d1be0
mov al, byte [esi + 1]
add esi, 1
call fcn.004d1a70
test eax, eax
jne 0x4d1be0
cmp esi, ecx
je 0x4d1c24
mov eax, esi
jbe 0x4d1c02
cmp byte [esi - 1], 0x2f
lea edx, [esi - 1]
jne 0x4d1c02
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.004dd9f0
add esp, 0x18
cmp eax, ebx
je 0x4d1c29
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 0x4d1e1a
mov al, byte [esi + 1]
add esi, 1
cmp al, bl
mov ecx, esi
je 0x4d1e0d
cmp al, 0x3d
je 0x4d1c5d
mov al, byte [esi + 1]
add esi, 1
cmp al, bl
jne 0x4d1c42
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x10
ret
cmp byte [esi], bl
je 0x4d1e0d
push 1
push ebx
lea edx, [esp + 0x1c]
push edx
mov eax, esi
sub eax, ecx
push eax
push ecx
push edi
call fcn.004dd9f0
add esp, 0x18
cmp eax, ebx
jne 0x4d1e72
mov al, byte [esi + 1]
add esi, 1
mov ecx, esi
call fcn.004d1a70
test eax, eax
je 0x4d1ca4
mov al, byte [esi + 1]
add esi, 1
call fcn.004d1a70
test eax, eax
jne 0x4d1c95
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.004dd9f0
mov edi, eax
add esp, 0x18
cmp edi, ebx
jne 0x4d1ddc
mov eax, dword [esp + 0x14]
push str.UIDVALIDITY
push eax
call fcn.004bd120
add esp, 8
test eax, eax
je 0x4d1d07
cmp dword [ebp + 8], ebx
jne 0x4d1d07
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x4d1cfb
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x4d1cfb
mov byte [ecx + eax - 1], bl
mov ecx, dword [esp + 0x10]
mov dword [ebp + 8], ecx
jmp 0x4d1db6
mov edx, dword [esp + 0x14]
push 0x5bb670
push edx
call fcn.004bd120
add esp, 8
test eax, eax
je 0x4d1d42
cmp dword [ebp + 0xc], ebx
jne 0x4d1d42
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x4d1d39
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x4d1d39
mov byte [ecx + eax - 1], bl
mov eax, dword [esp + 0x10]
mov dword [ebp + 0xc], eax
jmp 0x4d1db6
mov ecx, dword [esp + 0x14]
push str.SECTION
push ecx
call fcn.004bd120
add esp, 8
test eax, eax
je 0x4d1d7d
cmp dword [ebp + 0x10], ebx
jne 0x4d1d7d
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x4d1d74
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x4d1d74
mov byte [ecx + eax - 1], bl
mov edx, dword [esp + 0x10]
mov dword [ebp + 0x10], edx
jmp 0x4d1db6
mov eax, dword [esp + 0x14]
push str.PARTIAL
push eax
call fcn.004bd120
add esp, 8
test eax, eax
je 0x4d1df4
cmp dword [ebp + 0x14], ebx
jne 0x4d1df4
mov eax, dword [esp + 0x18]
cmp eax, ebx
jbe 0x4d1daf
mov ecx, dword [esp + 0x10]
cmp byte [ecx + eax - 1], 0x2f
jne 0x4d1daf
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 [0x61f8a0]
mov eax, dword [esp + 0x14]
push eax
call dword [0x61f8a0]
mov edi, dword [esp + 0x24]
add esp, 8
jmp 0x4d1c29
mov ecx, dword [esp + 0x14]
push ecx
call dword [0x61f8a0]
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 [0x61f8a0]
mov eax, dword [esp + 0x14]
push eax
call dword [0x61f8a0]
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 3
pop ebx
add esp, 0x10
ret
cmp dword [ebp + 4], ebx
je 0x4d1e69
cmp dword [ebp + 0xc], ebx
jne 0x4d1e69
cmp byte [esi], 0x3f
jne 0x4d1e69
mov al, byte [esi + 1]
add esi, 1
mov ecx, esi
call fcn.004d1a70
test eax, eax
je 0x4d1e4f
lea ebx, [ebx]
mov al, byte [esi + 1]
add esi, 1
call fcn.004d1a70
test eax, eax
jne 0x4d1e40
push 1
push ebx
add ebp, 0x18
push ebp
mov edx, esi
sub edx, ecx
push edx
push ecx
push edi
call fcn.004dd9f0
add esp, 0x18
cmp eax, ebx
jne 0x4d1e72
mov al, byte [esi]
neg al
sbb eax, eax
and eax, 3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret