Function at 0x472740
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
push ebx
push ebp
mov ebp, dword [esp + 0x28]
push esi
mov esi, dword [esp + 0x28]
push edi
mov edi, dword [esp + 0x3c]
mov eax, dword [edi]
mov edx, eax
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x28
mov dword [esp + 0x1c], edx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], 0
jne 0x4728cd
mov dl, byte [ecx + 1]
cmp dl, 0x2a
jne 0x47278e
add ecx, 2
mov dword [esp + 0x10], ecx
jmp 0x4728cd
cmp dl, 0x3f
je 0x4727ac
inc eax
mov dword [edi], eax
test esi, esi
jne 0x4727a2
cmp eax, ebp
je 0x472aff
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x4728cd
mov dl, byte [ecx + 2]
cmp dl, 0x7c
jne 0x4727c8
add ecx, 3
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], 1
jmp 0x4728cd
cmp dl, 0x23
jne 0x472804
add ecx, 3
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x472af6
mov edi, edi
cmp al, 0x29
je 0x472af6
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x4727e0
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret
add ecx, 2
mov dword [esp + 0x10], ecx
cmp dl, 0x28
jne 0x47284b
cmp byte [ecx + 1], 0x3f
je 0x4728cd
mov al, byte [ecx]
test al, al
je 0x4728cd
cmp al, 0x29
je 0x472838
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x472824
jmp 0x4728cd
cmp byte [ecx], 0
je 0x4728cd
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x4728cd
cmp byte [ecx], 0x50
jne 0x472855
inc ecx
mov dword [esp + 0x10], ecx
mov dl, byte [ecx]
cmp dl, 0x3c
jne 0x472869
mov bl, byte [ecx + 1]
cmp bl, 0x21
je 0x472869
cmp bl, 0x3d
jne 0x47286e
cmp dl, 0x27
jne 0x4728cd
inc eax
mov dword [edi], eax
test esi, esi
jne 0x47287d
cmp eax, ebp
je 0x472aff
movzx eax, byte [ecx]
inc ecx
mov dword [esp + 0x10], ecx
cmp eax, 0x3c
jne 0x47288f
mov eax, 0x3e
movzx ebx, byte [ecx]
mov edx, ecx
cmp ebx, eax
je 0x4728a4
inc ecx
mov dword [esp + 0x10], ecx
movzx ebx, byte [ecx]
cmp ebx, eax
jne 0x472898
test esi, esi
je 0x4728cd
mov eax, ecx
sub eax, edx
cmp ebp, eax
jne 0x4728cd
push ebp
push edx
push esi
call fcn.00481cea
add esp, 0xc
test eax, eax
jne 0x4728c9
mov eax, dword [edi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x28]
cmp ecx, dword [ebx + 0x1c]
jae 0x472af6
mov ebp, dword [esp + 0x34]
mov al, byte [ecx]
mov edx, dword [esp + 0x14]
cmp al, 0x5c
jne 0x47292a
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x472af6
cmp al, 0x51
jne 0x472ad6
nop
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x472af6
cmp al, 0x5c
jne 0x472900
test al, al
je 0x472af6
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x45
jne 0x472900
jmp 0x472ad6
cmp al, 0x5b
jne 0x4729f5
xor esi, esi
mov al, byte [ecx + 1]
cmp al, 0x5c
jne 0x47296a
add ecx, 2
cmp byte [ecx], 0x45
jne 0x472949
mov dword [esp + 0x10], ecx
jmp 0x472934
push 3
push 0x49a144
push ecx
call fcn.00481cea
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x47297e
add ecx, 4
mov dword [esp + 0x10], ecx
jmp 0x472934
test esi, esi
jne 0x47297e
cmp al, 0x5e
jne 0x47297e
inc ecx
mov esi, 1
mov dword [esp + 0x10], ecx
jmp 0x472934
cmp byte [ecx + 1], 0x5d
jne 0x47298e
test dword [ebx + 0x48], 0x2000000
jne 0x47298e
inc ecx
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
cmp al, 0x5d
je 0x472ad6
lea ecx, [ecx]
test al, al
je 0x472afc
cmp al, 0x5c
jne 0x4729e5
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x472af6
cmp al, 0x51
jne 0x4729e5
nop
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x472af6
cmp al, 0x5c
jne 0x4729c0
test al, al
je 0x472af6
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x45
jne 0x4729c0
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
cmp al, 0x5d
jne 0x4729a0
jmp 0x472ad6
test ebp, ebp
je 0x472a89
cmp al, 0x23
jne 0x472a89
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x472af6
mov edi, dword [ebx + 0x5c]
test edi, edi
je 0x472a4f
mov edx, dword [ebx + 0x1c]
cmp ecx, edx
jae 0x472a6d
lea esi, [ebx + 0x60]
push edi
call fcn.0047e540
add esp, 4
test eax, eax
je 0x472a6d
mov eax, dword [ebx + 0x60]
lea ecx, [ecx + eax - 1]
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0
je 0x472af6
mov edi, dword [esp + 0x3c]
jmp 0x472ad6
mov edx, dword [ebx + 0x60]
mov esi, dword [ebx + 0x1c]
sub esi, edx
cmp ecx, esi
ja 0x472a6d
cmp al, byte [ebx + 0x64]
jne 0x472a6d
cmp edx, 1
je 0x472a32
mov dl, byte [ecx + 1]
cmp dl, byte [ebx + 0x65]
je 0x472a32
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x472a14
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
mov dword [eax], ecx
or eax, 0xffffffff
pop ebx
add esp, 0x10
ret
cmp al, 0x28
jne 0x472ab7
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x30]
push edi
push ecx
push ebp
push edx
push esi
lea eax, [esp + 0x24]
push ebx
push eax
call fcn.00472740
add esp, 0x1c
test eax, eax
jg 0x472aff
mov ecx, dword [esp + 0x10]
cmp byte [ecx], 0
je 0x472af6
jmp 0x472ad6
cmp al, 0x29
je 0x472ae9
cmp al, 0x7c
jne 0x472ad6
cmp dword [esp + 0x18], 0
je 0x472ad6
mov eax, dword [edi]
cmp eax, edx
jle 0x472ad0
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x1c]
mov dword [edi], edx
inc ecx
mov dword [esp + 0x10], ecx
cmp ecx, dword [ebx + 0x1c]
jae 0x472af6
mov esi, dword [esp + 0x2c]
jmp 0x4728de
cmp dword [esp + 0x18], 0
je 0x472af6
cmp dword [edi], edx
jge 0x472af6
mov dword [edi], edx
mov eax, dword [esp + 0x24]
mov dword [eax], ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret