Function at 0x4ca5cc
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
lea ebx, [ebp - 4]
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [ebx], edx
mov ecx, dword [ebp + 0x20]
mov eax, dword [ecx]
xor ecx, ecx
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x10], ecx
mov eax, dword [ebx]
cmp byte [eax], 0x28
jne 0x4ca9a3
mov edx, dword [ebx]
cmp byte [edx + 1], 0x2a
jne 0x4ca613
add dword [ebx], 2
jmp 0x4ca9a3
mov ecx, dword [ebx]
cmp byte [ecx + 1], 0x3f
je 0x4ca641
mov eax, dword [ebp + 0x20]
inc dword [eax]
cmp dword [ebp + 0x10], 0
jne 0x4ca63a
mov edx, dword [ebp + 0x20]
mov ecx, dword [edx]
cmp ecx, dword [ebp + 0x14]
jne 0x4ca63a
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
jmp 0x4ca9b8
inc dword [ebx]
jmp 0x4ca9a3
mov edx, dword [ebx]
cmp byte [edx + 2], 0x7c
jne 0x4ca658
add dword [ebx], 3
mov dword [ebp - 0x10], 1
jmp 0x4ca9a3
mov ecx, dword [ebx]
cmp byte [ecx + 2], 0x23
jne 0x4ca681
add dword [ebx], 3
jmp 0x4ca66f
cmp al, 0x29
je 0x4ca9ae
inc dword [ebx]
mov eax, dword [ebx]
mov al, byte [eax]
test al, al
jne 0x4ca665
jmp 0x4ca9ae
mov edx, dword [ebx]
cmp byte [edx + 2], 0x28
jne 0x4ca6ba
add dword [ebx], 2
mov ecx, dword [ebx]
cmp byte [ecx + 1], 0x3f
je 0x4ca9a3
jmp 0x4ca69c
inc dword [ebx]
mov eax, dword [ebx]
mov al, byte [eax]
test al, al
je 0x4ca6a8
cmp al, 0x29
jne 0x4ca69a
mov edx, dword [ebx]
cmp byte [edx], 0
je 0x4ca9a3
inc dword [ebx]
jmp 0x4ca9a3
add dword [ebx], 2
mov ecx, dword [ebx]
cmp byte [ecx], 0x50
jne 0x4ca6c6
inc dword [ebx]
mov eax, dword [ebx]
mov al, byte [eax]
cmp al, 0x3c
jne 0x4ca6de
mov edx, dword [ebx]
cmp byte [edx + 1], 0x21
je 0x4ca6de
mov ecx, dword [ebx]
cmp byte [ecx + 1], 0x3d
jne 0x4ca6e6
cmp al, 0x27
jne 0x4ca9a3
mov eax, dword [ebp + 0x20]
inc dword [eax]
cmp dword [ebp + 0x10], 0
jne 0x4ca705
mov edx, dword [ebp + 0x20]
mov ecx, dword [edx]
cmp ecx, dword [ebp + 0x14]
jne 0x4ca705
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
jmp 0x4ca9b8
mov edx, dword [ebx]
mov al, byte [edx]
inc dword [ebx]
cmp al, 0x3c
jne 0x4ca711
mov al, 0x3e
mov edx, dword [ebx]
jmp 0x4ca717
inc dword [ebx]
mov ecx, dword [ebx]
cmp al, byte [ecx]
jne 0x4ca715
cmp dword [ebp + 0x10], 0
je 0x4ca9a3
mov eax, dword [ebx]
sub eax, edx
cmp eax, dword [ebp + 0x14]
jne 0x4ca9a3
mov ecx, dword [ebp + 0x14]
push ecx
push edx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0050a1ec
add esp, 0xc
test eax, eax
jne 0x4ca9a3
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
jmp 0x4ca9b8
mov edx, dword [ebx]
cmp byte [edx], 0x5c
jne 0x4ca7a5
inc dword [ebx]
mov ecx, dword [ebx]
cmp byte [ecx], 0
je 0x4ca9ae
mov eax, dword [ebx]
cmp byte [eax], 0x51
jne 0x4ca9a1
inc dword [ebx]
mov edx, dword [ebx]
cmp byte [edx], 0
je 0x4ca78b
mov ecx, dword [ebx]
cmp byte [ecx], 0x5c
jne 0x4ca77b
mov eax, dword [ebx]
cmp byte [eax], 0
je 0x4ca9ae
inc dword [ebx]
mov edx, dword [ebx]
cmp byte [edx], 0x45
je 0x4ca9a1
jmp 0x4ca77b
mov ecx, dword [ebx]
cmp byte [ecx], 0x5b
jne 0x4ca86f
xor eax, eax
mov dword [ebp - 0x14], eax
mov edx, dword [ebx]
cmp byte [edx + 1], 0x5c
jne 0x4ca7e8
mov ecx, dword [ebx]
cmp byte [ecx + 2], 0x45
jne 0x4ca7ca
add dword [ebx], 2
jmp 0x4ca7b5
push 3
push 0x65e82a
mov eax, dword [ebx]
add eax, 2
push eax
call fcn.0050a1ec
add esp, 0xc
test eax, eax
jne 0x4ca801
add dword [ebx], 4
jmp 0x4ca7b5
cmp dword [ebp - 0x14], 0
jne 0x4ca801
mov edx, dword [ebx]
cmp byte [edx + 1], 0x5e
jne 0x4ca801
mov dword [ebp - 0x14], 1
inc dword [ebx]
jmp 0x4ca7b5
mov ecx, dword [ebx]
cmp byte [ecx + 1], 0x5d
jne 0x4ca861
test byte [esi + 0x53], 2
jne 0x4ca861
inc dword [ebx]
jmp 0x4ca861
mov eax, dword [ebx]
mov al, byte [eax]
test al, al
jne 0x4ca823
or eax, 0xffffffff
jmp 0x4ca9b8
cmp al, 0x5c
jne 0x4ca861
inc dword [ebx]
mov edx, dword [ebx]
cmp byte [edx], 0
je 0x4ca9ae
mov ecx, dword [ebx]
cmp byte [ecx], 0x51
jne 0x4ca861
inc dword [ebx]
mov eax, dword [ebx]
cmp byte [eax], 0
je 0x4ca84b
mov edx, dword [ebx]
cmp byte [edx], 0x5c
jne 0x4ca83b
mov ecx, dword [ebx]
cmp byte [ecx], 0
je 0x4ca9ae
inc dword [ebx]
mov eax, dword [ebx]
cmp byte [eax], 0x45
je 0x4ca861
jmp 0x4ca83b
inc dword [ebx]
mov edx, dword [ebx]
cmp byte [edx], 0x5d
jne 0x4ca813
jmp 0x4ca9a1
cmp dword [ebp + 0x18], 0
je 0x4ca92d
mov ecx, dword [ebx]
cmp byte [ecx], 0x23
jne 0x4ca92d
inc dword [ebx]
jmp 0x4ca915
cmp dword [esi + 0x68], 0
je 0x4ca8bf
mov eax, dword [esi + 0x1c]
cmp eax, dword [ebx]
jbe 0x4ca8b4
push edi
lea edx, [esi + 0x6c]
push edx
mov ecx, dword [esi + 0x1c]
push ecx
mov eax, dword [esi + 0x68]
push eax
mov edx, dword [ebx]
push edx
call fcn.004dcff0
add esp, 0x14
test eax, eax
jne 0x4ca8b8
xor ecx, ecx
jmp 0x4ca8eb
mov ecx, 1
jmp 0x4ca8eb
mov eax, dword [esi + 0x1c]
sub eax, dword [esi + 0x6c]
cmp eax, dword [ebx]
jb 0x4ca8e2
mov edx, dword [ebx]
mov cl, byte [edx]
cmp cl, byte [esi + 0x70]
jne 0x4ca8e2
cmp dword [esi + 0x6c], 1
je 0x4ca8e6
mov eax, dword [ebx]
mov dl, byte [eax + 1]
cmp dl, byte [esi + 0x71]
je 0x4ca8e6
xor ecx, ecx
jmp 0x4ca8eb
mov ecx, 1
test ecx, ecx
je 0x4ca8f7
mov eax, dword [esi + 0x6c]
dec eax
add dword [ebx], eax
jmp 0x4ca920
inc dword [ebx]
test edi, edi
je 0x4ca915
jmp 0x4ca901
inc dword [ebx]
mov edx, dword [ebx]
xor ecx, ecx
mov cl, byte [edx]
and ecx, 0xc0
cmp ecx, 0x80
je 0x4ca8ff
mov eax, dword [ebx]
cmp byte [eax], 0
jne 0x4ca88b
mov edx, dword [ebx]
cmp byte [edx], 0
je 0x4ca9ae
jmp 0x4ca9a1
mov ecx, dword [ebx]
cmp byte [ecx], 0x28
jne 0x4ca95c
mov eax, dword [ebp + 0x20]
push eax
push edi
mov edx, dword [ebp + 0x18]
push edx
mov ecx, dword [ebp + 0x14]
push ecx
mov eax, dword [ebp + 0x10]
push eax
push esi
push ebx
call fcn.004ca5cc
add esp, 0x1c
test eax, eax
jg 0x4ca9b8
mov edx, dword [ebx]
cmp byte [edx], 0
je 0x4ca9ae
jmp 0x4ca9a1
mov ecx, dword [ebx]
cmp byte [ecx], 0x29
jne 0x4ca97f
cmp dword [ebp - 0x10], 0
je 0x4ca9ae
mov eax, dword [ebp + 0x20]
mov edx, dword [eax]
cmp edx, dword [ebp - 0xc]
jge 0x4ca9ae
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp - 0xc]
mov dword [ecx], eax
jmp 0x4ca9ae
mov edx, dword [ebx]
cmp byte [edx], 0x7c
jne 0x4ca9a1
cmp dword [ebp - 0x10], 0
je 0x4ca9a1
mov ecx, dword [ebp + 0x20]
mov eax, dword [ecx]
cmp eax, dword [ebp - 0xc]
jle 0x4ca999
mov dword [ebp - 0xc], eax
mov edx, dword [ebp + 0x20]
mov ecx, dword [ebp - 8]
mov dword [edx], ecx
inc dword [ebx]
mov eax, dword [ebx]
cmp eax, dword [esi + 0x1c]
jb 0x4ca75c
mov edx, dword [ebp + 8]
mov ecx, dword [ebx]
mov dword [edx], ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret