Function at 0x4c4247
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [eax]
mov ecx, dword [eax + 0x86b8]
push ebx
push esi
mov esi, dword [eax + 0x128]
mov dword [ebp - 0x10], eax
mov al, byte [ecx]
push edi
mov edi, ecx
call fcn.004c4060
test eax, eax
je 0x4c42b0
inc edi
mov al, byte [edi]
call fcn.004c4060
test eax, eax
jne 0x4c426e
cmp edi, ecx
je 0x4c42b0
mov eax, edi
jbe 0x4c428b
cmp byte [edi - 1], 0x2f
jne 0x4c428b
lea eax, [edi - 1]
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.004d253b
add esp, 0x18
cmp eax, ebx
je 0x4c442d
jmp 0x4c44b6
xor ebx, ebx
mov dword [esi + 4], ebx
jmp 0x4c442d
inc edi
mov al, byte [edi]
mov ecx, edi
cmp al, bl
je 0x4c447f
cmp al, 0x3d
je 0x4c42d2
inc edi
mov al, byte [edi]
cmp al, bl
jne 0x4c42c7
cmp byte [edi], bl
je 0x4c447f
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.004d253b
add esp, 0x18
cmp eax, ebx
jne 0x4c44b6
inc edi
mov ecx, edi
jmp 0x4c4300
inc edi
mov al, byte [edi]
call fcn.004c4060
test eax, eax
jne 0x4c42ff
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.004d253b
add esp, 0x18
mov dword [ebp - 0x14], eax
cmp eax, ebx
jne 0x4c444a
push str.UIDVALIDITY
push dword [ebp - 8]
call fcn.004d23e4
pop ecx
pop ecx
test eax, eax
je 0x4c4369
cmp dword [esi + 8], ebx
jne 0x4c4369
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x4c435e
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 1]
cmp byte [eax], 0x2f
jne 0x4c435e
mov byte [eax], bl
mov eax, dword [ebp - 4]
mov dword [esi + 8], eax
jmp 0x4c4406
push 0x527fe8
push dword [ebp - 8]
call fcn.004d23e4
pop ecx
pop ecx
test eax, eax
je 0x4c439e
cmp dword [esi + 0xc], ebx
jne 0x4c439e
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x4c4396
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 1]
cmp byte [eax], 0x2f
jne 0x4c4396
mov byte [eax], bl
mov eax, dword [ebp - 4]
mov dword [esi + 0xc], eax
jmp 0x4c4406
push str.SECTION
push dword [ebp - 8]
call fcn.004d23e4
pop ecx
pop ecx
test eax, eax
je 0x4c43d3
cmp dword [esi + 0x10], ebx
jne 0x4c43d3
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x4c43cb
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 1]
cmp byte [eax], 0x2f
jne 0x4c43cb
mov byte [eax], bl
mov eax, dword [ebp - 4]
mov dword [esi + 0x10], eax
jmp 0x4c4406
push str.PARTIAL
push dword [ebp - 8]
call fcn.004d23e4
pop ecx
pop ecx
test eax, eax
je 0x4c445e
cmp dword [esi + 0x14], ebx
jne 0x4c445e
mov eax, dword [ebp - 0xc]
cmp eax, ebx
jbe 0x4c4400
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 1]
cmp byte [eax], 0x2f
jne 0x4c4400
mov byte [eax], bl
mov eax, dword [ebp - 4]
mov dword [esi + 0x14], eax
mov dword [ebp - 4], ebx
cmp dword [ebp - 8], ebx
je 0x4c442d
push dword [ebp - 8]
call dword [0x54704c]
pop ecx
mov dword [ebp - 8], ebx
cmp dword [ebp - 4], ebx
je 0x4c442d
push dword [ebp - 4]
call dword [0x54704c]
pop ecx
mov dword [ebp - 4], ebx
cmp byte [edi], 0x3b
je 0x4c42ba
cmp dword [esi + 4], ebx
je 0x4c44ac
cmp dword [esi + 0xc], ebx
jne 0x4c44ac
cmp byte [edi], 0x3f
jne 0x4c44ac
inc edi
mov ecx, edi
jmp 0x4c4485
cmp dword [ebp - 8], ebx
je 0x4c4459
push dword [ebp - 8]
call dword [0x54704c]
pop ecx
mov eax, dword [ebp - 0x14]
jmp 0x4c44b6
cmp dword [ebp - 8], ebx
je 0x4c4470
push dword [ebp - 8]
call dword [0x54704c]
pop ecx
mov dword [ebp - 8], ebx
cmp dword [ebp - 4], ebx
je 0x4c447f
push dword [ebp - 4]
call dword [0x54704c]
pop ecx
push 3
pop eax
jmp 0x4c44b6
inc edi
mov al, byte [edi]
call fcn.004c4060
test eax, eax
jne 0x4c4484
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.004d253b
add esp, 0x18
cmp eax, ebx
jne 0x4c44b6
movsx eax, byte [edi]
neg eax
sbb eax, eax
and eax, 3
pop edi
pop esi
pop ebx
leave
ret