Function at 0x4a0560
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor cl, cl
push edi
mov eax, dword [esi + 0x4c]
cmp eax, 0xffffffff
je 0x4a0a8a
lea edi, [esi + 8]
nop word [eax + eax]
cmp eax, 0x7c
je 0x4a0a8a
cmp eax, 0x29
jne 0x4a05aa
cmp dword [esi + 0x10], 0
jne 0x4a0a8a
test dword [esi + 0x50], 0x10000000
je 0x4a0a9a
jmp 0x4a0a1b
cmp eax, 0x2e
jne 0x4a0620
push 5
lea ecx, [esi + 0x24]
call fcn.004a04e0
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x4a0a6b
cmp word [eax], 0x5c
jne 0x4a0836
lea edi, [eax + 2]
mov ecx, eax
cmp edi, edx
je 0x4a0614
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x4a05f1
movzx ecx, word [edi]
mov edx, eax
cmp ecx, 0x28
je 0x4a0607
cmp ecx, 0x29
je 0x4a0607
mov ecx, eax
test bl, 0x10
jne 0x4a0614
movzx edi, word [edi]
mov edx, eax
cmp edi, 0x7b
je 0x4a0607
mov edx, ecx
cmp edi, 0x7d
jne 0x4a0614
lea eax, [edx + 2]
add eax, 2
mov dword [esi], eax
jmp 0x4a0a6b
mov eax, ecx
add eax, 2
mov dword [esi], eax
jmp 0x4a0a6b
cmp eax, 0x5c
jne 0x4a0785
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x4a067a
cmp word [eax], 0x5c
jne 0x4a0675
lea ebx, [eax + 2]
mov ecx, eax
cmp ebx, edx
je 0x4a0673
test byte [esi + 0x50], 8
jne 0x4a0657
movzx ecx, word [ebx]
mov edx, eax
cmp ecx, 0x28
je 0x4a066e
cmp ecx, 0x29
je 0x4a066e
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x4a0673
movzx ebx, word [ebx]
mov edx, eax
cmp ebx, 0x7b
je 0x4a066e
mov edx, ecx
cmp ebx, 0x7d
jne 0x4a0673
lea eax, [edx + 2]
jmp 0x4a0675
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0049dd90
test byte [esi + 0x50], 0x80
je 0x4a0779
movzx eax, word [esi + 0x48]
mov ecx, eax
cmp eax, 0x62
jne 0x4a070c
push 4
lea ecx, [esi + 0x24]
call fcn.004a04e0
mov eax, dword [esi]
mov edx, dword [edi]
cmp eax, edx
je 0x4a0700
cmp word [eax], 0x5c
jne 0x4a06fb
lea ebx, [eax + 2]
mov ecx, eax
cmp ebx, edx
je 0x4a06f9
test byte [esi + 0x50], 8
jne 0x4a06ce
movzx ecx, word [ebx]
mov edx, eax
cmp ecx, 0x28
je 0x4a06e5
cmp ecx, 0x29
je 0x4a06e5
mov ecx, eax
test byte [esi + 0x50], 0x10
jne 0x4a06f9
movzx ebx, word [ebx]
mov edx, eax
cmp ebx, 0x7b
je 0x4a06e5
mov edx, ecx
cmp ebx, 0x7d
jne 0x4a06f9
lea eax, [edx + 2]
mov ecx, esi
add eax, 2
mov dword [esi], eax
call fcn.0049dd90
jmp 0x4a0a7c
mov eax, ecx
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0049dd90
jmp 0x4a0a7c
cmp ecx, 0x42
jne 0x4a0779
push 4
lea ecx, [esi + 0x24]
call fcn.004a04e0
mov eax, dword [esi + 0x28]
xor dword [eax + 8], 1
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4a076d
cmp word [eax], 0x5c
jne 0x4a0768
lea ebx, [eax + 2]
cmp ebx, ecx
je 0x4a0768
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4a0751
movzx edx, word [ebx]
mov ecx, eax
cmp edx, 0x28
je 0x4a0765
cmp edx, 0x29
je 0x4a0765
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x4a0768
movzx edx, word [ebx]
mov ecx, eax
cmp edx, 0x7b
je 0x4a0765
cmp edx, 0x7d
jne 0x4a0768
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0049dd90
jmp 0x4a0a7c
mov ecx, esi
call fcn.004a30c0
jmp 0x4a0a72
cmp eax, 0x5b
jne 0x4a0840
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4a07d6
cmp word [eax], 0x5c
jne 0x4a07d1
lea edx, [eax + 2]
cmp edx, ecx
je 0x4a07d1
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x4a07ba
movzx edi, word [edx]
mov ecx, eax
cmp edi, 0x28
je 0x4a07ce
cmp edi, 0x29
je 0x4a07ce
test bl, 0x10
jne 0x4a07d1
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x4a07ce
cmp edx, 0x7d
jne 0x4a07d1
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0049dd90
mov ecx, esi
call fcn.004a2f70
cmp dword [esi + 0x4c], 0x5d
jne 0x4a0aa8
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x4a0a6b
cmp word [eax], 0x5c
jne 0x4a0836
lea edx, [eax + 2]
cmp edx, ecx
je 0x4a0836
mov ebx, dword [esi + 0x50]
test bl, 8
jne 0x4a081f
movzx edi, word [edx]
mov ecx, eax
cmp edi, 0x28
je 0x4a0833
cmp edi, 0x29
je 0x4a0833
test bl, 0x10
jne 0x4a0836
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x4a0833
cmp edx, 0x7d
jne 0x4a0836
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
jmp 0x4a0a6b
cmp eax, 0x28
jne 0x4a0911
mov eax, dword [esi]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4a0894
cmp word [eax], 0x5c
jne 0x4a088f
lea edx, [eax + 2]
cmp edx, ecx
je 0x4a088f
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4a0878
movzx ebx, word [edx]
mov ecx, eax
cmp ebx, 0x28
je 0x4a088c
cmp ebx, 0x29
je 0x4a088c
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x4a088f
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x4a088c
cmp edx, 0x7d
jne 0x4a088f
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0049dd90
mov ecx, esi
call fcn.004a3210
cmp dword [esi + 0x4c], 0x29
mov byte [ebp - 1], al
jne 0x4a0a9a
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x4a08fb
cmp word [eax], 0x5c
jne 0x4a08f6
lea edx, [eax + 2]
cmp edx, ecx
je 0x4a08f6
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4a08df
movzx ebx, word [edx]
mov ecx, eax
cmp ebx, 0x28
je 0x4a08f3
cmp ebx, 0x29
je 0x4a08f3
mov ecx, dword [esi + 0x50]
test cl, 0x10
jne 0x4a08f6
movzx edx, word [edx]
mov ecx, eax
cmp edx, 0x7b
je 0x4a08f3
cmp edx, 0x7d
jne 0x4a08f6
lea eax, [ecx + 2]
add eax, 2
mov dword [esi], eax
mov ecx, esi
call fcn.0049dd90
cmp byte [ebp - 1], 0
je 0x4a0a7c
jmp 0x4a0a72
cmp eax, 0x5e
jne 0x4a0971
push 2
lea ecx, [esi + 0x24]
call fcn.004a04e0
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4a0965
cmp word [eax], 0x5c
jne 0x4a0962
add eax, 2
cmp eax, ecx
je 0x4a0962
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4a094d
movzx edx, word [eax]
cmp edx, 0x28
je 0x4a095f
cmp edx, 0x29
je 0x4a095f
test cl, 0x10
jne 0x4a0962
movzx eax, word [eax]
cmp eax, 0x7b
je 0x4a095f
cmp eax, 0x7d
jne 0x4a0962
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.0049dd90
jmp 0x4a0a7c
cmp eax, 0x24
jne 0x4a09d1
push 3
lea ecx, [esi + 0x24]
call fcn.004a04e0
mov eax, dword [esi]
lea edi, [esi + 8]
mov ecx, dword [edi]
cmp eax, ecx
je 0x4a09c5
cmp word [eax], 0x5c
jne 0x4a09c2
add eax, 2
cmp eax, ecx
je 0x4a09c2
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4a09ad
movzx edx, word [eax]
cmp edx, 0x28
je 0x4a09bf
cmp edx, 0x29
je 0x4a09bf
test cl, 0x10
jne 0x4a09c2
movzx eax, word [eax]
cmp eax, 0x7b
je 0x4a09bf
cmp eax, 0x7d
jne 0x4a09c2
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.0049dd90
jmp 0x4a0a7c
cmp eax, 0x2a
je 0x4a0a93
cmp eax, 0x2b
je 0x4a0a93
cmp eax, 0x3f
je 0x4a0a93
cmp eax, 0x7b
je 0x4a0a93
cmp eax, 0x7d
jne 0x4a0a09
test dword [esi + 0x50], 0x10000000
je 0x4a0aa1
jmp 0x4a0a1b
cmp eax, 0x5d
jne 0x4a0a1b
test dword [esi + 0x50], 0x10000000
je 0x4a0aa8
movzx eax, word [esi + 0x48]
lea ecx, [esi + 0x24]
push eax
call fcn.004a35e0
mov eax, dword [esi]
mov ecx, dword [esi + 8]
cmp eax, ecx
je 0x4a0a6b
cmp word [eax], 0x5c
jne 0x4a0a68
add eax, 2
cmp eax, ecx
je 0x4a0a68
mov ecx, dword [esi + 0x50]
test cl, 8
jne 0x4a0a53
movzx edx, word [eax]
cmp edx, 0x28
je 0x4a0a65
cmp edx, 0x29
je 0x4a0a65
test cl, 0x10
jne 0x4a0a68
movzx eax, word [eax]
cmp eax, 0x7b
je 0x4a0a65
cmp eax, 0x7d
jne 0x4a0a68
add dword [esi], 2
add dword [esi], 2
mov ecx, esi
call fcn.0049dd90
mov ecx, esi
call fcn.004a33b0
lea edi, [esi + 8]
mov eax, dword [esi + 0x4c]
mov cl, 1
cmp eax, 0xffffffff
jne 0x4a0580
pop edi
pop esi
mov al, cl
pop ebx
mov esp, ebp
pop ebp
ret
push 0xa
call fcn.0049d840
push 5
call fcn.0049d840
push 6
call fcn.0049d840
push 4
call fcn.0049d840
int3