Function at 0x46a0b0
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 0x46a24b
mov dl, byte [ecx + 1]
cmp dl, 0x2a
jne 0x46a0ff
add ecx, 2
mov dword [esp + 0x10], ecx
jmp 0x46a24b
cmp dl, 0x3f
je 0x46a11e
inc eax
mov dword [ebp], eax
test esi, esi
jne 0x46a114
cmp eax, edi
je 0x46a41f
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x46a24b
mov dl, byte [ecx + 2]
cmp dl, 0x7c
jne 0x46a13a
add ecx, 3
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], 1
jmp 0x46a24b
cmp dl, 0x23
jne 0x46a174
add ecx, 3
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x46a416
cmp al, 0x29
je 0x46a416
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x46a150
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 0x46a1c7
cmp byte [ecx + 1], 0x3f
je 0x46a24b
mov al, byte [ecx]
test al, al
je 0x46a416
cmp al, 0x29
je 0x46a1b4
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
jne 0x46a194
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 0x46a416
inc ecx
mov dword [esp + 0x10], ecx
jmp 0x46a24b
cmp byte [ecx], 0x50
jne 0x46a1d1
inc ecx
mov dword [esp + 0x10], ecx
mov dl, byte [ecx]
cmp dl, 0x3c
jne 0x46a1e5
mov bl, byte [ecx + 1]
cmp bl, 0x21
je 0x46a1e5
cmp bl, 0x3d
jne 0x46a1ea
cmp dl, 0x27
jne 0x46a24b
inc eax
mov dword [ebp], eax
test esi, esi
jne 0x46a1fa
cmp eax, edi
je 0x46a41f
movzx eax, byte [ecx]
inc ecx
mov dword [esp + 0x10], ecx
cmp eax, 0x3c
jne 0x46a20c
mov eax, 0x3e
movzx ebx, byte [ecx]
mov edx, ecx
cmp ebx, eax
je 0x46a221
inc ecx
mov dword [esp + 0x10], ecx
movzx ebx, byte [ecx]
cmp ebx, eax
jne 0x46a215
test esi, esi
je 0x46a24b
mov eax, ecx
sub eax, edx
cmp edi, eax
jne 0x46a24b
push edi
push edx
push esi
call fcn.0047b9c1
add esp, 0xc
test eax, eax
jne 0x46a247
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 0x46a416
mov edi, dword [esp + 0x30]
mov ebx, dword [esp + 0x24]
jmp 0x46a264
mov esi, dword [esp + 0x28]
mov edx, dword [esp + 0x34]
cmp al, 0x5c
jne 0x46a2ad
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x46a416
cmp al, 0x51
jne 0x46a3e7
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x46a416
cmp al, 0x5c
jne 0x46a283
test al, al
je 0x46a416
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x45
jne 0x46a283
jmp 0x46a3e7
cmp al, 0x5b
jne 0x46a372
xor esi, esi
mov al, byte [ecx + 1]
cmp al, 0x5c
jne 0x46a2ed
add ecx, 2
cmp byte [ecx], 0x45
jne 0x46a2cc
mov dword [esp + 0x10], ecx
jmp 0x46a2b7
push 3
push 0x497ad0
push ecx
call fcn.0047b9c1
mov ecx, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x46a301
add ecx, 4
mov dword [esp + 0x10], ecx
jmp 0x46a2b7
test esi, esi
jne 0x46a301
cmp al, 0x5e
jne 0x46a301
inc ecx
mov esi, 1
mov dword [esp + 0x10], ecx
jmp 0x46a2b7
cmp byte [ecx + 1], 0x5d
jne 0x46a311
test dword [ebx + 0x44], 0x2000000
jne 0x46a311
inc ecx
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
cmp al, 0x5d
je 0x46a3e7
test al, al
je 0x46a41c
cmp al, 0x5c
jne 0x46a365
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x46a416
cmp al, 0x51
jne 0x46a365
nop
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x46a416
cmp al, 0x5c
jne 0x46a340
test al, al
je 0x46a416
inc ecx
mov dword [esp + 0x10], ecx
cmp byte [ecx], 0x45
jne 0x46a340
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
cmp al, 0x5d
jne 0x46a320
jmp 0x46a3e7
test edi, edi
je 0x46a39d
cmp al, 0x23
jne 0x46a39d
lea ebx, [ebx]
inc ecx
mov dword [esp + 0x10], ecx
mov al, byte [ecx]
test al, al
je 0x46a416
cmp al, 0xa
jne 0x46a380
test al, al
je 0x46a416
jmp 0x46a3e7
cmp al, 0x28
jne 0x46a3c6
mov ecx, dword [esp + 0x2c]
push ebp
push edi
push ecx
push esi
lea edx, [esp + 0x20]
push ebx
push edx
call fcn.0046a0b0
add esp, 0x18
test eax, eax
jg 0x46a41f
mov ecx, dword [esp + 0x10]
cmp byte [ecx], 0
je 0x46a416
jmp 0x46a3e7
cmp al, 0x29
je 0x46a407
cmp al, 0x7c
jne 0x46a3e7
cmp dword [esp + 0x14], 0
je 0x46a3e7
mov eax, dword [ebp]
cmp eax, edx
jle 0x46a3e0
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 0x46a260
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 0x46a416
cmp dword [ebp], edx
jge 0x46a416
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