Function at 0x4bee50
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 8]
xor esi, esi
mov eax, dword [ebp - 4]
cmp byte [eax], 0x28
jne 0x4bf2e8
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x2a
jne 0x4bee91
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
jmp 0x4bf2e8
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x3f
je 0x4beec2
mov eax, dword [ebp + 0x20]
inc dword [eax]
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4beeba
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x14]
cmp dword [eax], edx
jne 0x4beeba
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
jmp 0x4bf304
inc dword [ebp - 4]
jmp 0x4bf2e8
mov eax, dword [ebp - 4]
cmp byte [eax + 2], 0x7c
jne 0x4beede
mov eax, dword [ebp - 4]
add eax, 3
mov dword [ebp - 4], eax
mov esi, 1
jmp 0x4bf2e8
mov eax, dword [ebp - 4]
cmp byte [eax + 2], 0x23
jne 0x4bef0e
mov eax, dword [ebp - 4]
add eax, 3
mov dword [ebp - 4], eax
jmp 0x4bef01
mov eax, dword [ebp - 4]
cmp byte [eax], 0x29
je 0x4bf2f9
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp byte [eax], 0
jne 0x4beef2
jmp 0x4bf2f9
mov eax, dword [ebp - 4]
cmp byte [eax + 2], 0x28
jne 0x4bef52
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
cmp byte [eax + 1], 0x3f
je 0x4bf2e8
jmp 0x4bef2f
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
test eax, eax
je 0x4bef3e
cmp eax, 0x29
jne 0x4bef2c
mov eax, dword [ebp - 4]
cmp byte [eax], 0
je 0x4bf2e8
inc dword [ebp - 4]
jmp 0x4bf2e8
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
cmp byte [eax], 0x50
jne 0x4bef63
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
cmp byte [eax], 0x3c
jne 0x4bef79
movzx eax, byte [eax + 1]
cmp eax, 0x21
je 0x4bef79
cmp eax, 0x3d
jne 0x4bef85
mov eax, dword [ebp - 4]
cmp byte [eax], 0x27
jne 0x4bf2e8
mov eax, dword [ebp + 0x20]
inc dword [eax]
mov eax, dword [ebp + 0x10]
test eax, eax
jne 0x4befa5
mov eax, dword [ebp + 0x20]
mov edx, dword [ebp + 0x14]
cmp dword [eax], edx
jne 0x4befa5
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
jmp 0x4bf304
mov eax, dword [ebp - 4]
lea edx, [eax + 1]
mov dword [ebp - 4], edx
mov al, byte [eax]
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0x3c
jne 0x4befbd
mov byte [ebp - 9], 0x3e
mov eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
jmp 0x4befc8
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
movzx edx, byte [ebp - 9]
cmp eax, edx
jne 0x4befc5
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x4bf005
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x10]
mov edi, dword [ebp - 4]
sub edi, ecx
cmp edx, edi
jne 0x4bf005
push edx
push ecx
push eax
call fcn.0052eba0
add esp, 0xc
test eax, eax
jne 0x4bf005
mov eax, dword [ebp + 0x20]
mov eax, dword [eax]
jmp 0x4bf304
inc byte [ebp - 9]
jmp 0x4bf2e8
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x4bf062
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp byte [eax], 0
je 0x4bf2f9
mov eax, dword [ebp - 4]
cmp byte [eax], 0x51
jne 0x4bf2e5
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp byte [eax], 0
je 0x4bf045
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x4bf031
mov eax, dword [ebp - 4]
cmp byte [eax], 0
je 0x4bf2f9
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp byte [eax], 0x45
jne 0x4bf031
jmp 0x4bf2e5
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5b
jne 0x4bf159
xor edi, edi
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x5c
jne 0x4bf0b2
mov eax, dword [ebp - 4]
cmp byte [eax + 2], 0x45
jne 0x4bf08d
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
jmp 0x4bf070
push 3
push 0x5f89d4
mov eax, dword [ebp - 4]
add eax, 2
push eax
call fcn.0052eba0
add esp, 0xc
test eax, eax
jne 0x4bf0c9
mov eax, dword [ebp - 4]
add eax, 4
mov dword [ebp - 4], eax
jmp 0x4bf070
test edi, edi
jne 0x4bf0c9
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x5e
jne 0x4bf0c9
mov edi, 1
inc dword [ebp - 4]
jmp 0x4bf070
mov eax, dword [ebp - 4]
cmp byte [eax + 1], 0x5d
jne 0x4bf144
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x50]
and eax, 0x2000000
jne 0x4bf144
inc dword [ebp - 4]
jmp 0x4bf144
mov eax, dword [ebp - 4]
cmp byte [eax], 0
jne 0x4bf0f8
or eax, 0xffffffff
jmp 0x4bf304
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x4bf144
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp byte [eax], 0
je 0x4bf2f9
mov eax, dword [ebp - 4]
cmp byte [eax], 0x51
jne 0x4bf144
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp byte [eax], 0
je 0x4bf12c
mov eax, dword [ebp - 4]
cmp byte [eax], 0x5c
jne 0x4bf118
mov eax, dword [ebp - 4]
cmp byte [eax], 0
je 0x4bf2f9
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp byte [eax], 0x45
jne 0x4bf118
mov eax, dword [ebp - 4]
inc eax
mov dword [ebp - 4], eax
cmp byte [eax], 0x5d
jne 0x4bf0e8
jmp 0x4bf2e5
cmp dword [ebp + 0x18], 0
je 0x4bf268
mov eax, dword [ebp - 4]
cmp byte [eax], 0x23
jne 0x4bf268
inc dword [ebp - 4]
jmp 0x4bf24b
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x68], 0
je 0x4bf1c2
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 0x1c]
cmp eax, ecx
jae 0x4bf1b6
mov eax, dword [ebp + 0x1c]
push eax
lea eax, [edx + 0x6c]
push eax
push ecx
mov eax, dword [edx + 0x68]
push eax
mov eax, dword [ebp - 0x14]
push eax
call fcn.004d90b0
add esp, 0x14
test eax, eax
je 0x4bf1b6
mov dword [ebp - 0xc], 1
jmp 0x4bf1bd
mov dword [ebp - 0xc], 0
mov edi, dword [ebp - 0xc]
jmp 0x4bf215
mov eax, dword [ebp - 4]
mov dword [ebp - 0x18], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx + 0x6c]
mov dword [ebp - 0x1c], ecx
mov eax, dword [edx + 0x1c]
sub eax, ecx
mov ecx, dword [ebp - 0x18]
cmp ecx, eax
ja 0x4bf20b
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
movzx ecx, byte [edx + 0x70]
cmp eax, ecx
jne 0x4bf20b
mov eax, dword [ebp - 0x1c]
cmp eax, 1
je 0x4bf202
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax + 1]
movzx edx, byte [edx + 0x71]
cmp eax, edx
jne 0x4bf20b
mov dword [ebp - 0x10], 1
jmp 0x4bf212
mov dword [ebp - 0x10], 0
mov edi, dword [ebp - 0x10]
test edi, edi
je 0x4bf22b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x6c]
mov edx, dword [ebp - 4]
lea eax, [edx + eax - 1]
mov dword [ebp - 4], eax
jmp 0x4bf257
inc dword [ebp - 4]
cmp dword [ebp + 0x1c], 0
je 0x4bf24b
jmp 0x4bf239
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
movzx eax, byte [eax]
and eax, 0xc0
cmp eax, 0x80
je 0x4bf236
mov eax, dword [ebp - 4]
cmp byte [eax], 0
jne 0x4bf177
mov eax, dword [ebp - 4]
cmp byte [eax], 0
jne 0x4bf2e5
jmp 0x4bf2f9
mov eax, dword [ebp - 4]
cmp byte [eax], 0x28
jne 0x4bf2ab
mov eax, dword [ebp + 0x20]
push eax
mov eax, dword [ebp + 0x1c]
push eax
mov eax, dword [ebp + 0x18]
push eax
mov eax, dword [ebp + 0x14]
push eax
mov eax, dword [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.004bee50
add esp, 0x1c
mov edi, eax
test edi, edi
jle 0x4bf2a1
mov eax, edi
jmp 0x4bf304
mov eax, dword [ebp - 4]
cmp byte [eax], 0
jne 0x4bf2e5
jmp 0x4bf2f9
mov eax, dword [ebp - 4]
cmp byte [eax], 0x29
jne 0x4bf2c5
test esi, esi
je 0x4bf2f9
mov eax, dword [ebp + 0x20]
cmp dword [eax], ebx
jge 0x4bf2f9
mov edx, dword [ebp + 0x20]
mov dword [edx], ebx
jmp 0x4bf2f9
mov eax, dword [ebp - 4]
cmp byte [eax], 0x7c
jne 0x4bf2e5
test esi, esi
je 0x4bf2e5
mov eax, dword [ebp + 0x20]
cmp dword [eax], ebx
jle 0x4bf2dd
mov eax, dword [ebp + 0x20]
mov ebx, dword [eax]
mov edx, dword [ebp + 0x20]
mov eax, dword [ebp - 8]
mov dword [edx], eax
inc dword [ebp - 4]
mov eax, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
mov edx, dword [edx + 0x1c]
cmp eax, edx
jb 0x4bf00d
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 4]
mov dword [edx], eax
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret