Function at 0x610f69b0
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
mov dword [ebp - 8], esi
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 4], edi
test eax, eax
mov dword [ebp - 0xc], ebx
mov edi, dword [ebp + 0x14]
je 0x610f6b45
test esi, esi
mov ecx, 0xfffffffe
setne al
xor edx, edx
test edi, edi
sete dl
test eax, edx
jne 0x610f6a0e
mov dword [esp], 0x611031d0
call sym.cygwin1.dll__strlen
cmp eax, 1
ja 0x610f6a20
xor ecx, ecx
test esi, esi
je 0x610f6a0e
movzx ax, byte [esi]
mov ecx, dword [ebp + 0xc]
mov word [ecx], ax
xor ecx, ecx
cmp byte [esi], 0
setne cl
mov ebx, dword [ebp - 0xc]
mov eax, ecx
mov esi, dword [ebp - 8]
mov edi, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
mov dword [esp], 0x611031d0
mov ebx, 0x6113d900
mov dword [esp + 4], ebx
call sym.cygwin1.dll__strcmp
test eax, eax
jne 0x610f6a7a
mov dword [ebp - 0x20], 0
xor ecx, ecx
test esi, esi
je 0x610f6a0e
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
test edx, edx
jne 0x610f6bcc
movzx ebx, byte [esi]
mov dword [ebp - 0x20], 1
test ebx, ebx
jne 0x610f6b50
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
mov dword [ecx], 0
xor ecx, ecx
mov word [edx], 0
jmp 0x610f6a0e
mov dword [esp], 0x611031d0
mov ecx, 0x6113d908
mov dword [esp + 4], ecx
call sym.cygwin1.dll__strcmp
test eax, eax
jne 0x610f6bf2
xor ecx, ecx
test esi, esi
je 0x610f6a0e
movzx ebx, byte [esi]
mov dword [ebp - 0x3c], 1
mov ecx, dword [ebp + 0x18]
mov edx, dword [ecx]
test edx, edx
jne 0x610f6afd
lea eax, [ebx - 0x81]
cmp eax, 0x1e
lea eax, [ebx - 0xe0]
setbe dl
cmp eax, 0xf
setbe al
or eax, edx
test al, 1
je 0x610f69f6
mov byte [ecx + 4], bl
cmp edi, 1
mov dword [ecx], 1
mov ecx, 0xfffffffe
jbe 0x610f6a0e
movzx ebx, byte [esi + 1]
mov edx, 1
mov dword [ebp - 0x3c], 2
dec edx
jne 0x610f69f6
lea eax, [ebx - 0x40]
mov ecx, 0xffffffff
cmp eax, 0x3e
lea eax, [ebx - 0x80]
setbe dl
cmp eax, 0x7c
setbe al
or eax, edx
test al, 1
je 0x610f6a0e
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp + 0xc]
movzx eax, byte [edx + 4]
mov dword [edx], 0
shl eax, 8
add eax, ebx
mov word [ecx], ax
mov ecx, dword [ebp - 0x3c]
jmp 0x610f6a0e
lea eax, [ebp - 0x1a]
mov dword [ebp + 0xc], eax
jmp 0x610f69d0
cmp ebx, 0x7f
jbe 0x610f6bd9
lea eax, [ebx - 0xc0]
cmp eax, 0x1f
ja 0x610f6ca0
mov ecx, dword [ebp + 0x18]
cmp edi, 1
mov byte [ecx + 4], bl
mov dword [ecx], 1
mov ecx, 0xfffffffe
jbe 0x610f6a0e
mov eax, dword [ebp - 0x20]
mov ecx, 0xffffffff
movzx ebx, byte [eax + esi]
inc eax
mov dword [ebp - 0x20], eax
lea eax, [ebx - 0x80]
cmp eax, 0x3f
ja 0x610f6a0e
mov edx, dword [ebp + 0x18]
movzx eax, byte [edx + 4]
cmp al, 0xc1
jbe 0x610f6a0e
mov dword [edx], 0
mov ecx, dword [ebp + 0xc]
and eax, 0x1f
shl eax, 6
and ebx, 0x3f
or eax, ebx
mov word [ecx], ax
mov ecx, dword [ebp - 0x20]
jmp 0x610f6a0e
mov eax, dword [ebp + 0x18]
inc edi
movzx ebx, byte [eax + 4]
jmp 0x610f6a5d
mov eax, dword [ebp + 0x18]
mov ecx, 1
mov edx, dword [ebp + 0xc]
mov dword [eax], 0
mov word [edx], bx
jmp 0x610f6a0e
mov dword [esp], 0x611031d0
mov edx, 0x6113d90f
mov dword [esp + 4], edx
call sym.cygwin1.dll__strcmp
test eax, eax
jne 0x610f6da3
xor ecx, ecx
test esi, esi
je 0x610f6a0e
movzx ebx, byte [esi]
mov dword [ebp - 0x40], 1
mov eax, dword [ebp + 0x18]
mov edx, dword [eax]
test edx, edx
jne 0x610f6c65
lea eax, [ebx - 0xa1]
cmp eax, 0x5d
ja 0x610f69f6
mov edx, dword [ebp + 0x18]
cmp edi, 1
mov ecx, 0xfffffffe
mov byte [edx + 4], bl
mov dword [edx], 1
jbe 0x610f6a0e
movzx ebx, byte [esi + 1]
mov edx, 1
mov dword [ebp - 0x40], 2
dec edx
jne 0x610f69f6
lea eax, [ebx - 0xa1]
mov ecx, 0xffffffff
cmp eax, 0x5d
ja 0x610f6a0e
mov ecx, dword [ebp + 0x18]
mov edx, dword [ebp + 0xc]
movzx eax, byte [ecx + 4]
mov dword [ecx], 0
mov ecx, dword [ebp - 0x40]
shl eax, 8
add eax, ebx
mov word [edx], ax
jmp 0x610f6a0e
lea eax, [ebx - 0xe0]
cmp eax, 0xf
ja case.default.0x610f6e32
mov eax, dword [ebp + 0x18]
test edx, edx
mov byte [eax + 4], bl
jne 0x610f6ea2
mov dword [eax], 1
cmp edi, 1
mov ecx, 0xfffffffe
jbe 0x610f6a0e
mov edx, dword [ebp + 0x18]
cmp dword [edx], 1
je 0x610f6ea8
mov eax, dword [ebp + 0x18]
movzx ebx, byte [eax + 5]
mov edx, dword [ebp + 0x18]
mov ecx, 0xffffffff
movzx edx, byte [edx + 4]
cmp dl, 0xe0
sete al
mov byte [ebp - 0x38], dl
xor edx, edx
cmp ebx, 0x9f
setle dl
test eax, edx
jne 0x610f6a0e
lea eax, [ebx - 0x80]
cmp eax, 0x3f
ja 0x610f6a0e
mov ecx, dword [ebp + 0x18]
cmp edi, 2
mov byte [ecx + 5], bl
mov dword [ecx], 2
mov ecx, 0xfffffffe
jbe 0x610f6a0e
mov eax, dword [ebp - 0x20]
mov ecx, 0xffffffff
movzx ebx, byte [eax + esi]
inc eax
mov dword [ebp - 0x20], eax
lea eax, [ebx - 0x80]
cmp eax, 0x3f
ja 0x610f6a0e
mov edx, dword [ebp + 0x18]
and ebx, 0x3f
mov ecx, dword [ebp + 0x18]
mov dword [edx], 0
movzx ax, byte [ecx + 5]
mov ecx, 0xffffffff
movzx edx, byte [ebp - 0x38]
and eax, 0x3f
shl eax, 6
and edx, 0xf
shl edx, 0xc
or edx, eax
or edx, ebx
lea eax, [edx + 0x2800]
cmp ax, 0x7ff
jbe 0x610f6a0e
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x20]
mov word [eax], dx
jmp 0x610f6a0e
mov ecx, 0xffffffff
jmp 0x610f6a0e
mov dword [esp], 0x611031d0
mov eax, 0x6113d917
mov dword [esp + 4], eax
call sym.cygwin1.dll__strcmp
test eax, eax
jne 0x610f69f6
test esi, esi
je 0x610f6ee3
mov dword [ebp - 0x44], esi
mov eax, dword [ebp + 0x18]
xor ebx, ebx
movzx ecx, byte [eax]
cmp ebx, edi
jae 0x610f6ef6
movzx edx, byte [esi + ebx]
movzx eax, dl
cmp eax, 0x28
mov byte [ebp - 0x45], dl
mov dl, 2
je 0x610f6e10
jg 0x610f6eb8
xor edx, edx
cmp eax, 0x1b
je 0x610f6e10
jg 0x610f6ecf
mov dl, 6
test eax, eax
je 0x610f6e10
sub eax, 0x21
cmp eax, 0x5e
sbb edx, edx
add dl, 8
movzx eax, cl
movzx edx, dl
lea eax, [eax + eax*8]
add eax, edx
movzx ecx, byte [eax + 0x61103550]
movzx eax, byte [eax + 0x611035b0]
cmp eax, 5
ja case.default.0x610f6e32
jmp dword [eax*4 + 0x6113d920]
lea eax, [esi + ebx + 1]
mov dword [ebp - 0x44], eax
inc ebx
jmp 0x610f6dd3
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 1
movzx eax, byte [ecx + 4]
movzx dx, byte [esi + ebx]
shl eax, 8
add eax, edx
mov edx, dword [ebp + 0xc]
lea ecx, [ebx + 1]
mov word [edx], ax
jmp 0x610f6a0e
movzx eax, byte [ebp - 0x45]
inc ebx
mov edx, dword [ebp + 0x18]
mov byte [edx + 4], al
jmp 0x610f6dd3
mov edx, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x44]
mov dword [edx], 0
movzx ax, byte [ecx]
jmp 0x610f6e5a
mov ecx, dword [ebp + 0x18]
mov eax, dword [ebp + 0xc]
mov dword [ecx], 0
xor ecx, ecx
mov word [eax], 0
jmp 0x610f6a0e
inc edi
jmp 0x610f6cc3
mov ecx, dword [ebp - 0x20]
movzx ebx, byte [ecx + esi]
inc ecx
mov dword [ebp - 0x20], ecx
jmp 0x610f6ce4
cmp eax, 0x42
mov dl, 4
je 0x610f6e10
jg 0x610f6ed9
mov dl, 3
cmp eax, 0x40
jmp 0x610f6e03
mov dl, 1
cmp eax, 0x24
jmp 0x610f6e03
mov dl, 5
cmp eax, 0x4a
jmp 0x610f6e03
mov ecx, dword [ebp + 0x18]
mov dword [ecx], 0
mov ecx, 1
jmp 0x610f6a0e
mov edx, dword [ebp + 0x18]
movzx eax, cl
mov ecx, 0xfffffffe
mov dword [edx], eax
jmp 0x610f6a0e