Function at 0x46d680
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 0x46d6a4
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 0x46d6cf
mov al, byte [ebp + 1]
lea esi, [ebp + 1]
cmp al, 0x2a
jne 0x46d723
lea esi, [ebp + 2]
mov dword [esp + 0x14], esi
mov al, byte [esi]
test al, al
je 0x46d999
lea esp, [esp]
cmp al, 0x5c
jne 0x46d878
mov al, byte [esi + 1]
inc esi
test al, al
je 0x46d999
cmp al, 0x51
jne 0x46d92a
lea esp, [esp]
mov al, byte [esi + 1]
inc esi
test al, al
je 0x46d999
cmp al, 0x5c
jne 0x46d700
test al, al
je 0x46d999
inc esi
cmp byte [esi], 0x45
jne 0x46d700
jmp 0x46d92a
cmp al, 0x3f
je 0x46d750
inc edx
mov dword [esp + 0x10], edx
test edi, edi
jne 0x46d6cb
cmp edx, dword [esp + 0x2c]
jne 0x46d6cb
mov eax, edx
test eax, eax
jg 0x46d748
mov cl, byte [ebp]
inc ebp
test cl, cl
jne 0x46d6a0
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 0x46d76a
lea esi, [ebp + 3]
mov dword [esp + 0x18], 1
jmp 0x46d6cb
cmp al, 0x23
jne 0x46d797
mov al, byte [ebp + 3]
lea esi, [ebp + 3]
test al, al
je 0x46d999
lea esp, [esp]
cmp al, 0x29
je 0x46d999
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x46d780
mov ebp, esi
or eax, 0xffffffff
jmp 0x46d73c
mov dword [esp + 0x14], esi
cmp al, 0x28
jne 0x46d7d8
cmp byte [esi + 1], 0x3f
je 0x46d6cf
mov al, byte [esi]
test al, al
je 0x46d999
cmp al, 0x29
je 0x46d7c9
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x46d7b3
mov ebp, esi
or eax, 0xffffffff
jmp 0x46d73c
cmp byte [esi], 0
je 0x46d999
inc esi
jmp 0x46d6cb
cmp byte [esi], 0x50
jne 0x46d7e2
inc esi
mov dword [esp + 0x14], esi
mov cl, byte [esi]
cmp cl, 0x3c
jne 0x46d7f4
mov al, byte [esi + 1]
cmp al, 0x21
je 0x46d7f4
cmp al, 0x3d
jne 0x46d7fd
cmp cl, 0x27
jne 0x46d6cf
inc edx
mov dword [esp + 0x10], edx
test edi, edi
jne 0x46d810
cmp edx, dword [esp + 0x2c]
je 0x46d736
movzx eax, byte [esi]
inc esi
mov dword [esp + 0x14], esi
cmp eax, 0x3c
jne 0x46d822
mov eax, 0x3e
movzx edi, byte [esi]
mov ecx, esi
cmp edi, eax
je 0x46d83d
jmp 0x46d830
movzx edi, byte [esi + 1]
inc esi
cmp edi, eax
jne 0x46d830
mov dword [esp + 0x14], esi
cmp dword [esp + 0x28], 0
je 0x46d6cf
mov eax, dword [esp + 0x2c]
mov edi, esi
sub edi, ecx
cmp eax, edi
jne 0x46d6cf
push eax
push ecx
mov ecx, dword [esp + 0x30]
push ecx
call 0x4f3021
mov edx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x46d6cf
jmp 0x46d736
cmp al, 0x5b
jne 0x46d944
xor edi, edi
mov al, byte [esi + 1]
cmp al, 0x5c
jne 0x46d8af
cmp byte [esi + 2], 0x45
lea eax, [esi + 2]
jne 0x46d896
mov esi, eax
jmp 0x46d882
push 3
push 0x4b7780
push eax
call 0x4f3060
add esp, 0xc
test eax, eax
jne 0x46d8bf
add esi, 4
jmp 0x46d882
test edi, edi
jne 0x46d8bf
cmp al, 0x5e
jne 0x46d8bf
mov edi, 1
inc esi
jmp 0x46d882
cmp byte [esi + 1], 0x5d
jne 0x46d8d3
mov edx, dword [esp + 0x24]
test dword [edx + 0x44], 0x2000000
jne 0x46d8d3
inc esi
mov al, byte [esi + 1]
inc esi
cmp al, 0x5d
je 0x46d926
jmp 0x46d8e0
test al, al
je 0x46d9cd
cmp al, 0x5c
jne 0x46d91e
mov al, byte [esi + 1]
inc esi
test al, al
je 0x46d995
cmp al, 0x51
jne 0x46d91e
lea esp, [esp]
mov al, byte [esi + 1]
inc esi
test al, al
je 0x46d995
cmp al, 0x5c
jne 0x46d900
test al, al
je 0x46d995
inc esi
cmp byte [esi], 0x45
jne 0x46d900
mov al, byte [esi + 1]
inc esi
cmp al, 0x5d
jne 0x46d8e0
mov edx, dword [esp + 0x10]
mov al, byte [esi + 1]
inc esi
mov dword [esp + 0x14], esi
test al, al
jne 0x46d6e0
mov ebp, esi
or eax, 0xffffffff
jmp 0x46d73c
mov ecx, dword [esp + 0x30]
test ecx, ecx
je 0x46d962
cmp al, 0x23
jne 0x46d962
mov al, byte [esi + 1]
inc esi
test al, al
je 0x46d999
cmp al, 0xa
jne 0x46d950
test al, al
je 0x46d999
jmp 0x46d92a
cmp al, 0x28
jne 0x46d9a3
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 0x4da081
add esp, 0x18
test eax, eax
jg 0x46d9d9
mov esi, dword [esp + 0x14]
cmp byte [esi], 0
jne 0x46d926
mov edx, dword [esp + 0x10]
mov ebp, esi
or eax, 0xffffffff
jmp 0x46d73c
cmp al, 0x29
je 0x46d9e2
cmp al, 0x7c
jne 0x46d92a
cmp dword [esp + 0x18], 0
je 0x46d92a
cmp edx, ebx
jle 0x46d9c0
mov ebx, edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x10], edx
jmp 0x46d92a
mov edx, dword [esp + 0x10]
or eax, 0xffffffff
jmp 0x46d73c
mov edx, dword [esp + 0x10]
jmp 0x46d738
cmp dword [esp + 0x18], 0
je 0x46d999
cmp edx, ebx
jge 0x46d999
mov edx, ebx
mov dword [esp + 0x10], edx
mov ebp, esi
or eax, 0xffffffff
jmp 0x46d73c