Function at 0x465c20
Capabilities:
Validate payment card number using luhn algorithm

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x4e4150]
xor eax, ebp
mov dword [ebp - 0x40], eax
push esi
push edi
mov byte [ebp - 0x50], 0
xor eax, eax
mov dword [ebp - 0x4f], eax
mov dword [ebp - 0x4b], eax
mov dword [ebp - 0x47], eax
mov byte [ebp - 0x43], al
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x58], ecx
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov eax, dword [ebp - 0x58]
mov cl, byte [eax]
mov byte [ebp - 0x5d], cl
add dword [ebp - 0x58], 1
cmp byte [ebp - 0x5d], 0
jne 0x465c53
mov edx, dword [ebp - 0x58]
sub edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x68], edx
lea ecx, [ebp - 0x50]
add ecx, 0xffffffff
mov dword [ebp - 0x6c], ecx
mov edx, dword [ebp - 0x6c]
mov al, byte [edx + 1]
mov byte [ebp - 0x6d], al
add dword [ebp - 0x6c], 1
cmp byte [ebp - 0x6d], 0
jne 0x465c7d
mov edi, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x64]
mov edx, dword [ebp - 0x68]
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x74], eax
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x78], ecx
mov edx, dword [ebp - 0x74]
mov al, byte [edx]
mov byte [ebp - 0x79], al
add dword [ebp - 0x74], 1
cmp byte [ebp - 0x79], 0
jne 0x465cb3
mov ecx, dword [ebp - 0x74]
sub ecx, dword [ebp - 0x78]
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x84], ecx
lea eax, [ebp - 0x50]
add eax, 0xffffffff
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
mov dl, byte [ecx + 1]
mov byte [ebp - 0x89], dl
add dword [ebp - 0x88], 1
cmp byte [ebp - 0x89], 0
jne 0x465ce3
mov edi, dword [ebp - 0x88]
mov esi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x84]
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x50]
test ecx, ecx
jne 0x465d2d
xor eax, eax
jmp 0x465e0f
lea edx, [ebp - 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp eax, 0xd
je 0x465d43
xor eax, eax
jmp 0x465e0f
mov dword [ebp - 0x34], 2
mov dword [ebp - 0x30], 3
mov dword [ebp - 0x2c], 4
mov dword [ebp - 0x28], 5
mov dword [ebp - 0x24], 6
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0x18], 9
mov dword [ebp - 0x14], 2
mov dword [ebp - 0x10], 3
mov dword [ebp - 0xc], 4
mov dword [ebp - 8], 5
mov dword [ebp - 4], 0
mov dword [ebp - 0x54], 0
jmp 0x465db0
mov eax, dword [ebp - 0x54]
add eax, 1
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0xc
jge 0x465dd1
mov ecx, dword [ebp - 0x54]
movsx edx, byte [ebp + ecx - 0x50]
sub edx, 0x30
mov eax, dword [ebp - 0x54]
imul edx, dword [ebp + eax*4 - 0x34]
add edx, dword [ebp - 4]
mov dword [ebp - 4], edx
jmp 0x465da7
mov eax, dword [ebp - 4]
cdq
mov ecx, 0xb
idiv ecx
imul eax, eax, 0xb
add eax, 0xb
sub eax, dword [ebp - 4]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
cdq
mov ecx, 0xa
idiv ecx
imul eax, eax, 0xa
mov edx, dword [ebp - 0x3c]
sub edx, eax
mov dword [ebp - 0x38], edx
movsx eax, byte [ebp - 0x44]
sub eax, 0x30
xor ecx, ecx
cmp eax, dword [ebp - 0x38]
sete cl
mov eax, ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x40]
xor ecx, ebp
call fcn.0047f5bc
mov esp, ebp
pop ebp
ret