Function at 0x471860
Capabilities:
Parse credit card information

Disassembly:
sub esp, 0xc
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push ebx
push ebp
mov ebp, dword [esp + 0x2c]
mov eax, dword [ebp]
push esi
mov esi, dword [esp + 0x24]
mov edx, eax
mov dword [esp + 0xc], ecx
cmp byte [ecx], 0x28
push edi
mov edi, dword [esp + 0x2c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x34], edx
mov dword [esp + 0x14], 0
jne 0x4719fb
mov dl, byte [ecx + 1]
cmp dl, 0x2a
jne 0x4718af
add ecx, 2
mov dword [esp + 0x10], ecx
jmp 0x4719fb
cmp dl, 0x3f
je 0x4718ce
inc eax
mov dword [ebp], eax
test esi, esi
jne 0x4718c4
cmp eax, edi
je 0x471bcf
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x4719fb
mov dl, byte [ecx + 2]
cmp dl, 0x7c
jne 0x4718ea
add ecx, 3
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 1
jmp 0x4719fb
cmp dl, 0x23
jne 0x471924
add ecx, 3
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x471bc6
cmp al, 0x29
je 0x471bc6
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x471900
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
add ecx, 2
mov dword [esp + 0x10], ecx
cmp dl, 0x28
jne 0x471977
cmp byte [ecx + 1], 0x3f
je 0x4719fb
mov al, byte [ecx]
test al, al
je 0x471bc6
cmp al, 0x29
je 0x471964
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x471944
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
cmp byte [ecx], 0
je 0x471bc6
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x4719fb
cmp byte [ecx], 0x50
jne 0x471981
inc ecx
mov dword [esp + 0x10], ecx
mov dl, byte [ecx]
cmp dl, 0x3c
jne 0x471995
mov bl, byte [ecx + 1]
cmp bl, 0x21
je 0x471995
cmp bl, 0x3d
jne 0x47199a
cmp dl, 0x27
jne 0x4719fb
inc eax
mov dword [ebp], eax
test esi, esi
jne 0x4719aa
cmp eax, edi
je 0x471bcf
movzx eax, byte [ecx]
inc ecx
mov dword [esp + 0x10], ecx
cmp eax, 0x3c
jne 0x4719bc
mov eax, 0x3e
movzx ebx, byte [ecx]
mov edx, ecx
cmp ebx, eax
je 0x4719d1
inc ecx
mov dword [esp + 0x10], ecx
movzx ebx, byte [ecx]
cmp ebx, eax
jne 0x4719c5
test esi, esi
je 0x4719fb
mov eax, ecx
sub eax, edx
cmp edi, eax
jne 0x4719fb
push edi
push edx
push esi
call fcn.00489cb1
add esp, 0xc
test eax, eax
jne 0x4719f7
mov eax, dword [ebp]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret
mov ecx, dword [esp + 0x10]
mov al, byte [ecx]
test al, al
je 0x471bc6
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
jmp 0x471a14
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
cmp al, 0x5c
jne 0x471a5d
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x471bc6
cmp al, 0x51
jne 0x471b97
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x471bc6
cmp al, 0x5c
jne 0x471a33
test al, al
je 0x471bc6
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x45
jne 0x471a33
jmp 0x471b97
cmp al, 0x5b
jne 0x471b22
xor esi, esi
mov al, byte [ecx + 1]
cmp al, 0x5c
jne 0x471a9d
add ecx, 2
cmp byte [ecx], 0x45
jne 0x471a7c
mov dword [esp + 0x10], ecx
jmp 0x471a67
push 3
push 0x4b759c
push ecx
call fcn.00489cb1
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x471ab1
add ecx, 4
mov dword [esp + 0x10], ecx
jmp 0x471a67
test esi, esi
jne 0x471ab1
cmp al, 0x5e
jne 0x471ab1
inc ecx
mov esi, 1
mov dword [esp + 0x10], ecx
jmp 0x471a67
cmp byte [ecx + 1], 0x5d
jne 0x471ac1
test dword [ebx + 0x44], 0x2000000
jne 0x471ac1
inc ecx
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
cmp al, 0x5d
je 0x471b97
test al, al
je 0x471bcc
cmp al, 0x5c
jne 0x471b15
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x471bc6
cmp al, 0x51
jne 0x471b15
nop
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x471bc6
cmp al, 0x5c
jne 0x471af0
test al, al
je 0x471bc6
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x45
jne 0x471af0
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
cmp al, 0x5d
jne 0x471ad0
jmp 0x471b97
test edi, edi
je 0x471b4d
cmp al, 0x23
jne 0x471b4d
lea ebx, [ebx]
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x471bc6
cmp al, 0xa
jne 0x471b30
test al, al
je 0x471bc6
jmp 0x471b97
cmp al, 0x28
jne 0x471b76
mov ecx, dword [esp + 0x2c]
push ebp
push edi
push ecx
push esi
lea edx, [esp + 0x20]
push ebx
push edx
call fcn.00471860
add esp, 0x18
test eax, eax
jg 0x471bcf
mov ecx, dword [esp + 0x10]
cmp byte [ecx], 0
je 0x471bc6
jmp 0x471b97
cmp al, 0x29
je 0x471bb7
cmp al, 0x7c
jne 0x471b97
cmp dword [esp + 0x14], 0
je 0x471b97
mov eax, dword [ebp]
cmp eax, edx
jle 0x471b90
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x18]
mov dword [ebp], eax
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x471a10
mov edx, dword [esp + 0x20]
pop edi
pop esi
pop ebp
mov dword [edx], ecx
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret
cmp dword [esp + 0x14], 0
je 0x471bc6
cmp dword [ebp], edx
jge 0x471bc6
mov dword [ebp], edx
mov edx, dword [esp + 0x20]
mov dword [edx], ecx
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret