Function at 0x471be0
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
push ebx
push ebp
mov ebp, dword [eax + 0x18]
push esi
xor edx, edx
push edi
mov edi, dword [esp + 0x28]
mov dword [esp + 0x10], edx
jmp 0x471c04
mov edi, dword [esp + 0x28]
cmp byte [ebp], 0x28
mov esi, ebp
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], edx
mov ebx, edx
mov dword [esp + 0x18], 0
jne 0x471c2f
mov al, byte [ebp + 1]
lea esi, [ebp + 1]
cmp al, 0x2a
jne 0x471c83
lea esi, [ebp + 2]
mov dword [esp + 0x14], esi
mov al, byte [esi]
test al, al
je 0x471ef9
lea esp, [esp]
cmp al, 0x5c
jne 0x471dd8
mov al, byte [esi + 1]
inc esi
test al, al
je 0x471ef9
cmp al, 0x51
jne 0x471e8a
lea esp, [esp]
mov al, byte [esi + 1]
inc esi
test al, al
je 0x471ef9
cmp al, 0x5c
jne 0x471c60
test al, al
je 0x471ef9
inc esi
cmp byte [esi], 0x45
jne 0x471c60
jmp 0x471e8a
cmp al, 0x3f
je 0x471cb0
inc edx
mov dword [esp + 0x10], edx
test edi, edi
jne 0x471c2b
cmp edx, dword [esp + 0x2c]
jne 0x471c2b
mov eax, edx
test eax, eax
jg 0x471ca8
mov cl, byte [ebp]
inc ebp
test cl, cl
jne 0x471c00
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov al, byte [ebp + 2]
lea esi, [ebp + 2]
cmp al, 0x7c
jne 0x471cca
lea esi, [ebp + 3]
mov dword [esp + 0x18], 1
jmp 0x471c2b
cmp al, 0x23
jne 0x471cf7
mov al, byte [ebp + 3]
lea esi, [ebp + 3]
test al, al
je 0x471ef9
lea esp, [esp]
cmp al, 0x29
je 0x471ef9
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x471ce0
mov ebp, esi
or eax, 0xffffffff
jmp 0x471c9c
mov dword [esp + 0x14], esi
cmp al, 0x28
jne 0x471d38
cmp byte [esi + 1], 0x3f
je 0x471c2f
mov al, byte [esi]
test al, al
je 0x471ef9
cmp al, 0x29
je 0x471d29
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x471d13
mov ebp, esi
or eax, 0xffffffff
jmp 0x471c9c
cmp byte [esi], 0
je 0x471ef9
inc esi
jmp 0x471c2b
cmp byte [esi], 0x50
jne 0x471d42
inc esi
mov dword [esp + 0x14], esi
mov cl, byte [esi]
cmp cl, 0x3c
jne 0x471d54
mov al, byte [esi + 1]
cmp al, 0x21
je 0x471d54
cmp al, 0x3d
jne 0x471d5d
cmp cl, 0x27
jne 0x471c2f
inc edx
mov dword [esp + 0x10], edx
test edi, edi
jne 0x471d70
cmp edx, dword [esp + 0x2c]
je 0x471c96
movzx eax, byte [esi]
inc esi
mov dword [esp + 0x14], esi
cmp eax, 0x3c
jne 0x471d82
mov eax, 0x3e
movzx edi, byte [esi]
mov ecx, esi
cmp edi, eax
je 0x471d9d
jmp 0x471d90
movzx edi, byte [esi + 1]
inc esi
cmp edi, eax
jne 0x471d90
mov dword [esp + 0x14], esi
cmp dword [esp + 0x28], 0
je 0x471c2f
mov eax, dword [esp + 0x2c]
mov edi, esi
sub edi, ecx
cmp eax, edi
jne 0x471c2f
push eax
push ecx
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00489cb1
mov edx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x471c2f
jmp 0x471c96
cmp al, 0x5b
jne 0x471ea4
xor edi, edi
mov al, byte [esi + 1]
cmp al, 0x5c
jne 0x471e0f
cmp byte [esi + 2], 0x45
lea eax, [esi + 2]
jne 0x471df6
mov esi, eax
jmp 0x471de2
push 3
push 0x4b759c
push eax
call fcn.00489cb1
add esp, 0xc
test eax, eax
jne 0x471e1f
add esi, 4
jmp 0x471de2
test edi, edi
jne 0x471e1f
cmp al, 0x5e
jne 0x471e1f
mov edi, 1
inc esi
jmp 0x471de2
cmp byte [esi + 1], 0x5d
jne 0x471e33
mov edx, dword [esp + 0x24]
test dword [edx + 0x44], 0x2000000
jne 0x471e33
inc esi
mov al, byte [esi + 1]
inc esi
cmp al, 0x5d
je 0x471e86
jmp 0x471e40
test al, al
je 0x471f2d
cmp al, 0x5c
jne 0x471e7e
mov al, byte [esi + 1]
inc esi
test al, al
je 0x471ef5
cmp al, 0x51
jne 0x471e7e
lea esp, [esp]
mov al, byte [esi + 1]
inc esi
test al, al
je 0x471ef5
cmp al, 0x5c
jne 0x471e60
test al, al
je 0x471ef5
inc esi
cmp byte [esi], 0x45
jne 0x471e60
mov al, byte [esi + 1]
inc esi
cmp al, 0x5d
jne 0x471e40
mov edx, dword [esp + 0x10]
mov al, byte [esi + 1]
inc esi
mov dword [esp + 0x14], esi
test al, al
jne 0x471c40
mov ebp, esi
or eax, 0xffffffff
jmp 0x471c9c
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x471ec2
cmp al, 0x23
jne 0x471ec2
mov al, byte [esi + 1]
inc esi
test al, al
je 0x471ef9
cmp al, 0xa
jne 0x471eb0
test al, al
je 0x471ef9
jmp 0x471e8a
cmp al, 0x28
jne 0x471f03
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x34]
push ecx
push edx
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00471860
add esp, 0x18
test eax, eax
jg 0x471f39
mov esi, dword [esp + 0x14]
cmp byte [esi], 0
jne 0x471e86
mov edx, dword [esp + 0x10]
mov ebp, esi
or eax, 0xffffffff
jmp 0x471c9c
cmp al, 0x29
je 0x471f42
cmp al, 0x7c
jne 0x471e8a
cmp dword [esp + 0x18], 0
je 0x471e8a
cmp edx, ebx
jle 0x471f20
mov ebx, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
jmp 0x471e8a
mov edx, dword [esp + 0x10]
or eax, 0xffffffff
jmp 0x471c9c
mov edx, dword [esp + 0x10]
jmp 0x471c98
cmp dword [esp + 0x18], 0
je 0x471ef9
cmp edx, ebx
jge 0x471ef9
mov edx, ebx
mov dword [esp + 0x10], edx
mov ebp, esi
or eax, 0xffffffff
jmp 0x471c9c