Function at 0x4afa30
Capabilities:
Parse credit card information

Disassembly:
push esi
mov esi, ecx
xor cl, cl
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4afd8f
push ebx
push edi
cmp eax, 0x7c
je 0x4afd8d
cmp eax, 0x29
jne 0x4afa6d
cmp dword [esi + 0x10], 0
jne 0x4afd8d
test dword [esi + 0x50], 0x10000000
je 0x4afd9c
jmp 0x4afd23
cmp eax, 0x2e
jne 0x4afa81
push 5
lea ecx, [esi + 0x24]
call fcn.00485220
jmp 0x4afd30
cmp eax, 0x5c
jne 0x4afb53
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x4afacb
cmp byte [eax], 0x5c
jne 0x4afac8
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x4afac6
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x4afab5
mov bl, byte [ecx]
cmp bl, 0x28
je 0x4afac8
cmp bl, 0x29
je 0x4afac8
test dl, 0x10
jne 0x4afac6
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x4afac8
cmp cl, 0x7d
je 0x4afac8
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004b1d20
test byte [esi + 0x50], 0x80
je 0x4afb47
mov al, byte [esi + 0x48]
cmp al, 0x62
jne 0x4afb30
push 4
lea ecx, [esi + 0x24]
call fcn.00485220
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x4afccd
cmp byte [eax], 0x5c
jne 0x4afcca
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x4afcc8
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x4afb28
mov dl, byte [ecx]
cmp dl, 0x28
je 0x4afcca
cmp dl, 0x29
je 0x4afcca
test bl, 0x10
jmp 0x4afcba
cmp al, 0x42
jne 0x4afb47
push 4
lea ecx, [esi + 0x24]
call fcn.00485220
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
jmp 0x4afae9
mov ecx, esi
call fcn.004afdc0
jmp 0x4afd78
cmp eax, 0x5b
jne 0x4afc00
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x4afb9d
cmp byte [eax], 0x5c
jne 0x4afb9a
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x4afb98
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x4afb87
mov bl, byte [ecx]
cmp bl, 0x28
je 0x4afb9a
cmp bl, 0x29
je 0x4afb9a
test dl, 0x10
jne 0x4afb98
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x4afb9a
cmp cl, 0x7d
je 0x4afb9a
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004b1d20
lea ecx, [esi + 0x24]
call fcn.004af270
mov eax, dword [esi + 0x4c]
cmp eax, 0x5e
jne 0x4afbc5
mov eax, dword [esi + 0x28]
mov ecx, esi
xor dword [eax + 8], 1
call fcn.004b1920
mov eax, dword [esi + 0x4c]
test dword [esi + 0x50], 0x20000000
je 0x4afbe3
cmp eax, 0x5d
jne 0x4afbe3
push eax
lea ecx, [esi + 0x24]
call fcn.004af1f0
mov ecx, esi
call fcn.004b1920
mov ecx, esi
call fcn.004b04e0
cmp dword [esi + 0x4c], 0x5d
jne 0x4afdae
mov ecx, esi
call fcn.004b1920
jmp 0x4afd78
cmp eax, 0x28
jne 0x4afc74
mov eax, dword [esi]
mov edx, dword [esi + 8]
cmp eax, edx
je 0x4afc46
cmp byte [eax], 0x5c
jne 0x4afc43
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x4afc41
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x4afc30
mov bl, byte [ecx]
cmp bl, 0x28
je 0x4afc43
cmp bl, 0x29
je 0x4afc43
test dl, 0x10
jne 0x4afc41
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x4afc43
cmp cl, 0x7d
je 0x4afc43
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004b1d20
mov ecx, esi
call fcn.004b1ef0
cmp dword [esi + 0x4c], 0x29
mov bl, al
jne 0x4afd9c
mov ecx, esi
call fcn.004b1920
test bl, bl
je 0x4afd7f
jmp 0x4afd78
cmp eax, 0x5e
jne 0x4afc7d
push 2
jmp 0x4afc84
cmp eax, 0x24
jne 0x4afcd9
push 3
lea ecx, [esi + 0x24]
call fcn.00485220
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x4afccd
cmp byte [eax], 0x5c
jne 0x4afcca
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x4afcc8
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x4afcb7
mov bl, byte [ecx]
cmp bl, 0x28
je 0x4afcca
cmp bl, 0x29
je 0x4afcca
test dl, 0x10
jne 0x4afcc8
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x4afcca
cmp cl, 0x7d
je 0x4afcca
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004b1d20
jmp 0x4afd7f
cmp eax, 0x2a
je 0x4afd93
cmp eax, 0x2b
je 0x4afd93
cmp eax, 0x3f
je 0x4afd93
cmp eax, 0x7b
je 0x4afd93
cmp eax, 0x7d
jne 0x4afd11
test dword [esi + 0x50], 0x10000000
je 0x4afda5
jmp 0x4afd23
cmp eax, 0x5d
jne 0x4afd23
test dword [esi + 0x50], 0x10000000
je 0x4afdae
movzx eax, byte [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004af040
mov edx, dword [esi + 8]
mov eax, dword [esi]
cmp eax, edx
je 0x4afd71
cmp byte [eax], 0x5c
jne 0x4afd6e
lea ecx, [eax + 1]
mov eax, ecx
cmp ecx, edx
je 0x4afd6c
mov edx, dword [esi + 0x50]
test dl, 8
jne 0x4afd5b
mov bl, byte [ecx]
cmp bl, 0x28
je 0x4afd6e
cmp bl, 0x29
je 0x4afd6e
test dl, 0x10
jne 0x4afd6c
mov cl, byte [ecx]
cmp cl, 0x7b
je 0x4afd6e
cmp cl, 0x7d
je 0x4afd6e
mov eax, dword [esi]
inc eax
mov dword [esi], eax
mov ecx, esi
call fcn.004b1d20
mov ecx, esi
call fcn.004b1980
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x4afa43
pop edi
pop ebx
mov al, cl
pop esi
ret
push 0xa
mov ecx, esi
call fcn.004847d0
push 5
mov ecx, esi
call fcn.004847d0
push 6
mov ecx, esi
call fcn.004847d0
push 4
mov ecx, esi
call fcn.004847d0
int3