Function at 0x471678
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4720ad
push dword fs:[eax]
mov dword fs:[eax], esp
xor esi, esi
mov eax, dword [ebp - 0xc]
xor edx, edx
mov dword [eax], edx
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov edx, eax
dec edx
movzx edx, byte [edx]
cmp edx, 0x2e
jg 0x471703
je 0x4717c8
cmp edx, 0x28
jg 0x4716eb
je 0x471ae8
sub edx, 1
jb 0x471c2c
sub edx, 0x23
je 0x471780
jmp 0x471ec1
sub edx, 0x29
je 0x471c2c
dec edx
sub edx, 2
jb 0x471c3d
jmp 0x471ec1
cmp edx, 0x5c
jg 0x471725
je 0x471c4e
sub edx, 0x3f
je 0x471c3d
sub edx, 0x1c
je 0x47180e
jmp 0x471ec1
sub edx, 0x5e
je 0x471738
sub edx, 0x1e
je 0x471c2c
jmp 0x471ec1
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 0x10
je 0x47175c
mov eax, dword [ebp - 4]
cmp dword [eax + 0x128], 0
jne 0x47176e
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12c], 0
jne 0x47176e
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00470488
mov dword [ebp - 8], eax
jmp 0x47208f
mov dl, 0x22
mov eax, dword [ebp - 4]
call fcn.00470488
mov dword [ebp - 8], eax
jmp 0x47208f
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 0x10
je 0x4717a4
mov eax, dword [ebp - 4]
cmp dword [eax + 0x128], 0
jne 0x4717b6
mov eax, dword [ebp - 4]
cmp byte [eax + 0x12c], 0
jne 0x4717b6
mov dl, 2
mov eax, dword [ebp - 4]
call fcn.00470488
mov dword [ebp - 8], eax
jmp 0x47208f
mov dl, 0x23
mov eax, dword [ebp - 4]
call fcn.00470488
mov dword [ebp - 8], eax
jmp 0x47208f
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 4
je 0x4717f6
mov dl, 3
mov eax, dword [ebp - 4]
call fcn.00470488
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x47208f
mov dl, 0x24
mov eax, dword [ebp - 4]
call fcn.00470488
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
or dword [eax], 1
jmp 0x47208f
cmp byte [eax], 0x5e
jne 0x471844
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 1
je 0x47182d
push ebp
mov al, 0x16
call fcn.004711e0
pop ecx
mov dword [ebp - 8], eax
jmp 0x471839
push ebp
mov al, 5
call fcn.004711e0
pop ecx
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
jmp 0x47186a
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 1
je 0x47185e
push ebp
mov al, 0x15
call fcn.004711e0
pop ecx
mov dword [ebp - 8], eax
jmp 0x47186a
push ebp
mov al, 4
call fcn.004711e0
pop ecx
mov dword [ebp - 8], eax
mov byte [ebp - 0x3f], 0
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
cmp al, 0x5d
jne 0x471a8b
push ebp
call fcn.004714d8
pop ecx
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
jmp 0x471a8b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov dl, byte [eax]
cmp dl, 0x2d
jne 0x4719e5
mov ecx, eax
inc ecx
cmp byte [ecx], 0
je 0x4719e5
inc eax
cmp byte [eax], 0x5d
je 0x4719e5
cmp byte [ebp - 0x3f], 0
je 0x4719e5
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov bl, byte [eax]
cmp bl, 0x5c
jne 0x471920
inc eax
mov al, byte [eax]
add al, 0xc0
cmp al, 0x37
ja 0x4718f6
and eax, 0x7f
bt dword [0x4720c0], eax
jae 0x471906
push ebp
mov al, 0x2d
call fcn.004712e4
pop ecx
jmp 0x471a8b
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
push ebp
mov eax, dword [ebp - 4]
add eax, 0xe0
call fcn.00471528
pop ecx
mov ebx, eax
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 2
je 0x471948
cmp byte [ebp - 0x40], 0xe0
jne 0x471948
cmp bl, 0xff
jne 0x471948
push ebp
mov eax, 0x4720d0
call fcn.004714f4
pop ecx
jmp 0x4719d7
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 2
je 0x47196d
cmp byte [ebp - 0x40], 0xc0
jne 0x47196d
cmp bl, 0xdf
jne 0x47196d
push ebp
mov eax, 0x4720fc
call fcn.004714f4
pop ecx
jmp 0x4719d7
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 2
je 0x47199e
cmp byte [ebp - 0x40], 0xe0
jne 0x47199e
cmp bl, 0xdf
jne 0x47199e
push ebp
mov eax, 0x4720d0
call fcn.004714f4
pop ecx
push ebp
mov eax, 0x4720fc
call fcn.004714f4
pop ecx
jmp 0x4719d7
cmp bl, byte [ebp - 0x40]
jae 0x4719b4
mov edx, 0x6d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x472092
inc byte [ebp - 0x40]
push ebp
mov eax, ebx
call fcn.004712e4
pop ecx
cmp bl, byte [ebp - 0x40]
jbe 0x4719d7
push ebp
mov al, byte [ebp - 0x40]
call fcn.004712e4
pop ecx
inc byte [ebp - 0x40]
cmp bl, byte [ebp - 0x40]
ja 0x4719c5
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
jmp 0x471a8b
cmp dl, 0x5c
jne 0x471a79
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0
jne 0x471a16
mov edx, 0x6e
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x472092
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
sub al, 0x64
je 0x471a2f
sub al, 0xf
je 0x471a4f
sub al, 4
je 0x471a3d
jmp 0x471a61
push ebp
mov eax, 0x472128
call fcn.004714f4
pop ecx
jmp 0x471a82
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11c]
call fcn.004714f4
pop ecx
jmp 0x471a82
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
call fcn.004714f4
pop ecx
jmp 0x471a82
push ebp
push ebp
mov eax, dword [ebp - 4]
add eax, 0xe0
call fcn.00471528
pop ecx
call fcn.004714d8
pop ecx
jmp 0x471a82
push ebp
mov eax, edx
call fcn.004714d8
pop ecx
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
test al, al
je 0x471aa2
cmp al, 0x5d
jne 0x471896
push ebp
xor eax, eax
call fcn.004712e4
pop ecx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x5d
je 0x471aca
mov edx, 0x71
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x472092
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x47208f
cmp byte [eax], 0x3f
jne 0x471bfc
inc eax
cmp byte [eax], 0x23
jne 0x471b59
mov eax, dword [ebp - 4]
add dword [eax + 0xe0], 2
jmp 0x471b0c
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
test al, al
je 0x471b1f
cmp al, 0x29
jne 0x471b03
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x29
je 0x471b3e
mov edx, 0x7d
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x472092
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov dl, 0x13
mov eax, dword [ebp - 4]
call fcn.00470488
mov dword [ebp - 8], eax
jmp 0x47208f
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xe0]
jmp 0x471b76
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
test al, al
je 0x471b89
cmp al, 0x29
jne 0x471b6d
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0xe0]
cmp byte [edi], 0x29
jne 0x471bd0
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x4c]
mov edx, ebx
call fcn.00404404
mov eax, dword [ebp - 0x4c]
mov ecx, edi
sub ecx, ebx
mov edx, 1
call fcn.00404748
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
lea ecx, [eax + 0x110]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.00470044
test al, al
jne 0x471be1
mov edx, 0x7f
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x472092
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov dl, 0x13
mov eax, dword [ebp - 4]
call fcn.00470488
mov dword [ebp - 8], eax
jmp 0x47208f
lea ecx, [ebp - 0x44]
mov edx, 1
mov eax, dword [ebp - 4]
call fcn.00470810
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x471c1c
xor esi, esi
jmp 0x472092
mov eax, dword [ebp - 0x44]
and eax, 5
mov edx, dword [ebp - 0xc]
or dword [edx], eax
jmp 0x47208f
mov edx, 0x72
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x472092
mov edx, 0x73
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x472092
cmp byte [eax], 0
jne 0x471c64
mov edx, 0x74
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x472092
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
movzx eax, byte [eax]
cmp eax, 0x57
jg 0x471caf
je 0x471e16
cmp eax, 0x42
jg 0x471c98
je 0x471cee
add eax, 0xffffffcf
sub eax, 9
jb 0x471e4d
sub eax, 7
je 0x471d00
jmp 0x471e9d
sub eax, 0x44
je 0x471d46
sub eax, 0xf
je 0x471da2
jmp 0x471e9d
cmp eax, 0x64
jg 0x471cc5
je 0x471d24
sub eax, 0x5a
je 0x471d12
sub eax, 8
je 0x471cdc
jmp 0x471e9d
sub eax, 0x73
je 0x471d68
sub eax, 4
je 0x471ddc
jmp 0x471e9d
mov dl, 0x25
mov eax, dword [ebp - 4]
call fcn.00470488
mov dword [ebp - 8], eax
jmp 0x471eb3
mov dl, 0x26
mov eax, dword [ebp - 4]
call fcn.00470488
mov dword [ebp - 8], eax
jmp 0x471eb3
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00470488
mov dword [ebp - 8], eax
jmp 0x471eb3
mov dl, 2
mov eax, dword [ebp - 4]
call fcn.00470488
mov dword [ebp - 8], eax
jmp 0x471eb3
mov dl, 0xc
mov eax, dword [ebp - 4]
call fcn.00470488
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x471eb3
mov dl, 0xd
mov eax, dword [ebp - 4]
call fcn.00470488
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x471eb3
push ebp
mov al, 4
call fcn.004711e0
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
call fcn.004714f4
pop ecx
push ebp
xor eax, eax
call fcn.004712e4
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x471eb3
push ebp
mov al, 5
call fcn.004711e0
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x118]
call fcn.004714f4
pop ecx
push ebp
xor eax, eax
call fcn.004712e4
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x471eb3
push ebp
mov al, 4
call fcn.004711e0
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11c]
call fcn.004714f4
pop ecx
push ebp
xor eax, eax
call fcn.004712e4
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x471eb3
push ebp
mov al, 5
call fcn.004711e0
pop ecx
mov dword [ebp - 8], eax
push ebp
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x11c]
call fcn.004714f4
pop ecx
push ebp
xor eax, eax
call fcn.004712e4
pop ecx
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x471eb3
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 1
je 0x471e68
mov dl, 0x1d
mov eax, dword [ebp - 4]
call fcn.00470488
mov dword [ebp - 8], eax
jmp 0x471e75
mov dl, 0x1c
mov eax, dword [ebp - 4]
call fcn.00470488
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov dl, byte [eax]
sub dl, 0x30
mov eax, dword [ebp - 4]
call fcn.004704c4
mov eax, dword [ebp - 0xc]
mov eax, dword [eax]
or eax, 1
or eax, 2
mov edx, dword [ebp - 0xc]
mov dword [edx], eax
jmp 0x471eb3
push ebp
push ebp
mov eax, dword [ebp - 4]
add eax, 0xe0
call fcn.00471528
pop ecx
call fcn.00471128
pop ecx
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
jmp 0x47208f
mov eax, dword [ebp - 4]
dec dword [eax + 0xe0]
mov edx, dword [ebp - 4]
test byte [edx + 0x110], 0x20
je 0x471f7f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
cmp al, 0x23
je 0x471efb
add al, 0xf7
sub al, 2
jb 0x471efb
sub al, 2
je 0x471efb
sub al, 0x13
jne 0x471f7f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x23
jne 0x471f54
jmp 0x471f14
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
test al, al
je 0x471f36
cmp al, 0xd
je 0x471f36
cmp al, 0xa
jne 0x471f0b
jmp 0x471f36
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
cmp al, 0xd
je 0x471f2d
cmp al, 0xa
je 0x471f2d
jmp 0x471f6d
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
add al, 0xf7
sub al, 2
jb 0x471f4b
sub al, 2
je 0x471f4b
sub al, 0x13
je 0x471f4b
mov dl, 0x13
mov eax, dword [ebp - 4]
call fcn.00470488
mov dword [ebp - 8], eax
jmp 0x47208f
mov edx, 0x4ac1b8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
call fcn.00470548
mov ebx, eax
test ebx, ebx
jg 0x471fc7
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0xe0]
cmp byte [ebx], 0x7b
je 0x471fb7
mov edx, 0x77
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx]
jmp 0x472092
mov edx, 0x4ac1b8
mov eax, ebx
inc eax
call fcn.00470548
inc eax
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
add eax, ebx
mov al, byte [eax]
cmp ebx, 1
jle 0x471fea
cmp al, 0x2a
je 0x471fe9
cmp al, 0x2b
je 0x471fe9
cmp al, 0x3f
je 0x471fe9
cmp al, 0x7b
jne 0x471fea
dec ebx
mov eax, dword [ebp - 0xc]
or dword [eax], 1
cmp ebx, 1
jne 0x471ffb
mov eax, dword [ebp - 0xc]
or dword [eax], 2
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 1
je 0x472016
mov dl, 0x14
mov eax, dword [ebp - 4]
call fcn.00470488
mov dword [ebp - 8], eax
jmp 0x472067
mov dl, 8
mov eax, dword [ebp - 4]
call fcn.00470488
mov dword [ebp - 8], eax
jmp 0x472067
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 0x20
je 0x47204a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov al, byte [eax]
add al, 0xf7
sub al, 2
jb 0x47205d
sub al, 2
je 0x47205d
sub al, 0x13
je 0x47205d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
mov dl, byte [eax]
mov eax, dword [ebp - 4]
call fcn.004704c4
mov eax, dword [ebp - 4]
inc dword [eax + 0xe0]
dec ebx
test ebx, ebx
jle 0x472085
mov eax, dword [ebp - 4]
test byte [eax + 0x110], 0x20
je 0x472025
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xe0]
cmp byte [eax], 0x23
jne 0x472025
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.004704c4
mov esi, dword [ebp - 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4720b4
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00404230
ret