Function at 0x53ac00
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x6baac0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
mov ecx, ebx
push edi
mov edi, dword [ebp + 8]
call fcn.00426950
test edi, edi
jne 0x53ac36
lea eax, [edi + 7]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [edi]
test esi, esi
jne 0x53ac51
lea eax, [esi + 7]
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret
mov al, byte [esi]
cmp al, 0x20
je 0x53ac63
cmp al, 9
je 0x53ac63
cmp al, 0xd
je 0x53ac63
cmp al, 0xa
jne 0x53ac66
inc esi
jmp 0x53ac51
mov al, byte [esi]
test al, al
jne 0x53ac84
mov dword [edi], esi
mov eax, 7
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret
cmp al, 0x3c
jne 0x53aca1
inc esi
mov eax, 4
mov dword [edi], esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret
cmp al, 0x3e
jne 0x53acbe
inc esi
mov eax, 5
mov dword [edi], esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret
cmp al, 0x2c
jne 0x53acdb
inc esi
mov eax, 6
mov dword [edi], esi
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret
cmp al, 0x3d
jne 0x53ada1
cmp byte [esi + 1], 0x3f
jne 0x53ada1
mov al, byte [esi + 2]
mov ecx, esi
add esi, 2
test al, al
je 0x53ad45
nop dword [eax]
cmp al, 0x3f
je 0x53ad24
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x53ad00
mov dword [edi], esi
mov eax, 8
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x53ad45
mov al, byte [esi + 1]
inc esi
cmp al, 0x71
je 0x53ad3d
cmp al, 0x51
je 0x53ad3d
cmp al, 0x62
je 0x53ad3d
cmp al, 0x42
jne 0x53ad45
mov al, byte [esi + 1]
inc esi
cmp al, 0x3f
je 0x53ad64
mov dword [edi], esi
mov eax, 8
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret
cmp al, 0x3f
jne 0x53ad6a
cmp byte [esi + 1], 0x3d
je 0x53ad74
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x53ad60
jmp 0x53ad45
cmp byte [esi], 0
je 0x53ad45
add esi, 2
mov eax, esi
sub eax, ecx
push eax
push ecx
mov ecx, ebx
call fcn.00421840
mov dword [edi], esi
mov eax, 3
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret
xor ecx, ecx
cmp al, 0x22
jne 0x53ae11
mov al, byte [esi + 1]
inc esi
cmp al, 0x22
je 0x53ade0
nop
test al, al
je 0x53ade0
cmp al, 0x5c
jne 0x53adc0
mov al, byte [esi + 1]
inc esi
test al, al
je 0x53ade0
mov byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 0x20
jne 0x53add8
push ecx
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.00421840
xor ecx, ecx
mov al, byte [esi + 1]
inc esi
cmp al, 0x22
jne 0x53adb0
test ecx, ecx
je 0x53adf0
push ecx
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.00421840
cmp byte [esi], 0
lea eax, [esi + 1]
cmove eax, esi
pop esi
mov dword [edi], eax
mov eax, 2
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.005ebe04
mov esp, ebp
pop ebp
ret
cmp al, 0x20
je 0x53ae5d
cmp al, 9
je 0x53ae4d
test al, al
je 0x53ae4d
cmp al, 0x3e
je 0x53ae4d
cmp al, 0x3c
je 0x53ae4d
cmp al, 0x22
je 0x53ae4d
cmp al, 0x2c
je 0x53ae4d
mov byte [ebp + ecx - 0x24], al
inc ecx
cmp ecx, 0x20
jne 0x53ae45
push ecx
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.00421840
xor ecx, ecx
mov al, byte [esi + 1]
inc esi
cmp al, 0x20
jne 0x53ae15
test ecx, ecx
je 0x53ae5d
push ecx
lea eax, [ebp - 0x24]
mov ecx, ebx
push eax
call fcn.00421840
mov ecx, dword [ebp - 4]
mov eax, 1
mov dword [edi], esi
xor ecx, ebp
pop esi
pop edi
pop ebx
call fcn.005ebe04
mov esp, ebp
pop ebp
ret