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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10151c66
mov eax, dword fs:[0]
push eax
sub esp, 0x128
mov eax, dword [0x101fac9c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x118], edi
mov ebx, dword [ebp + 0x10]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov byte [edi + 0xc], 0
mov dword [edi + 0x10], 0
cmp dword [ebx], 0
mov dword [ebp - 0x11c], ebx
jg 0x100620c3
push 0xfc
call fcn.100238a0
mov esi, eax
add esp, 4
mov dword [ebp - 0x134], esi
test esi, esi
je 0x10061bc2
push 0xfc
push 0
push esi
call fcn.10108310
lea eax, [esi + 0xc]
mov dword [esi + 4], 0x14
add esp, 0xc
mov dword [esi], eax
mov byte [esi + 8], 0
jmp 0x10061bc4
xor esi, esi
mov dword [edi], esi
test esi, esi
jne 0x10061bd5
mov dword [ebx], 7
jmp 0x100620c3
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
add ebx, edi
mov dword [ebp - 0x124], ebx
mov eax, edi
cmp edi, ebx
jae 0x10061bfa
nop dword [eax]
cmp byte [eax], 0x20
jne 0x10061bfa
inc eax
cmp eax, ebx
jb 0x10061bf0
cmp eax, ebx
je 0x100620f9
cmp byte [eax], 0x2c
jne 0x10061c0c
lea edi, [eax + 1]
jmp 0x10061be3
mov edi, eax
cmp eax, ebx
jae 0x10061c28
mov cl, byte [edi]
cmp cl, 0x20
je 0x10061c28
cmp cl, 0x2c
je 0x10061c28
cmp cl, 0x3b
je 0x10061c28
inc edi
cmp edi, ebx
jb 0x10061c12
mov ecx, edi
sub ecx, eax
je 0x1006213e
lea edx, [ebp - 0x3f]
mov dword [ebp - 0x44], 0x28
mov dword [ebp - 0x48], edx
mov word [ebp - 0x40], 0
mov esi, dword [ebp - 0x11c]
push esi
push ecx
push eax
lea ecx, [ebp - 0x48]
mov dword [ebp - 4], 0
mov dword [ebp - 0x14], 0
call fcn.100238a0
cmp dword [esi], 0
mov dword [ebp - 4], 1
jg 0x100620ac
push 0
push 0
push 0
push dword [ebp - 0x48]
lea ecx, [ebp - 0x114]
call fcn.100238a0
cmp byte [ebp - 0x4c], 0
mov byte [ebp - 4], 2
jne 0x1006209b
mov eax, 0x3e8
mov dword [ebp - 0x128], eax
cmp edi, ebx
jae 0x10061cb1
cmp byte [edi], 0x20
jne 0x10061caf
inc edi
cmp edi, ebx
jb 0x10061ca5
cmp edi, ebx
je 0x10061dcd
cmp byte [edi], 0x3b
jne 0x10061dc0
inc edi
cmp edi, ebx
jae 0x10061cd1
cmp byte [edi], 0x20
jne 0x10061ccf
inc edi
cmp edi, ebx
jb 0x10061cc5
cmp edi, ebx
je 0x1006209b
cmp byte [edi], 0x71
jne 0x1006209b
inc edi
cmp edi, ebx
jae 0x10061cf1
cmp byte [edi], 0x20
jne 0x10061cef
inc edi
cmp edi, ebx
jb 0x10061ce5
cmp edi, ebx
je 0x1006209b
cmp byte [edi], 0x3d
jne 0x1006209b
inc edi
cmp edi, ebx
jae 0x10061d11
cmp byte [edi], 0x20
jne 0x10061d0f
inc edi
cmp edi, ebx
jb 0x10061d05
cmp edi, ebx
je 0x1006209b
mov al, byte [edi]
cmp al, 0x30
je 0x10061d25
cmp al, 0x31
jne 0x1006209b
movsx eax, al
inc edi
sub eax, 0x30
imul esi, eax, 0x3e8
cmp edi, ebx
je 0x10061d97
cmp byte [edi], 0x2e
jne 0x10061d97
inc edi
mov ecx, 0x64
cmp edi, ebx
je 0x10061d83
mov dl, byte [edi]
sub dl, 0x30
cmp dl, 9
ja 0x10061d83
test ecx, ecx
jle 0x10061d6e
movsx eax, dl
imul eax, ecx
add esi, eax
mov eax, 0x66666667
imul ecx
sar edx, 2
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
jmp 0x10061d7e
jne 0x10061d7e
or ecx, 0xffffffff
lea eax, [esi + 1]
cmp dl, 5
cmovl eax, esi
mov esi, eax
inc edi
cmp edi, ebx
jne 0x10061d45
or eax, 0xffffffff
cmp esi, 0x3e8
cmovle eax, esi
mov dword [ebp - 0x128], eax
jmp 0x10061d9f
mov eax, esi
mov dword [ebp - 0x128], esi
test eax, eax
js 0x10062095
cmp edi, ebx
jae 0x10061dba
nop dword [eax + eax]
cmp byte [edi], 0x20
jne 0x10061dba
inc edi
cmp edi, ebx
jb 0x10061db0
mov esi, dword [ebp - 0x11c]
cmp edi, ebx
je 0x10061dcd
cmp byte [edi], 0x2c
jne 0x1006209b
cmp dword [esi], 0
jg 0x10062064
mov esi, dword [ebp - 0x118]
cmp dword [esi + 0x10], 0
jne 0x10061e19
test eax, eax
je 0x10062064
push dword [ebp - 0x11c]
push sym.icuuc67.dll_uhash_compareLong_67
push 0x10062460
push 0x10062470
call fcn.100238a0
mov dword [esi + 0x10], eax
add esp, 0x10
mov eax, dword [ebp - 0x11c]
cmp dword [eax], 0
jg 0x10062064
xor esi, esi
mov dword [ebp - 0x12c], esi
lea eax, [ebp - 0x114]
mov byte [ebp - 4], 3
push eax
mov eax, dword [ebp - 0x118]
push dword [eax + 0x10]
call fcn.100238a0
mov edx, eax
add esp, 8
mov eax, dword [ebp - 0x118]
test edx, edx
je 0x10061e73
mov eax, dword [eax]
lea ecx, [edx + edx*2]
mov eax, dword [eax]
mov esi, dword [eax + ecx*4 - 0xc]
mov dword [eax + ecx*4 - 0xc], 0
mov dword [eax + ecx*4 - 8], 0
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x12c], esi
inc dword [eax + 8]
cmp dword [ebp - 0x128], 0
ja 0x10061ebb
test edx, edx
je 0x10061e92
lea ecx, [ebp - 0x114]
push ecx
push dword [eax + 0x10]
call fcn.100238a0
add esp, 8
mov byte [ebp - 4], 2
test esi, esi
je 0x10062064
mov eax, dword [esi]
push 1
mov ebx, dword [eax]
mov ecx, ebx
call dword [0x1015821c]
mov ecx, esi
call ebx
mov ebx, dword [ebp - 0x124]
jmp 0x10062064
test esi, esi
jne 0x10061f14
lea ecx, [ebp - 0x114]
call fcn.100238a0
mov esi, eax
test esi, esi
je 0x10061edf
cmp byte [esi + 0xc8], 0
je 0x10061f14
cmp byte [ebp - 0x4c], 0
jne 0x10061f14
mov eax, dword [ebp - 0x11c]
mov byte [ebp - 4], 2
mov dword [eax], 7
test esi, esi
je 0x10062064
mov eax, dword [esi]
push 1
mov ebx, dword [eax]
mov ecx, ebx
call dword [0x1015821c]
mov ecx, esi
call ebx
mov ebx, dword [ebp - 0x124]
jmp 0x10062064
mov eax, dword [ebp - 0x118]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x130], ecx
mov dword [ebp - 0x134], eax
cmp eax, dword [ecx + 4]
jne 0x10061fde
cmp eax, 0x32
jge 0x10061f40
mov eax, 0x64
jmp 0x10061f43
shl eax, 2
mov dword [ebp - 0x120], eax
test eax, eax
jle 0x10061edf
lea eax, [eax + eax*2]
shl eax, 2
push eax
call fcn.100238a0
add esp, 4
mov dword [ebp - 0x12c], eax
test eax, eax
je 0x10061edf
mov eax, dword [ebp - 0x134]
test eax, eax
jle 0x10061fa4
mov edx, dword [ebp - 0x130]
mov ecx, dword [edx + 4]
cmp eax, ecx
cmovle ecx, eax
mov eax, dword [ebp - 0x120]
cmp ecx, eax
cmovle eax, ecx
lea eax, [eax + eax*2]
shl eax, 2
push eax
push dword [edx]
push dword [ebp - 0x12c]
call fcn.10108470
add esp, 0xc
mov eax, dword [ebp - 0x130]
cmp byte [eax + 8], 0
je 0x10061fc0
push dword [eax]
call fcn.100238a0
mov eax, dword [ebp - 0x130]
add esp, 4
mov ecx, dword [ebp - 0x12c]
mov dword [eax], ecx
mov ecx, dword [ebp - 0x120]
mov dword [eax + 4], ecx
mov byte [eax + 8], 1
mov eax, dword [ebp - 0x118]
mov eax, dword [eax + 4]
push dword [ebp - 0x11c]
inc eax
push eax
mov eax, dword [ebp - 0x118]
push esi
push dword [eax + 0x10]
call fcn.100238a0
mov eax, dword [ebp - 0x11c]
add esp, 0x10
cmp dword [eax], 0
jle 0x10062025
mov byte [ebp - 4], 2
test esi, esi
je 0x10062064
mov eax, dword [esi]
push 1
mov ebx, dword [eax]
mov ecx, ebx
call dword [0x1015821c]
mov ecx, esi
call ebx
mov ebx, dword [ebp - 0x124]
jmp 0x10062064
mov edx, dword [ebp - 0x118]
mov eax, dword [edx + 4]
lea ecx, [eax + eax*2]
mov eax, dword [edx]
mov edx, dword [ebp - 0x128]
mov eax, dword [eax]
mov dword [eax + ecx*4], esi
mov esi, dword [ebp - 0x118]
mov dword [eax + ecx*4 + 4], edx
lea ecx, [eax + ecx*4]
mov eax, dword [esi + 4]
mov dword [ecx + 8], eax
inc dword [esi + 4]
cmp edx, 0x3e8
jae 0x10062060
mov byte [esi + 0xc], 1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x114]
cmp edi, ebx
je 0x100620e3
inc edi
call sym.icuuc67.dll_public_virtual:_void___thiscall_icu_67::Locale::destructor_void_
cmp byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
je 0x10061be3
push dword [ebp - 0x48]
call fcn.100238a0
add esp, 4
jmp 0x10061be3
mov esi, dword [ebp - 0x11c]
lea ecx, [ebp - 0x114]
mov dword [esi], 1
call sym.icuuc67.dll_public_virtual:_void___thiscall_icu_67::Locale::destructor_void_
cmp byte [ebp - 0x40], 0
je 0x100620bd
push dword [ebp - 0x48]
call fcn.100238a0
add esp, 4
mov edi, dword [ebp - 0x118]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100e580b
mov esp, ebp
pop ebp
ret 0xc
call sym.icuuc67.dll_public_virtual:_void___thiscall_icu_67::Locale::destructor_void_
cmp byte [ebp - 0x40], 0
je 0x100620f9
push dword [ebp - 0x48]
call fcn.100238a0
add esp, 4
mov edx, dword [ebp - 0x11c]
cmp dword [edx], 0
jg 0x100620bd
mov eax, dword [ebp - 0x118]
mov edi, dword [ebp - 0x118]
mov ecx, dword [eax + 4]
mov eax, ecx
sub eax, dword [edi + 8]
cmp eax, 1
jle 0x100620c3
cmp byte [edi + 0xc], 0
je 0x100620c3
push edx
push 0
push 0
push 0x10062440
push 0xc
push ecx
mov ecx, dword [edi]
push dword [ecx]
call fcn.100238a0
add esp, 0x1c
jmp 0x100620c3
mov eax, dword [ebp - 0x11c]
mov dword [eax], 1
jmp 0x100620bd