Function at 0x4a3230
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x10
push ebx
mov eax, ecx
mov dword [esp + 0xc], 0
push ebp
mov ebp, dword [esp + 0x2c]
mov ebx, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x14], eax
mov eax, dword [eax]
mov ecx, dword [ebp]
push esi
mov dword [esp + 0xc], eax
mov esi, ecx
cmp byte [eax], 0x28
push edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x34], esi
jne 0x4a3406
mov cl, byte [eax + 1]
cmp cl, 0x2a
jne 0x4a3283
add eax, 2
mov dword [esp + 0x10], eax
jmp 0x4a3406
cmp cl, 0x3f
je 0x4a32aa
mov ecx, esi
inc ecx
mov dword [ebp], ecx
test edx, edx
jne 0x4a32a0
cmp ecx, edi
jne 0x4a32a0
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
inc eax
mov dword [esp + 0x10], eax
jmp 0x4a3406
mov cl, byte [eax + 2]
cmp cl, 0x7c
jne 0x4a32c6
add eax, 3
mov dword [esp + 0x18], 1
mov dword [esp + 0x10], eax
jmp 0x4a3406
cmp cl, 0x23
jne 0x4a3309
lea edx, [eax + 3]
mov eax, edx
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
je 0x4a36a1
nop
cmp cl, 0x29
je 0x4a36a1
lea eax, [edx + 1]
mov dword [esp + 0x10], eax
mov edx, eax
mov cl, byte [eax]
test cl, cl
jne 0x4a32e0
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret
add eax, 2
mov dword [esp + 0x10], eax
cmp cl, 0x28
jne 0x4a335e
cmp byte [eax + 1], 0x3f
je 0x4a3406
mov cl, byte [eax]
test cl, cl
je 0x4a3406
mov edx, eax
nop dword [eax + eax]
cmp cl, 0x29
je 0x4a3349
lea eax, [edx + 1]
mov dword [esp + 0x10], eax
mov edx, eax
mov cl, byte [eax]
test cl, cl
jne 0x4a3330
jmp 0x4a3406
cmp byte [eax], 0
je 0x4a3406
lea eax, [edx + 1]
mov dword [esp + 0x10], eax
jmp 0x4a3406
cmp byte [eax], 0x50
mov edi, eax
jne 0x4a336e
lea edi, [eax + 1]
mov eax, edi
mov dword [esp + 0x10], eax
mov cl, byte [eax]
cmp cl, 0x3c
jne 0x4a3382
mov dl, byte [eax + 1]
cmp dl, 0x21
je 0x4a3382
cmp dl, 0x3d
jne 0x4a3387
cmp cl, 0x27
jne 0x4a3402
mov eax, esi
inc eax
cmp dword [esp + 0x24], 0
mov dword [ebp], eax
jne 0x4a339e
cmp eax, dword [esp + 0x28]
je 0x4a36aa
movzx esi, cl
lea eax, [edi + 1]
cmp esi, 0x3c
mov dword [esp + 0x10], eax
mov ecx, 0x3e
mov edi, eax
cmove esi, ecx
mov edx, edi
movzx ecx, byte [eax]
cmp ecx, esi
je 0x4a33ce
nop
inc eax
mov dword [esp + 0x10], eax
mov edx, eax
movzx ecx, byte [eax]
cmp ecx, esi
jne 0x4a33c0
mov esi, dword [esp + 0x24]
test esi, esi
je 0x4a33fe
mov ecx, dword [esp + 0x28]
sub edx, edi
cmp ecx, edx
jne 0x4a345d
push ecx
push edi
push esi
call fcn.004b7e30
add esp, 0xc
test eax, eax
jne 0x4a33fa
mov eax, dword [ebp]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
cmp eax, dword [ebx + 0x1c]
jae 0x4a36a1
mov edx, dword [esp + 0x2c]
mov cl, byte [eax]
cmp cl, 0x5c
jne 0x4a3465
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
je 0x4a36a1
cmp cl, 0x51
jne 0x4a35e0
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
je 0x4a36a1
cmp cl, 0x5c
jne 0x4a3432
test cl, cl
je 0x4a36a1
inc eax
mov dword [esp + 0x10], eax
cmp byte [eax], 0x45
jne 0x4a3432
jmp 0x4a35e0
mov esi, dword [esp + 0x34]
mov edi, ecx
jmp 0x4a3406
cmp cl, 0x5b
jne 0x4a3540
xor esi, esi
mov cl, byte [eax + 1]
lea edx, [eax + 1]
cmp cl, 0x5c
jne 0x4a34a4
add eax, 2
cmp byte [eax], 0x45
je 0x4a34b4
push 3
push 0x4dd0b8
push eax
call fcn.004b7e30
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x10]
jne 0x4a34ba
add eax, 4
mov dword [esp + 0x10], eax
jmp 0x4a3470
test esi, esi
jne 0x4a34ba
cmp cl, 0x5e
jne 0x4a34ba
mov esi, 1
mov eax, edx
mov dword [esp + 0x10], eax
jmp 0x4a3470
cmp byte [eax + 1], 0x5d
lea ecx, [eax + 1]
jne 0x4a34cd
test dword [ebx + 0x4c], 0x2000000
cmove eax, ecx
inc eax
mov dword [esp + 0x10], eax
mov dl, byte [eax]
cmp dl, 0x5d
je 0x4a35dc
nop dword [eax]
test dl, dl
je 0x4a36a7
mov ecx, eax
cmp dl, 0x5c
jne 0x4a352d
inc eax
mov dword [esp + 0x10], eax
mov dl, byte [eax]
test dl, dl
je 0x4a36a1
mov ecx, eax
cmp dl, 0x51
jne 0x4a352d
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
je 0x4a36a1
cmp cl, 0x5c
jne 0x4a3505
test cl, cl
je 0x4a36a1
inc eax
mov dword [esp + 0x10], eax
mov ecx, eax
cmp byte [eax], 0x45
jne 0x4a3505
lea eax, [ecx + 1]
mov dword [esp + 0x10], eax
mov dl, byte [eax]
cmp dl, 0x5d
jne 0x4a34e0
jmp 0x4a35dc
test edx, edx
je 0x4a3638
cmp cl, 0x23
jne 0x4a3638
inc eax
mov dword [esp + 0x10], eax
mov cl, byte [eax]
test cl, cl
je 0x4a36a1
mov edi, eax
mov edx, dword [ebx + 0x60]
mov esi, dword [ebx + 0x1c]
test edx, edx
je 0x4a35fb
cmp edi, esi
jae 0x4a3616
mov cl, byte [edi]
cmp edx, 2
jne 0x4a359c
cmp cl, 0xa
je 0x4a35c4
cmp cl, 0xd
jne 0x4a3616
lea ecx, [esi - 1]
cmp edi, ecx
jae 0x4a35c4
cmp byte [edi + 1], 0xa
jne 0x4a35c4
jmp 0x4a35c9
cmp cl, 0x85
ja 0x4a3616
je 0x4a35c4
cmp cl, 0xa
jb 0x4a3616
cmp cl, 0xc
jbe 0x4a35c4
cmp cl, 0xd
jne 0x4a3616
lea ecx, [esi - 1]
cmp edi, ecx
jae 0x4a35c4
cmp byte [edi + 1], 0xa
mov edx, 2
je 0x4a35c9
mov edx, 1
mov dword [ebx + 0x64], edx
dec eax
add eax, edx
mov dword [esp + 0x10], eax
cmp byte [eax], 0
je 0x4a36a1
mov edx, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x10], eax
cmp eax, dword [ebx + 0x1c]
jae 0x4a36a1
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x28]
jmp 0x4a3413
mov edx, dword [ebx + 0x64]
sub esi, edx
cmp edi, esi
ja 0x4a3616
cmp cl, byte [ebx + 0x68]
jne 0x4a3616
cmp edx, 1
je 0x4a35cc
mov cl, byte [eax + 1]
cmp cl, byte [ebx + 0x69]
je 0x4a35cc
inc eax
mov dword [esp + 0x10], eax
mov edi, eax
mov cl, byte [eax]
test cl, cl
jne 0x4a3562
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
mov dword [ecx], eax
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret
cmp cl, 0x28
jne 0x4a3661
push ebp
push 0
push edx
push edi
push dword [esp + 0x34]
mov edx, ebx
lea ecx, [esp + 0x24]
call fcn.004a3230
add esp, 0x14
test eax, eax
jg 0x4a36aa
mov eax, dword [esp + 0x10]
jmp 0x4a35d3
cmp cl, 0x29
je 0x4a3692
cmp cl, 0x7c
jne 0x4a35e0
cmp dword [esp + 0x18], 0
je 0x4a35e0
mov ecx, dword [ebp]
cmp ecx, esi
mov edi, dword [esp + 0x14]
cmovle ecx, esi
mov dword [ebp], edi
mov dword [esp + 0x34], ecx
jmp 0x4a35e0
cmp dword [esp + 0x18], 0
je 0x4a36a1
cmp dword [ebp], esi
jge 0x4a36a1
mov dword [ebp], esi
mov ecx, dword [esp + 0x1c]
mov dword [ecx], eax
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret