Function at 0x46d450
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 0x46d5eb
mov dl, byte [ecx + 1]
cmp dl, 0x2a
jne 0x46d49f
add ecx, 2
mov dword [esp + 0x10], ecx
jmp 0x46d5eb
cmp dl, 0x3f
je 0x46d4be
inc eax
mov dword [ebp], eax
test esi, esi
jne 0x46d4b4
cmp eax, edi
je 0x46d7bf
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x46d5eb
mov dl, byte [ecx + 2]
cmp dl, 0x7c
jne 0x46d4da
add ecx, 3
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 1
jmp 0x46d5eb
cmp dl, 0x23
jne 0x46d514
add ecx, 3
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x46d7b6
cmp al, 0x29
je 0x46d7b6
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x46d4f0
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 0x46d567
cmp byte [ecx + 1], 0x3f
je 0x46d5eb
mov al, byte [ecx]
test al, al
je 0x46d7b6
cmp al, 0x29
je 0x46d554
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x46d534
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 0x46d7b6
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x46d5eb
cmp byte [ecx], 0x50
jne 0x46d571
inc ecx
mov dword [esp + 0x10], ecx
mov dl, byte [ecx]
cmp dl, 0x3c
jne 0x46d585
mov bl, byte [ecx + 1]
cmp bl, 0x21
je 0x46d585
cmp bl, 0x3d
jne 0x46d58a
cmp dl, 0x27
jne 0x46d5eb
inc eax
mov dword [ebp], eax
test esi, esi
jne 0x46d59a
cmp eax, edi
je 0x46d7bf
movzx eax, byte [ecx]
inc ecx
mov dword [esp + 0x10], ecx
cmp eax, 0x3c
jne 0x46d5ac
mov eax, 0x3e
movzx ebx, byte [ecx]
mov edx, ecx
cmp ebx, eax
je 0x46d5c1
inc ecx
mov dword [esp + 0x10], ecx
movzx ebx, byte [ecx]
cmp ebx, eax
jne 0x46d5b5
test esi, esi
je 0x46d5eb
mov eax, ecx
sub eax, edx
cmp edi, eax
jne 0x46d5eb
push edi
push edx
push esi
call fcn.004776c8
add esp, 0xc
test eax, eax
jne 0x46d5e7
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 0x46d7b6
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
jmp 0x46d604
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
cmp al, 0x5c
jne 0x46d64d
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x46d7b6
cmp al, 0x51
jne 0x46d787
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x46d7b6
cmp al, 0x5c
jne 0x46d623
test al, al
je 0x46d7b6
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x45
jne 0x46d623
jmp 0x46d787
cmp al, 0x5b
jne 0x46d712
xor esi, esi
mov al, byte [ecx + 1]
cmp al, 0x5c
jne 0x46d68d
add ecx, 2
cmp byte [ecx], 0x45
jne 0x46d66c
mov dword [esp + 0x10], ecx
jmp 0x46d657
push 3
push 0x49ea18
push ecx
call fcn.004776c8
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x46d6a1
add ecx, 4
mov dword [esp + 0x10], ecx
jmp 0x46d657
test esi, esi
jne 0x46d6a1
cmp al, 0x5e
jne 0x46d6a1
inc ecx
mov esi, 1
mov dword [esp + 0x10], ecx
jmp 0x46d657
cmp byte [ecx + 1], 0x5d
jne 0x46d6b1
test dword [ebx + 0x44], 0x2000000
jne 0x46d6b1
inc ecx
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
cmp al, 0x5d
je 0x46d787
test al, al
je 0x46d7bc
cmp al, 0x5c
jne 0x46d705
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x46d7b6
cmp al, 0x51
jne 0x46d705
nop
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x46d7b6
cmp al, 0x5c
jne 0x46d6e0
test al, al
je 0x46d7b6
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x45
jne 0x46d6e0
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
cmp al, 0x5d
jne 0x46d6c0
jmp 0x46d787
test edi, edi
je 0x46d73d
cmp al, 0x23
jne 0x46d73d
lea ebx, [ebx]
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x46d7b6
cmp al, 0xa
jne 0x46d720
test al, al
je 0x46d7b6
jmp 0x46d787
cmp al, 0x28
jne 0x46d766
mov ecx, dword [esp + 0x2c]
push ebp
push edi
push ecx
push esi
lea edx, [esp + 0x20]
push ebx
push edx
call fcn.0046d450
add esp, 0x18
test eax, eax
jg 0x46d7bf
mov ecx, dword [esp + 0x10]
cmp byte [ecx], 0
je 0x46d7b6
jmp 0x46d787
cmp al, 0x29
je 0x46d7a7
cmp al, 0x7c
jne 0x46d787
cmp dword [esp + 0x14], 0
je 0x46d787
mov eax, dword [ebp]
cmp eax, edx
jle 0x46d780
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 0x46d600
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 0x46d7b6
cmp dword [ebp], edx
jge 0x46d7b6
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