Function at 0x4d3c60
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx]
sub esp, 0xc
mov edx, dword [eax + 0x8664]
push ebx
push esi
push edi
mov cl, byte [edx]
mov esi, edx
mov edi, dword [eax + 0x154]
call fcn.004d3af0
test al, al
je 0x4d3cbf
mov cl, byte [esi + 1]
mov ebx, esi
inc esi
call fcn.004d3af0
test al, al
jne 0x4d3c84
cmp esi, edx
je 0x4d3cbf
mov eax, esi
jbe 0x4d3ca1
cmp byte [ebx], 0x2f
cmove eax, ebx
push 1
push 0
lea ebx, [edi + 4]
sub eax, edx
push ebx
push eax
call fcn.004c2de0
add esp, 0x10
test eax, eax
je 0x4d3cc6
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 4], 0
cmp byte [esi], 0x3b
jne 0x4d3e45
nop
mov al, byte [esi + 1]
inc esi
mov edx, esi
test al, al
je 0x4d3eac
mov cl, al
mov al, cl
cmp cl, 0x3d
je 0x4d3cf1
mov al, byte [esi + 1]
inc esi
mov cl, al
test al, al
jne 0x4d3ce0
test al, al
je 0x4d3eac
push 1
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, esi
sub eax, edx
push eax
call fcn.004c2de0
add esp, 0x10
test eax, eax
jne 0x4d3e92
mov cl, byte [esi + 1]
inc esi
mov edx, esi
call fcn.004d3af0
test al, al
je 0x4d3d32
mov cl, byte [esi + 1]
inc esi
call fcn.004d3af0
test al, al
jne 0x4d3d25
push 1
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, esi
sub eax, edx
push eax
call fcn.004c2de0
mov ebx, eax
add esp, 0x10
test ebx, ebx
jne 0x4d3eb8
mov ebx, dword [ebp - 0xc]
mov edx, str.UIDVALIDITY
mov ecx, ebx
call fcn.004d1490
test eax, eax
je 0x4d3d8a
cmp dword [edi + 8], 0
jne 0x4d3d8a
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
test eax, eax
je 0x4d3d82
cmp byte [ecx + eax - 1], 0x2f
jne 0x4d3d82
mov byte [ecx + eax - 1], 0
mov dword [edi + 8], ecx
jmp 0x4d3e23
mov edx, 0x6f65b0
mov ecx, ebx
call fcn.004d1490
test eax, eax
je 0x4d3dbb
cmp dword [edi + 0xc], 0
jne 0x4d3dbb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
test eax, eax
je 0x4d3db6
cmp byte [ecx + eax - 1], 0x2f
jne 0x4d3db6
mov byte [ecx + eax - 1], 0
mov dword [edi + 0xc], ecx
jmp 0x4d3e23
mov edx, str.SECTION
mov ecx, ebx
call fcn.004d1490
test eax, eax
je 0x4d3dec
cmp dword [edi + 0x10], 0
jne 0x4d3dec
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
test eax, eax
je 0x4d3de7
cmp byte [ecx + eax - 1], 0x2f
jne 0x4d3de7
mov byte [ecx + eax - 1], 0
mov dword [edi + 0x10], ecx
jmp 0x4d3e23
mov edx, str.PARTIAL
mov ecx, ebx
call fcn.004d1490
test eax, eax
je 0x4d3e99
cmp dword [edi + 0x14], 0
jne 0x4d3e99
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
test eax, eax
je 0x4d3e20
cmp byte [ecx + eax - 1], 0x2f
jne 0x4d3e20
mov byte [ecx + eax - 1], 0
mov dword [edi + 0x14], ecx
push ebx
mov dword [ebp - 4], 0
call dword [0x74b960]
push 0
call dword [0x74b960]
add esp, 8
cmp byte [esi], 0x3b
je 0x4d3cd0
cmp dword [edi + 4], 0
je 0x4d3e8b
cmp dword [edi + 0xc], 0
jne 0x4d3e8b
cmp byte [esi], 0x3f
jne 0x4d3e8b
mov cl, byte [esi + 1]
inc esi
mov edx, esi
call fcn.004d3af0
test al, al
je 0x4d3e72
mov cl, byte [esi + 1]
inc esi
call fcn.004d3af0
test al, al
jne 0x4d3e65
push 1
push 0
lea eax, [edi + 0x18]
push eax
mov eax, esi
sub eax, edx
push eax
call fcn.004c2de0
add esp, 0x10
test eax, eax
jne 0x4d3e92
cmp byte [esi], 0
jne 0x4d3eac
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push ebx
call dword [0x74b960]
push dword [ebp - 4]
call dword [0x74b960]
add esp, 8
pop edi
pop esi
mov eax, 3
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp - 0xc]
call dword [0x74b960]
add esp, 4
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret