Function at 0x4a7950
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x14
push ebx
mov ebx, dword [esp + 0x2c]
mov eax, ecx
push ebp
mov dword [esp + 0x18], eax
mov ebp, edx
push esi
mov eax, dword [eax]
mov edx, dword [ebx]
mov esi, edx
mov dword [esp + 0xc], eax
push edi
cmp byte [eax], 0x28
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], 0
jne 0x4a7b25
mov cl, byte [eax + 1]
cmp cl, 0x2a
jne 0x4a799e
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x4a7b25
cmp cl, 0x3f
je 0x4a79c7
cmp dword [esp + 0x28], 0
lea ecx, [edx + 1]
mov dword [ebx], ecx
jne 0x4a79bd
cmp ecx, edi
jne 0x4a79bd
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x14
ret
inc eax
mov dword [esp + 0x10], eax
jmp 0x4a7b25
mov cl, byte [eax + 2]
cmp cl, 0x7c
jne 0x4a79e3
add eax, 3
mov dword [esp + 0x18], 1
mov dword [esp + 0x10], eax
jmp 0x4a7b25
cmp cl, 0x23
jne 0x4a7a29
lea edx, [eax + 3]
mov eax, edx
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
je 0x4a7d65
nop dword [eax + eax]
cmp cl, 0x29
je 0x4a7d65
lea eax, [edx + 1]
mov dword [esp + 0x10], eax
mov edx, eax
mov cl, byte [eax]
test cl, cl
jne 0x4a7a00
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
or eax, 0xffffffff
pop ebx
add esp, 0x14
ret
add eax, 2
mov dword [esp + 0x10], eax
cmp cl, 0x28
jne 0x4a7a7e
cmp byte [eax + 1], 0x3f
je 0x4a7b25
mov cl, byte [eax]
test cl, cl
je 0x4a7b25
mov edx, eax
nop dword [eax + eax]
cmp cl, 0x29
je 0x4a7a69
lea eax, [edx + 1]
mov dword [esp + 0x10], eax
mov edx, eax
mov cl, byte [eax]
test cl, cl
jne 0x4a7a50
jmp 0x4a7b25
cmp byte [eax], 0
je 0x4a7b25
lea eax, [edx + 1]
mov dword [esp + 0x10], eax
jmp 0x4a7b25
cmp byte [eax], 0x50
mov edi, eax
jne 0x4a7a8e
lea edi, [eax + 1]
mov eax, edi
mov dword [esp + 0x10], eax
mov cl, byte [eax]
cmp cl, 0x3c
jne 0x4a7aa6
mov dl, byte [eax + 1]
cmp dl, 0x21
je 0x4a7b21
cmp dl, 0x3d
jne 0x4a7aab
cmp cl, 0x27
jne 0x4a7b21
mov eax, esi
inc eax
cmp dword [esp + 0x28], 0
mov dword [ebx], eax
jne 0x4a7ac1
cmp eax, dword [esp + 0x2c]
je 0x4a7d6e
inc edi
movzx esi, cl
mov eax, edi
cmp esi, 0x3c
mov ecx, 0x3e
mov dword [esp + 0x10], eax
cmove esi, ecx
mov edx, edi
movzx ecx, byte [eax]
cmp ecx, esi
je 0x4a7aee
nop
inc eax
mov dword [esp + 0x10], eax
mov edx, eax
movzx ecx, byte [eax]
cmp ecx, esi
jne 0x4a7ae0
mov esi, dword [esp + 0x28]
test esi, esi
je 0x4a7b1d
mov ecx, dword [esp + 0x2c]
sub edx, edi
cmp ecx, edx
jne 0x4a7b74
push ecx
push edi
push esi
call fcn.004bfa70
add esp, 0xc
test eax, eax
jne 0x4a7b19
mov eax, dword [ebx]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
cmp eax, dword [ebp + 0x1c]
jae 0x4a7d65
mov edx, dword [esp + 0x30]
mov cl, byte [eax]
cmp cl, 0x5c
jne 0x4a7b7c
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
je 0x4a7d65
cmp cl, 0x51
jne 0x4a7c47
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
je 0x4a7d65
cmp cl, 0x5c
jne 0x4a7b51
inc eax
mov dword [esp + 0x10], eax
cmp byte [eax], 0x45
jne 0x4a7b51
jmp 0x4a7c47
mov esi, dword [esp + 0x14]
mov edi, ecx
jmp 0x4a7b25
cmp cl, 0x5b
jne 0x4a7c62
xor esi, esi
mov cl, byte [eax + 1]
cmp cl, 0x5c
jne 0x4a7bb8
add eax, 2
cmp byte [eax], 0x45
je 0x4a7bc7
push 3
push 0x4e1b58
push eax
call fcn.004bfa70
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x4a7bcd
add eax, 4
mov dword [esp + 0x10], eax
jmp 0x4a7b87
test esi, esi
jne 0x4a7bcd
cmp cl, 0x5e
jne 0x4a7bcd
mov esi, 1
inc eax
mov dword [esp + 0x10], eax
jmp 0x4a7b87
cmp byte [eax + 1], 0x5d
lea ecx, [eax + 1]
jne 0x4a7be0
test dword [ebp + 0x4c], 0x2000000
cmove eax, ecx
inc eax
mov dword [esp + 0x10], eax
mov dl, byte [eax]
cmp dl, 0x5d
je 0x4a7c43
nop dword [eax]
test dl, dl
je 0x4a7d6b
mov ecx, eax
cmp dl, 0x5c
jne 0x4a7c35
inc eax
mov dword [esp + 0x10], eax
mov dl, byte [eax]
test dl, dl
je 0x4a7d65
mov ecx, eax
cmp dl, 0x51
jne 0x4a7c35
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
je 0x4a7d65
cmp cl, 0x5c
jne 0x4a7c15
inc eax
mov dword [esp + 0x10], eax
mov ecx, eax
cmp byte [eax], 0x45
jne 0x4a7c15
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
mov dl, byte [eax]
cmp dl, 0x5d
jne 0x4a7bf0
mov edx, dword [esp + 0x30]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [ebp + 0x1c]
jae 0x4a7d65
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x2c]
jmp 0x4a7b32
test edx, edx
je 0x4a7cfb
cmp cl, 0x23
jne 0x4a7cfb
inc eax
mov dword [esp + 0x10], eax
mov bl, byte [eax]
test bl, bl
je 0x4a7d65
mov esi, eax
mov edx, dword [ebp + 0x60]
mov ecx, dword [ebp + 0x1c]
test edx, edx
je 0x4a7cc0
cmp esi, ecx
jae 0x4a7cdb
push ecx
lea edi, [ebp + 0x64]
push edi
push ecx
mov ecx, eax
call fcn.004b2d60
add esp, 0xc
test eax, eax
je 0x4a7cdb
mov edx, dword [edi]
lea eax, [esi - 1]
add eax, edx
mov dword [esp + 0x10], eax
cmp byte [eax], 0
je 0x4a7d65
mov ebx, dword [esp + 0x38]
jmp 0x4a7c43
mov edx, dword [ebp + 0x64]
sub ecx, edx
cmp esi, ecx
ja 0x4a7cdb
cmp bl, byte [ebp + 0x68]
jne 0x4a7cdb
cmp edx, 1
je 0x4a7ca8
mov al, byte [eax + 1]
cmp al, byte [ebp + 0x69]
je 0x4a7ca8
lea eax, [esi + 1]
mov dword [esp + 0x10], eax
mov esi, eax
mov bl, byte [eax]
test bl, bl
jne 0x4a7c84
mov ecx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
or eax, 0xffffffff
pop ebx
add esp, 0x14
ret
cmp cl, 0x28
jne 0x4a7d29
push ebx
push 0
push edx
push edi
push dword [esp + 0x38]
mov edx, ebp
lea ecx, [esp + 0x24]
call fcn.004a7950
add esp, 0x14
test eax, eax
jg 0x4a7d6e
mov eax, dword [esp + 0x10]
cmp byte [eax], 0
je 0x4a7d65
jmp 0x4a7c43
cmp cl, 0x29
je 0x4a7d58
cmp cl, 0x7c
jne 0x4a7c47
cmp dword [esp + 0x18], 0
je 0x4a7c47
mov ecx, dword [ebx]
cmp ecx, esi
mov edi, dword [esp + 0x1c]
cmovle ecx, esi
mov dword [ebx], edi
mov dword [esp + 0x14], ecx
jmp 0x4a7c47
cmp dword [esp + 0x18], 0
je 0x4a7d65
cmp dword [ebx], esi
jge 0x4a7d65
mov dword [ebx], esi
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret