Function at 0x502d68
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebx]
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
xor esi, esi
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
cmp dl, 0x28
jne 0x5030db
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx + 1]
cmp al, 0x3f
jne 0x502dc3
mov edx, dword [ebp - 0x10]
mov cl, byte [edx + 2]
cmp cl, 0x7c
jne 0x502dc3
add dword [ebp - 0x10], 3
mov esi, 1
jmp 0x5030db
mov eax, dword [ebp - 0x10]
mov al, byte [eax + 1]
cmp al, 0x3f
je 0x502df2
cmp al, 0x2a
je 0x502df2
inc dword [ebx]
mov edx, dword [ebp - 0xc]
test edx, edx
jne 0x502dea
mov ecx, dword [ebx]
mov eax, dword [ebp + 0x10]
cmp ecx, eax
jne 0x502dea
mov eax, dword [ebx]
jmp 0x5030f3
inc dword [ebp - 0x10]
jmp 0x5030db
mov edx, dword [ebp - 0x10]
mov cl, byte [edx + 2]
cmp cl, 0x28
jne 0x502e37
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
mov dl, byte [eax + 1]
cmp dl, 0x3f
je 0x5030db
jmp 0x502e15
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
test al, al
je 0x502e22
cmp al, 0x29
jne 0x502e12
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
test cl, cl
je 0x5030db
inc dword [ebp - 0x10]
jmp 0x5030db
add dword [ebp - 0x10], 2
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
cmp dl, 0x50
jne 0x502e48
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
cmp al, 0x3c
jne 0x502e67
mov edx, dword [ebp - 0x10]
mov cl, byte [edx + 1]
cmp cl, 0x21
je 0x502e67
mov edx, dword [ebp - 0x10]
mov cl, byte [edx + 1]
cmp cl, 0x3d
jne 0x502e6f
cmp al, 0x27
jne 0x5030db
inc dword [ebx]
mov eax, dword [ebp - 0xc]
test eax, eax
jne 0x502e88
mov eax, dword [ebx]
mov edx, dword [ebp + 0x10]
cmp eax, edx
jne 0x502e88
mov eax, dword [ebx]
jmp 0x5030f3
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx]
inc dword [ebp - 0x10]
cmp eax, 0x3c
jne 0x502e9c
mov eax, 0x3e
mov edx, dword [ebp - 0x10]
jmp 0x502ea4
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
movzx ecx, byte [ecx]
cmp eax, ecx
jne 0x502ea1
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x5030db
mov eax, dword [ebp - 0x10]
sub eax, edx
mov ecx, dword [ebp + 0x10]
cmp eax, ecx
jne 0x5030db
mov eax, dword [ebp + 0x10]
push eax
push edx
mov edx, dword [ebp - 0xc]
push edx
call fcn.00502628
add esp, 0xc
test eax, eax
jne 0x5030db
mov eax, dword [ebx]
jmp 0x5030f3
cmp al, 0x5c
jne 0x502f45
inc dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
test cl, cl
je 0x5030e8
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
cmp dl, 0x51
jne 0x5030d8
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
test al, al
je 0x502f26
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x5c
jne 0x502f10
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
test dl, dl
je 0x5030e8
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
cmp al, 0x45
je 0x5030d8
jmp 0x502f10
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x5b
jne 0x50302c
xor edi, edi
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax]
cmp eax, 0x5c
jne 0x502f91
mov edx, dword [ebp - 0x10]
mov cl, byte [edx + 1]
cmp cl, 0x45
jne 0x502f73
inc dword [ebp - 0x10]
jmp 0x502f55
push 3
push 0x5427e1
mov eax, dword [ebp - 0x10]
inc eax
push eax
call fcn.00502628
add esp, 0xc
test eax, eax
jne 0x502fa1
add dword [ebp - 0x10], 3
jmp 0x502f55
test edi, edi
jne 0x502fa1
cmp eax, 0x5e
jne 0x502fa1
mov edi, 1
jmp 0x502f55
mov eax, dword [ebp - 0x10]
mov dl, byte [eax + 1]
cmp dl, 0x5d
jne 0x50301a
mov ecx, dword [ebp - 8]
test byte [ecx + 0x43], 2
jne 0x50301a
inc dword [ebp - 0x10]
jmp 0x50301a
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x502fcb
or eax, 0xffffffff
jmp 0x5030f3
cmp al, 0x5c
jne 0x50301a
inc dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
test cl, cl
je 0x5030e8
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
cmp dl, 0x51
jne 0x50301a
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
test al, al
je 0x502fff
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x5c
jne 0x502fe9
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
test dl, dl
je 0x5030e8
inc dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
cmp al, 0x45
je 0x50301a
jmp 0x502fe9
inc dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x5d
jne 0x502fba
jmp 0x5030d8
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x503061
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x23
jne 0x503061
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
test dl, dl
je 0x503052
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
cmp al, 0xa
jne 0x50303d
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
test cl, cl
je 0x5030e8
jmp 0x5030d8
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
cmp dl, 0x28
jne 0x503091
mov ecx, dword [ebp + 0x10]
push ecx
mov eax, dword [ebp + 0xc]
push eax
push ebx
lea eax, [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
call fcn.00502d68
test eax, eax
jg 0x5030f3
mov eax, dword [ebp - 0x10]
mov dl, byte [eax]
test dl, dl
je 0x5030e8
jmp 0x5030d8
mov ecx, dword [ebp - 0x10]
mov al, byte [ecx]
cmp al, 0x29
jne 0x5030b9
test esi, esi
je 0x5030ac
mov edx, dword [ebx]
mov ecx, dword [ebp - 0x18]
cmp edx, ecx
jge 0x5030ac
mov eax, dword [ebp - 0x18]
mov dword [ebx], eax
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx], ecx
or eax, 0xffffffff
jmp 0x5030f3
mov edx, dword [ebp - 0x10]
mov cl, byte [edx]
cmp cl, 0x7c
jne 0x5030d8
test esi, esi
je 0x5030d8
mov eax, dword [ebx]
mov edx, dword [ebp - 0x18]
cmp eax, edx
jle 0x5030d3
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x14]
mov dword [ebx], ecx
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov al, byte [eax]
test al, al
jne 0x502eee
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
mov dword [edx], ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc